GLSimpleObject

Constructors

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

Members

Enums

DrawMode
enum DrawMode

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(size_t cnt)
setIndexCount
void setIndexCount(size_t cnt)

Structs

APInfo
struct APInfo
Undocumented in source.

Variables

draw_flag
bool draw_flag;
shader
CommonGLShaderProgram shader;
warn_if_empty
bool warn_if_empty;

Meta