define-vertex-struct ( class vertex-format -- )


Vocabulary
gpu.shaders

Inputs
classa word
vertex-formata vertex-format


Outputs
None

Word description
Defines a new struct C type from a vertex-format. The runtime equivalent of VERTEX-STRUCT:. This word must be called inside a compilation unit.

Definition