LightsprintSDK 2021.08.08
rr_gl::PluginParamsOculus Class Reference

#include <PluginOculus.h>

Inheritance diagram for rr_gl::PluginParamsOculus:
rr_gl::PluginParams

Public Member Functions

 PluginParamsOculus (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_OCULUS_RIFT mode, output is sent to Oculus Rift HMD. All other modes fall back to mono rendering.

Constructor & Destructor Documentation

◆ PluginParamsOculus()

rr_gl::PluginParamsOculus::PluginParamsOculus ( 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::PluginParamsOculus::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::PluginParamsOculus::vrDevice