molecular
|
Draws a mesh by specifying a mesh filename. More...
#include <DrawMesh.h>
Public Types | |
using | RenderManager = TRenderManager |
Public Member Functions | |
DrawMesh (RenderManager &renderManager) | |
void | Execute () override |
util::AxisAlignedBox | GetBounds () const override |
bool | BoundsChangedSince (int framecounter) const override |
void | SetMeshFile (Hash mesh) |
void | AddMorphTarget (const std::string &targetFile, float weight=1.0) |
void | ClearMorphTargets () |
void | SetPickingId (unsigned int id) |
![]() | |
template<class TRenderManager > | |
RenderFunction (TRenderManager &manager) | |
RenderFunction (Scoping &scoping, RenderCmdSink &renderer) | |
virtual | ~RenderFunction () |
virtual void | Set (Hash, bool) |
Set bool property with given name. More... | |
Additional Inherited Members | |
![]() | |
template<class T > | |
const T * | GetVariable (Hash key) |
Convenience shortcut to a variable pointer from the dynamic scope. More... | |
![]() | |
Scoping & | mScoping |
RenderCmdSink & | mRenderer |
Draws a mesh by specifying a mesh filename.
Meshes (in the form of DrawMeshData objects) are loaded on demand.
using molecular::gfx::DrawMesh< TRenderManager >::RenderManager = TRenderManager |
|
inlineexplicit |
void molecular::gfx::DrawMesh< TRenderManager >::AddMorphTarget | ( | const std::string & | targetFile, |
float | weight = 1.0 |
||
) |
|
inlineoverridevirtual |
Reimplemented from molecular::gfx::RenderFunction.
void molecular::gfx::DrawMesh< TRenderManager >::ClearMorphTargets | ( | ) |
|
overridevirtual |
Implements molecular::gfx::RenderFunction.
|
inlineoverridevirtual |
Implements molecular::gfx::RenderFunction.
void molecular::gfx::DrawMesh< TRenderManager >::SetMeshFile | ( | Hash | mesh | ) |
|
inline |