12 #define VARJO_USE_TEXTURE_ARRAYS 0
18 #include <Varjo_events.h>
19 #include <Varjo_layers.h>
25 class DtVarjoProvider;
52 virtual void setOffsetMatrix(
const osg::Matrixd& mat);
56 virtual void setFlipOverlay(
bool flip);
59 virtual void setEnabled(
bool enable);
63 virtual void submitOverlay(osg::RenderInfo& renderInfo)
const;
66 virtual void copyTextureToSwapChain(osg::Texture2D* texture, varjo_SwapChain* swapchain, osg::RenderInfo& renderInfo)
const;
69 virtual bool initSwapChain()
const;
72 virtual unsigned int nextSwapImage()
const;
int myHeight
Definition: DtSubmitVarjoOverlayCallback.h:80
varjo_SwapChain * myColorSwapChain
Definition: DtSubmitVarjoOverlayCallback.h:85
int mySwapChainLength
Definition: DtSubmitVarjoOverlayCallback.h:87
Contains DLL export macros.
DtVarjoProvider * myProvider
Definition: DtSubmitVarjoOverlayCallback.h:76
An abstract OSG camera callback that will submit the channel to the underlying VR system as an overla...
A Varjo implementation of the DtVirtualRealityProvider abstract base class.
Definition: DtVarjoProvider.h:90
bool mySwapChainsInitialized
These are mutable because they are used as part of the const drawImplementation.
Definition: DtSubmitVarjoOverlayCallback.h:84
int myDisplayEyeMask
Definition: DtSubmitVarjoOverlayCallback.h:89
varjo_SwapChain * myBlankSwapChain
Definition: DtSubmitVarjoOverlayCallback.h:86
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:49
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
varjo_Session * myVarjoSession
Definition: DtSubmitVarjoOverlayCallback.h:77
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel...
Definition: DtSubmitVarjoOverlayCallback.h:30
int myWidth
Definition: DtSubmitVarjoOverlayCallback.h:79
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel...
Definition: DtSubmitOverlayCallback.h:26
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69