openrndr / org.openrndr.draw / VertexElementType

VertexElementType

enum class VertexElementType (source)

Vertex element type enumeration

Enum Values

INT8

signed 8 bit integer

UINT8

unsigned 8 bit integer

UINT16

INT16

signed 16 bit integer

UINT32

INT32

signed 32 bit integer

VECTOR2_UINT8

VECTOR2_INT8

VECTOR2_UINT16

VECTOR2_INT16

VECTOR2_UINT32

VECTOR2_INT32

VECTOR3_UINT8

VECTOR3_INT8

VECTOR3_UINT16

VECTOR3_INT16

VECTOR3_UINT32

VECTOR3_INT32

VECTOR4_UINT8

VECTOR4_INT8

VECTOR4_UINT16

VECTOR4_INT16

VECTOR4_UINT32

VECTOR4_INT32

FLOAT32

32 bit float, or single precision float scalar

VECTOR2_FLOAT32

32 bit float, or single precision float 2-component vector

VECTOR3_FLOAT32

32 bit float, or single precision float 3-component vector

VECTOR4_FLOAT32

32 bit float, or single precision float 4-component vector

MATRIX22_FLOAT32

32 bit float, or single precision float 2x2 matrix

MATRIX33_FLOAT32

32 bit float, or single precision float 3x3 matrix

MATRIX44_FLOAT32

32 bit float, or single precision float 4x4 matrix

Properties

componentCount

val componentCount: Int

sizeInBytes

val sizeInBytes: Int