VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrsGazeMapUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
11 
13 
16 
17 
18 namespace makVrv
19 {
23 
25  {
26  public:
29 
31  virtual ~DtVrsGazeMapUpdater();
32 
34  void setEyeCenters(osg::Vec2 leftEye, osg::Vec2 rightEye);
35 
36  private:
39 
42 
44  DtVrsGazeMapUpdater& operator=(const DtVrsGazeMapUpdater&);
45 
46  protected:
49  virtual void update(osg::State* state) const;
50 
52  virtual void initProgram(osg::State* state) const;
53 
54  protected:
55 
61 
62  mutable osg::Vec2 myEyeCenters[2];
63 
64  };
65 }
Drawable and pre Drawcallback that draw full screen quad to update vrs image.
Wrapper around Nvidia Variable Rate Shading Image functionality Creates a texture of the correct size...
Definition: DtVariableRateShadingImage.h:75
GLint myEyeCenterLeftUniformLocation
Definition: DtVrsGazeMapUpdater.h:57
Contains DLL export macros.
A Varjo implementation of the DtVariableRateShadingImageUpdater Supports updating the vrs map as foav...
Definition: DtVrsGazeMapUpdater.h:24
Base class for GPU updates of the variable rate shading image Draw a full screen quad using a shader ...
Definition: DtVariableRateShadingImageUpdater.h:26
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
GLint myEyeCenterUniformLocation
Definition: DtVrsGazeMapUpdater.h:56
GLint myStepsUniformLocation
Definition: DtVrsGazeMapUpdater.h:60
GLint myEdgeUniformLocation
Definition: DtVrsGazeMapUpdater.h:59
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:72
Wraps functionality of Variable Rate Shading Image.
GLint myEyeCenterRightUniformLocation
Definition: DtVrsGazeMapUpdater.h:58

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)