GLVertexBufferObject

Constructors

this
this(vec3[] _vertexData, bool _static)

create vertex buffer

this
this(vec2[] _uvData, bool _static)

create uv buffer

this
this(uint[] _indexData, bool _static)

create index buffer

Destructor

~this
~this()

Members

Functions

bind
void bind(GLuint _index)
destroy
void destroy()
renderIndexed
void renderIndexed()
unbind
void unbind()

Properties

elementCount
int elementCount [@property getter]
elementSize
int elementSize [@property getter]
primitiveType
GLRenderPrimitive primitiveType [@property setter]

Meta