- name
string name;
Undocumented in source.
- vertices
Vertex[] vertices;
Undocumented in source.
- _indices
uint[] _indices;
Undocumented in source.
- _texture
Texture _texture;
Undocumented in source.
- _shader
ShaderProgram _shader;
Undocumented in source.
- indices
uint[] indices [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- texture
Texture texture [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- texture
Texture texture [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- shader
ShaderProgram shader [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- game
GameManager game [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- build
Model build(string name, GameManager game, Vertex[] vertices, uint[] indices, Texture texture, ShaderProgram shader)
Undocumented in source. Be warned that the author may not have intended to support it.
- render
void render(Renderer renderer)
Undocumented in source. Be warned that the author may not have intended to support it.
- replaceVertices
void replaceVertices(Vertex[] vertices)
Undocumented in source. Be warned that the author may not have intended to support it.
- replaceVertex
void replaceVertex(size_t arrayPosition, Vertex vertex)
Undocumented in source.
- getVertex
Vertex getVertex(size_t arrayPosition)
Undocumented in source.
- getVertices
Vertex[] getVertices()
Undocumented in source. Be warned that the author may not have intended to support it.
- getRenderingLock
shared(Lock) getRenderingLock()
Allows returning the lock used for preventing changes while renderering.
- cleanup
void cleanup()
Undocumented in source.
- replaceVertices_
void replaceVertices_()
Undocumented in source.
- replaceVertex_
void replaceVertex_(size_t pos, Vertex v)
Undocumented in source.
- render_
void render_(Renderer renderer)
Undocumented in source.