Table of Contents

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 int

The 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)

Parameters

red int

The number of bits per pixel for the red channel.

green int

The number of bits per pixel for the green channel.

blue int

The number of bits per pixel for the blue channel.

alpha int

The number of bits per pixel for the alpha channel.