xoreos  0.0.5
Public Types | Public Member Functions | Private Attributes | List of all members
Graphics::Render::RenderManager Class Reference

#include <renderman.h>

Inheritance diagram for Graphics::Render::RenderManager:
Inheritance graph
[legend]
Collaboration diagram for Graphics::Render::RenderManager:
Collaboration graph
[legend]

Public Types

enum  SortingHints { SORT_HINT_NORMAL = 0, SORT_HINT_ALLDEPTH = 1 }
 

Public Member Functions

 RenderManager ()
 
 ~RenderManager ()
 
void setSortingHint (SortingHints hint)
 
void setCameraReference (const glm::vec3 &reference)
 
void queueRenderable (Shader::ShaderRenderable *renderable, const glm::mat4 *transform, float alpha)
 
void sort ()
 
void render ()
 
void clear ()
 
void init ()
 
void deinit ()
 
void cleanup ()
 

Private Attributes

RenderQueue _queueColorSolidPrimary
 
RenderQueue _queueColorSolidSecondary
 
RenderQueue _queueColorSolidDecal
 
RenderQueue _queueColorTransparentPrimary
 
RenderQueue _queueColorTransparentSecondary
 
RenderQueue _queueLast
 
SortingHints _sortingHints
 

Additional Inherited Members

- Static Public Member Functions inherited from Common::Singleton< RenderManager >
static RenderManager & instance ()
 
static void destroy ()
 
- Protected Types inherited from Common::Singleton< RenderManager >
typedef RenderManager SingletonBaseType
 
- Protected Member Functions inherited from Common::Singleton< RenderManager >
 Singleton ()
 
virtual ~Singleton ()
 

Detailed Description

Definition at line 39 of file renderman.h.

Member Enumeration Documentation

◆ SortingHints

Enumerator
SORT_HINT_NORMAL 
SORT_HINT_ALLDEPTH 

Definition at line 42 of file renderman.h.

Constructor & Destructor Documentation

◆ RenderManager()

Graphics::Render::RenderManager::RenderManager ( )

Definition at line 35 of file renderman.cpp.

◆ ~RenderManager()

Graphics::Render::RenderManager::~RenderManager ( )

Definition at line 38 of file renderman.cpp.

Member Function Documentation

◆ cleanup()

void Graphics::Render::RenderManager::cleanup ( )
inline

Definition at line 64 of file renderman.h.

◆ clear()

void Graphics::Render::RenderManager::clear ( )

◆ deinit()

void Graphics::Render::RenderManager::deinit ( )
inline

Definition at line 63 of file renderman.h.

◆ init()

void Graphics::Render::RenderManager::init ( )
inline

Definition at line 62 of file renderman.h.

◆ queueRenderable()

void Graphics::Render::RenderManager::queueRenderable ( Shader::ShaderRenderable renderable,
const glm::mat4 *  transform,
float  alpha 
)

◆ render()

void Graphics::Render::RenderManager::render ( )

◆ setCameraReference()

void Graphics::Render::RenderManager::setCameraReference ( const glm::vec3 &  reference)

◆ setSortingHint()

void Graphics::Render::RenderManager::setSortingHint ( SortingHints  hint)

Definition at line 41 of file renderman.cpp.

References _sortingHints.

◆ sort()

void Graphics::Render::RenderManager::sort ( )

Member Data Documentation

◆ _queueColorSolidDecal

RenderQueue Graphics::Render::RenderManager::_queueColorSolidDecal
private

Definition at line 69 of file renderman.h.

Referenced by clear(), queueRenderable(), render(), setCameraReference(), and sort().

◆ _queueColorSolidPrimary

RenderQueue Graphics::Render::RenderManager::_queueColorSolidPrimary
private

Definition at line 67 of file renderman.h.

Referenced by clear(), queueRenderable(), render(), setCameraReference(), and sort().

◆ _queueColorSolidSecondary

RenderQueue Graphics::Render::RenderManager::_queueColorSolidSecondary
private

Definition at line 68 of file renderman.h.

Referenced by clear(), queueRenderable(), render(), setCameraReference(), and sort().

◆ _queueColorTransparentPrimary

RenderQueue Graphics::Render::RenderManager::_queueColorTransparentPrimary
private

Definition at line 70 of file renderman.h.

Referenced by clear(), queueRenderable(), render(), setCameraReference(), and sort().

◆ _queueColorTransparentSecondary

RenderQueue Graphics::Render::RenderManager::_queueColorTransparentSecondary
private

Definition at line 71 of file renderman.h.

Referenced by clear(), queueRenderable(), render(), setCameraReference(), and sort().

◆ _queueLast

RenderQueue Graphics::Render::RenderManager::_queueLast
private

Definition at line 72 of file renderman.h.

◆ _sortingHints

SortingHints Graphics::Render::RenderManager::_sortingHints
private

Definition at line 74 of file renderman.h.

Referenced by setSortingHint(), and sort().


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