The renderer class contains information if a tile::surface should get rendered and how it should get rendered. Class must get derived by your render-engine. In the derived class convert the vertices/indices to your hardware/software render engine. (Most likely to a hardwarebuffer)
More...
#include <renderer.hpp>
|
typedef configType | t_config |
|
typedef base< renderer
< t_config > > | t_base |
|
typedef
t_config::t_renderer::t_tile * | t_thiz |
|
typedef t_config::t_surface::t_tile | t_tileData |
|
typedef blub::sharedPointer
< t_tileData > | t_tileDataPtr |
|
typedef sharedPointer
< renderer< configType > > | pointer |
|
typedef
std::enable_shared_from_this
< renderer< configType > > | t_base |
|
typedef blub::sharedPointer
< renderer< configType >const > | t_thisPtrConst |
|
typedef blub::sharedPointer
< renderer< configType > > | t_thisPtr |
|
|
| ~renderer () |
| ~renderer destructor
|
|
void | setTileData (t_tileDataPtr convertToRenderAble, const axisAlignedBox &aabb) |
| Implement this method and cast the data to your graphic engine. More...
|
|
virtual void | setVisible (const bool &vis) |
| setVisible sets if a tile should get rendered. All lod-submeshes must not be rendered either. More...
|
|
virtual void | setVisibleLod (const uint16 &indLod, const bool &vis) |
| setVisibleLod sets if one of the 6 crack closing submeshes (for lod) should get rendered. More...
|
|
const bool & | getVisible () const |
| getVisible returns if a tile should get rendered. More...
|
|
const bool & | getVisibleLod (const uint16 &indLod) |
| getVisibleLod returns if a crack-closing lod-tile should get rendered. More...
|
|
t_thisPtrConst | getSharedThisPtr () const |
|
t_thisPtr | getSharedThisPtr () |
|
template<class configType>
class blub::procedural::voxel::tile::renderer< configType >
The renderer class contains information if a tile::surface should get rendered and how it should get rendered. Class must get derived by your render-engine. In the derived class convert the vertices/indices to your hardware/software render engine. (Most likely to a hardwarebuffer)
template<class configType >
getVisible returns if a tile should get rendered.
- Returns
template<class configType >
getVisibleLod returns if a crack-closing lod-tile should get rendered.
- Parameters
-
- Returns
template<class configType >
Implement this method and cast the data to your graphic engine.
- Parameters
-
convertToRenderAble | Contains vertices and indices. |
aabb | The axisAlignedBox that describes the bound of the vertices. |
template<class configType >
setVisible sets if a tile should get rendered. All lod-submeshes must not be rendered either.
- Parameters
-
Reimplemented in OgreTile< configType >.
template<class configType >
setVisibleLod sets if one of the 6 crack closing submeshes (for lod) should get rendered.
- Parameters
-
The documentation for this class was generated from the following files:
- /home/mlanner/Development/cpp/projects/voxelTerrain/voxelTerrain/modules/procedural/source/blub/procedural/predecl.hpp
- /home/mlanner/Development/cpp/projects/voxelTerrain/voxelTerrain/modules/procedural/source/blub/procedural/voxel/tile/renderer.hpp