GLMeshObject

Constructors

this
this(string shader_source, MeshData md)
this
this(CommonGLShaderProgram sh, MeshData md)

Members

Functions

prepareAttribPointers
void prepareAttribPointers()
prepareBuffers
void prepareBuffers()
bitangents
GLBuffer bitangents;

Variables

colors
GLBuffer[] colors;
indices
GLBuffer indices;
mesh_data
MeshData mesh_data;
normals
GLBuffer normals;
tangents
GLBuffer tangents;
texcrds
GLBuffer[] texcrds;
vertices
GLBuffer vertices;

Inherited Members

From GLSimpleObject

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

Meta