Helper class for raylib core functions.
More...
#include <CoreHelper.hpp>
Helper class for raylib core functions.
◆ getFPS()
| int raylib::helper::CoreHelper::getFPS |
( |
| ) |
|
|
static |
Get current FPS.
- Returns
- the current FPS
◆ getFrameTime()
| float raylib::helper::CoreHelper::getFrameTime |
( |
| ) |
|
|
static |
Get time in seconds for last frame drawn (delta time)
- Returns
- the time in seconds for last frame drawn (delta time)
◆ getTime()
| double raylib::helper::CoreHelper::getTime |
( |
| ) |
|
|
static |
Get elapsed time in seconds since InitWindow()
- Returns
- the elapsed time in seconds since InitWindow()
◆ loadVrStereoConfig()
| VrStereoConfig raylib::helper::CoreHelper::loadVrStereoConfig |
( |
const VrDeviceInfo & |
device | ) |
|
|
static |
Load VR stereo config for VR simulator device parameters.
- Parameters
-
| device | the device to load the config for |
- Returns
- VR stereo config
◆ openURL()
| void raylib::helper::CoreHelper::openURL |
( |
const std::string & |
url | ) |
|
|
static |
Open URL with default system browser (if available)
- Parameters
-
◆ setFramerateLimit()
| void raylib::helper::CoreHelper::setFramerateLimit |
( |
int |
fps | ) |
|
|
static |
Set target FPS (maximum)
- Parameters
-
◆ unloadVrStereoConfig()
| void raylib::helper::CoreHelper::unloadVrStereoConfig |
( |
const VrStereoConfig & |
config | ) |
|
|
static |
Unload VR stereo config.
- Parameters
-
| config | the config to unload |
The documentation for this class was generated from the following files: