DummyVertexBuffer

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)

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.
_indexData
const(ushort)[] _indexData;
Undocumented in source.
_indexFragments
IndexFragment[] _indexFragments;
Undocumented in source.
_vertexCount
int _vertexCount;
Undocumented in source.
_vertexData
const(float)[] _vertexData;
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)

draw mesh using specified effect

Meta