Public Member Functions | |
HRESULT | setVertexFormat (DWORD fvf, LPDIRECT3DDEVICE9 device) |
rebuild D3D to have differnet vertex format | |
void | buildEdgeVertexBuffer (LPDIRECT3DDEVICE9 device) |
compute line primitives to edgeVertexBuffer | |
Public Attributes | |
unsigned int | nSubsets |
number of submeshes (with possible different material) | |
LPD3DXMESH | mesh |
D3D mesh. | |
LPD3DXBUFFER | materialBuffer |
D3D material buffer. | |
D3DXMATERIAL * | materials |
D3D material array. | |
LPDIRECT3DTEXTURE9 * | textures |
D3D textures for the materials. | |
Material * | rayTraceMaterial |
material used in for ray tracing | |
TriangleMesh * | rayTraceMesh |
the raytracable representation of the mesh | |
LPDIRECT3DVERTEXBUFFER9 | edgeVertexBuffer |
a set of line primitives for atlas (PRM) rendering | |
int | nEdges |
number of line primitives in edgeVertexBuffer |