LightsprintSDK 2021.08.08
|
#include <PluginStereo.h>
Public Member Functions | |
PluginParamsStereo (const PluginParams *_next, VRDevice *_vrDevice) | |
virtual PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const |
virtual class PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const =0 |
Public Attributes | |
VRDevice * | vrDevice |
Public Attributes inherited from rr_gl::PluginParams | |
const PluginParams * | next |
Renders scene (calls next plugin) twice, once for left eye, once for right eye.
Stereo mode is selected by rr::RRCamera::stereoMode. For SM_OCULUS_RIFT and SM_OPENVR modes, stereo plugin calls specialized oculus and openvr plugins, other modes are implemented internally.
|
inline |
Convenience ctor, for setting plugin parameters.
|
virtual |
Access to actual plugin code, called by Renderer.
Implements rr_gl::PluginParams.
VRDevice* rr_gl::PluginParamsStereo::vrDevice |
VR device to use for rendering in SM_OCULUS_RIFT and SM_OPENVR modes.