Constructor ColorFormatConfiguration
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
ColorFormatConfiguration(int)
Initializes a new instance of the ColorFormatConfiguration structure using the specified total number of bits per pixel.
public ColorFormatConfiguration(int bpp)
Parameters
bpp
intThe total number of bits per pixel used by the color format.
ColorFormatConfiguration(int, int, int, int)
Initializes a new instance of the ColorFormatConfiguration structure using the specified number of bits per pixel for each channel.
public ColorFormatConfiguration(int red, int green, int blue, int alpha)