LightsprintSDK 2021.08.08
rr_gl::PluginParamsOpenVR Class Reference

#include <PluginOpenVR.h>

Inheritance diagram for rr_gl::PluginParamsOpenVR:
rr_gl::PluginParams

Public Member Functions

 PluginParamsOpenVR (const PluginParams *_next, VRDevice *_vrDevice)
 
virtual PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const
 
virtual class PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const =0
 

Public Attributes

VRDevicevrDevice
 
- Public Attributes inherited from rr_gl::PluginParams
const PluginParamsnext
 

Detailed Description

Renders scene (calls next plugin) twice, once for left eye, once for right eye.

For camera in SM_OPENVR mode, output is sent to OpenVR HMD. All other modes fall back to mono rendering.

Constructor & Destructor Documentation

◆ PluginParamsOpenVR()

rr_gl::PluginParamsOpenVR::PluginParamsOpenVR ( const PluginParams _next,
VRDevice _vrDevice 
)
inline

Convenience ctor, for setting plugin parameters. Additional Oculus Rift parameters are cleared.

Member Function Documentation

◆ createRuntime()

virtual PluginRuntime * rr_gl::PluginParamsOpenVR::createRuntime ( const PluginCreateRuntimeParams params) const
virtual

Access to actual plugin code, called by Renderer.

Implements rr_gl::PluginParams.

Member Data Documentation

◆ vrDevice

VRDevice* rr_gl::PluginParamsOpenVR::vrDevice