![]() |
VR-Forces 4.5 Class Documentation
|
An effect for rendering 2D flat colored quads. More...

Public Member Functions | |
| DtProjected2DFlatEffect () | |
| CTOR. | |
| virtual | ~DtProjected2DFlatEffect () |
| DTOR. | |
| virtual void | setCamera (bool geocentric, float occluded, const double position[3], const double positionMatrix[16], const double projectionMatrix[16]) |
| Set the camera position. | |
| virtual void | setGroupCount (unsigned int count) |
| Set the number of groups. | |
| virtual void | setVertexAttribPointers (size_t stride, const VertexAttribPtrInfo &positionAddress, const VertexAttribPtrInfo &colorAddress, const VertexAttribPtrInfo &offsetAddress, const VertexAttribPtrInfo &rotationAddress) |
| virtual void | unsetVertexAttribPointers () |
| Unsets the attributes set in setVertexAttribPointers(..). | |
Public Member Functions inherited from makVrv::Dt2DEffect | |
| Dt2DEffect () | |
| CTOR. | |
| virtual | ~Dt2DEffect () |
| Virtual DTOR. | |
Public Member Functions inherited from makVrv::DtEffect | |
| DtEffect () | |
| CTOR. | |
| virtual | ~DtEffect () |
| DTORs. | |
| void | releaseResources () |
| Release and HW resources of the effect. | |
| bool | enabled () const |
| Is the effect enabled. | |
| bool | enable () |
| void | disable () |
Protected Member Functions | |
| virtual void | updateUniformLocations () |
| Updates the values of the uniform variables from the program. | |
| virtual void | updateUniforms () |
| Updates the values of the uniform variables from the current state. | |
| virtual void | initializeShaderSource (void) |
| Populates the vertex shader, fragment shader, and gshader sources. | |
| void | updateOtherUniforms (void) |
Protected Attributes | |
| int | myUniform_CameraPos |
| int | myUniform_CameraMat |
| int | myUniform_ProjectionMat |
| int | myUniform_GroupCount |
| int | myUniform_Sphere |
| int | myUniform_OccludedAlpha |
| unsigned int | myUnit |
| unsigned int | myGroupCount |
| double | myCameraPos [3] |
| double | myMatrix [16] |
| double | myProjectionMatrix [16] |
| bool | myGeocentricFlag |
| float | myGeocentricAlpha |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtEffect | |
| static std::string | loadShaderSource (const std::string &strFileName) |
An effect for rendering 2D flat colored quads.
| makVrv::DtProjected2DFlatEffect::DtProjected2DFlatEffect | ( | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the camera position.
Implements makVrv::Dt2DEffect.
|
virtual |
Set the number of groups.
Implements makVrv::Dt2DEffect.
|
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 |