GLVertexBuffer

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

disableAttributes
void disableAttributes(GraphicsEffect effect)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(GraphicsEffect effect, bool wireframe)

draw mesh using specified effect

enableAttributes
void enableAttributes(GraphicsEffect effect)

// bind into current context // unbind from current context update vertex element locations for effect/shader program

setData
void setData(Mesh mesh)

set or change data

Variables

_format
VertexFormat _format;
Undocumented in source.
_indexBuffer
GLuint _indexBuffer;
Undocumented in source.
_indexFragments
IndexFragment[] _indexFragments;
Undocumented in source.
_vao
GLuint _vao;
Undocumented in source.
_vertexBuffer
GLuint _vertexBuffer;
Undocumented in source.
_vertexCount
int _vertexCount;
Undocumented in source.

Inherited Members

From VertexBuffer

setData
void setData(Mesh mesh)

bind into current context unbind from current context set or change data

draw
void draw(GraphicsEffect effect, bool wireframe)

draw mesh using specified effect

Meta