Contents, API Reference, Interfaces, iTestBed, setMesh
iTestBed::setMesh()
Description
Sets the testbed's current mesh.
Syntax
void setMesh(iMesh* mesh);
|
Parameters
| mesh | |
The mesh to set as current mesh.
|
Remarks
The testbed has a current mesh which can be set and released.
This mesh will be drawn by iTestBed::drawMesh() and so on.
Positions passed into the testbed must be positions on this mesh.
If the mesh pointer becomes invalid then iTestBed::releaseMesh()
must be called before any testbed functions
that depend on the current mesh.