![]() |
VR-Forces 4.10 Class Documentation
|
A extended precision 2D quad rendering effect. More...

Public Member Functions | |
| DtProjected2DTexturedEffect (const std::string &dataPath, bool textureIsAlpha) | |
| CTOR. More... | |
| virtual | ~DtProjected2DTexturedEffect () |
| DTOR. More... | |
| virtual void | setCamera (bool geocentric, float geocentricAlpha, const double position[3], const double positionMatrix[16], const double projectionMatrix[16]) |
| Set the camera position. More... | |
| virtual void | setGroupCount (unsigned int count) |
| Set the number of groups. More... | |
| virtual void | setBackgroundImageTextureUnit (unsigned int unit) |
| Set the background image texture unit. More... | |
| virtual void | setVertexAttribPointers (size_t stride, const VertexAttribPtrInfo &positionAddress, const VertexAttribPtrInfo &colorAddress, const VertexAttribPtrInfo &uvAddress, const VertexAttribPtrInfo &offsetAddress, const VertexAttribPtrInfo &rotAddress) |
| virtual void | unsetVertexAttribPointers () |
| Unsets the attributes set in setVertexAttribPointers(..). More... | |
Public Member Functions inherited from makVrv::Dt2DEffect | |
| Dt2DEffect (const std::string &dataPath) | |
| CTOR. More... | |
| virtual | ~Dt2DEffect () |
| Virtual DTOR. More... | |
Public Member Functions inherited from makVrv::DtEffect | |
| DtEffect (const std::string &dataPath) | |
| CTOR. More... | |
| virtual | ~DtEffect () |
| DTORs. More... | |
| void | releaseResources () |
| Release and HW resources of the effect. More... | |
| bool | enabled () const |
| Is the effect enabled. More... | |
| bool | enable () |
| void | disable () |
Protected Member Functions | |
| virtual void | updateUniformLocations () |
| Updates the values of the uniform variables from the program. More... | |
| virtual void | updateUniforms () |
| Updates the values of the uniform variables from the current state. More... | |
| virtual void | initializeShaderSource (void) |
| Populates the vertex shader, fragment shader, and gshader sources. More... | |
| void | updateGroupCountAndTextureUniforms () |
| void | updateOtherUniforms () |
Protected Member Functions inherited from makVrv::DtEffect | |
| bool | compileShaders (void) |
| Compile the shaders. More... | |
Protected Attributes | |
| int | myUniform_Texture |
| int | myUniform_CameraPos |
| int | myUniform_PositionMat |
| int | myUniform_ProjectionMat |
| int | myUniform_GroupCount |
| int | myUniform_Sphere |
| int | myUniform_OccludedAlpha |
| unsigned int | myUnit |
| unsigned int | myGroupCount |
| double | myCameraPos [3] |
| double | myPositionMatrix [16] |
| double | myProjectionMatrix [16] |
| bool | myTextureIsAlpha |
| bool | myGeocentricFlag |
| float | myGeocentricAlpha |
Protected Attributes inherited from makVrv::DtEffect | |
| std::string | myName |
| bool | myEnabledFlag |
| unsigned int | myProgram |
| unsigned int | myVertexShader |
| unsigned int | myFragmentShader |
| std::string | myVertexShaderSource |
| std::string | myVertexShaderName |
| std::string | myFragmentShaderSource |
| std::string | myFragmentShaderName |
| std::string | myGeometryShaderSource |
| std::string | myDataPath |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtEffect | |
| static std::string | loadShaderSource (const std::string &strFileName) |
A extended precision 2D quad rendering effect.
| makVrv::DtProjected2DTexturedEffect::DtProjected2DTexturedEffect | ( | const std::string & | dataPath, |
| bool | textureIsAlpha | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the camera position.
Implements makVrv::Dt2DEffect.
Set the number of groups.
Implements makVrv::Dt2DEffect.
|
virtual |
Set the background image texture unit.
|
virtual |
|
virtual |
Unsets the attributes set in setVertexAttribPointers(..).
|
protectedvirtual |
Updates the values of the uniform variables from the program.
Implements makVrv::DtEffect.
|
protectedvirtual |
Updates the values of the uniform variables from the current state.
Implements makVrv::DtEffect.
|
protectedvirtual |
Populates the vertex shader, fragment shader, and gshader sources.
Implements makVrv::DtEffect.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |