- drawArrays
void drawArrays(DrawMode mode, uint start, uint count, uint instcount = 1, uint baseinst = 0)
glDrawArraysInstancedBaseInstance
- drawElements
void drawElements(DrawMode mode, GLElementArrayBuffer eab, uint instcount = 1, uint basevert = 0, uint baseinst = 0)
glDrawElementsInstancedBaseVertexBaseInstance
- multiDrawArraysIndirect
void multiDrawArraysIndirect(DrawMode mode, GLDrawIndirectBuffer dib, size_t offset = 0, uint count = 0)
- multiDrawElementsIndirect
void multiDrawElementsIndirect(DrawMode mode, GLElementArrayBuffer eab, GLDrawIndirectBuffer dib, uint offset = 0, uint count = 0)
- preDraw
void preDraw()
override this for any action before draw
- setAttribPointer
void setAttribPointer(GLArrayBuffer buffer, int index, uint per_element, GLType attype, size_t stride, size_t offset, bool norm = false)
void setAttribPointer(GLArrayBuffer buffer, int index, uint per_element, GLType attype, bool norm = false)
void setAttribPointer(GLArrayBuffer buffer, in GLAttrib attr)