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

Functions

Link copied to clipboard
fun valueOf(value: String): ColorType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard

The type of color sampler to use for this color type

Link copied to clipboard

The size (in bytes) for this color type

Link copied to clipboard

Specifies if this is a compressed format

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard