⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

VertComponent.VertComponent

void VertComponent(VertSemantic semantic, VertFmt format, int count, int semanticSlot)

Describes a single vertex component.

   
VertSemantic semantic What this component means, this is matched with the shader’s vertex input semantics.
VertFmt format The data format of a single element of this component.
int count How many format elements this component has, 1-4. A float3 position would be 3.
int semanticSlot Distinguishes multiple components with the same semantic, like TEXCOORD0 vs TEXCOORD1.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!