raylib-cpp
C++ object-oriented wrapper library for raylib.
Public Member Functions | List of all members
raylib::VrSimulator Class Reference

VR control functions. More...

Public Member Functions

 VrSimulator (::VrDeviceInfo info, ::Shader distortion)
 
 ~VrSimulator ()
 Close VR simulator for current device.
 
VrSimulatorBeginDrawing ()
 Begin VR simulator stereo rendering.
 
void Close ()
 Close VR simulator for current device.
 
VrSimulatorEndDrawing ()
 End VR simulator stereo rendering.
 
void Init ()
 Init VR simulator for selected device parameters.
 
bool IsReady () const
 Detect if VR simulator is ready.
 
VrSimulatorSet (::VrDeviceInfo info, ::Shader distortion)
 Set stereo rendering configuration parameters.
 
VrSimulatorToggle ()
 Enable/Disable VR experience.
 
VrSimulatorUpdate (::Camera *camera)
 Update VR tracking (position and orientation) and camera.
 
VrSimulatorUpdate (const ::Camera &camera)
 Update VR tracking (position and orientation) and camera.
 

Detailed Description

VR control functions.

Definition at line 11 of file VrSimulator.hpp.