![]() |
VR-Forces 4.8 Class Documentation
|
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel. More...

Public Member Functions | |
| DtSubmitOculusViewCallback (DtDe &de, DtVirtualRealityPostProcessor &pp, DtVirtualRealityDriver &driver, vrvVirtualReality::DtEye eye) | |
| CTOR takes the post processor, eye to submit for and the VR driver. More... | |
| virtual | ~DtSubmitOculusViewCallback () |
| 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 Oculus More... | |
| virtual void | copyTextureToSwapChain (unsigned int srcId, ovrTextureSwapChain &swapChain) const |
| copy texute into a swapchains texture More... | |
| virtual bool | initSwapChain () const |
| create the oculus texture swapchain More... | |
| virtual int | initSwapChain (ovrTextureSwapChain *swapChain, int width, int height, ovrTextureFormat format) const |
| helper fuction to setup an individual swapchain More... | |
| virtual unsigned int | nextSwapImage (ovrTextureSwapChain &swapChai) const |
| get the next texture id in the swapchain More... | |
Protected Attributes | |
| DtOculusProvider * | myProvider |
| ovrSession | mySession |
| int | myWidth |
| int | myHeight |
| bool | mySwapChainsInitialized |
| ovrTextureSwapChain | mySwapChain |
| ovrTextureSwapChain | myDepthSwapChain |
| int | mySwapChainLength |
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 | |
| DtSubmitOculusViewCallback () | |
| prevent default constructor More... | |
| DtSubmitOculusViewCallback (const DtSubmitOculusViewCallback &orig) | |
| prevent copy construction More... | |
| DtSubmitOculusViewCallback & | operator= (const DtSubmitOculusViewCallback &) |
| prevent assignment More... | |
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel.
|
private |
prevent default constructor
|
private |
prevent copy construction
| makVrv::DtSubmitOculusViewCallback::DtSubmitOculusViewCallback | ( | 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 assignment
|
protectedvirtual |
overloaded to the actual submit to Oculus
Implements makVrv::DtSubmitViewCallback.
|
protectedvirtual |
copy texute into a swapchains texture
|
protectedvirtual |
create the oculus texture swapchain
|
protectedvirtual |
helper fuction to setup an individual swapchain
|
protectedvirtual |
get the next texture id in the swapchain
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |