18 #include <osg/RenderInfo>
21 #include <Varjo_events.h>
22 #include <Varjo_layers.h>
29 class DtVarjoProvider;
55 virtual void submit(osg::RenderInfo& renderInfo)
const;
58 virtual bool initSwapChain(osg::RenderInfo& renderInfo)
const;
61 virtual void initFillProgram(
bool useArrays)
const;
64 virtual void initFbos(osg::RenderInfo& renderInfo)
const;
int mySwapChainLength
Definition: DtSubmitVarjoViewCallback.h:83
Contains DLL export macros.
A Varjo implementation of the DtVirtualRealityProvider abstract base class.
Definition: DtVarjoProvider.h:90
varjo_SwapChain * myColorSwapChain
Definition: DtSubmitVarjoViewCallback.h:81
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlShader.h:84
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:49
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
DtEye
A virtual reality eye.
Definition: vrvVirtualReality.h:37
int myWidth
Definition: DtSubmitVarjoViewCallback.h:71
An OSG camera post darw callback that will submit the view to the underlying VR system.
Definition: DtSubmitVarjoViewCallback.h:34
A helper classes for creating and managing OpenGL Shader programs.
bool mySwapChainsInitialized
These are mutable because they are used as part of the const drawImplementation.
Definition: DtSubmitVarjoViewCallback.h:78
DtGlProgram * mySwapChainColorCopyProgram
shader to copy color texture into swapchain
Definition: DtSubmitVarjoViewCallback.h:89
varjo_Session * myVarjoSession
Definition: DtSubmitVarjoViewCallback.h:69
std::vector< GLuint > myDepthSwapChainFbos
fbo for depth swapchain render operations
Definition: DtSubmitVarjoViewCallback.h:98
An OSG camera callback that will submit the channel to the underlying VR system as an eye channel...
std::vector< GLuint > mySwapChainFbos
fbo for swapchain render operations
Definition: DtSubmitVarjoViewCallback.h:86
varjo_SwapChainConfig2 myDepthSwapChainConfig
Definition: DtSubmitVarjoViewCallback.h:80
GLint myLayerUniformLocation
location of the layer uniform when filling from tex2d arrays
Definition: DtSubmitVarjoViewCallback.h:92
std::vector< GLuint > myChannelDepthFbos
an fbo with the channels depth texture attached
Definition: DtSubmitVarjoViewCallback.h:101
bool myUseDepthLayers
Definition: DtSubmitVarjoViewCallback.h:74
varjo_SwapChainConfig2 mySwapChainConfig
Definition: DtSubmitVarjoViewCallback.h:79
varjo_SwapChain * myDepthSwapChain
Definition: DtSubmitVarjoViewCallback.h:82
varjo_TextureFormat myDepthFormat
Definition: DtSubmitVarjoViewCallback.h:75
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
int myHeight
Definition: DtSubmitVarjoViewCallback.h:72
osg::ref_ptr< osg::StateSet > mySwapChainFillStateSet
state set to encapsulate state changes when doing swapchain fill
Definition: DtSubmitVarjoViewCallback.h:95
A post processing effect responsible for submitting and mirroring the eye views to the VR subsystem...
Definition: DtVirtualRealityPostProcessor.h:34
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel...
Definition: DtSubmitViewCallback.h:29
DtVarjoProvider * myProvider
Definition: DtSubmitVarjoViewCallback.h:68