ColorType

enum ColorType : Enum<ColorType>

Color type enumeration

Entries

BPTC_UFLOAT
Link copied to clipboard
common

Compressed in unsigned floating point BPTC format

BPTC_FLOAT
Link copied to clipboard
common

Compressed in floating point BPTC format

BPTC_UNORM
Link copied to clipboard
common

Compressed in unsigned normalized BPTC format

DXT5
Link copied to clipboard
common

Compressed in DXT5 format

DXT3
Link copied to clipboard
common

Compressed in DXT3 format

DXT1
Link copied to clipboard
common

Compressed in DXT1 format

FLOAT32
Link copied to clipboard
common

32 bit float type, or single precision float type

FLOAT16
Link copied to clipboard
common

16 bit float type, or half precision float type

SINT32_INT
Link copied to clipboard
common

signed 32 bit integer type, with integer sampler

SINT16_INT
Link copied to clipboard
common

signed 16 bit integer type, with integer sampler

SINT8_INT
Link copied to clipboard
common

signed 8 bit integer type, with integer sampler

UINT32_INT
Link copied to clipboard
common

unsigned 32 bit integer type, with integer sampler

UINT16_INT
Link copied to clipboard
common

unsigned 16 bit integer type, with integer sampler

UINT8_INT
Link copied to clipboard
common

unsigned 8 bit integer type, with integer sampler

UINT16
Link copied to clipboard
common

unsigned 16 bit integer type

UINT8
Link copied to clipboard
common

unsigned 8 bit integer type

Properties

colorSampling
Link copied to clipboard
common
val colorSampling: ColorSampling

The type of color sampler to use for this color type

componentSize
Link copied to clipboard
common
val componentSize: Int

The size (in bytes) for this color type

compressed
Link copied to clipboard
common
val compressed: Boolean

Specifies if this is a compressed format

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