Table of Contents

Class FramebufferAttachmentConfiguration

Namespace
Bonsai.Shaders.Configuration
Assembly
Bonsai.Shaders.dll

Represents a configuration object specifying the texture to attach in a framebuffer attachment slot for render to texture shader passes.

public class FramebufferAttachmentConfiguration
Inheritance
FramebufferAttachmentConfiguration
Inherited Members

Constructors

FramebufferAttachmentConfiguration()

Initializes a new instance of the FramebufferAttachmentConfiguration class.

Properties

Attachment

Gets or sets a value specifying the framebuffer attachment slot.

ClearColor

Gets or sets the color used to clear the framebuffer before rendering.

ClearColorHtml

Gets or sets an HTML representation of the clear color value for serialization.

ClearMask

Gets or sets a value specifying which buffers to clear before rendering.

Format

Gets or sets a value specifying the pixel format of the framebuffer texture.

Height

Gets or sets the height of the framebuffer texture attachment. If no value is specified, the height of the render window will be used.

InternalFormat

Gets or sets a value specifying the internal pixel format of the framebuffer texture.

TextureName

Gets or sets the name of the texture to attach to the framebuffer.

Type

Gets or sets a value specifying the pixel type of the framebuffer texture.

Width

Gets or sets the width of the framebuffer texture attachment. If no value is specified, the width of the render window will be used.