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.
 
VrSimulator & BeginDrawing ()
 Begin VR simulator stereo rendering.
 
void Close ()
 Close VR simulator for current device.
 
VrSimulator & EndDrawing ()
 End VR simulator stereo rendering.
 
void Init ()
 Init VR simulator for selected device parameters.
 
bool IsReady () const
 Detect if VR simulator is ready.
 
VrSimulator & Set (::VrDeviceInfo info, ::Shader distortion)
 Set stereo rendering configuration parameters.
 
VrSimulator & Toggle ()
 Enable/Disable VR experience.
 
VrSimulator & Update (::Camera *camera)
 Update VR tracking (position and orientation) and camera.
 
VrSimulator & Update (const ::Camera &camera)
 Update VR tracking (position and orientation) and camera.
 

Detailed Description

VR control functions.

Definition at line 11 of file VrSimulator.hpp.