#include <batch_renderer.h>
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_ |
Definition at line 55 of file batch_renderer.h.
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.
typedef boost::shared_ptr<Renderable> rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::RenderablePtr [private] |
Definition at line 58 of file batch_renderer.h.
typedef std::vector<RenderablePtr> rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::V_Renderable [private] |
Definition at line 59 of file batch_renderer.h.
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.
rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::~BatchRenderer | ( | ) | [inline] |
Definition at line 94 of file batch_renderer.h.
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.
void rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::clear | ( | void | ) | [inline] |
Definition at line 172 of file batch_renderer.h.
RenderablePtr rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::getOrCreateRenderable | ( | bool | alpha | ) | [inline, private] |
Definition at line 181 of file batch_renderer.h.
void rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::remove | ( | uint32_t | id | ) | [inline] |
Definition at line 149 of file batch_renderer.h.
void rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::shrinkRenderables | ( | ) | [inline, private] |
Definition at line 202 of file batch_renderer.h.
Ogre::MaterialPtr rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::alpha_material_ [private] |
Definition at line 242 of file batch_renderer.h.
Description rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::desc_ [private] |
Definition at line 236 of file batch_renderer.h.
boost::rand48 rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::id_gen_ [private] |
Definition at line 234 of file batch_renderer.h.
Ogre::MaterialPtr rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::opaque_material_ [private] |
Definition at line 241 of file batch_renderer.h.
M_InputInfo rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::points_ [private] |
Definition at line 233 of file batch_renderer.h.
V_Renderable rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::renderables_ [private] |
Definition at line 239 of file batch_renderer.h.
Ogre::SceneManager* rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::scene_manager_ [private] |
Definition at line 237 of file batch_renderer.h.
Ogre::SceneNode* rve_render_server::BatchRenderer< Child, Input, Renderable, Description >::scene_node_ [private] |
Definition at line 243 of file batch_renderer.h.