GLObject

Constructors

this
this()

Members

Enums

DrawMode
enum DrawMode

Functions

drawArrays
void drawArrays(DrawMode mode, uint count, uint start)
drawElements
void drawElements(DrawMode mode, uint count)
preDraw
void preDraw()

override this for any action before draw

setAttribPointer
void setAttribPointer(GLBuffer buffer, int index, uint per_element, GLType attype, size_t stride, size_t offset, bool norm)
void setAttribPointer(GLBuffer buffer, int index, uint per_element, GLType attype, bool norm)

glVertexAttribPointer

Mixins

__anonymous
mixin DES
Undocumented in source.
__anonymous
mixin ClassLogger
Undocumented in source.

Variables

vao
GLVAO vao;

Meta