Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
rve_render_server::BatchRenderer< Child, Input, Renderable, Description > Class Template Reference

#include <batch_renderer.h>

List of all members.

Classes

struct  InputInfo

Public Member Functions

uint32_t add (const rve_common::UUID &id, const Input &input)
 BatchRenderer (Ogre::SceneManager *scene_manager, const Description &desc)
void clear ()
void remove (uint32_t id)
 ~BatchRenderer ()

Private Types

typedef boost::unordered_map
< uint32_t, InputInfo
M_InputInfo
typedef boost::shared_ptr
< Renderable
RenderablePtr
typedef std::vector
< RenderablePtr
V_Renderable

Private Member Functions

RenderablePtr getOrCreateRenderable (bool alpha)
void shrinkRenderables ()

Private Attributes

Ogre::MaterialPtr alpha_material_
Description desc_
boost::rand48 id_gen_
Ogre::MaterialPtr opaque_material_
M_InputInfo points_
V_Renderable renderables_
Ogre::SceneManager * scene_manager_
Ogre::SceneNode * scene_node_

Detailed Description

template<typename Child, typename Input, typename Renderable, typename Description>
class rve_render_server::BatchRenderer< Child, Input, Renderable, Description >

Definition at line 55 of file batch_renderer.h.


Member Typedef Documentation

template<typename Child, typename Input, typename Renderable, typename Description>
typedef boost::unordered_map<uint32_t, InputInfo> rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::M_InputInfo [private]

Definition at line 77 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
typedef boost::shared_ptr<Renderable> rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::RenderablePtr [private]

Definition at line 58 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
typedef std::vector<RenderablePtr> rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::V_Renderable [private]

Definition at line 59 of file batch_renderer.h.


Constructor & Destructor Documentation

template<typename Child, typename Input, typename Renderable, typename Description>
rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::BatchRenderer ( Ogre::SceneManager *  scene_manager,
const Description &  desc 
) [inline]

Definition at line 80 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::~BatchRenderer ( ) [inline]

Definition at line 94 of file batch_renderer.h.


Member Function Documentation

template<typename Child, typename Input, typename Renderable, typename Description>
uint32_t rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::add ( const rve_common::UUID id,
const Input input 
) [inline]

Definition at line 99 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
void rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::clear ( void  ) [inline]

Definition at line 172 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
RenderablePtr rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::getOrCreateRenderable ( bool  alpha) [inline, private]

Definition at line 181 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
void rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::remove ( uint32_t  id) [inline]

Definition at line 149 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
void rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::shrinkRenderables ( ) [inline, private]

Definition at line 202 of file batch_renderer.h.


Member Data Documentation

template<typename Child, typename Input, typename Renderable, typename Description>
Ogre::MaterialPtr rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::alpha_material_ [private]

Definition at line 242 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
Description rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::desc_ [private]

Definition at line 236 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
boost::rand48 rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::id_gen_ [private]

Definition at line 234 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
Ogre::MaterialPtr rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::opaque_material_ [private]

Definition at line 241 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
M_InputInfo rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::points_ [private]

Definition at line 233 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
V_Renderable rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::renderables_ [private]

Definition at line 239 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
Ogre::SceneManager* rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::scene_manager_ [private]

Definition at line 237 of file batch_renderer.h.

template<typename Child, typename Input, typename Renderable, typename Description>
Ogre::SceneNode* rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::scene_node_ [private]

Definition at line 243 of file batch_renderer.h.


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


rve_render_server
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:15