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


Vocabulary
gpu.shaders

Inputs and outputs
classa class
vertex-attributesa sequence


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