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.
public FramebufferAttachmentConfiguration()
Properties
Attachment
Gets or sets a value specifying the framebuffer attachment slot.
public FramebufferAttachment Attachment { get; set; }
Property Value
ClearColor
Gets or sets the color used to clear the framebuffer before rendering.
public Color ClearColor { get; set; }
Property Value
ClearColorHtml
Gets or sets an HTML representation of the clear color value for serialization.
[Browsable(false)]
public string ClearColorHtml { get; set; }
Property Value
ClearMask
Gets or sets a value specifying which buffers to clear before rendering.
public ClearBufferMask ClearMask { get; set; }
Property Value
Format
Gets or sets a value specifying the pixel format of the framebuffer texture.
public PixelFormat Format { get; set; }
Property Value
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.
public int? Height { get; set; }
Property Value
- int?
InternalFormat
Gets or sets a value specifying the internal pixel format of the framebuffer texture.
public PixelInternalFormat InternalFormat { get; set; }
Property Value
TextureName
Gets or sets the name of the texture to attach to the framebuffer.
[TypeConverter(typeof(TextureNameConverter))]
public string TextureName { get; set; }
Property Value
Type
Gets or sets a value specifying the pixel type of the framebuffer texture.
public PixelType Type { get; set; }
Property Value
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.
public int? Width { get; set; }
Property Value
- int?