gfm.opengl.vertex

Members

Classes

VertexSpecification
class VertexSpecification(Vertex)

A VertexSpecification's role is to describe a Vertex structure. You must instantiate it with a compile-time struct describing your vertex format.

Structs

Normalized
struct Normalized

An UDA to specify an attribute which has to be normalized

VertexAttribute
struct VertexAttribute

Describes a single attribute in a vertex entry.

VertexPosition
struct VertexPosition(Vec, string fieldName = "position")

A helper template to define a simple vertex type from a vector type. By default the unique field will be name "position". Note: it's important the struct isn't larger than the vector itself.

Meta