18 #include <osg/observer_ptr>
19 #include <osg/ref_ptr>
36 class DtIndirectGlTextureObject;
37 class DtIndirectTexturePrototype;
78 GLuint64 myTextureAddress = 0;
84 static const std::string& theClassName();
114 virtual void releaseGLObjects(osg::State* state);
118 virtual void releaseBindlessTextureObjects();
122 void releaseTextures();
128 virtual void setNeedInitialize(
bool value);
131 virtual bool needInitialize()
const;
133 virtual void initialize(
const std::vector<osg::StateSet*>& stateSets,
134 const std::vector<DtWaterRipplesManager::PresetInfo>& presets);
138 virtual float computeWindStrength()
const;
141 virtual void updateTextureUniforms();
144 virtual void updateParameterUniforms(
double time,
bool enableInShader);
147 virtual void removeUniformFromStateSets(
const std::string& name,
const std::vector<osg::StateSet*>& stateSets);
std::vector< DtWaterRipplesManager::PresetInfo > myPresetInfo
Definition: DtOsgWaterRipples.h:165
The DtOsgWaterRipples class provides water ripple effects for water bodies.
Definition: DtOsgWaterRipples.h:65
osg::ref_ptr< osg::Uniform > myParametersUniform
Definition: DtOsgWaterRipples.h:168
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Encapsulate an OpenGL texture object that is created/used in indirect rendering.
Definition: DtIndirectGlTextureObject.h:36
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::vector< DtOsgWaterRipples::TextureInfo > myTextures
Definition: DtOsgWaterRipples.h:166
DtDe & myDe
Definition: DtOsgWaterRipples.h:161
DtVirtualBaseClassCreator< DtOsgWaterRipples > DtOsgWaterRipplesCreator
creator
Definition: DtOsgWaterRipples.h:38
bool myNeedInitialize
Definition: DtOsgWaterRipples.h:163
Contains the DtGpuOperation class declaration.
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Contains makVrv::DtOsgWaterRipplesManager class.
Information about a water ripple preset.
Definition: DtWaterRipplesManager.h:34
osg::ref_ptr< osg::Uniform > myTextureHandlesUniform
Definition: DtOsgWaterRipples.h:167
const char * creatorTypeName< DtOsgWaterRipples >()
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtOsgWaterRipples.h:45
Contains DLL export macros.
friend DtOsgWaterRipplesCreator
only creator can create
Definition: DtOsgWaterRipples.h:70
Information about a water ripple texture.
Definition: DtOsgWaterRipples.h:73
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
VRV/Indirect uses its own texture paradigm: DtIndirectTexturePrototype, which is a 'template' for mak...
Definition: DtIndirectTexturePrototype.h:53
osg::ref_ptr< osg::Texture > myTexture
Definition: DtOsgWaterRipples.h:76