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

Public Member Functions | |
| DtProjected2DTexturedEffect (bool textureIsAlpha) | |
| CTOR. | |
| virtual | ~DtProjected2DTexturedEffect () |
| DTOR. | |
| virtual void | setCamera (bool geocentric, float geocentricAlpha, const double position[3], const double projection[16]) |
| Set the camera position. | |
| virtual void | setGroupCount (unsigned int count) |
| Set the number of groups. | |
| virtual void | setBackgroundImageTextureUnit (unsigned int unit) |
| Set the background image texture unit. | |
| virtual void | setVaryingAttributes (size_t stride, const VaryingAttributeAddress &positionAddress, const VaryingAttributeAddress &colorAddress, const VaryingAttributeAddress &offsetAddress, const VaryingAttributeAddress &uvAddress, const VaryingAttributeAddress &rotAddress) |
| virtual void | unsetVaryingAttributes () |
| Unsets the attributes set in setVaryingAttributes(..). | |
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 | getShaderSource (const char *&vs, const char *&fs, const char *&gs) |
| Populates the vertex shader, fragment shader, and gshader sources. | |
Protected Attributes | |
| int | myUniform_Texture |
| int | myUniform_CameraPos |
| int | myUniform_CameraMat |
| int | myUniform_GroupCount |
| int | myUniform_Sphere |
| int | myUniform_OccludedAlpha |
| unsigned int | myUnit |
| unsigned int | myGroupCount |
| double | myCameraPos [3] |
| double | myMatrix [16] |
| bool | myTextureIsAlpha |
| bool | myGeocentricFlag |
| float | myGeocentricAlpha |
A extended precision 2D quad rendering effect.
| makVrv::DtProjected2DTexturedEffect::DtProjected2DTexturedEffect | ( | bool | textureIsAlpha | ) |
CTOR.
| virtual makVrv::DtProjected2DTexturedEffect::~DtProjected2DTexturedEffect | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtProjected2DTexturedEffect::setCamera | ( | bool | geocentric, |
| float | geocentricAlpha, | ||
| const double | position[3], | ||
| const double | projection[16] | ||
| ) | [virtual] |
Set the camera position.
Implements makVrv::Dt2DEffect.
| virtual void makVrv::DtProjected2DTexturedEffect::setGroupCount | ( | unsigned int | count | ) | [virtual] |
Set the number of groups.
Implements makVrv::Dt2DEffect.
| virtual void makVrv::DtProjected2DTexturedEffect::setBackgroundImageTextureUnit | ( | unsigned int | unit | ) | [virtual] |
Set the background image texture unit.
| virtual void makVrv::DtProjected2DTexturedEffect::setVaryingAttributes | ( | size_t | stride, |
| const VaryingAttributeAddress & | positionAddress, | ||
| const VaryingAttributeAddress & | colorAddress, | ||
| const VaryingAttributeAddress & | offsetAddress, | ||
| const VaryingAttributeAddress & | uvAddress, | ||
| const VaryingAttributeAddress & | rotAddress | ||
| ) | [virtual] |
| virtual void makVrv::DtProjected2DTexturedEffect::unsetVaryingAttributes | ( | ) | [virtual] |
Unsets the attributes set in setVaryingAttributes(..).
| virtual void makVrv::DtProjected2DTexturedEffect::updateUniformLocations | ( | ) | [protected, virtual] |
Updates the values of the uniform variables from the program.
Implements makVrv::DtEffect.
| virtual void makVrv::DtProjected2DTexturedEffect::updateUniforms | ( | ) | [protected, virtual] |
Updates the values of the uniform variables from the current state.
Implements makVrv::DtEffect.
| virtual void makVrv::DtProjected2DTexturedEffect::getShaderSource | ( | const char *& | vs, |
| const char *& | fs, | ||
| const char *& | gs | ||
| ) | [protected, virtual] |
Populates the vertex shader, fragment shader, and gshader sources.
Implements makVrv::DtEffect.
int makVrv::DtProjected2DTexturedEffect::myUniform_Texture [protected] |
int makVrv::DtProjected2DTexturedEffect::myUniform_CameraPos [protected] |
int makVrv::DtProjected2DTexturedEffect::myUniform_CameraMat [protected] |
int makVrv::DtProjected2DTexturedEffect::myUniform_GroupCount [protected] |
int makVrv::DtProjected2DTexturedEffect::myUniform_Sphere [protected] |
int makVrv::DtProjected2DTexturedEffect::myUniform_OccludedAlpha [protected] |
unsigned int makVrv::DtProjected2DTexturedEffect::myUnit [protected] |
unsigned int makVrv::DtProjected2DTexturedEffect::myGroupCount [protected] |
double makVrv::DtProjected2DTexturedEffect::myCameraPos[3] [protected] |
double makVrv::DtProjected2DTexturedEffect::myMatrix[16] [protected] |
float makVrv::DtProjected2DTexturedEffect::myGeocentricAlpha [protected] |