Struct VertexPosNormalColor
Vertex attribute data comprising a 3D position, normal vector, and opaque diffuse color.
struct VertexPosNormalColor
;
Fields
Name | Type | Description |
color
|
gfm.math.vector.Vector!(float,3) | Opaque diffuse color.
|
normal
|
gfm.math.vector.Vector!(float,3) | Normal vector.
|
position
|
gfm.math.vector.Vector!(float,3) | 3D position.
|
Methods
Name | Description |
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.
|