VertexArray

OpenGL VertexArrayObject Representation

Destructor

~this
~this()
Undocumented in source.

Members

Functions

drawInstanced
void drawInstanced(GLint count)

Instanced drawing shorthand

update
void update(T[] slice)

Updates buffer data

Static functions

fromSlice
auto fromSlice(T[] slice, ShaderProgram program)

Makes new Vertex Array Object from slice to be rendered with program

Meta