molecular
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
molecular::gfx::DrawingFunction Class Reference

Base class for functions drawing stuff. More...

#include <DrawingFunction.h>

Inheritance diagram for molecular::gfx::DrawingFunction:
molecular::gfx::RenderFunction molecular::gfx::CpuParticleSystem< TRenderManager > molecular::gfx::DrawDebugMesh molecular::gfx::DrawMeshData molecular::gfx::DrawSkyDome< TRenderManager > molecular::gfx::DrawTerrain molecular::gfx::DrawTestSkeleton

Public Member Functions

template<class TRenderManager >
 DrawingFunction (TRenderManager &manager)
 
bool BoundsChangedSince (int framecounter) const override
 
- Public Member Functions inherited from molecular::gfx::RenderFunction
template<class TRenderManager >
 RenderFunction (TRenderManager &manager)
 
 RenderFunction (Scoping &scoping, RenderCmdSink &renderer)
 
virtual ~RenderFunction ()
 
virtual void Execute ()=0
 
virtual util::AxisAlignedBox GetBounds () const =0
 
virtual void Set (Hash, bool)
 Set bool property with given name. More...
 

Protected Member Functions

RenderCmdSink::ProgramPrepareProgram ()
 
- Protected Member Functions inherited from molecular::gfx::RenderFunction
template<class T >
const T * GetVariable (Hash key)
 Convenience shortcut to a variable pointer from the dynamic scope. More...
 

Protected Attributes

ProgramProvidermProgramProvider
 
- Protected Attributes inherited from molecular::gfx::RenderFunction
ScopingmScoping
 
RenderCmdSinkmRenderer
 

Detailed Description

Base class for functions drawing stuff.

Constructor & Destructor Documentation

template<class TRenderManager >
molecular::gfx::DrawingFunction::DrawingFunction ( TRenderManager &  manager)
inline

Member Function Documentation

bool molecular::gfx::DrawingFunction::BoundsChangedSince ( int  framecounter) const
inlineoverridevirtual

Reimplemented from molecular::gfx::RenderFunction.

RenderCmdSink::Program* molecular::gfx::DrawingFunction::PrepareProgram ( )
inlineprotected

The return value is usually ignored.

Member Data Documentation

ProgramProvider& molecular::gfx::DrawingFunction::mProgramProvider
protected

The documentation for this class was generated from the following file: