![]() |
VR-Forces 4.8 Class Documentation
|
class for managing the shader uniforms for triton, gets the shader ids and caches them between frames More...
Public Member Functions | |
| virtual | ~DtTritonShaderUniformManager () |
| destructor More... | |
| virtual bool | initShaderUniformHandles (GLint shader, int shaderType) const |
| Initialize the shader uniform handles for all the uniforms for a particular shader. More... | |
| virtual void | updateCloudShadowUniforms (GLint shader, int shaderType, GLboolean bIsCloudShadowActive, unsigned int cloudshadowTextureUnit, unsigned int cloudshadowTextureIndex, const osg::Matrixf &textureViewProjMatrix, unsigned int cloudshadowTextureUnit2, unsigned int cloudshadowTextureIndex2, const osg::Matrixf &textureViewProjMatrix2) const |
| Using the cached shader handles pass the cloud shadow uniform values down to the shader Contains openGl calls so can only be used from the main render. More... | |
| virtual void | updateViewingUniforms (GLint shader, int shaderType, const Matrix4_32 &view_matrix_32, const Matrix4_32 &view_inverse_transpose_matrix_32) |
| Using the cached shader handles pass the view matrix uniform values down to the shader Contains openGl calls so can only be used from the main render thread. More... | |
| virtual void | updateLightingUniforms (osg::State &state, const Vector2_uint32 &tileSize, const Vector2_uint32 &maxDims, int textureStartOffset, GLint shader, int shaderType) |
| Using the cached shader handles pass the lighting uniform values down to the shader Contains openGl calls so can only be used from the main render thread. More... | |
| virtual void | updateOceanMaskingUniforms (GLint shader, int shaderType, unsigned int maskUnit, const DtVector4< double > &latLongMinMax) |
| Using the cached shader handles pass the ocean masking uniform values down to the shader Contains openGl calls so can only be used from the main render thread. More... | |
| virtual void | updateUpdateMatricesForSensorFX (GLint shader, int shaderType, const osg::Matrixf &osgInverseViewMatrix, const osg::Matrixf &osgModelViewMatrix) |
| update matrices for sensor fx (osg_ViewMatrixInverse, osg_ModelViewMatrix) More... | |
| void | resetToValue (int shaderType, int val) const |
| resets the uniforms for a shader to val not virtual because it is used in constructor More... | |
Protected Member Functions | |
| DtTritonShaderUniformManager (DtTritonDrawable *tritonDrawable, DtDe &de) | |
| constructor More... | |
Private Member Functions | |
| DtTritonShaderUniformManager () | |
| Default Constructor not implemented. More... | |
| DtTritonShaderUniformManager (const DtTritonShaderUniformManager &other) | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtTritonShaderUniformManager & | operator= (const DtTritonShaderUniformManager &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Friends | |
| class | DtTritonShaderUniformManagerCreator |
| friend class so only the creator can create this class More... | |
class for managing the shader uniforms for triton, gets the shader ids and caches them between frames
|
virtual |
destructor
|
protected |
constructor
|
private |
Default Constructor not implemented.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
Initialize the shader uniform handles for all the uniforms for a particular shader.
Contains openGl calls so can only be used from the main render thread
|
virtual |
Using the cached shader handles pass the cloud shadow uniform values down to the shader Contains openGl calls so can only be used from the main render.
|
virtual |
Using the cached shader handles pass the view matrix uniform values down to the shader Contains openGl calls so can only be used from the main render thread.
|
virtual |
Using the cached shader handles pass the lighting uniform values down to the shader Contains openGl calls so can only be used from the main render thread.
|
virtual |
Using the cached shader handles pass the ocean masking uniform values down to the shader Contains openGl calls so can only be used from the main render thread.
|
virtual |
update matrices for sensor fx (osg_ViewMatrixInverse, osg_ModelViewMatrix)
resets the uniforms for a shader to val not virtual because it is used in constructor
|
friend |
friend class so only the creator can create this class
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |