32 #ifndef Renderer_INCLUDE_ONCE 33 #define Renderer_INCLUDE_ONCE 76 const std::map<unsigned int, ref<Shader> >&
shaderOverrideMask()
const {
return mShaderOverrideMask; }
92 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...
bool isEnabled() const
Whether an Actor should be considered for rendering, picking, scene bounding box calculation etc...
const ProjViewTransfCallback * projViewTransfCallback() const
const Framebuffer * framebuffer() const
The Framebuffer on which the rendering is performed.
The Renderer class executes the actual rendering on the given RenderQueue.
ref< ProjViewTransfCallback > mProjViewTransfCallback
vl::ref< EnableSet > mDummyEnables
void setFramebuffer(Framebuffer *framebuffer)
The Framebuffer on which the rendering is performed.
bool isEnabled(const Actor *actor)
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.
Framebuffer * framebuffer()
The Framebuffer on which the rendering is performed.
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)
ref< Framebuffer > mFramebuffer
#define VLGRAPHICS_EXPORT
The RenderQueue class collects a list of RenderToken objects to be sorted and rendered.
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 ...
The Framebuffer class defines an abstract 'surface' where OpenGL can render into. ...