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

VertComponentAttribute.VertComponentAttribute

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

Describe the vertex component this field contains.

   
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 Vec3 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!