![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Provides all the classes associated with raylib-cpp. More...
Classes | |
| class | AudioDevice |
| Audio device management functions. More... | |
| class | AudioStream |
| AudioStream management functions. More... | |
| class | BoundingBox |
| Bounding box type. More... | |
| class | Camera2D |
| class | Camera3D |
| class | Color |
| class | Font |
| class | Gamepad |
| class | Image |
| class | Material |
| class | Matrix |
| class | Mesh |
| class | Model |
| class | ModelAnimation |
| Model animation. More... | |
| class | Mouse |
| Input-related functions: mouse. More... | |
| class | Music |
| class | Physics |
| class | Ray |
| Ray type (useful for raycast) More... | |
| class | RayHitInfo |
| Raycast hit information. More... | |
| class | Rectangle |
| class | RenderTexture |
| class | Shader |
| class | Sound |
| Wave/Sound management functions. More... | |
| class | Texture |
| class | Vector2 |
| class | Vector3 |
| class | Vector4 |
| class | VrSimulator |
| class | Wave |
| class | Window |
| Window and Graphics Device Functions. More... | |
Typedefs | |
| typedef Camera3D | Camera |
| typedef Vector4 | Quaternion |
| typedef RenderTexture | RenderTexture2D |
| typedef Texture | Texture2D |
| typedef Texture | TextureCubemap |
Functions | |
| static bool | ChangeDirectory (const std::string &dir) |
| Change working directory, return true on success. More... | |
| static bool | DirectoryExists (const std::string &dirPath) |
| Check if directory path exists. More... | |
| static bool | ExportImage (const Image &image, const std::string &fileName) |
| static bool | ExportImageAsCode (const Image &image, const std::string &fileName) |
| static bool | FileExists (const std::string &fileName) |
| Check if file exists. More... | |
| static std::string | GetClipboardText () |
| Get clipboard text content. More... | |
| static std::vector< std::string > | GetDirectoryFiles (const std::string &dirPath) |
| Get filenames in a directory path. More... | |
| static std::string | GetDirectoryPath (const std::string &filePath) |
| Get full path for a given fileName with path. More... | |
| static std::vector< std::string > | GetDroppedFiles () |
| Get dropped files names. More... | |
| static std::string | GetFileExtension (const std::string &fileName) |
| Get pointer to extension for a filename string (including point: ".png") More... | |
| static long | GetFileModTime (const std::string &fileName) |
| Get file modification time (last write time) More... | |
| static std::string | GetFileName (const std::string &filePath) |
| Get pointer to filename for a path string. More... | |
| static std::string | GetFileNameWithoutExt (const std::string &filePath) |
| Get filename string without extension. More... | |
| static std::string | GetMonitorName (int monitor=0) |
| Get the human-readable, UTF-8 encoded name of the primary monitor. More... | |
| static std::string | GetPrevDirectoryPath (const std::string &dirPath) |
| Get previous directory path for a given path. More... | |
| static std::string | GetWorkingDirectory () |
| Get current working directory. More... | |
| static void | InitWindow (int width, int height, const std::string &title="raylib") |
| Initialize window and OpenGL context. More... | |
| static bool | IsFileExtension (const std::string &fileName, const std::string &ext) |
| Check file extension (including point: .png, .wav) More... | |
| static bool | IsGamepadName (int gamepad, const std::string &name) |
| static std::string | LoadFileText (const std::string &fileName) |
| Load text data from file (read) More... | |
| static inline ::Image | LoadImage (const std::string &fileName) |
| static inline ::Image | LoadImageAnim (const std::string &fileName, int *frames) |
| static inline ::Image | LoadImageFromMemory (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| static inline ::Image | LoadImageRaw (const std::string &fileName, int width, int height, int format, int headerSize) |
| static void | OpenURL (const std::string &url) |
| Open URL with default system browser (if available) More... | |
| static bool | SaveFileText (const std::string &fileName, const std::string &text) |
| Save text data to file (write) More... | |
| static void | SetClipboardText (const std::string &text) |
| Set clipboard text content. More... | |
| static void | SetWindowTitle (const std::string &title) |
| Set title for window. More... | |
| static void | TakeScreenshot (const std::string &fileName) |
| Takes a screenshot of current screen (saved a .png) More... | |
| static void | UpdateCamera (const ::Camera &camera) |
Provides all the classes associated with raylib-cpp.
| typedef Camera3D raylib::Camera |
Definition at line 184 of file Camera3D.hpp.
| typedef Vector4 raylib::Quaternion |
Definition at line 182 of file Vector4.hpp.
| typedef RenderTexture raylib::RenderTexture2D |
Definition at line 86 of file RenderTexture.hpp.
| typedef Texture raylib::Texture2D |
Definition at line 257 of file Texture.hpp.
| typedef Texture raylib::TextureCubemap |
Definition at line 258 of file Texture.hpp.
|
inlinestatic |
Change working directory, return true on success.
Definition at line 178 of file Functions.hpp.
|
inlinestatic |
Check if directory path exists.
Definition at line 111 of file Functions.hpp.
|
inlinestatic |
Definition at line 236 of file Functions.hpp.
|
inlinestatic |
Definition at line 240 of file Functions.hpp.
|
inlinestatic |
Check if file exists.
Definition at line 104 of file Functions.hpp.
|
inlinestatic |
Get clipboard text content.
Definition at line 73 of file Functions.hpp.
|
static |
Get filenames in a directory path.
Definition at line 167 of file Functions.hpp.
|
inlinestatic |
Get full path for a given fileName with path.
Definition at line 146 of file Functions.hpp.
|
static |
Get dropped files names.
Definition at line 185 of file Functions.hpp.
|
inlinestatic |
Get pointer to extension for a filename string (including point: ".png")
Definition at line 125 of file Functions.hpp.
|
inlinestatic |
Get file modification time (last write time)
Definition at line 196 of file Functions.hpp.
|
inlinestatic |
Get pointer to filename for a path string.
Definition at line 132 of file Functions.hpp.
|
inlinestatic |
Get filename string without extension.
Definition at line 139 of file Functions.hpp.
|
inlinestatic |
Get the human-readable, UTF-8 encoded name of the primary monitor.
Definition at line 59 of file Functions.hpp.
|
inlinestatic |
Get previous directory path for a given path.
Definition at line 153 of file Functions.hpp.
|
inlinestatic |
Get current working directory.
Definition at line 160 of file Functions.hpp.
|
inlinestatic |
Initialize window and OpenGL context.
Definition at line 45 of file Functions.hpp.
Referenced by raylib::Window::Init().
|
inlinestatic |
Check file extension (including point: .png, .wav)
Definition at line 118 of file Functions.hpp.
|
inlinestatic |
Definition at line 207 of file Functions.hpp.
|
static |
Load text data from file (read)
Definition at line 87 of file Functions.hpp.
|
static |
Definition at line 216 of file Functions.hpp.
Referenced by raylib::Image::Load().
|
static |
Definition at line 226 of file Functions.hpp.
Referenced by raylib::Image::LoadAnim().
|
static |
Definition at line 230 of file Functions.hpp.
Referenced by raylib::Image::LoadFromMemory().
|
static |
Definition at line 220 of file Functions.hpp.
Referenced by raylib::Image::LoadRaw().
|
inlinestatic |
Open URL with default system browser (if available)
Definition at line 203 of file Functions.hpp.
|
inlinestatic |
Save text data to file (write)
Definition at line 97 of file Functions.hpp.
|
inlinestatic |
Set clipboard text content.
Definition at line 66 of file Functions.hpp.
|
inlinestatic |
Set title for window.
Definition at line 52 of file Functions.hpp.
Referenced by raylib::Window::SetTitle().
|
inlinestatic |
Takes a screenshot of current screen (saved a .png)
Definition at line 80 of file Functions.hpp.
|
inlinestatic |
Definition at line 211 of file Functions.hpp.
Referenced by raylib::Camera3D::Update().
1.8.17