A RenderModule wraps a specific, optional, rendering functionality into a simple object which only requires a simple setup.
For instance, setting up the debug render functionality in an application looks like this:
this->debugRenderModule = DebugRenderModule::Create(); this->debugRenderModule->Setup();
This will setup the required environment on the main-thread and render-thread side to implement debug rendering.
(C) 2009 Radon Labs GmbH (C) 2013-2018 Individual contributors, see AUTHORS file
|
| RenderModule () |
| constructor
|
|
virtual | ~RenderModule () |
| destructor
|
|
virtual void | Setup () |
| setup the render module
|
|
virtual void | Discard () |
| discard the render module
|
|
bool | IsValid () const |
| return true if the render module has been setup
|
|
virtual void | OnFrame () |
| called per-frame by Graphics::GraphicsServer
|
|
| RefCounted () |
| constructor
|
|
int | GetRefCount () const |
| get the current refcount
|
|
void | AddRef () |
| increment refcount by one
|
|
void | Release () |
| decrement refcount and destroy object if refcount is zero
|
|
bool | IsInstanceOf (const Rtti &rtti) const |
| return true if this object is instance of given class
|
|
bool | IsInstanceOf (const Util::String &className) const |
| return true if this object is instance of given class by string
|
|
bool | IsInstanceOf (const Util::FourCC &classFourCC) const |
| return true if this object is instance of given class by fourcc
|
|
bool | IsA (const Rtti &rtti) const |
| return true if this object is instance of given class, or a derived class
|
|
bool | IsA (const Util::String &rttiName) const |
| return true if this object is instance of given class, or a derived class, by string
|
|
bool | IsA (const Util::FourCC &rttiFourCC) const |
| return true if this object is instance of given class, or a derived class, by fourcc
|
|
const Util::String & | GetClassName () const |
| get the class name
|
|
Util::FourCC | GetClassFourCC () const |
| get the class FourCC code
|
|