![]() |
VR-Forces 4.10 Class Documentation
|
A Varjo implementation of the DtVariableRateShadingImageUpdater Supports updating the vrs map as foavated with eye tracking. More...

Public Member Functions | |
| DtVarjoVrsUpdater (DtDe &de, DtVariableRateShadingImage *vrsImage) | |
| CTOR. More... | |
| virtual | ~DtVarjoVrsUpdater () |
| DTOR. More... | |
| void | setEyeCenters (osg::Vec2 leftEye, osg::Vec2 rightEye) |
| set new eye centers More... | |
Public Member Functions inherited from makVrv::DtVariableRateShadingImageUpdater | |
| DtVariableRateShadingImageUpdater (DtDe &de, DtVariableRateShadingImage *vrsImage) | |
| CTOR. More... | |
| virtual void | drawImplementation (osg::RenderInfo &info) const |
| draw the vrs image update pass More... | |
| virtual void | releaseGLObjects (osg::State *state) const |
| frees resources on context release More... | |
| virtual void | shouldUpdate (bool shouldUpdate) |
| flags if the vrs image should be updated More... | |
| virtual void | restoreLastFboTarget (GLenum fboTarget) |
| /brief set the fb rebind target type for resetting the last applied fbo (0 to not rebind) More... | |
Protected Member Functions | |
| virtual void | update (osg::State *state) const |
| pre draw callback so concrete implementations can update uniforms etc at this point the shader will be bound More... | |
| virtual void | initProgram (osg::State *state) const |
| called by draw if program is null so concrete implementation can create program More... | |
Protected Member Functions inherited from makVrv::DtVariableRateShadingImageUpdater | |
| virtual | ~DtVariableRateShadingImageUpdater () |
| DTOR. More... | |
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 |
| handle to the vrs images so we can bind it's textures fbo More... | |
| DtGlProgram * | myProgram |
| shader to update the vrs texture image More... | |
| std::string | myVertexShaderSource |
| vertex shader source More... | |
| std::string | myFragmentShaderSource |
| fragment shader source More... | |
| osg::ref_ptr< osg::StateSet > | myVrsFillStateSet |
| state set to encapsulate state changes when doing vrs fill More... | |
| bool | myShouldUpdate |
| should we update on the next drawImplementation More... | |
| GLenum | myRestoreFboTarget |
| the framebuffer target to bind last fbo to More... | |
Private Member Functions | |
| DtVarjoVrsUpdater () | |
| default CTOR. More... | |
| DtVarjoVrsUpdater (const DtVarjoVrsUpdater &) | |
| default copy constructor More... | |
| DtVarjoVrsUpdater & | operator= (const DtVarjoVrsUpdater &) |
| assignment operator More... | |
A Varjo implementation of the DtVariableRateShadingImageUpdater Supports updating the vrs map as foavated with eye tracking.
| makVrv::DtVarjoVrsUpdater::DtVarjoVrsUpdater | ( | DtDe & | de, |
| DtVariableRateShadingImage * | vrsImage | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
default CTOR.
|
private |
default copy constructor
| void makVrv::DtVarjoVrsUpdater::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 |