21 #include <osg/Matrixf>
36 class DtTritonDrawable;
40 class DtBindingManager;
78 virtual bool initShaderUniformHandles(
GLint shader,
int shaderType)
const;
82 virtual void updateCloudShadowUniforms(
GLint shader,
int shaderType
83 , GLboolean bIsCloudShadowActive
84 ,
unsigned int cloudshadowTextureUnit
85 ,
const osg::Matrixf& textureViewProjMatrix
86 ,
unsigned int cloudshadowTextureUnit2
87 ,
const osg::Matrixf& textureViewProjMatrix2)
const;
90 virtual void updateShadingUniforms(
GLint shader,
int shaderType);
92 virtual void updateReverseZ(
GLint shader,
int shaderType,
bool isReverseZ);
96 virtual void updateViewingUniforms(
GLint shader,
int shaderType
98 ,
const Matrix4_32& view_inverse_transpose_matrix_32);
102 virtual void updateLightingUniforms(osg::State &state
105 ,
int textureStartOffset
106 ,
GLint shader,
int shaderType);
110 virtual void updateOceanMaskingUniforms(
GLint shader,
int shaderType,
unsigned int maskUnit,
const DtVector4<double>& latLongMinMax);
113 virtual void updateUpdateMatricesForSensorFX(
GLint shader,
int shaderType
114 ,
const osg::Matrixf& osgInverseViewMatrix,
const osg::Matrixf& osgModelViewMatrix);
118 void resetToValue(
int shaderType,
int val)
const;
121 virtual void bindUbo();
124 virtual void unbindUbo();
DtVirtualBaseClassCreator< DtTritonShaderUniformManager, DtTritonDrawable * > DtTritonShaderUniformManagerCreator
creator
Definition: DtTritonShaderUniformManager.h:43
int GLint
Definition: DtBindingManager.h:24
Contains DLL export macros.
const char * creatorTypeName< DtTritonShaderUniformManager >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtTritonShaderUniformManager.h:50
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
Manage interface block bindings. This knowledge was previously distributed several places in the code...
Definition: DtBindingManager.h:43
#define DT_DLL_VRVTRITON
Definition: vrvTriton.h:19
A generic OpenGL buffer. This can be: -> a vertex buffer -> an index buffer -> a shader storage buffe...
Definition: DtGlBuffer.h:29
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:70
An OSG Drawable representing Triton's infinite ocean. /ingroup vrvTriton.
Definition: DtTritonDrawable.h:62
4 dimensional matrix
Definition: DtMatrix4.h:22