RenderFunction that draws a group of meshes.
More...
#include <DrawMeshData.h>
RenderFunction that draws a group of meshes.
- Note
- Do not use this class directly! Use DrawMesh instead, which automatically instantiates DrawMeshData when necessary.
- Todo:
- LOD
template<class TRenderManager >
molecular::gfx::DrawMeshData::DrawMeshData |
( |
TRenderManager & |
manager, |
|
|
MeshDataSource & |
source |
|
) |
| |
|
inline |
template<class TRenderManager >
molecular::gfx::DrawMeshData::DrawMeshData |
( |
TRenderManager & |
manager | ) |
|
|
inline |
Construct without loading data.
Data must be loaded later with Load().
molecular::gfx::DrawMeshData::~DrawMeshData |
( |
| ) |
|
|
override |
void molecular::gfx::DrawMeshData::Execute |
( |
| ) |
|
|
overridevirtual |
Store mesh data in Renderer.
Called by MeshLoader::StoreNmbMesh, MeshLoader::StoreObjMesh or MeshLoader::StoreXmlMesh.
- Deprecated:
- Load compiled meshes!
Store mesh data in Renderer.
Called by MeshLoader::StoreCompiledMesh.
void molecular::gfx::DrawMeshData::Unload |
( |
| ) |
|
The documentation for this class was generated from the following files:
- /home/travis/build/cmdrf/molecular/molecular-gfx/molecular/gfx/functions/DrawMeshData.h
- /home/travis/build/cmdrf/molecular/molecular-gfx/molecular/gfx/functions/DrawMeshData.cpp