omegalib
13.1
|
The omegalib renderer is the entry point for all of omegalib rendering code. More...
#include <Renderer.h>
Public Member Functions | |
Renderer (Engine *server) | |
Engine * | getEngine () |
void | addRenderPass (RenderPass *pass) |
void | removeRenderPass (RenderPass *pass) |
RenderPass * | getRenderPass (const String &name) |
void | removeAllRenderPasses () |
void | queueCommand (IRendererCommand *cmd) |
virtual void | initialize () |
virtual void | dispose () |
virtual void | clear (DrawContext &context) |
virtual void | prepare (DrawContext &context) |
virtual void | draw (DrawContext &context) |
virtual void | startFrame (const FrameInfo &frame) |
virtual void | finishFrame (const FrameInfo &frame) |
DrawInterface * | getRenderer () |
GpuContext * | getGpuContext () |
void | setGpuContext (GpuContext *ctx) |
DisplaySystem * | getDisplaySystem () |
Texture * | createTexture () |
Resource management. More... | |
RenderTarget * | createRenderTarget (RenderTarget::Type type) |
Public Member Functions inherited from omicron::ReferenceType | |
ReferenceType () | |
virtual | ~ReferenceType () |
void | ref () |
void | unref () |
long | refCount () |
Friends | |
class | DisplaySystem |
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 omegalib renderer is the entry point for all of omegalib rendering code.
The renderer does not draw anything: it just manages rendering resources, cameras and render passes.
omega::Renderer::Renderer | ( | Engine * | server | ) |
void omega::Renderer::addRenderPass | ( | RenderPass * | pass | ) |
|
virtual |
RenderTarget* omega::Renderer::createRenderTarget | ( | RenderTarget::Type | type | ) |
Texture* omega::Renderer::createTexture | ( | ) |
Resource management.
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
RenderPass* omega::Renderer::getRenderPass | ( | const String & | name | ) |
|
virtual |
|
virtual |
void omega::Renderer::queueCommand | ( | IRendererCommand * | cmd | ) |
void omega::Renderer::removeAllRenderPasses | ( | ) |
void omega::Renderer::removeRenderPass | ( | RenderPass * | pass | ) |
|
inline |
|
virtual |
|
friend |