![]() |
VR-Forces 5.0.2 Developer's Guide
|
A Varjo implementation of the DtVariableRateShadingImageUpdater Supports updating the vrs map as foavated with eye tracking.

Public Member Functions | |
| DtVrsGazeMapUpdater (DtDe &de, DtVariableRateShadingImage *vrsImage) | |
| virtual | ~DtVrsGazeMapUpdater () |
| void | setEyeCenters (osg::Vec2 leftEye, osg::Vec2 rightEye) |
Public Member Functions inherited from makVrv::DtVariableRateShadingImageUpdater | |
| DtVariableRateShadingImageUpdater (DtDe &de, DtVariableRateShadingImage *vrsImage) | |
| virtual void | drawImplementation (osg::RenderInfo &info) const |
| virtual void | releaseGLObjects (osg::State *state) const |
| virtual void | shouldUpdate (bool shouldUpdate) |
| virtual void | restoreLastFboTarget (GLenum fboTarget) |
Protected Member Functions | |
| virtual void | update (osg::State *state) const |
| virtual void | initProgram (osg::State *state) const |
Protected Member Functions inherited from makVrv::DtVariableRateShadingImageUpdater | |
| virtual | ~DtVariableRateShadingImageUpdater () |
Protected Attributes | |
| GLint | myEyeCenterUniformLocation |
| GLint | myEyeCenterLeftUniformLocation |
| GLint | myEyeCenterRightUniformLocation |
| GLint | myEdgeUniformLocation |
| GLint | myStepsUniformLocation |
| osg::Vec2 | myEyeCenters [2] |
Protected Attributes inherited from makVrv::DtVariableRateShadingImageUpdater | |
| DtDe & | myDe |
| DtVariableRateShadingImage * | myVariableRateShadingImage |
| DtGlProgram * | myProgram |
| std::string | myVertexShaderSource |
| std::string | myFragmentShaderSource |
| osg::ref_ptr< osg::StateSet > | myVrsFillStateSet |
| bool | myShouldUpdate |
| GLenum | myRestoreFboTarget |
Private Member Functions | |
| DtVrsGazeMapUpdater () | |
| DtVrsGazeMapUpdater (const DtVrsGazeMapUpdater &) | |
| DtVrsGazeMapUpdater & | operator= (const DtVrsGazeMapUpdater &) |
| makVrv::DtVrsGazeMapUpdater::DtVrsGazeMapUpdater | ( | DtDe & | de, |
| DtVariableRateShadingImage * | vrsImage | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
default CTOR.
|
private |
default copy constructor
| void makVrv::DtVrsGazeMapUpdater::setEyeCenters | ( | osg::Vec2 | leftEye, |
| osg::Vec2 | rightEye | ||
| ) |
set new eye centers
|
private |
assignment operator
|
protectedvirtual |
pre draw callback so concrete implementations can update uniforms etc at this point the shader will be bound
Reimplemented from makVrv::DtVariableRateShadingImageUpdater.
|
protectedvirtual |
called by draw if program is null so concrete implementation can create program
Reimplemented from makVrv::DtVariableRateShadingImageUpdater.
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |