32 #ifndef RenderingAbstract_INCLUDE_ONCE 33 #define RenderingAbstract_INCLUDE_ONCE 42 class RenderEventCallback;
57 virtual void render() = 0;
62 void dispatchOnRenderingStarted();
65 void dispatchOnRenderingFinished();
87 bool isEnabled(
unsigned int mask) {
return (mask & mEnableMask) != 0; }
Associates a Renderable object to an Effect and Transform.
Collection< RenderEventCallback > * onFinishedCallbacks()
Returns the list of RenderEventCallback objects registered to the onRenderingFinished() event notific...
bool isEnabled(const Actor *actor)
ref< Collection< RenderEventCallback > > mOnFinishedCallbacks
bool isEnabled() const
Whether an Actor should be considered for rendering, picking, scene bounding box calculation etc...
The RenderingAbstract class is the base of all the rendering related sub-classes. ...
Collection< RenderEventCallback > * onStartedCallbacks()
Returns the list of RenderEventCallback objects registered to the onRenderingStarted() event notifica...
const Collection< RenderEventCallback > * onStartedCallbacks() const
Returns the list of RenderEventCallback objects registered to the onRenderingStarted() event notifica...
void setFrameClock(real cur_time)
The update time of the current rendering frame.
unsigned int enableMask() const
The enable mask of an Actor is usually used to defines whether the actor should be rendered or not de...
Visualization Library main namespace.
void setEnableMask(unsigned int mask)
The enable mask of the Rendering, used to define wheter the rendering is enabled or not...
unsigned int enableMask() const
The enable mask of the Rendering, used to define wheter the rendering is enabled or not...
real frameClock() const
The update time of the current rendering frame.
The base class for all the reference counted objects.
#define VLGRAPHICS_EXPORT
const Collection< RenderEventCallback > * onFinishedCallbacks() const
Returns the list of RenderEventCallback objects registered to the onRenderingFinished() event notific...
#define VL_INSTRUMENT_ABSTRACT_CLASS(ClassName, BaseClass)
It's basically an std::vector for Objects that is itself an Object so it can be reference counted and...
ref< Collection< RenderEventCallback > > mOnStartedCallbacks
The ref<> class is used to reference-count an Object.
Visualization Library's enums in the 'vl' namespace.
bool isEnabled(unsigned int mask)