Struct VertexPosColorTex
Vertex attribute data comprising a 3D position, opaque diffuse color, and texture coordinates.
struct VertexPosColorTex
;
Fields
Name | Type | Description |
color
|
gfm.math.vector.Vector!(float,3) | Opaque diffuse color.
|
position
|
gfm.math.vector.Vector!(float,3) | 3D position.
|
uv
|
gfm.math.vector.Vector!(float,2) | Texture UV coordinates.
|
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.
|