 |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
25 #ifndef RAYLIB_CPP_INCLUDE_VRSIMULATOR_HPP_
26 #define RAYLIB_CPP_INCLUDE_VRSIMULATOR_HPP_
28 #include "./raylib.hpp"
29 #include "./raylib-cpp-utils.hpp"
40 Set(info, distortion);
61 return ::IsVrSimulatorReady();
68 ::UpdateVrTracking(camera);
76 ::SetVrConfiguration(info, distortion);
108 ::CloseVrSimulator();
113 #endif // RAYLIB_CPP_INCLUDE_VRSIMULATOR_HPP_
Provides all the classes associated with raylib-cpp.
~VrSimulator()
Close VR simulator for current device.
VrSimulator & End()
End VR simulator stereo rendering.
VrSimulator & Toggle()
Enable/Disable VR experience.
VrSimulator(::VrDeviceInfo info, ::Shader distortion)
VrSimulator & Update(Camera *camera)
Update VR tracking (position and orientation) and camera.
VrSimulator & Begin()
Begin VR simulator stereo rendering.
void Init()
Init VR simulator for selected device parameters.
void Close()
Close VR simulator for current device.
bool IsReady() const
Detect if VR simulator is ready.
VrSimulator & Set(::VrDeviceInfo info, ::Shader distortion)
Set stereo rendering configuration parameters.