17 #include <osg/ref_ptr>
32 class DtIndirectShaderManager;
33 class DtBallisticRunTimeSettings;
34 class DtBallisticComputeComponent;
82 virtual void initialize();
85 virtual void update(osg::RenderInfo& renderInfo);
88 virtual void apply(osg::RenderInfo& renderInfo);
105 virtual void drawDebug(osg::RenderInfo& renderInfo,
DtGlBuffer* visibleSSBO,
DtGlBuffer* indirectDrawSSBO,
int debugMode);
108 virtual void releaseGLObjects(osg::State* state);
111 virtual bool shouldDraw(
bool isShadowPass);
118 void unbindCullBuffers();
125 void unbindDrawBuffers();
128 virtual void slot_reloadShaders();
This manages the draw components (shader vp wrappers) for combinations of DtIndirectEffectTexturesTem...
Definition: DtIndirectShaderManager.h:50
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtBallisticComputeComponent * myComputeComponent
Compute component providing the BallisticCameraUbo for binding at draw time.
Definition: DtBallisticDrawComponent.h:170
const char * creatorTypeName< DtBallisticDrawComponent >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtBallisticDrawComponent.h:44
unsigned int GLuint
Definition: DtGlTextureBufferObject.h:18
int myMeshIndexCount
Number of indices in the element buffer.
Definition: DtBallisticDrawComponent.h:158
DtSignalConnectionManager myConnections
Manages signal connections for shader reload notifications.
Definition: DtBallisticDrawComponent.h:140
DtDe & myDe
Reference to the simulation environment.
Definition: DtBallisticDrawComponent.h:137
GLuint myMeshEbo
Element index buffer for the bullet mesh.
Definition: DtBallisticDrawComponent.h:156
friend DtBallisticDrawComponentCreator
Definition: DtBallisticDrawComponent.h:55
GLuint myMeshVbo
Interleaved position and normal VBO for the bullet mesh.
Definition: DtBallisticDrawComponent.h:154
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool myDebugVPInitialized
True after the debug VirtualProgram has been installed on myDebugStateSet.
Definition: DtBallisticDrawComponent.h:167
Interface for the ballistic rendering draw pass.
Definition: DtBallisticDrawComponent.h:52
Interface for GPU compute operations driving the ballistic simulation pipeline.
Definition: DtBallisticComputeComponent.h:71
A generic OpenGL buffer. This can be: -> a vertex buffer -> an index buffer -> a shader storage buffe...
Definition: DtGlBuffer.h:29
GLuint myMeshVao
OpenGL VAO for the bullet mesh.
Definition: DtBallisticDrawComponent.h:152
const DtBallisticRunTimeSettings & myBallisticRunTimeSettings
Reference to the shared ballistic runtime settings.
Definition: DtBallisticDrawComponent.h:143
Base class to provide boost signal/slot management.
Singleton holding runtime-tweakable settings for the ballistic system.
Definition: DtBallisticRunTimeSettings.h:43
Contains DLL export macros.
osg::ref_ptr< osg::StateSet > myStateSet
OSG state set carrying the render VirtualProgram.
Definition: DtBallisticDrawComponent.h:146
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtVirtualBaseClassCreator< DtBallisticDrawComponent > DtBallisticDrawComponentCreator
creator
Definition: DtBallisticDrawComponent.h:37
bool myVPInitialized
True after the render VirtualProgram has been installed on myStateSet.
Definition: DtBallisticDrawComponent.h:161
DtIndirectShaderManager & myIndirectShaderManager
Reference to the indirect shader manager used to load shaders.
Definition: DtBallisticDrawComponent.h:149
osg::ref_ptr< osg::StateSet > myDebugStateSet
OSG state set carrying the debug VirtualProgram.
Definition: DtBallisticDrawComponent.h:164