ColorType

enum ColorType : Enum<ColorType>

Color type enumeration

Entries

Link copied to clipboard

unsigned 8 bit integer type

Link copied to clipboard

unsigned 16 bit integer type

Link copied to clipboard

unsigned 8 bit integer type, with integer sampler

Link copied to clipboard

unsigned 16 bit integer type, with integer sampler

Link copied to clipboard

unsigned 32 bit integer type, with integer sampler

Link copied to clipboard

signed 8 bit integer type, with integer sampler

Link copied to clipboard

signed 16 bit integer type, with integer sampler

Link copied to clipboard

signed 32 bit integer type, with integer sampler

Link copied to clipboard

16 bit float type, or half precision float type

Link copied to clipboard

32 bit float type, or single precision float type

Link copied to clipboard

Compressed in DXT1 format

Link copied to clipboard

Compressed in DXT3 format

Link copied to clipboard

Compressed in DXT5 format

Link copied to clipboard

Compressed in unsigned normalized BPTC format

Link copied to clipboard

Compressed in floating point BPTC format

Link copied to clipboard

Compressed in unsigned floating point BPTC format

Properties

Link copied to clipboard
val colorSampling: ColorSampling

The type of color sampler to use for this color type

Link copied to clipboard
val componentSize: Int

The size (in bytes) for this color type

Link copied to clipboard
val compressed: Boolean

Specifies if this is a compressed format

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Sources

Link copied to clipboard