omegalib
13.1
|
The base class for classes that perform drawing on the render thread. More...
#include <RenderPass.h>
Public Member Functions | |
RenderPass (Renderer *client, const String &name, int priority=0) | |
virtual | ~RenderPass () |
virtual void | initialize () |
virtual void | prepare (Renderer *client, const DrawContext &context) |
Prepares the render pass for rendering. More... | |
virtual void | render (Renderer *client, const DrawContext &context)=0 |
Performs rendering. More... | |
virtual void | dispose () |
void | requestDispose () |
bool | needsDispose () |
const String & | getName () |
void | setUserData (void *value) |
void * | getUserData () |
bool | isInitialized () |
Renderer * | getClient () |
void | setCameraMask (uint mask) |
uint | getCameraMask () |
int | getPriority () |
Returns the render pass priority. More... | |
Public Member Functions inherited from omicron::ReferenceType | |
ReferenceType () | |
virtual | ~ReferenceType () |
void | ref () |
void | unref () |
long | refCount () |
Additional Inherited Members | |
Static Public Member Functions inherited from omicron::ReferenceType | |
static void | printObjCounts () |
Static Protected Attributes inherited from omicron::ReferenceType | |
static List< ReferenceType * > | mysObjList |
The base class for classes that perform drawing on the render thread.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in omegaToolkit::UiRenderPass.
|
inline |
|
inline |
|
inline |
|
inline |
Returns the render pass priority.
Render pass priorities are used to order render passes. Render passes with high priority get rendered first.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
Prepares the render pass for rendering.
|
pure virtual |
Performs rendering.
Implemented in omega::ConsoleRenderPass, and omegaToolkit::UiRenderPass.
|
inline |
|
inline |
|
inline |