Struct VertexPosColor

Vertex attribute data comprising a 3D position and opaque color.

struct VertexPosColor ;

Fields

NameTypeDescription
color gfm.math.vector.Vector!(float,3)Opaque diffuse color.
position gfm.math.vector.Vector!(float,3)3D position.

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.