- addCubeMesh
void addCubeMesh(vec3 pos, float d, vec4 color)
Undocumented in source. Be warned that the author may not have intended to support it.
- addPart
MeshPart addPart(MeshPart meshPart)
Undocumented in source. Be warned that the author may not have intended to support it.
- addPart
MeshPart addPart(PrimitiveType type, ushort[] indexes)
add new mesh part or append indexes to existing part (if type matches)
- addQuad
void addQuad(vec3 v0, vec3 v1, vec3 v2, vec3 v3, vec4 color)
Undocumented in source. Be warned that the author may not have intended to support it.
- addVertex
int addVertex(float[] data)
- addVertexes
int addVertexes(float[] data)
adds one or more vertexes
- dumpVertexes
string dumpVertexes(int maxCount)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasElement
bool hasElement(VertexElementType type)
returns true if vertex format contains specified element
- part
MeshPart part(int index)
returns mesh part by index
- reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
- vertex
const(float[]) vertex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- indexData
const(ushort[]) indexData [@property getter]
return index data for all parts
- indexFragments
IndexFragment[] indexFragments [@property getter]
- partCount
int partCount [@property getter]
- vertexBuffer
VertexBuffer vertexBuffer [@property getter]
- vertexBuffer
VertexBuffer vertexBuffer [@property setter]
- vertexCount
int vertexCount [@property getter]
- vertexData
const(float[]) vertexData [@property getter]
returns vertex data array
- vertexFormat
VertexFormat vertexFormat [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- vertexFormat
VertexFormat vertexFormat [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- vertexFormatPtr
const(VertexFormat)* vertexFormatPtr [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Mesh