Vertices.Attribute

A vertex attribute.

Members

Functions

disable
void disable()

Disable the attribute.

enable
void enable(GLuint index)

Enable the attribute.

toString
string toString()

Get a string representation of this attribute (just the name).

Properties

enabled
bool enabled [@property getter]

Check whether the attribute is enabled or not.

index
GLuint index [@property getter]

The index of the attribute if it is enabled, or GLuint.max if it is not.

Variables

buffer
GenericBuffer buffer;

The Buffer in which the data is stored.

name
string name;

The name of the attribute.

parameters
AttributeParameters parameters;

How and where the data is stored in the Buffer. (See moggle.core.vao.)

Meta