![]() |
VR-Forces 4.10 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 | initCopyProgram (bool useArrays, bool copyDepth, bool copyStencil) const |
| compile copy shader program More... | |
| virtual void | initFbos (osg::RenderInfo &renderInfo) const |
| create the fbos for copying More... | |
| virtual void | copyTextures (osg::RenderInfo &renderInfo, unsigned int srcColorId, unsigned int srcDepthId, unsigned int srcStencilId, int32_t swapChainIndex) const |
| copy the color texture to the color swapchain using the stencil as the source for alpha More... | |
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 copy shader program
|
protectedvirtual |
create the fbos for copying
|
protectedvirtual |
copy the color texture to the color swapchain using the stencil as the source for alpha
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
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 |
|
mutableprotected |
state set to encapsulate state changes when doing swapchain fill