Struct ColorFormatConfiguration
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents a configuration object specifying the color format of a draw buffer.
[TypeConverter(typeof(ColorFormatConfiguration.ColorFormatConfigurationConverter))]
public struct ColorFormatConfiguration
- Inherited Members
Constructors
- ColorFormatConfiguration(int)
Initializes a new instance of the ColorFormatConfiguration structure using the specified total number of bits per pixel.
- ColorFormatConfiguration(int, int, int, int)
Initializes a new instance of the ColorFormatConfiguration structure using the specified number of bits per pixel for each channel.
Properties
- Alpha
Gets or sets a value specifying the number of bits per pixel for the alpha channel.
- BitsPerPixel
Gets or sets a value specifying the total number of bits per pixel.
- Blue
Gets or sets a value specifying the number of bits per pixel for the blue channel.
- Green
Gets or sets a value specifying the number of bits per pixel for the green channel.
- Red
Gets or sets a value specifying the number of bits per pixel for the red channel.
Methods
- ToString()
Returns a string that represents the current color format configuration.