GLSimpleObject

Constructors

this
this(string shader_source)
this
this(CommonGLShaderProgram sh)

Members

Functions

createArrayBuffer
auto createArrayBuffer()
createArrayBuffersFromAttributeInfo
auto createArrayBuffersFromAttributeInfo(APInfo[] infos)
Undocumented in source. Be warned that the author may not have intended to support it.
createIndexBuffer
auto createIndexBuffer()
drawArrays
void drawArrays(DrawMode mode)
drawElements
void drawElements(DrawMode mode)
preDraw
void preDraw()
setDrawCount
void setDrawCount(uint cnt)
setIndexCount
void setIndexCount(uint cnt)

Structs

APInfo
struct APInfo
Undocumented in source.

Variables

shader
CommonGLShaderProgram shader;
visible
bool visible;
warn_if_empty
bool warn_if_empty;

Meta