Visualization Library 2.1.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes | List of all members
vl::Actor Class Reference

Associates a Renderable object to an Effect and Transform. More...

#include <Actor.hpp>

+ Inheritance diagram for vl::Actor:

Public Member Functions

 Actor (Renderable *renderable=NULL, Effect *effect=NULL, Transform *transform=NULL, int block=0, int rank=0)
 Constructor. More...
 
virtual ~Actor ()
 Destructor. More...
 
void setLod (int lod_index, Renderable *renderable)
 Sets the Renderable object representing the LOD level specifed by lod_index. More...
 
const Renderablelod (int lod_index) const
 Returns the Renderable object representing the LOD level specifed by lod_index. More...
 
Renderablelod (int lod_index)
 Returns the Renderable object representing the LOD level specifed by lod_index. More...
 
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. More...
 
void setTransform (Transform *transform)
 Binds a Transform to an Actor. More...
 
Transformtransform ()
 Returns the Transform bound tho an Actor. More...
 
const Transformtransform () const
 Returns the Transform bound tho an Actor. More...
 
void setEffect (Effect *effect)
 Binds an Effect to an Actor. More...
 
Effecteffect ()
 Returns the Effect bound to an Actor. More...
 
const Effecteffect () const
 Returns the Effect bound to an Actor. More...
 
const AABBboundingBox () const
 Returns the bounding box (not guaranteed to be up to date) that contains this Actor. More...
 
const SphereboundingSphere () const
 Returns the bounding sphere (not guaranteed to be up to date) that contains this Actor. More...
 
const AABBboundingBoxSafe ()
 Returns the bounding box (guaranteed to be up to date) that contains this Actor. More...
 
const SphereboundingSphereSafe ()
 Returns the bounding sphere (guaranteed to be up to date) that contains this Actor. More...
 
void computeBounds ()
 Computes the bounding box and bounding sphere of an Actor if boundsDirty(). More...
 
bool boundsDirty () const
 Returns whether the Actor's bounding box and sphere are up to date. More...
 
void setRenderRank (int rank)
 Modifies the rendering rank of an Actor. More...
 
void setRenderBlock (int block)
 Modifies the rendering block of an Actor. More...
 
int renderRank () const
 Returns the rendering rank of an Actor. More...
 
int renderBlock () const
 Returns the rendering block of an Actor. More...
 
void setLODEvaluator (LODEvaluator *lod_evaluator)
 Installs the LODEvaluator used to compute the current LOD at rendering time. More...
 
LODEvaluatorlodEvaluator ()
 Returns the installed LODEvaluator (if any) or NULL. More...
 
const LODEvaluatorlodEvaluator () const
 Returns the installed LODEvaluator (if any) or NULL. More...
 
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). More...
 
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). More...
 
void setEnabled (bool enabled)
 Whether an Actor should be considered for rendering, picking, scene bounding box calculation etc. More...
 
bool isEnabled () const
 Whether an Actor should be considered for rendering, picking, scene bounding box calculation etc. More...
 
void setUniform (Uniform *uniform)
 Equivalent to getUniformSet()->setUniform(uniform) More...
 
const std::vector< ref< Uniform > > & uniforms () const
 Equivalent to getUniformSet()->uniforms() More...
 
std::vector< ref< Uniform > > & uniforms ()
 Equivalent to gocUniformSet()->uniforms() More...
 
void eraseUniform (const char *name)
 Equivalent to getUniformSet()->eraseUniform(name) More...
 
void eraseUniform (const Uniform *uniform)
 Equivalent to getUniformSet()->eraseUniform(uniform) More...
 
void eraseAllUniforms ()
 Equivalent to getUniformSet()->eraseAllUniforms() More...
 
UniformgocUniform (const char *name)
 Equivalent to getUniformSet()->getUniform(name, get_mode) More...
 
UniformgetUniform (const char *name)
 Equivalent to getUniformSet()->getUniform(name, get_mode) More...
 
const UniformgetUniform (const char *name) const
 Equivalent to getUniformSet()->getUniform(name, get_mode) More...
 
void setUniformSet (UniformSet *uniforms)
 Installs a new UniformSet. More...
 
const UniformSetgetUniformSet () const
 Returns the installed UniformSet. More...
 
UniformSetgetUniformSet ()
 Returns the installed UniformSet. More...
 
UniformSetgocUniformSet ()
 Creates and/or returns the installed UniformSet. More...
 
const Collection< ActorEventCallback > * actorEventCallbacks () const
 Returns the list of ActorEventCallback bound to an Actor. More...
 
Collection< ActorEventCallback > * actorEventCallbacks ()
 Returns the list of ActorEventCallback bound to an Actor. More...
 
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. More...
 
void dispatchOnActorDelete ()
 Calls all the onActorDelete() of all the ActorEventCallback installed on this Actor. More...
 
void setScissor (Scissor *scissor)
 Sets the Scissor to be used when rendering an Actor. More...
 
const Scissorscissor () const
 Returns the Scissor used when rendering an Actor. More...
 
Scissorscissor ()
 Returns the Scissor used when rendering an Actor. More...
 
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. More...
 
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. More...
 
void createOcclusionQuery ()
 For internal use only. More...
 
void deleteOcclusionQuery ()
 For internal use only. More...
 
GLuint occlusionQuery () const
 For internal use only. More...
 
void setOcclusionQueryTick (unsigned tick)
 For internal use only. More...
 
unsigned occlusionQueryTick () const
 For internal use only. More...
 
- Public Member Functions inherited from vl::Object
 Object ()
 Constructor. More...
 
 Object (const Object &other)
 Copy constructor: copies the name, ref count mutex and user data. More...
 
Objectoperator= (const Object &other)
 Copy operator: copies the object's name, ref count mutex and user data. More...
 
const std::string & objectName () const
 The name of the object, by default set to the object's class name. More...
 
void setObjectName (const char *name)
 The name of the object, by default set to the object's class name in debug builds. More...
 
void setObjectName (const std::string &name)
 The name of the object, by default set to the object's class name in debug builds. More...
 
void setRefCountMutex (IMutex *mutex)
 The mutex used to protect the reference counting of an Object across multiple threads. More...
 
IMutexrefCountMutex ()
 The mutex used to protect the reference counting of an Object across multiple threads. More...
 
const IMutexrefCountMutex () const
 The mutex used to protect the reference counting of an Object across multiple threads. More...
 
int referenceCount () const
 Returns the number of references of an object. More...
 
void incReference () const
 Increments the reference count of an object. More...
 
void decReference ()
 Decrements the reference count of an object and deletes it if both automaticDelete() is true the count reaches 0. More...
 
void setAutomaticDelete (bool autodel_on)
 If set to true the Object is deleted when its reference count reaches 0. More...
 
bool automaticDelete () const
 If set to true the Object is deleted when its reference count reaches 0. More...
 
template<class T >
T * as ()
 Casts an Object to the specified class. More...
 
template<class T >
const T * as () const
 Casts an Object to the specified class. More...
 

Protected Attributes

AABB mAABB
 
Sphere mSphere
 
ref< EffectmEffect
 
ref< RenderablemRenderables [VL_MAX_ACTOR_LOD]
 
ref< TransformmTransform
 
ref< LODEvaluatormLODEvaluator
 
ref< UniformSetmUniformSet
 
ref< ScissormScissor
 
Collection< ActorEventCallbackmActorEventCallbacks
 
int mRenderBlock
 
int mRenderRank
 
long long mTransformUpdateTick
 
long long mBoundsUpdateTick
 
unsigned int mEnableMask
 
GLuint mOcclusionQuery
 
unsigned mOcclusionQueryTick
 
bool mIsOccludee
 
bool mEnabled
 
- Protected Attributes inherited from vl::Object
std::string mObjectName
 
IMutexmRefCountMutex
 
int mReferenceCount
 
bool mAutomaticDelete
 

Additional Inherited Members

- Protected Member Functions inherited from vl::Object
virtual ~Object ()
 

Detailed Description

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.

Note
Remarks

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.

Uniforms

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.

See also
Transform, Effect, Renderable, Geometry

Definition at line 130 of file Actor.hpp.

Constructor & Destructor Documentation

◆ Actor()

vl::Actor::Actor ( Renderable renderable = NULL,
Effect effect = NULL,
Transform transform = NULL,
int  block = 0,
int  rank = 0 
)
inline

Constructor.

Parameters
renderableA Renderable defining the Actor's LOD level #0
effectThe Effect to be used by the Actor
transformThe Transform to be used by the Actor
blockThe rendering block to which the Actor belongs
rankThe rendering rank to which the Actor belongs

Definition at line 142 of file Actor.hpp.

References NULL.

◆ ~Actor()

Actor::~Actor ( )
virtual

Destructor.

Definition at line 39 of file Actor.cpp.

References deleteOcclusionQuery(), and dispatchOnActorDelete().

Member Function Documentation

◆ actorEventCallbacks() [1/2]

const Collection<ActorEventCallback>* vl::Actor::actorEventCallbacks ( ) const
inline

◆ actorEventCallbacks() [2/2]

Collection<ActorEventCallback>* vl::Actor::actorEventCallbacks ( )
inline

Returns the list of ActorEventCallback bound to an Actor.

Definition at line 373 of file Actor.hpp.

◆ boundingBox()

const AABB& vl::Actor::boundingBox ( ) const
inline

◆ boundingBoxSafe()

const AABB& vl::Actor::boundingBoxSafe ( )
inline

Returns the bounding box (guaranteed to be up to date) that contains this Actor.

See also
boundingBox()

Definition at line 211 of file Actor.hpp.

◆ boundingSphere()

const Sphere& vl::Actor::boundingSphere ( ) const
inline

Returns the bounding sphere (not guaranteed to be up to date) that contains this Actor.

See also
boundingSphereSafe()

Definition at line 208 of file Actor.hpp.

Referenced by vl::SceneManager::computeBounds(), and vl::Rendering::render().

◆ boundingSphereSafe()

const Sphere& vl::Actor::boundingSphereSafe ( )
inline

Returns the bounding sphere (guaranteed to be up to date) that contains this Actor.

See also
boundingSphere()

Definition at line 214 of file Actor.hpp.

◆ boundsDirty()

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().

◆ computeBounds()

void Actor::computeBounds ( )

◆ createOcclusionQuery()

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().

◆ deleteOcclusionQuery()

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().

◆ dispatchOnActorDelete()

void vl::Actor::dispatchOnActorDelete ( )
inline

Calls all the onActorDelete() of all the ActorEventCallback installed on this Actor.

Definition at line 387 of file Actor.hpp.

References vl::ActorEventCallback::onActorDelete().

Referenced by ~Actor().

◆ dispatchOnActorRenderStarted()

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 376 of file Actor.hpp.

References vl::ActorEventCallback::isEnabled(), and vl::ActorEventCallback::onActorRenderStarted().

Referenced by vl::Renderer::renderRaw().

◆ effect() [1/2]

Effect* vl::Actor::effect ( )
inline

◆ effect() [2/2]

const Effect* vl::Actor::effect ( ) const
inline

Returns the Effect bound to an Actor.

Definition at line 202 of file Actor.hpp.

◆ enableMask()

unsigned int vl::Actor::enableMask ( ) const
inline

◆ eraseAllUniforms()

void Actor::eraseAllUniforms ( )

Equivalent to getUniformSet()->eraseAllUniforms()

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 129 of file Actor.cpp.

References vl::UniformSet::eraseAllUniforms(), and getUniformSet().

◆ eraseUniform() [1/2]

void Actor::eraseUniform ( const char *  name)

Equivalent to getUniformSet()->eraseUniform(name)

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 125 of file Actor.cpp.

References vl::UniformSet::eraseUniform(), and getUniformSet().

◆ eraseUniform() [2/2]

void Actor::eraseUniform ( const Uniform uniform)

Equivalent to getUniformSet()->eraseUniform(uniform)

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 127 of file Actor.cpp.

References vl::UniformSet::eraseUniform(), and getUniformSet().

◆ evaluateLOD()

int Actor::evaluateLOD ( Camera camera)

Definition at line 55 of file Actor.cpp.

References mLODEvaluator.

Referenced by vl::Rendering::fillRenderQueue().

◆ getUniform() [1/2]

Uniform * Actor::getUniform ( const char *  name)

Equivalent to getUniformSet()->getUniform(name, get_mode)

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 133 of file Actor.cpp.

References vl::UniformSet::getUniform(), getUniformSet(), and NULL.

◆ getUniform() [2/2]

const Uniform * Actor::getUniform ( const char *  name) const

Equivalent to getUniformSet()->getUniform(name, get_mode)

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 135 of file Actor.cpp.

References vl::UniformSet::getUniform(), getUniformSet(), and NULL.

◆ getUniformSet() [1/2]

const UniformSet* vl::Actor::getUniformSet ( ) const
inline

◆ getUniformSet() [2/2]

UniformSet* vl::Actor::getUniformSet ( )
inline

◆ gocUniform()

Uniform * Actor::gocUniform ( const char *  name)

Equivalent to getUniformSet()->getUniform(name, get_mode)

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 131 of file Actor.cpp.

References vl::UniformSet::gocUniform(), and gocUniformSet().

Referenced by vl::RaycastVolume::updateUniforms(), and vl::SlicedVolume::updateUniforms().

◆ gocUniformSet()

UniformSet* vl::Actor::gocUniformSet ( )
inline

◆ isEnabled()

bool vl::Actor::isEnabled ( ) const
inline

◆ isOccludee()

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 427 of file Actor.hpp.

Referenced by vlX::VLXClassWrapper_Actor::exportActor(), and vl::OcclusionCullRenderer::render_pass2().

◆ lod() [1/2]

const Renderable* vl::Actor::lod ( int  lod_index) const
inline

◆ lod() [2/2]

Renderable* vl::Actor::lod ( int  lod_index)
inline

Returns the Renderable object representing the LOD level specifed by lod_index.

Definition at line 176 of file Actor.hpp.

References NULL.

◆ lodEvaluator() [1/2]

LODEvaluator* vl::Actor::lodEvaluator ( )
inline

Returns the installed LODEvaluator (if any) or NULL.

Definition at line 255 of file Actor.hpp.

Referenced by vlX::VLXClassWrapper_Actor::exportActor().

◆ lodEvaluator() [2/2]

const LODEvaluator* vl::Actor::lodEvaluator ( ) const
inline

Returns the installed LODEvaluator (if any) or NULL.

Definition at line 258 of file Actor.hpp.

◆ occlusionQuery()

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 439 of file Actor.hpp.

Referenced by vl::OcclusionCullRenderer::render_pass1(), and vl::OcclusionCullRenderer::render_pass2().

◆ occlusionQueryTick()

unsigned vl::Actor::occlusionQueryTick ( ) const
inline

For internal use only.

Definition at line 445 of file Actor.hpp.

Referenced by vl::OcclusionCullRenderer::render_pass1().

◆ renderBlock()

int vl::Actor::renderBlock ( ) const
inline

◆ renderRank()

int vl::Actor::renderRank ( ) const
inline

◆ scissor() [1/2]

const Scissor* vl::Actor::scissor ( ) const
inline

Returns the Scissor used when rendering an Actor.

See also

Definition at line 411 of file Actor.hpp.

Referenced by vl::OcclusionCullRenderer::render_pass2(), and vl::Renderer::renderRaw().

◆ scissor() [2/2]

Scissor* vl::Actor::scissor ( )
inline

Returns the Scissor used when rendering an Actor.

See also

Definition at line 419 of file Actor.hpp.

◆ setEffect()

void vl::Actor::setEffect ( Effect effect)
inline

◆ setEnabled()

void vl::Actor::setEnabled ( bool  enabled)
inline

◆ setEnableMask()

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
Actor::enableMask(), Actor::isEnabled(), ActorTreeAbstract::isEnabled(), SceneManager::enableMask(), Rendering::enableMask(), Rendering::effectOverrideMask(), Renderer::enableMask(), Renderer::shaderOverrideMask().

Definition at line 265 of file Actor.hpp.

Referenced by vlX::VLXClassWrapper_Actor::importActor().

◆ setLod()

void vl::Actor::setLod ( int  lod_index,
Renderable renderable 
)
inline

◆ setLODEvaluator()

void vl::Actor::setLODEvaluator ( LODEvaluator lod_evaluator)
inline

Installs the LODEvaluator used to compute the current LOD at rendering time.

Definition at line 252 of file Actor.hpp.

Referenced by vlX::VLXClassWrapper_Actor::importActor().

◆ setLODs()

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(), and VL_CHECK.

◆ setOccludee()

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 423 of file Actor.hpp.

Referenced by vlX::VLXClassWrapper_Actor::importActor().

◆ setOcclusionQueryTick()

void vl::Actor::setOcclusionQueryTick ( unsigned  tick)
inline

For internal use only.

Definition at line 442 of file Actor.hpp.

Referenced by vl::OcclusionCullRenderer::render_pass2().

◆ setRenderBlock()

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.

See also
setRenderRank(), Effect::setRenderRank()

Definition at line 243 of file Actor.hpp.

Referenced by vlX::VLXClassWrapper_Actor::importActor().

◆ setRenderRank()

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.

See also
setRenderBlock(), Effect::setRenderRank()

Definition at line 231 of file Actor.hpp.

Referenced by vlX::VLXClassWrapper_Actor::importActor().

◆ setScissor()

void vl::Actor::setScissor ( Scissor scissor)
inline

Sets the Scissor to be used when rendering an Actor.

Note
You can also define a Scissor on a per-Shader basis using the function Shader::setScissor(). In case both the Shader's and the Actor's Scissor are defined the Actor's Scissor is used.
See also

Definition at line 404 of file Actor.hpp.

Referenced by vl::VectorGraphics::popScissor().

◆ setTransform()

void vl::Actor::setTransform ( Transform transform)
inline

◆ setUniform()

void Actor::setUniform ( Uniform uniform)

Equivalent to getUniformSet()->setUniform(uniform)

Remarks
This function performs a 'setUniformSet(new UniformSet)' if getUniformSet() is NULL.

Definition at line 119 of file Actor.cpp.

References gocUniformSet(), and vl::UniformSet::setUniform().

Referenced by vlX::VLXClassWrapper_Actor::importActor(), and vl::Terrain::init().

◆ setUniformSet()

void vl::Actor::setUniformSet ( UniformSet uniforms)
inline

◆ transform() [1/2]

Transform* vl::Actor::transform ( )
inline

◆ transform() [2/2]

const Transform* vl::Actor::transform ( ) const
inline

Returns the Transform bound tho an Actor.

Definition at line 193 of file Actor.hpp.

◆ uniforms() [1/2]

const std::vector< ref< Uniform > > & Actor::uniforms ( ) const

Equivalent to getUniformSet()->uniforms()

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 121 of file Actor.cpp.

References getUniformSet(), and vl::UniformSet::uniforms().

Referenced by vlX::VLXClassWrapper_Actor::exportActor().

◆ uniforms() [2/2]

std::vector< ref< Uniform > > & Actor::uniforms ( )

Equivalent to gocUniformSet()->uniforms()

Remarks
You must install a UniformSet with setUniformSet() before calling this function.

Definition at line 123 of file Actor.cpp.

References gocUniformSet(), and vl::UniformSet::uniforms().

Member Data Documentation

◆ mAABB

AABB vl::Actor::mAABB
protected

Definition at line 458 of file Actor.hpp.

Referenced by computeBounds().

◆ mActorEventCallbacks

Collection<ActorEventCallback> vl::Actor::mActorEventCallbacks
protected

Definition at line 466 of file Actor.hpp.

◆ mBoundsUpdateTick

long long vl::Actor::mBoundsUpdateTick
protected

Definition at line 470 of file Actor.hpp.

Referenced by boundsDirty(), and computeBounds().

◆ mEffect

ref<Effect> vl::Actor::mEffect
protected

Definition at line 460 of file Actor.hpp.

◆ mEnabled

bool vl::Actor::mEnabled
protected

Definition at line 475 of file Actor.hpp.

◆ mEnableMask

unsigned int vl::Actor::mEnableMask
protected

Definition at line 471 of file Actor.hpp.

◆ mIsOccludee

bool vl::Actor::mIsOccludee
protected

Definition at line 474 of file Actor.hpp.

◆ mLODEvaluator

ref<LODEvaluator> vl::Actor::mLODEvaluator
protected

Definition at line 463 of file Actor.hpp.

Referenced by evaluateLOD().

◆ mOcclusionQuery

GLuint vl::Actor::mOcclusionQuery
protected

Definition at line 472 of file Actor.hpp.

Referenced by createOcclusionQuery(), and deleteOcclusionQuery().

◆ mOcclusionQueryTick

unsigned vl::Actor::mOcclusionQueryTick
protected

Definition at line 473 of file Actor.hpp.

◆ mRenderables

ref<Renderable> vl::Actor::mRenderables[VL_MAX_ACTOR_LOD]
protected

Definition at line 461 of file Actor.hpp.

◆ mRenderBlock

int vl::Actor::mRenderBlock
protected

Definition at line 467 of file Actor.hpp.

◆ mRenderRank

int vl::Actor::mRenderRank
protected

Definition at line 468 of file Actor.hpp.

◆ mScissor

ref<Scissor> vl::Actor::mScissor
protected

Definition at line 465 of file Actor.hpp.

◆ mSphere

Sphere vl::Actor::mSphere
protected

Definition at line 459 of file Actor.hpp.

Referenced by computeBounds().

◆ mTransform

ref<Transform> vl::Actor::mTransform
protected

Definition at line 462 of file Actor.hpp.

◆ mTransformUpdateTick

long long vl::Actor::mTransformUpdateTick
protected

Definition at line 469 of file Actor.hpp.

Referenced by boundsDirty(), and computeBounds().

◆ mUniformSet

ref<UniformSet> vl::Actor::mUniformSet
protected

Definition at line 464 of file Actor.hpp.


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