VertexElementType

Enum class representing various types of vertex elements used in graphics programming.

Each vertex element type is associated with specific properties:

  • componentCount: Number of components in the type (e.g., a scalar has 1, a 4-component vector has 4).

  • sizeInBytes: Total size in bytes required to store one instance of the type.

  • std430AlignmentInBytes: Alignment requirement in bytes as per the std430 layout rules in GLSL.

Entries

Link copied to clipboard

signed 8-bit integer

Link copied to clipboard

unsigned 8 bit integer

Link copied to clipboard

unsigned 16-bit integer

Link copied to clipboard

signed 16-bit integer

Link copied to clipboard

unsigned 32-bit integer

Link copied to clipboard

signed 32-bit integer

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

32 bit float, or single precision float scalar

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

32 bit float, or single precision float 2x2 matrix

Link copied to clipboard

32 bit float, or single precision float 3x3 matrix

Link copied to clipboard

32 bit float, or single precision float 4x4 matrix

Properties

Link copied to clipboard
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

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

Functions

Link copied to clipboard

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.