18 #include <osg/StateSet>
27 class DtIndirectGeometryRegistrar;
28 class DtVirtualProgramCache;
29 class DtIndirectEffectTexturesTemplate;
30 class DtOsgLightPointManager;
45 class DtIndirectLightPointDrawComponentShaderConstants;
76 virtual void update(osg::RenderInfo& renderInfo)
override;
79 virtual void apply(osg::RenderInfo& renderInfo)
override;
82 virtual void draw(osg::RenderInfo& renderInfo,
const int offsetCommandBuffer,
GLenum indicesType,
int maxCommands)
override;
85 virtual void releaseGLObjects(osg::State* state)
override;
88 virtual bool shouldDraw(
bool isShadowPass)
override;
91 virtual void initializeUbosIfNecessary(osg::RenderInfo& renderInfo);
DtIndirectLightPointDrawComponentShaderConstants * myShaderConstants
Definition: DtIndirectLightPointDrawComponent.h:104
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtGlBuffer * myGpuShaderUbo
Definition: DtIndirectLightPointDrawComponent.h:102
Indirect geometry can have multiple models and their corresponding ids registered in it...
Definition: DtIndirectGeometryRegistrar.h:106
DtOsgLightPointManager registers LightPoint nodes so their TBO can be created and updated in a single...
Definition: DtOsgLightPointManager.h:105
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
class to hold a hashed map of strings to equivalent virtual programs to avoid repeated, duplicate creation of a virtual programs
Definition: DtVirtualProgramCache.h:46
Contains the DtIndirectDrawComponent class declaration.
osg::ref_ptr< osg::Texture > myDigitTexture
Definition: DtIndirectLightPointDrawComponent.h:98
int myGpuShaderUboBinding
Definition: DtIndirectLightPointDrawComponent.h:103
A generic OpenGL buffer.
Definition: DtGlBuffer.h:27
DtVirtualBaseClassCreator< DtIndirectLightPointDrawComponent > DtIndirectLightPointDrawComponentCreator
creator
Definition: DtIndirectLightPointDrawComponent.h:36
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
friend DtIndirectLightPointDrawComponentCreator
only creator can create
Definition: DtIndirectLightPointDrawComponent.h:52
const char * creatorTypeName< DtIndirectLightPointDrawComponent >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtIndirectLightPointDrawComponent.h:43
osg::ref_ptr< osg::Uniform > myDigitTextureUniform
Definition: DtIndirectLightPointDrawComponent.h:94
Contains DLL export macros.
Interface class to manage/configure drawing of a subset of rendering components within an indirect ge...
Definition: DtIndirectDrawComponent.h:30
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Class that allows you to abstractly register effect texture types the effect texture types are client...
Definition: DtIndirectEffectTexturesTemplate.h:40
class to draw a subset of light points of an indirect geometry
Definition: DtIndirectLightPointDrawComponent.h:48
DtOsgLightPointManager & myLightPointManager
Definition: DtIndirectLightPointDrawComponent.h:100