omegalib  13.1
omega::Renderer Class Reference

The omegalib renderer is the entry point for all of omegalib rendering code. More...

#include <Renderer.h>

Public Member Functions

 Renderer (Engine *server)
 
EnginegetEngine ()
 
void addRenderPass (RenderPass *pass)
 
void removeRenderPass (RenderPass *pass)
 
RenderPassgetRenderPass (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)
 
DrawInterfacegetRenderer ()
 
GpuContextgetGpuContext ()
 
void setGpuContext (GpuContext *ctx)
 
DisplaySystemgetDisplaySystem ()
 
TexturecreateTexture ()
 Resource management. More...
 
RenderTargetcreateRenderTarget (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
 

Detailed Description

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.

+ Inheritance diagram for omega::Renderer:

Constructor & Destructor Documentation

omega::Renderer::Renderer ( Engine server)

Member Function Documentation

void omega::Renderer::addRenderPass ( RenderPass pass)
virtual void omega::Renderer::clear ( DrawContext context)
virtual
RenderTarget* omega::Renderer::createRenderTarget ( RenderTarget::Type  type)
Texture* omega::Renderer::createTexture ( )

Resource management.

virtual void omega::Renderer::dispose ( )
virtual
virtual void omega::Renderer::draw ( DrawContext context)
virtual
virtual void omega::Renderer::finishFrame ( const FrameInfo frame)
virtual
DisplaySystem * omega::Renderer::getDisplaySystem ( )
inline
Engine * omega::Renderer::getEngine ( )
inline
GpuContext* omega::Renderer::getGpuContext ( )
inline
DrawInterface * omega::Renderer::getRenderer ( )
inline
RenderPass* omega::Renderer::getRenderPass ( const String name)
virtual void omega::Renderer::initialize ( )
virtual
virtual void omega::Renderer::prepare ( DrawContext context)
virtual
void omega::Renderer::queueCommand ( IRendererCommand cmd)
void omega::Renderer::removeAllRenderPasses ( )
void omega::Renderer::removeRenderPass ( RenderPass pass)
void omega::Renderer::setGpuContext ( GpuContext ctx)
inline
virtual void omega::Renderer::startFrame ( const FrameInfo frame)
virtual

Friends And Related Function Documentation

friend class DisplaySystem
friend

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