32 #ifndef Renderer_INCLUDE_ONCE 33 #define Renderer_INCLUDE_ONCE 77 const std::map<unsigned int, ref<Shader> >&
shaderOverrideMask()
const {
return mShaderOverrideMask; }
93 bool isEnabled(
unsigned int mask) {
return (mask & mEnableMask) != 0; }
Associates a Renderable object to an Effect and Transform.
Callback class to update the state of the projection, view, transform and normal matrices of a GLSLPr...
ref< FramebufferObject > mFramebuffer
bool isEnabled() const
Whether an Actor should be considered for rendering, picking, scene bounding box calculation etc...
const ProjViewTransfCallback * projViewTransfCallback() const
The Renderer class executes the actual rendering on the given RenderQueue.
ref< ProjViewTransfCallback > mProjViewTransfCallback
vl::ref< EnableSet > mDummyEnables
const FramebufferObject * framebuffer() const
The Framebuffer on which the rendering is performed.
bool isEnabled(const Actor *actor)
FramebufferObject * framebuffer()
The Framebuffer on which the rendering is performed.
std::map< unsigned int, ref< Shader > > mShaderOverrideMask
std::map< unsigned int, ref< Shader > > & shaderOverrideMask()
A bitmask/Shader map used to everride the Shader of those Actors whose enable mask satisfy the follow...
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
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.
std::vector< RenderStateSlot > & overriddenDefaultRenderStates()
Render states that will be used as default by the opengl context by this renderer.
void setProjViewTransfCallback(ProjViewTransfCallback *callback)
vl::ref< RenderStateSet > mDummyStateSet
Base class providing all the basic funtionalities of a Renderer.
const std::map< unsigned int, ref< Shader > > & shaderOverrideMask() const
A bitmask/Shader map used to everride the Shader of those Actors whose enable mask satisfy the follow...
bool isEnabled(unsigned int mask)
void setFramebuffer(FramebufferObject *framebuffer)
The Framebuffer on which the rendering is performed.
#define VLGRAPHICS_EXPORT
The RenderQueue class collects a list of RenderToken objects to be sorted and rendered.
Implements a framebuffer object to be used as a rendering target as specified by the ARB_framebuffer_...
const std::vector< RenderStateSlot > & overriddenDefaultRenderStates() const
Render states that will be used as default by the opengl context by this renderer.
The ref<> class is used to reference-count an Object.
ProjViewTransfCallback * projViewTransfCallback()
std::vector< RenderStateSlot > mOverriddenDefaultRenderStates
Represents a virtual camera defining, among other things, the point of view from which scenes can be ...