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


Vocabulary
gpu.shaders

Inputs and outputs
classa word
vertex-formata vertex-format


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