An abstract class that represents all the objects that can be rendered.
More...
#include <Renderable.hpp>
List of all members.
Detailed Description
An abstract class that represents all the objects that can be rendered.
In order to render a Renderable you have to bind it to an Actor. An Actor glues together a Renderable, an Effect and eventually a Transform. Note that the same Renderable can be associated to more than one Actor.
- See also:
- Actor, Effect, Transform, Geometry
Constructor & Destructor Documentation
| vl::Renderable::Renderable |
( |
) |
[inline] |
| virtual vl::Renderable::~Renderable |
( |
) |
[inline, virtual] |
Member Function Documentation
| virtual const char* vl::Renderable::className |
( |
) |
[inline, virtual] |
| virtual void vl::Renderable::render |
( |
const Actor * |
actor, |
|
|
const Shader * |
shader, |
|
|
const Camera * |
camera, |
|
|
OpenGLContext * |
gl_context |
|
) |
| const [pure virtual] |
| long long vl::Renderable::boundsUpdateTick |
( |
) |
const [inline] |
| void vl::Renderable::computeBounds |
( |
) |
[inline] |
| void vl::Renderable::setBoundsDirty |
( |
bool |
dirty ) |
[inline] |
| bool vl::Renderable::boundsDirty |
( |
) |
const [inline] |
| void vl::Renderable::setBoundingBox |
( |
const AABB & |
aabb ) |
[inline] |
| const AABB& vl::Renderable::boundingBox |
( |
) |
const [inline] |
| void vl::Renderable::setBoundingSphere |
( |
const Sphere & |
sphere ) |
[inline] |
| const Sphere& vl::Renderable::boundingSphere |
( |
) |
const [inline] |
| unsigned int vl::Renderable::displayList |
( |
) |
const [inline] |
| void vl::Renderable::setDisplayList |
( |
unsigned int |
disp_list ) |
[inline] |
| bool vl::Renderable::displayListEnabled |
( |
) |
const [inline] |
| void vl::Renderable::setDisplayListEnabled |
( |
bool |
enabled ) |
[inline] |
| bool vl::Renderable::displayListDirty |
( |
) |
const [inline] |
| void vl::Renderable::setDisplayListDirty |
( |
bool |
dirty ) |
[inline] |
| bool vl::Renderable::vboEnabled |
( |
) |
const [inline] |
| void vl::Renderable::setVBOEnabled |
( |
bool |
enabled ) |
[inline] |
| bool vl::Renderable::isVBODirty |
( |
) |
const [inline] |
| void vl::Renderable::setVBODirty |
( |
bool |
dirty ) |
[inline] |
| virtual void vl::Renderable::updateVBOs |
( |
bool |
discard_local_data, |
|
|
bool |
force_update |
|
) |
| [pure virtual] |
Uploads the data stored in the local buffers on the GPU memory.
If 'discard_local_data' is set to true the memory used by the local buffers is released.
Implemented in vl::Clear, vl::DrawPixels, vl::Geometry, and vl::Text.
| virtual void vl::Renderable::deleteVBOs |
( |
) |
[inline, virtual] |
Destroyes the VBO (VertexBufferObjects) associated to this Geometry attributes.
If 'clear_primitives' all the VBOs associated the DrawCall objects are also deleted.
- Note:
- This function does not touch the local (non GPU) data stored in the buffers associated to the vertex attributes and DrawCall.
Reimplemented in vl::Geometry.
| void vl::Renderable::deleteDisplayList |
( |
) |
[inline] |
| virtual void vl::Renderable::computeBounds_Implementation |
( |
) |
[protected, pure virtual] |
The documentation for this class was generated from the following file:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Renderable.hpp