Struct VertexPosTintTex

Vertex attribute data comprising a 3D position, tint color, and texture coordinates.

struct VertexPosTintTex ;

Fields

NameTypeDescription
position gfm.math.vector.Vector!(float,3)3D position.
tint gfm.math.vector.Vector!(float,4)Tint color.
uv gfm.math.vector.Vector!(float,2)Texture UV coordinates.

Methods

NameDescription
attributeDescriptions () Describes the format of each vertex attribute so that they can be applied to the vertex shader.
bindingDescription () Describes how vertex attributes should be bound to the vertex shader.