18 class DtVariableRateShadingImage;
43 virtual void drawImplementation(osg::RenderInfo& info)
const;
46 virtual void releaseGLObjects(osg::State* state)
const;
49 virtual void shouldUpdate(
bool shouldUpdate);
52 virtual void restoreLastFboTarget(
GLenum fboTarget);
60 virtual void update(osg::State* state)
const;
63 virtual void initProgram(osg::State* state)
const;
109 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:66
std::string myVertexShaderSource
vertex shader source
Definition: DtVariableRateShadingImageUpdater.h:75
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: DtGlProgram.h:66
osg::ref_ptr< osg::Camera::DrawCallback > myNextCallback
next/nested callback
Definition: DtVariableRateShadingImageUpdater.h:123
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:69
A camera draw callback for invoking a VRS image update Typically this would be used as a predraw call...
Definition: DtVariableRateShadingImageUpdater.h:94
std::string myFragmentShaderSource
fragment shader source
Definition: DtVariableRateShadingImageUpdater.h:78
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:19
osg::ref_ptr< DtVariableRateShadingImageUpdater > myShadingRateImageUpdater
VRS image updater to invoke on draw.
Definition: DtVariableRateShadingImageUpdater.h:120
bool myShouldUpdate
should we update on the next drawImplementation
Definition: DtVariableRateShadingImageUpdater.h:84
osg::ref_ptr< osg::StateSet > myVrsFillStateSet
state set to encapsulate state changes when doing vrs fill
Definition: DtVariableRateShadingImageUpdater.h:81
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
GLenum myRestoreFboTarget
the framebuffer target to bind last fbo to
Definition: DtVariableRateShadingImageUpdater.h:87
DtGlProgram * myProgram
shader to update the vrs texture image
Definition: DtVariableRateShadingImageUpdater.h:72