![]() |
VR-Forces 4.8 Class Documentation
|
An OSG camera post darw callback that will submit the view to the underlying VR system. More...

Public Member Functions | |
| DtSubmitVarjoViewCallback (DtDe &de, DtVirtualRealityPostProcessor &pp, DtVirtualRealityDriver &driver, vrvVirtualReality::DtEye eye) | |
| CTOR takes the post processor, eye to submit for and the VR driver. More... | |
| virtual | ~DtSubmitVarjoViewCallback () |
| DTOR. More... | |
Public Member Functions inherited from makVrv::DtSubmitViewCallback | |
| DtSubmitViewCallback (DtDe &de, DtVirtualRealityPostProcessor &pp, DtVirtualRealityDriver &driver, vrvVirtualReality::DtEye eye) | |
| CTOR takes the post processor, eye to submit for and the VR driver. More... | |
| virtual | ~DtSubmitViewCallback () |
| DTOR. More... | |
| bool | isInitialized () const |
| virtual void | operator() (osg::RenderInfo &renderInfo) const |
| the callback function called by OSG More... | |
Protected Member Functions | |
| virtual void | submit (osg::RenderInfo &renderInfo) const |
| overloaded to the actual submit to Varjo More... | |
| virtual bool | initSwapChain (osg::RenderInfo &renderInfo) const |
| create the Varjo texture swapchain More... | |
| virtual void | initFillProgram (bool useArrays) const |
| compile fill shader program More... | |
| virtual void | initFbos (osg::RenderInfo &renderInfo) const |
| create the fbos for copying More... | |
Protected Attributes | |
| DtVarjoProvider * | myProvider |
| varjo_Session * | myVarjoSession |
| int | myWidth |
| int | myHeight |
| bool | myUseDepthLayers |
| varjo_TextureFormat | myDepthFormat |
| bool | mySwapChainsInitialized |
| These are mutable because they are used as part of the const drawImplementation. More... | |
| varjo_SwapChainConfig2 | mySwapChainConfig |
| varjo_SwapChainConfig2 | myDepthSwapChainConfig |
| varjo_SwapChain * | myColorSwapChain |
| varjo_SwapChain * | myDepthSwapChain |
| int | mySwapChainLength |
| std::vector< GLuint > | mySwapChainFbos |
| fbo for swapchain render operations More... | |
| DtGlProgram * | mySwapChainColorCopyProgram |
| shader to copy color texture into swapchain More... | |
| GLint | myLayerUniformLocation |
| location of the layer uniform when filling from tex2d arrays More... | |
| osg::ref_ptr< osg::StateSet > | mySwapChainFillStateSet |
| state set to encapsulate state changes when doing swapchain fill More... | |
| std::vector< GLuint > | myDepthSwapChainFbos |
| fbo for depth swapchain render operations More... | |
| std::vector< GLuint > | myChannelDepthFbos |
| an fbo with the channels depth texture attached More... | |
Protected Attributes inherited from makVrv::DtSubmitViewCallback | |
| DtVirtualRealityPostProcessor & | myProcessor |
| DtVirtualRealityDriver & | myDriver |
| vrvVirtualReality::DtEye | myEye |
| bool | myIsInitialized |
| DtBlitOsgToGlTexture * | myMutableBlitTexture |
| this is mutable because it needs to be created during the operator() callback which is a const function. More... | |
| DtDe & | myDe |
Private Member Functions | |
| DtSubmitVarjoViewCallback () | |
| prevent default constructor More... | |
| DtSubmitVarjoViewCallback (const DtSubmitVarjoViewCallback &orig) | |
| prevent copy construction More... | |
| DtSubmitVarjoViewCallback & | operator= (const DtSubmitVarjoViewCallback &) |
| prevent assignment More... | |
An OSG camera post darw callback that will submit the view to the underlying VR system.
| makVrv::DtSubmitVarjoViewCallback::DtSubmitVarjoViewCallback | ( | DtDe & | de, |
| DtVirtualRealityPostProcessor & | pp, | ||
| DtVirtualRealityDriver & | driver, | ||
| vrvVirtualReality::DtEye | eye | ||
| ) |
CTOR takes the post processor, eye to submit for and the VR driver.
|
virtual |
DTOR.
|
private |
prevent default constructor
|
private |
prevent copy construction
|
private |
prevent assignment
|
protectedvirtual |
overloaded to the actual submit to Varjo
Implements makVrv::DtSubmitViewCallback.
|
protectedvirtual |
create the Varjo texture swapchain
|
protectedvirtual |
compile fill shader program
|
protectedvirtual |
create the fbos for copying
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
These are mutable because they are used as part of the const drawImplementation.
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
fbo for swapchain render operations
|
mutableprotected |
shader to copy color texture into swapchain
|
mutableprotected |
location of the layer uniform when filling from tex2d arrays
|
mutableprotected |
state set to encapsulate state changes when doing swapchain fill
|
mutableprotected |
fbo for depth swapchain render operations
|
mutableprotected |
an fbo with the channels depth texture attached