19 class DtVariableRateShadingImage;
40 virtual void drawImplementation(osg::RenderInfo& info)
const;
43 virtual void releaseGLObjects(osg::State* state)
const;
46 virtual void shouldUpdate(
bool shouldUpdate);
49 virtual void restoreLastFboTarget(
GLenum fboTarget);
57 virtual void update(osg::State* state)
const;
60 virtual void initProgram(osg::State* state)
const;
106 virtual void operator () (osg::RenderInfo& renderInfo)
const;
Wrapper around Nvidia Variable Rate Shading Image functionality Creates a texture of the correct size...
Definition: DtVariableRateShadingImage.h:75
DtDe & myDe
Definition: DtVariableRateShadingImageUpdater.h:63
std::string myVertexShaderSource
vertex shader source
Definition: DtVariableRateShadingImageUpdater.h:72
Contains makVrv::DtOsgChannel class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Base class for GPU updates of the variable rate shading image Draw a full screen quad using a shader ...
Definition: DtVariableRateShadingImageUpdater.h:26
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlShader.h:84
osg::ref_ptr< osg::Camera::DrawCallback > myNextCallback
next/nested callback
Definition: DtVariableRateShadingImageUpdater.h:120
A helper classes for creating a RTT target, optionally including depth buffer.
DtVariableRateShadingImage * myVariableRateShadingImage
handle to the vrs images so we can bind it's textures fbo
Definition: DtVariableRateShadingImageUpdater.h:66
A camera draw callback for invoking a VRS image update Typically this would be used as a predraw call...
Definition: DtVariableRateShadingImageUpdater.h:91
std::string myFragmentShaderSource
fragment shader source
Definition: DtVariableRateShadingImageUpdater.h:75
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
osg::ref_ptr< DtVariableRateShadingImageUpdater > myShadingRateImageUpdater
VRS image updater to invoke on draw.
Definition: DtVariableRateShadingImageUpdater.h:117
bool myShouldUpdate
should we update on the next drawImplementation
Definition: DtVariableRateShadingImageUpdater.h:81
osg::ref_ptr< osg::StateSet > myVrsFillStateSet
state set to encapsulate state changes when doing vrs fill
Definition: DtVariableRateShadingImageUpdater.h:78
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
GLenum myRestoreFboTarget
the framebuffer target to bind last fbo to
Definition: DtVariableRateShadingImageUpdater.h:84
DtGlProgram * myProgram
shader to update the vrs texture image
Definition: DtVariableRateShadingImageUpdater.h:69