16 #include <osg/RenderInfo>
19 #include <Varjo_events.h>
20 #include <Varjo_layers.h>
27 class DtVarjoProvider;
54 virtual void submit(osg::RenderInfo& renderInfo)
const;
57 virtual bool initSwapChain(osg::RenderInfo& renderInfo)
const;
60 virtual void initCopyProgram(
bool useArrays,
bool copyDepth,
bool copyStencil)
const;
63 virtual void initFbos(osg::RenderInfo& renderInfo)
const;
66 virtual void copyTextures(osg::RenderInfo& renderInfo,
unsigned int srcColorId,
unsigned int srcDepthId,
unsigned int srcStencilId, int32_t swapChainIndex)
const;
osg::ref_ptr< osg::StateSet > myCopyStateSet
state set to encapsulate state changes when doing swapchain fill
Definition: DtSubmitVarjoViewCallback.h:97
int mySwapChainLength
Definition: DtSubmitVarjoViewCallback.h:86
Contains DLL export macros.
DtGlProgram * myCopyProgram
shader to copy color texture into swapchain
Definition: DtSubmitVarjoViewCallback.h:92
A Varjo implementation of the DtVirtualRealityProvider abstract base class.
Definition: DtVarjoProvider.h:91
unsigned int myCopyQuadVbo
Definition: DtSubmitVarjoViewCallback.h:99
varjo_SwapChain * myColorSwapChain
Definition: DtSubmitVarjoViewCallback.h:84
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:65
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:51
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
int myStartFrame
Definition: DtSubmitVarjoViewCallback.h:76
DtEye
A virtual reality eye.
Definition: vrvVirtualReality.h:38
int myWidth
Definition: DtSubmitVarjoViewCallback.h:73
An OSG camera post darw callback that will submit the view to the underlying VR system.
Definition: DtSubmitVarjoViewCallback.h:33
bool mySwapChainsInitialized
These are mutable because they are used as part of the const drawImplementation.
Definition: DtSubmitVarjoViewCallback.h:81
unsigned int mySrcStencilTexId
Definition: DtSubmitVarjoViewCallback.h:102
varjo_Session * myVarjoSession
Definition: DtSubmitVarjoViewCallback.h:71
int myLastCopyProgramConfig
Definition: DtSubmitVarjoViewCallback.h:94
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:89
varjo_SwapChainConfig2 myDepthSwapChainConfig
Definition: DtSubmitVarjoViewCallback.h:83
varjo_SwapChainConfig2 mySwapChainConfig
Definition: DtSubmitVarjoViewCallback.h:82
varjo_SwapChain * myDepthSwapChain
Definition: DtSubmitVarjoViewCallback.h:85
varjo_TextureFormat myDepthFormat
Definition: DtSubmitVarjoViewCallback.h:78
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
int myHeight
Definition: DtSubmitVarjoViewCallback.h:74
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:70
unsigned int mySrcDepthTexId
Definition: DtSubmitVarjoViewCallback.h:101