gfmod.opengl.vertexarray

Members

Aliases

AttributeElementTypes
alias AttributeElementTypes = TypeTuple!(float, double, byte, short, int, ubyte, ushort, uint)

Possible types of a single element of a vertex attribute.

Classes

VertexArray
class VertexArray(V)

A wrapper around GL Vertex Attribute Object that also manages its vertex storage.

Enums

PrimitiveType
enum PrimitiveType

Primitive types that may be stored in a VertexArray.

Manifest constants

attributeElementGLTypes
enum attributeElementGLTypes;

GL types corresponding to items in AttributeElementTypes.

Templates

dimension
template dimension(A)

Determine the dimensionality if a vertex attribute.

glType
template glType(A)

Determine GL type of a vertex attribute.

isVertexAttribute
template isVertexAttribute(A)

Determine if a type can be an attribute (aka field, aka property) of a vertex type.

Meta