define-vertex-format ( class vertex-attributes -- )


Vocabulary
gpu.shaders

Inputs
classa class
vertex-attributesa sequence


Outputs
None

Word description
Defines a new vertex-format with the binary format specified by the vertex-attribute tuple values in vertex-attributes. The runtime equivalent of VERTEX-FORMAT:. This word must be called inside a compilation unit.

Definition