Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Associates a Renderable object to an Effect and Transform. More...
#include <Actor.hpp>
Public Member Functions | |
Actor (Renderable *renderable=NULL, Effect *effect=NULL, Transform *transform=NULL, int block=0, int rank=0) | |
Constructor. | |
virtual | ~Actor () |
Destructor. | |
void | setLod (int lod_index, Renderable *renderable) |
Sets the Renderable object representing the LOD level specifed by lod_index . | |
const Renderable * | lod (int lod_index) const |
Returns the Renderable object representing the LOD level specifed by lod_index . | |
Renderable * | lod (int lod_index) |
Returns the Renderable object representing the LOD level specifed by lod_index . | |
void | setLODs (Renderable *lod0, Renderable *lod1=NULL, Renderable *lod2=NULL, Renderable *lod3=NULL, Renderable *lod4=NULL, Renderable *lod5=NULL) |
Utility function to assign one or more Renderable[s] to one or more LOD levels. | |
void | setTransform (Transform *transform) |
Binds a Transform to an Actor. | |
Transform * | transform () |
Returns the Transform bound tho an Actor. | |
const Transform * | transform () const |
Returns the Transform bound tho an Actor. | |
void | setEffect (Effect *effect) |
Binds an Effect to an Actor. | |
Effect * | effect () |
Returns the Effect bound to an Actor. | |
const Effect * | effect () const |
Returns the Effect bound to an Actor. | |
const AABB & | boundingBox () const |
Returns the bounding box (not guaranteed to be up to date) that contains this Actor. | |
const Sphere & | boundingSphere () const |
Returns the bounding sphere (not guaranteed to be up to date) that contains this Actor. | |
const AABB & | boundingBoxSafe () |
Returns the bounding box (guaranteed to be up to date) that contains this Actor. | |
const Sphere & | boundingSphereSafe () |
Returns the bounding sphere (guaranteed to be up to date) that contains this Actor. | |
void | computeBounds () |
Computes the bounding box and bounding sphere of an Actor. | |
bool | boundsDirty () const |
Returns whether the Actor's bounding box and sphere are up to date. | |
void | setRenderRank (int rank) |
Modifies the rendering rank of an Actor. | |
void | setRenderBlock (int block) |
Modifies the rendering block of an Actor. | |
int | renderRank () const |
Returns the rendering rank of an Actor. | |
int | renderBlock () const |
Returns the rendering block of an Actor. | |
void | setLODEvaluator (LODEvaluator *lod_evaluator) |
Installs the LODEvaluator used to compute the current LOD at rendering time. | |
LODEvaluator * | lodEvaluator () |
Returns the installed LODEvaluator (if any) or NULL. | |
const LODEvaluator * | lodEvaluator () const |
Returns the installed LODEvaluator (if any) or NULL. | |
int | evaluateLOD (Camera *camera) |
void | setEnableMask (unsigned int mask) |
The enable mask of an Actor is usually used to defines whether the actor should be rendered or not depending on the Rendering::enableMask() but it can also be used for user-specific tasks (set to 0xFFFFFFFF by default). | |
unsigned int | enableMask () const |
The enable mask of an Actor is usually used to defines whether the actor should be rendered or not depending on the Rendering::enableMask() but it can also be used for user-specific tasks (set to 0xFFFFFFFF by default). | |
void | setUniform (Uniform *uniform) |
Equivalent to getUniformSet()->setUniform(uniform) | |
const std::vector< ref < Uniform > > & | uniforms () const |
Equivalent to getUniformSet()->uniforms() | |
std::vector< ref< Uniform > > & | uniforms () |
Equivalent to gocUniformSet()->uniforms() | |
void | eraseUniform (const char *name) |
Equivalent to getUniformSet()->eraseUniform(name) | |
void | eraseUniform (const Uniform *uniform) |
Equivalent to getUniformSet()->eraseUniform(uniform) | |
void | eraseAllUniforms () |
Equivalent to getUniformSet()->eraseAllUniforms() | |
Uniform * | gocUniform (const char *name) |
Equivalent to getUniformSet()->getUniform(name, get_mode) | |
Uniform * | getUniform (const char *name) |
Equivalent to getUniformSet()->getUniform(name, get_mode) | |
const Uniform * | getUniform (const char *name) const |
Equivalent to getUniformSet()->getUniform(name, get_mode) | |
void | setUniformSet (UniformSet *uniforms) |
Installs a new UniformSet. | |
const UniformSet * | getUniformSet () const |
Returns the installed UniformSet. | |
UniformSet * | getUniformSet () |
Returns the installed UniformSet. | |
UniformSet * | gocUniformSet () |
Creates and/or returns the installed UniformSet. | |
const Collection < ActorEventCallback > * | actorEventCallbacks () const |
Returns the list of ActorEventCallback bound to an Actor. | |
Collection< ActorEventCallback > * | actorEventCallbacks () |
Returns the list of ActorEventCallback bound to an Actor. | |
void | dispatchOnActorRenderStarted (real frame_clock, const Camera *camera, Renderable *renderable, const Shader *shader, int pass) |
Calls all the onActorRenderStarted() of all the ActorEventCallback installed on this Actor. | |
void | dispatchOnActorDelete () |
Calls all the onActorDelete() of all the ActorEventCallback installed on this Actor. | |
void | setScissor (Scissor *scissor) |
Sets the Scissor to be used when rendering an Actor. | |
const Scissor * | scissor () const |
Returns the Scissor used when rendering an Actor. | |
Scissor * | scissor () |
Returns the Scissor used when rendering an Actor. | |
void | setOccludee (bool is_occludee) |
If is_occludee equals true an occlusion test will be performed before the rendering of the Actor (if occlusion culling is enabled) otherwise the Actor will always be rendered with no occlusion test even when occlusion culling is enabled. | |
bool | isOccludee () const |
If is_occludee equals true an occlusion test will be performed before the rendering of the Actor (if occlusion culling is enabled) otherwise the Actor will always be rendered with no occlusion test even when occlusion culling is enabled. | |
void | createOcclusionQuery () |
For internal use only. | |
void | deleteOcclusionQuery () |
For internal use only. | |
GLuint | occlusionQuery () const |
For internal use only. | |
void | setOcclusionQueryTick (unsigned tick) |
For internal use only. | |
unsigned | occlusionQueryTick () const |
For internal use only. | |
Protected Attributes | |
AABB | mAABB |
Sphere | mSphere |
ref< Effect > | mEffect |
ref< Renderable > | mRenderables [VL_MAX_ACTOR_LOD] |
ref< Transform > | mTransform |
ref< LODEvaluator > | mLODEvaluator |
ref< UniformSet > | mUniformSet |
ref< Scissor > | mScissor |
Collection< ActorEventCallback > | mActorEventCallbacks |
int | mRenderBlock |
int | mRenderRank |
long long | mTransformUpdateTick |
long long | mBoundsUpdateTick |
unsigned int | mEnableMask |
GLuint | mOcclusionQuery |
unsigned | mOcclusionQueryTick |
bool | mIsOccludee |
Associates a Renderable object to an Effect and Transform.
An Actor can associate one Renderable for each LOD (level of detail) using the lods() function. The rendering order of an Actor is defined by its rendering rank, and block, see setRenderRank() and setRenderBlock() for the details.
An Actor must always have a Renderable and Effect bound. If no Transform is specified the Renderable will be rendered as if it had an identity matrix transformation.
The Uniforms defined in the Actor and the ones defined in the Shader must not overlap, that is, an Actor must not define Uniforms that are also present in the Shader's Uniform and vice versa.
Definition at line 131 of file Actor.hpp.
vl::Actor::Actor | ( | Renderable * | renderable = NULL , |
Effect * | effect = NULL , |
||
Transform * | transform = NULL , |
||
int | block = 0 , |
||
int | rank = 0 |
||
) | [inline] |
Constructor.
renderable | A Renderable defining the Actor's LOD level #0 |
effect | The Effect to be used by the Actor |
transform | The Transform to be used by the Actor |
block | The rendering block to which the Actor belongs |
rank | The rendering rank to which the Actor belongs |
Definition at line 143 of file Actor.hpp.
References NULL, and VL_DEBUG_SET_OBJECT_NAME.
Actor::~Actor | ( | ) | [virtual] |
Destructor.
Definition at line 39 of file Actor.cpp.
References deleteOcclusionQuery(), and dispatchOnActorDelete().
void vl::Actor::setLod | ( | int | lod_index, |
Renderable * | renderable | ||
) | [inline] |
Sets the Renderable object representing the LOD level specifed by lod_index
.
Definition at line 160 of file Actor.hpp.
Referenced by vl::SlicedVolume::bindActor(), vl::RaycastVolume::bindActor(), vl::MorphingCallback::bindActor(), vl::VLXClassWrapper_Actor::importActor(), and setLODs().
const Renderable* vl::Actor::lod | ( | int | lod_index ) | const [inline] |
Returns the Renderable object representing the LOD level specifed by lod_index
.
Definition at line 174 of file Actor.hpp.
Referenced by boundsDirty(), computeBounds(), vl::PixelLODEvaluator::evaluate(), vl::DistanceLODEvaluator::evaluate(), vl::VLXClassWrapper_Actor::exportActor(), vl::EdgeExtractor::extractEdges(), vl::Rendering::fillRenderQueue(), vl::RayIntersector::intersect(), and vl::DaeLoader::load().
Renderable* vl::Actor::lod | ( | int | lod_index ) | [inline] |
Returns the Renderable object representing the LOD level specifed by lod_index
.
void Actor::setLODs | ( | Renderable * | lod0, |
Renderable * | lod1 = NULL , |
||
Renderable * | lod2 = NULL , |
||
Renderable * | lod3 = NULL , |
||
Renderable * | lod4 = NULL , |
||
Renderable * | lod5 = NULL |
||
) |
Utility function to assign one or more Renderable[s] to one or more LOD levels.
Definition at line 45 of file Actor.cpp.
References setLod(), VL_CHECK, and VL_MAX_ACTOR_LOD.
void vl::Actor::setTransform | ( | Transform * | transform ) | [inline] |
Binds a Transform to an Actor.
Definition at line 183 of file Actor.hpp.
Referenced by vl::VectorGraphics::drawActor(), and vl::VLXClassWrapper_Actor::importActor().
Transform* vl::Actor::transform | ( | ) | [inline] |
Returns the Transform bound tho an Actor.
Definition at line 191 of file Actor.hpp.
Referenced by vl::TrackballManipulator::adjustView(), vl::Text::boundingRectTransformed(), boundsDirty(), computeBounds(), vl::PixelLODEvaluator::evaluate(), vl::DistanceLODEvaluator::evaluate(), vl::VLXClassWrapper_Actor::exportActor(), vl::RayIntersector::intersectGeometry(), vl::DaeLoader::load(), vl::SlicedVolume::onActorRenderStarted(), vl::EdgeUpdateCallback::onActorRenderStarted(), vl::DepthSortCallback::onActorRenderStarted(), vl::Renderer::render(), vl::DrawPixels::render_Implementation(), vl::OcclusionCullRenderer::render_pass2(), vl::Text::renderText(), vl::RenderQueue::sort(), vl::SlicedVolume::updateUniforms(), and vl::RaycastVolume::updateUniforms().
const Transform* vl::Actor::transform | ( | ) | const [inline] |
void vl::Actor::setEffect | ( | Effect * | effect ) | [inline] |
Definition at line 197 of file Actor.hpp.
Referenced by vl::VectorGraphics::drawActor(), vl::VLXClassWrapper_Actor::importActor(), and vl::DaeLoader::load().
Effect* vl::Actor::effect | ( | ) | [inline] |
Returns the Effect bound to an Actor.
Definition at line 200 of file Actor.hpp.
Referenced by vl::VectorGraphics::drawActor(), vl::VLXClassWrapper_Actor::exportActor(), vl::Rendering::fillRenderQueue(), and vl::DaeLoader::load().
const Effect* vl::Actor::effect | ( | ) | const [inline] |
const AABB& vl::Actor::boundingBox | ( | ) | const [inline] |
Returns the bounding box (not
guaranteed to be up to date) that contains this Actor.
Definition at line 206 of file Actor.hpp.
Referenced by vl::TrackballManipulator::adjustView(), vl::ActorTreeAbstract::computeAABB(), vl::Sector::computeBoundingBox(), vl::SceneManager::computeBounds(), vl::OcclusionCullRenderer::render_pass2(), and vl::SceneManagerPortals::visitSector().
const Sphere& vl::Actor::boundingSphere | ( | ) | const [inline] |
Returns the bounding sphere (not
guaranteed to be up to date) that contains this Actor.
Definition at line 209 of file Actor.hpp.
Referenced by vl::SceneManager::computeBounds(), and vl::Rendering::render().
const AABB& vl::Actor::boundingBoxSafe | ( | ) | [inline] |
Returns the bounding box (guaranteed
to be up to date) that contains this Actor.
const Sphere& vl::Actor::boundingSphereSafe | ( | ) | [inline] |
Returns the bounding sphere (guaranteed
to be up to date) that contains this Actor.
void Actor::computeBounds | ( | ) |
Computes the bounding box and bounding sphere of an Actor.
Definition at line 95 of file Actor.cpp.
References vl::Renderable::boundingBox(), vl::Renderable::boundsDirty(), vl::Renderable::boundsUpdateTick(), vl::AABB::isNull(), lod(), mAABB, mBoundsUpdateTick, mSphere, mTransformUpdateTick, NULL, transform(), vl::AABB::transformed(), and vl::Transform::worldMatrixUpdateTick().
Referenced by vl::TrackballManipulator::adjustView(), vl::ActorTreeAbstract::computeAABB(), vl::Sector::computeBoundingBox(), vl::SceneManager::computeBounds(), vl::ActorTreeAbstract::extractVisibleActors(), vl::Rendering::fillRenderQueue(), and vl::SceneManagerPortals::visitSector().
bool Actor::boundsDirty | ( | ) | const |
Returns whether the Actor's bounding box and sphere are up to date.
Definition at line 84 of file Actor.cpp.
References vl::Renderable::boundsDirty(), vl::Renderable::boundsUpdateTick(), lod(), mBoundsUpdateTick, mTransformUpdateTick, transform(), and vl::Transform::worldMatrixUpdateTick().
void vl::Actor::setRenderRank | ( | int | rank ) | [inline] |
Modifies the rendering rank of an Actor.
The rendering rank affects the order in which an Actor is rendered, the greater the rank the later the Actor is rendered. The default render rank is zero.
To know more about rendering order please see Rendering Order.
Definition at line 232 of file Actor.hpp.
Referenced by vl::SceneManagerVectorGraphics::extractActors(), and vl::VLXClassWrapper_Actor::importActor().
void vl::Actor::setRenderBlock | ( | int | block ) | [inline] |
Modifies the rendering block of an Actor.
The rendering block affects the order in which an Actor is rendered, the greater the block the later the Actor is rendered. The default render block is zero.
To know more about rendering order please see Rendering Order.
Definition at line 244 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::importActor().
int vl::Actor::renderRank | ( | ) | const [inline] |
Returns the rendering rank of an Actor.
Definition at line 247 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::exportActor(), vl::RenderQueueSorterAggressive::operator()(), vl::RenderQueueSorterOcclusion::operator()(), vl::RenderQueueSorterStandard::operator()(), and vl::RenderQueueSorterBasic::operator()().
int vl::Actor::renderBlock | ( | ) | const [inline] |
Returns the rendering block of an Actor.
Definition at line 250 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::exportActor(), vl::RenderQueueSorterAggressive::operator()(), vl::RenderQueueSorterOcclusion::operator()(), vl::RenderQueueSorterStandard::operator()(), and vl::RenderQueueSorterBasic::operator()().
void vl::Actor::setLODEvaluator | ( | LODEvaluator * | lod_evaluator ) | [inline] |
Installs the LODEvaluator used to compute the current LOD at rendering time.
Definition at line 253 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::importActor().
LODEvaluator* vl::Actor::lodEvaluator | ( | ) | [inline] |
Returns the installed LODEvaluator (if any) or NULL.
Definition at line 256 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::exportActor().
const LODEvaluator* vl::Actor::lodEvaluator | ( | ) | const [inline] |
Returns the installed LODEvaluator (if any) or NULL.
int Actor::evaluateLOD | ( | Camera * | camera ) |
Definition at line 55 of file Actor.cpp.
References mLODEvaluator.
Referenced by vl::Rendering::fillRenderQueue().
void vl::Actor::setEnableMask | ( | unsigned int | mask ) | [inline] |
The enable mask of an Actor is usually used to defines whether the actor should be rendered or not depending on the Rendering::enableMask() but it can also be used for user-specific tasks (set to 0xFFFFFFFF by default).
See also vl::Rendering::effectOverrideMask() and vl::Renderer::shaderOverrideMask().
Definition at line 266 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::importActor().
unsigned int vl::Actor::enableMask | ( | ) | const [inline] |
The enable mask of an Actor is usually used to defines whether the actor should be rendered or not depending on the Rendering::enableMask() but it can also be used for user-specific tasks (set to 0xFFFFFFFF by default).
See also vl::Rendering::effectOverrideMask() and vl::Renderer::shaderOverrideMask().
Definition at line 271 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::exportActor(), vl::ActorTreeAbstract::extractVisibleActors(), vl::Rendering::fillRenderQueue(), vl::SceneManager::isEnabled(), vl::Renderer::render(), vl::EdgeRenderer::render(), vl::OcclusionCullRenderer::render_pass1(), and vl::OcclusionCullRenderer::render_pass2().
void Actor::setUniform | ( | Uniform * | uniform ) |
Equivalent to getUniformSet()->setUniform(uniform)
Definition at line 118 of file Actor.cpp.
References gocUniformSet(), and vl::UniformSet::setUniform().
Referenced by vl::VLXClassWrapper_Actor::importActor().
Equivalent to getUniformSet()->uniforms()
Definition at line 120 of file Actor.cpp.
References getUniformSet(), and vl::UniformSet::uniforms().
Referenced by vl::VLXClassWrapper_Actor::exportActor().
Equivalent to gocUniformSet()->uniforms()
Definition at line 122 of file Actor.cpp.
References gocUniformSet(), and vl::UniformSet::uniforms().
void Actor::eraseUniform | ( | const char * | name ) |
Equivalent to getUniformSet()->eraseUniform(name)
Definition at line 124 of file Actor.cpp.
References vl::UniformSet::eraseUniform(), and getUniformSet().
void Actor::eraseUniform | ( | const Uniform * | uniform ) |
Equivalent to getUniformSet()->eraseUniform(uniform)
Definition at line 126 of file Actor.cpp.
References vl::UniformSet::eraseUniform(), and getUniformSet().
void Actor::eraseAllUniforms | ( | ) |
Equivalent to getUniformSet()->eraseAllUniforms()
Definition at line 128 of file Actor.cpp.
References vl::UniformSet::eraseAllUniforms(), and getUniformSet().
Uniform * Actor::gocUniform | ( | const char * | name ) |
Equivalent to getUniformSet()->getUniform(name, get_mode)
Definition at line 130 of file Actor.cpp.
References vl::UniformSet::gocUniform(), and gocUniformSet().
Referenced by vl::SlicedVolume::updateUniforms(), and vl::RaycastVolume::updateUniforms().
Uniform * Actor::getUniform | ( | const char * | name ) |
Equivalent to getUniformSet()->getUniform(name, get_mode)
Definition at line 132 of file Actor.cpp.
References vl::UniformSet::getUniform(), getUniformSet(), and NULL.
const Uniform * Actor::getUniform | ( | const char * | name ) | const |
Equivalent to getUniformSet()->getUniform(name, get_mode)
Definition at line 134 of file Actor.cpp.
References vl::UniformSet::getUniform(), getUniformSet(), and NULL.
void vl::Actor::setUniformSet | ( | UniformSet * | uniforms ) | [inline] |
Installs a new UniformSet.
const UniformSet* vl::Actor::getUniformSet | ( | ) | const [inline] |
Returns the installed UniformSet.
Definition at line 339 of file Actor.hpp.
Referenced by eraseAllUniforms(), eraseUniform(), vl::VLXClassWrapper_Actor::exportActor(), getUniform(), vl::Renderer::render(), and uniforms().
UniformSet* vl::Actor::getUniformSet | ( | ) | [inline] |
Returns the installed UniformSet.
UniformSet* vl::Actor::gocUniformSet | ( | ) | [inline] |
Creates and/or returns the installed UniformSet.
Definition at line 361 of file Actor.hpp.
Referenced by gocUniform(), setUniform(), and uniforms().
const Collection<ActorEventCallback>* vl::Actor::actorEventCallbacks | ( | ) | const [inline] |
Returns the list of ActorEventCallback bound to an Actor.
Definition at line 364 of file Actor.hpp.
Referenced by vl::SlicedVolume::bindActor(), vl::RaycastVolume::bindActor(), vl::MorphingCallback::bindActor(), vl::VLXClassWrapper_Actor::exportActor(), and vl::VLXClassWrapper_Actor::importActor().
Collection<ActorEventCallback>* vl::Actor::actorEventCallbacks | ( | ) | [inline] |
Returns the list of ActorEventCallback bound to an Actor.
void vl::Actor::dispatchOnActorRenderStarted | ( | real | frame_clock, |
const Camera * | camera, | ||
Renderable * | renderable, | ||
const Shader * | shader, | ||
int | pass | ||
) | [inline] |
Calls all the onActorRenderStarted() of all the ActorEventCallback installed on this Actor.
Definition at line 370 of file Actor.hpp.
References vl::ActorEventCallback::isEnabled(), and vl::ActorEventCallback::onActorRenderStarted().
Referenced by vl::Renderer::render().
void vl::Actor::dispatchOnActorDelete | ( | ) | [inline] |
Calls all the onActorDelete() of all the ActorEventCallback installed on this Actor.
Definition at line 381 of file Actor.hpp.
References vl::ActorEventCallback::onActorDelete().
Referenced by ~Actor().
void vl::Actor::setScissor | ( | Scissor * | scissor ) | [inline] |
const Scissor* vl::Actor::scissor | ( | ) | const [inline] |
Returns the Scissor used when rendering an Actor.
Definition at line 405 of file Actor.hpp.
Referenced by vl::Renderer::render(), and vl::OcclusionCullRenderer::render_pass2().
Scissor* vl::Actor::scissor | ( | ) | [inline] |
void vl::Actor::setOccludee | ( | bool | is_occludee ) | [inline] |
If is_occludee
equals true an occlusion test will be performed before the rendering of the Actor (if occlusion culling is enabled) otherwise the Actor will always be rendered with no occlusion test even when occlusion culling is enabled.
Definition at line 417 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::importActor().
bool vl::Actor::isOccludee | ( | ) | const [inline] |
If is_occludee
equals true an occlusion test will be performed before the rendering of the Actor (if occlusion culling is enabled) otherwise the Actor will always be rendered with no occlusion test even when occlusion culling is enabled.
Definition at line 421 of file Actor.hpp.
Referenced by vl::VLXClassWrapper_Actor::exportActor(), and vl::OcclusionCullRenderer::render_pass2().
void Actor::createOcclusionQuery | ( | ) |
For internal use only.
Creates the occlusion query object name bound this Actor using the OpenGL function glGenQueries().
Definition at line 63 of file Actor.cpp.
References vl::Has_Occlusion_Query, mOcclusionQuery, VL_CHECK, and VL_CHECK_OGL.
Referenced by vl::OcclusionCullRenderer::render_pass2().
void Actor::deleteOcclusionQuery | ( | ) |
For internal use only.
Deletes the occlusion query object name using the OpenGL function glDeleteQueries().
Definition at line 72 of file Actor.cpp.
References vl::Has_Occlusion_Query, and mOcclusionQuery.
Referenced by ~Actor().
GLuint vl::Actor::occlusionQuery | ( | ) | const [inline] |
For internal use only.
Returns the occlusion query object name bound this Actor as by the OpenGL function glGenQueries(). Returns 0 if no query object name has been created yet.
Definition at line 433 of file Actor.hpp.
Referenced by vl::OcclusionCullRenderer::render_pass1(), and vl::OcclusionCullRenderer::render_pass2().
void vl::Actor::setOcclusionQueryTick | ( | unsigned | tick ) | [inline] |
For internal use only.
Definition at line 436 of file Actor.hpp.
Referenced by vl::OcclusionCullRenderer::render_pass2().
unsigned vl::Actor::occlusionQueryTick | ( | ) | const [inline] |
For internal use only.
Definition at line 439 of file Actor.hpp.
Referenced by vl::OcclusionCullRenderer::render_pass1().
AABB vl::Actor::mAABB [protected] |
Definition at line 452 of file Actor.hpp.
Referenced by computeBounds().
Sphere vl::Actor::mSphere [protected] |
Definition at line 453 of file Actor.hpp.
Referenced by computeBounds().
ref<Effect> vl::Actor::mEffect [protected] |
ref<Renderable> vl::Actor::mRenderables[VL_MAX_ACTOR_LOD] [protected] |
ref<Transform> vl::Actor::mTransform [protected] |
ref<LODEvaluator> vl::Actor::mLODEvaluator [protected] |
Definition at line 457 of file Actor.hpp.
Referenced by evaluateLOD().
ref<UniformSet> vl::Actor::mUniformSet [protected] |
ref<Scissor> vl::Actor::mScissor [protected] |
Collection<ActorEventCallback> vl::Actor::mActorEventCallbacks [protected] |
int vl::Actor::mRenderBlock [protected] |
int vl::Actor::mRenderRank [protected] |
long long vl::Actor::mTransformUpdateTick [protected] |
Definition at line 463 of file Actor.hpp.
Referenced by boundsDirty(), and computeBounds().
long long vl::Actor::mBoundsUpdateTick [protected] |
Definition at line 464 of file Actor.hpp.
Referenced by boundsDirty(), and computeBounds().
unsigned int vl::Actor::mEnableMask [protected] |
GLuint vl::Actor::mOcclusionQuery [protected] |
Definition at line 466 of file Actor.hpp.
Referenced by createOcclusionQuery(), and deleteOcclusionQuery().
unsigned vl::Actor::mOcclusionQueryTick [protected] |
bool vl::Actor::mIsOccludee [protected] |