openrndr / org.openrndr.draw / ColorType

ColorType

enum class ColorType (source)

Color type enumeration

Enum Values

UINT8

unsigned 8 bit integer type

UINT16

unsigned 16 bit integer type

UINT8_INT

unsigned 8 bit integer type, with integer sampler

UINT16_INT

unsigned 16 bit integer type, with integer sampler

UINT32_INT

unsigned 32 bit integer type, with integer sampler

SINT8_INT

signed 8 bit integer type, with integer sampler

SINT16_INT

signed 16 bit integer type, with integer sampler

SINT32_INT

signed 32 bit integer type, with integer sampler

FLOAT16

16 bit float type, or half precision float type

FLOAT32

32 bit float type, or single precision float type

DXT1

Compressed in DXT1 format

DXT3

Compressed in DXT3 format

DXT5

Compressed in DXT5 format

BPTC_UNORM

Compressed in unsigned normalized BPTC format

BPTC_FLOAT

Compressed in floating point BPTC format

BPTC_UFLOAT

Compressed in unsigned floating point BPTC format

Properties

colorSampling

The type of color sampler to use for this color type

val colorSampling: ColorSampling

componentSize

The size (in bytes) for this color type

val componentSize: Int

compressed

Specifies if this is a compressed format

val compressed: Boolean