diff --git a/.gitignore b/.gitignore index 182db34d..dfcbe19a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ package-lock.json node_modules cmake-build-debug .idea +docs diff --git a/README.md b/README.md index b6a09a01..b12376d7 100644 --- a/README.md +++ b/README.md @@ -324,6 +324,12 @@ git submodule update --init doxygen projects/Doxygen/Doxyfile ``` +To publish the documentation to GitHub Pages, use... + +``` +npm run deploy +``` + ### Coding Standards This uses cpplint to adopt coding standards. diff --git a/docs/_audio_device_8hpp_source.html b/docs/_audio_device_8hpp_source.html deleted file mode 100644 index a753b363..00000000 --- a/docs/_audio_device_8hpp_source.html +++ /dev/null @@ -1,135 +0,0 @@ - - -
- - - - -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/_font_8hpp_source.html b/docs/_font_8hpp_source.html
deleted file mode 100644
index d3b8a7cb..00000000
--- a/docs/_font_8hpp_source.html
+++ /dev/null
@@ -1,327 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/_raylib_exception_8hpp_source.html b/docs/_raylib_exception_8hpp_source.html
deleted file mode 100644
index 867258d9..00000000
--- a/docs/_raylib_exception_8hpp_source.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/_render_texture_8hpp_source.html b/docs/_render_texture_8hpp_source.html
deleted file mode 100644
index 73240ce0..00000000
--- a/docs/_render_texture_8hpp_source.html
+++ /dev/null
@@ -1,209 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/_texture_8hpp_source.html b/docs/_texture_8hpp_source.html
deleted file mode 100644
index e3b730cb..00000000
--- a/docs/_texture_8hpp_source.html
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/_vr_stereo_config_8hpp_source.html b/docs/_vr_stereo_config_8hpp_source.html
deleted file mode 100644
index a637c243..00000000
--- a/docs/_vr_stereo_config_8hpp_source.html
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
| ▼Nraylib | All raylib-cpp classes and functions appear in the raylib namespace |
| CAudioDevice | Audio device management functions |
| CAudioStream | AudioStream management functions |
| CBoundingBox | Bounding box type |
| CCamera2D | Camera2D type, defines a 2d camera |
| CCamera3D | Camera type, defines a camera position/orientation in 3d space |
| CColor | Color type, RGBA (32bit) |
| CFont | Font type, includes texture and charSet array data |
| CGamepad | Input-related functions: gamepads |
| CImage | Image type, bpp always RGBA (32bit) |
| CMaterial | Material type (generic) |
| CMatrix | Matrix type (OpenGL style 4x4 - right handed, column major) |
| CMesh | Vertex data definning a mesh |
| CModel | Model type |
| CModelAnimation | Model animation |
| CMouse | Input-related functions: mouse |
| CMusic | Music stream type (audio file streaming from memory) |
| CRay | Ray type (useful for raycast) |
| CRayCollision | Raycast hit information |
| CRaylibException | Exception used for most raylib-related exceptions |
| CRectangle | Rectangle type |
| CRenderTexture | RenderTexture type, for texture rendering |
| CShader | Shader type (generic) |
| CSound | Wave/Sound management functions |
| CText | Text Functions |
| CTexture | Texture type |
| CTextureUnmanaged | A Texture that is not managed by the C++ garbage collector |
| CTouch | Input-related functions: touch |
| CVector2 | Vector2 type |
| CVector3 | Vector3 type |
| CVector4 | Vector4 type |
| CVrStereoConfig | VR stereo config functions for VR simulator |
| CWave | Wave type, defines audio wave data |
| CWindow | Window and Graphics Device Functions |
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/class_rectangle.html b/docs/class_rectangle.html
deleted file mode 100644
index b788acda..00000000
--- a/docs/class_rectangle.html
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/class_shader.html b/docs/class_shader.html
deleted file mode 100644
index cd50e7cf..00000000
--- a/docs/class_shader.html
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.17
-
-
-
diff --git a/docs/class_vector2.html b/docs/class_vector2.html
deleted file mode 100644
index c6963c67..00000000
--- a/docs/class_vector2.html
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::AudioDevice, including all inherited members.
-| AudioDevice(bool lateInit=false) | raylib::AudioDevice | inline |
| Close() | raylib::AudioDevice | inline |
| Init() | raylib::AudioDevice | inline |
| IsReady() const | raylib::AudioDevice | inline |
| SetVolume(float volume) | raylib::AudioDevice | inline |
| ~AudioDevice() | raylib::AudioDevice | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Audio device management functions. - More...
--Public Member Functions | |
| AudioDevice (bool lateInit=false) | |
| Initialize audio device and context. More... | |
| - | ~AudioDevice () |
| Close the audio device and context. | |
| -void | Close () |
| Close the audio device and context. | |
| void | Init () |
| Initialize audio device and context. More... | |
| -bool | IsReady () const |
| Check if audio device has been initialized successfully. | |
| AudioDevice & | SetVolume (float volume) |
| Set master volume (listener). More... | |
Audio device management functions.
- -Definition at line 12 of file AudioDevice.hpp.
-
-
|
- -inline | -
Initialize audio device and context.
-| lateInit | Whether or not to post-pone initializing the context. |
| raylib::RaylibException | Throws if the AudioDevice failed to initialize. |
Definition at line 21 of file AudioDevice.hpp.
- -References Init().
- -
-
|
- -inline | -
Initialize audio device and context.
-| raylib::RaylibException | Throws if the AudioDevice failed to initialize. |
Definition at line 39 of file AudioDevice.hpp.
- -References IsReady().
- -Referenced by AudioDevice().
- -
-
|
- -inline | -
Set master volume (listener).
-| volume | The desired volume to set. |
Definition at line 65 of file AudioDevice.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::AudioStream, including all inherited members.
-| AttachProcessor(::AudioCallback processor) | raylib::AudioStream | inline |
| AudioStream(const ::AudioStream &music) (defined in raylib::AudioStream) | raylib::AudioStream | inline |
| AudioStream(rAudioBuffer *buffer=nullptr, rAudioProcessor *processor=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0) (defined in raylib::AudioStream) | raylib::AudioStream | inline |
| AudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels=2) | raylib::AudioStream | inline |
| AudioStream(const AudioStream &)=delete (defined in raylib::AudioStream) | raylib::AudioStream | |
| AudioStream(AudioStream &&other) (defined in raylib::AudioStream) | raylib::AudioStream | inline |
| DetachProcessor(::AudioCallback processor) | raylib::AudioStream | inline |
| GetBuffer() const | raylib::AudioStream | inline |
| GetChannels() const | raylib::AudioStream | inline |
| GetProcessor() const | raylib::AudioStream | inline |
| GetSampleRate() const | raylib::AudioStream | inline |
| GetSampleSize() const | raylib::AudioStream | inline |
| IsPlaying() const | raylib::AudioStream | inline |
| IsProcessed() const | raylib::AudioStream | inline |
| IsReady() | raylib::AudioStream | inline |
| Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2) | raylib::AudioStream | inline |
| operator=(const ::AudioStream &stream) (defined in raylib::AudioStream) | raylib::AudioStream | inline |
| operator=(const AudioStream &)=delete (defined in raylib::AudioStream) | raylib::AudioStream | |
| operator=(AudioStream &&other) noexcept (defined in raylib::AudioStream) | raylib::AudioStream | inline |
| Pause() | raylib::AudioStream | inline |
| Play() | raylib::AudioStream | inline |
| Resume() | raylib::AudioStream | inline |
| SetBuffer(rAudioBuffer *value) | raylib::AudioStream | inline |
| SetBufferSizeDefault(int size) | raylib::AudioStream | inlinestatic |
| SetCallback(::AudioCallback callback) | raylib::AudioStream | inline |
| SetChannels(unsigned int value) | raylib::AudioStream | inline |
| SetPan(float pan=0.5f) | raylib::AudioStream | inline |
| SetPitch(float pitch) | raylib::AudioStream | inline |
| SetProcessor(rAudioProcessor *value) | raylib::AudioStream | inline |
| SetSampleRate(unsigned int value) | raylib::AudioStream | inline |
| SetSampleSize(unsigned int value) | raylib::AudioStream | inline |
| SetVolume(float volume=1.0f) | raylib::AudioStream | inline |
| Stop() | raylib::AudioStream | inline |
| Unload() | raylib::AudioStream | inline |
| Update(const void *data, int samplesCount) | raylib::AudioStream | inline |
| ~AudioStream() (defined in raylib::AudioStream) | raylib::AudioStream | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
AudioStream management functions. - More...
--Public Member Functions | |
| - | AudioStream (AudioStream &&other) |
| - | AudioStream (const ::AudioStream &music) |
| - | AudioStream (const AudioStream &)=delete |
| - | AudioStream (rAudioBuffer *buffer=nullptr, rAudioProcessor *processor=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0) |
| AudioStream (unsigned int sampleRate, unsigned int sampleSize, unsigned int channels=2) | |
| Init audio stream (to stream raw audio pcm data) More... | |
| -void | AttachProcessor (::AudioCallback processor) |
| Attach audio stream processor to stream. | |
| -void | DetachProcessor (::AudioCallback processor) |
| Detach audio stream processor from stream. | |
| rAudioBuffer * | GetBuffer () const |
| Retrieves the buffer value for the object. More... | |
| unsigned int | GetChannels () const |
| Retrieves the channels value for the object. More... | |
| rAudioProcessor * | GetProcessor () const |
| Retrieves the processor value for the object. More... | |
| unsigned int | GetSampleRate () const |
| Retrieves the sampleRate value for the object. More... | |
| unsigned int | GetSampleSize () const |
| Retrieves the sampleSize value for the object. More... | |
| -bool | IsPlaying () const |
| Check if audio stream is playing. | |
| -bool | IsProcessed () const |
| Check if any audio stream buffers requires refill. | |
| -bool | IsReady () |
| Retrieve whether or not the audio stream is ready. | |
| void | Load (unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2) |
| Load audio stream (to stream raw audio pcm data) More... | |
| -AudioStream & | operator= (AudioStream &&other) noexcept |
| -AudioStream & | operator= (const ::AudioStream &stream) |
| -AudioStream & | operator= (const AudioStream &)=delete |
| -AudioStream & | Pause () |
| Pause audio stream. | |
| -AudioStream & | Play () |
| Play audio stream. | |
| -AudioStream & | Resume () |
| Resume audio stream. | |
| void | SetBuffer (rAudioBuffer *value) |
| Sets the buffer value for the object. More... | |
| -void | SetCallback (::AudioCallback callback) |
| Audio thread callback to request new data. | |
| void | SetChannels (unsigned int value) |
| Sets the channels value for the object. More... | |
| -AudioStream & | SetPan (float pan=0.5f) |
| Set pan for audio stream (0.5 is centered) | |
| -AudioStream & | SetPitch (float pitch) |
| Set pitch for audio stream (1.0 is base level) | |
| void | SetProcessor (rAudioProcessor *value) |
| Sets the processor value for the object. More... | |
| void | SetSampleRate (unsigned int value) |
| Sets the sampleRate value for the object. More... | |
| void | SetSampleSize (unsigned int value) |
| Sets the sampleSize value for the object. More... | |
| -AudioStream & | SetVolume (float volume=1.0f) |
| Set volume for audio stream (1.0 is max level) | |
| -AudioStream & | Stop () |
| Stop audio stream. | |
| -void | Unload () |
| Unload audio stream and free memory. | |
| -AudioStream & | Update (const void *data, int samplesCount) |
| Update audio stream buffers with data. | |
-Static Public Member Functions | |
| -static void | SetBufferSizeDefault (int size) |
| Default size for new audio streams. | |
AudioStream management functions.
- -Definition at line 12 of file AudioStream.hpp.
-
-
|
- -inline | -
Init audio stream (to stream raw audio pcm data)
-| raylib::RaylibException | Throws if the AudioStream failed to load. |
Definition at line 31 of file AudioStream.hpp.
- -References Load().
- -
-
|
- -inline | -
Retrieves the buffer value for the object.
-Definition at line 51 of file AudioStream.hpp.
- -
-
|
- -inline | -
Retrieves the channels value for the object.
-Definition at line 55 of file AudioStream.hpp.
- -
-
|
- -inline | -
Retrieves the processor value for the object.
-Definition at line 52 of file AudioStream.hpp.
- -
-
|
- -inline | -
Retrieves the sampleRate value for the object.
-Definition at line 53 of file AudioStream.hpp.
- -
-
|
- -inline | -
Retrieves the sampleSize value for the object.
-Definition at line 54 of file AudioStream.hpp.
- -
-
|
- -inline | -
Load audio stream (to stream raw audio pcm data)
-| raylib::RaylibException | Throws if the AudioStream failed to load. |
Definition at line 206 of file AudioStream.hpp.
- -References IsReady(), and Unload().
- -Referenced by AudioStream().
- -
-
|
- -inline | -
Sets the buffer value for the object.
-| value | The value of which to set buffer to. |
Definition at line 51 of file AudioStream.hpp.
- -
-
|
- -inline | -
Sets the channels value for the object.
-| value | The value of which to set channels to. |
Definition at line 55 of file AudioStream.hpp.
- -
-
|
- -inline | -
Sets the processor value for the object.
-| value | The value of which to set processor to. |
Definition at line 52 of file AudioStream.hpp.
- -
-
|
- -inline | -
Sets the sampleRate value for the object.
-| value | The value of which to set sampleRate to. |
Definition at line 53 of file AudioStream.hpp.
- -
-
|
- -inline | -
Sets the sampleSize value for the object.
-| value | The value of which to set sampleSize to. |
Definition at line 54 of file AudioStream.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::BoundingBox, including all inherited members.
-| BoundingBox(const ::BoundingBox &box) (defined in raylib::BoundingBox) | raylib::BoundingBox | inline |
| BoundingBox(const ::Mesh &mesh) | raylib::BoundingBox | inline |
| BoundingBox(::Vector3 minMax=::Vector3{0.0f, 0.0f, 0.0f}) (defined in raylib::BoundingBox) | raylib::BoundingBox | inline |
| BoundingBox(::Vector3 min, ::Vector3 max) (defined in raylib::BoundingBox) | raylib::BoundingBox | inline |
| CheckCollision(const ::BoundingBox &box2) const | raylib::BoundingBox | inline |
| CheckCollision(::Vector3 center, float radius) const | raylib::BoundingBox | inline |
| CheckCollision(const ::Ray &ray) const | raylib::BoundingBox | inline |
| Draw(::Color color={255, 255, 255, 255}) const | raylib::BoundingBox | inline |
| GetCollision(const ::Ray &ray) const | raylib::BoundingBox | inline |
| GetMax() const | raylib::BoundingBox | inline |
| GetMin() const | raylib::BoundingBox | inline |
| operator=(const ::BoundingBox &box) (defined in raylib::BoundingBox) | raylib::BoundingBox | inline |
| SetMax(::Vector3 value) | raylib::BoundingBox | inline |
| SetMin(::Vector3 value) | raylib::BoundingBox | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Bounding box type. - More...
--Public Member Functions | |
| - | BoundingBox (::Vector3 min, ::Vector3 max) |
| - | BoundingBox (::Vector3 minMax=::Vector3{0.0f, 0.0f, 0.0f}) |
| - | BoundingBox (const ::BoundingBox &box) |
| - | BoundingBox (const ::Mesh &mesh) |
| Compute mesh bounding box limits. | |
| -bool | CheckCollision (::Vector3 center, float radius) const |
| Detect collision between box and sphere. | |
| -bool | CheckCollision (const ::BoundingBox &box2) const |
| Detect collision between two boxes. | |
| -bool | CheckCollision (const ::Ray &ray) const |
| Detect collision between ray and bounding box. | |
| -void | Draw (::Color color={255, 255, 255, 255}) const |
| Draw a bounding box with wires. | |
| -RayCollision | GetCollision (const ::Ray &ray) const |
| Get collision information between ray and bounding box. | |
| ::Vector3 | GetMax () const |
| Retrieves the max value for the object. More... | |
| ::Vector3 | GetMin () const |
| Retrieves the min value for the object. More... | |
| -BoundingBox & | operator= (const ::BoundingBox &box) |
| void | SetMax (::Vector3 value) |
| Sets the max value for the object. More... | |
| void | SetMin (::Vector3 value) |
| Sets the min value for the object. More... | |
Bounding box type.
- -Definition at line 11 of file BoundingBox.hpp.
-
-
|
- -inline | -
Retrieves the max value for the object.
-Definition at line 31 of file BoundingBox.hpp.
- -
-
|
- -inline | -
Retrieves the min value for the object.
-Definition at line 30 of file BoundingBox.hpp.
- -
-
|
- -inline | -
Sets the max value for the object.
-| value | The value of which to set max to. |
Definition at line 31 of file BoundingBox.hpp.
- -
-
|
- -inline | -
Sets the min value for the object.
-| value | The value of which to set min to. |
Definition at line 30 of file BoundingBox.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Camera2D, including all inherited members.
-| BeginMode() (defined in raylib::Camera2D) | raylib::Camera2D | inline |
| Camera2D(const ::Camera2D &camera) (defined in raylib::Camera2D) | raylib::Camera2D | inline |
| Camera2D() (defined in raylib::Camera2D) | raylib::Camera2D | inline |
| Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f) (defined in raylib::Camera2D) | raylib::Camera2D | inline |
| EndMode() (defined in raylib::Camera2D) | raylib::Camera2D | inline |
| GetMatrix() const | raylib::Camera2D | inline |
| GetOffset() const | raylib::Camera2D | inline |
| GetRotation() const | raylib::Camera2D | inline |
| GetScreenToWorld(::Vector2 position) const | raylib::Camera2D | inline |
| GetTarget() const | raylib::Camera2D | inline |
| GetWorldToScreen(::Vector2 position) const | raylib::Camera2D | inline |
| GetZoom() const | raylib::Camera2D | inline |
| operator=(const ::Camera2D &camera) (defined in raylib::Camera2D) | raylib::Camera2D | inline |
| SetOffset(::Vector2 value) | raylib::Camera2D | inline |
| SetRotation(float value) | raylib::Camera2D | inline |
| SetTarget(::Vector2 value) | raylib::Camera2D | inline |
| SetZoom(float value) | raylib::Camera2D | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Camera2D type, defines a 2d camera. - More...
--Public Member Functions | |
| - | Camera2D (::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f) |
| - | Camera2D (const ::Camera2D &camera) |
| -Camera2D & | BeginMode () |
| -Camera2D & | EndMode () |
| -Matrix | GetMatrix () const |
| Returns camera 2d transform matrix. | |
| ::Vector2 | GetOffset () const |
| Retrieves the offset value for the object. More... | |
| float | GetRotation () const |
| Retrieves the rotation value for the object. More... | |
| -Vector2 | GetScreenToWorld (::Vector2 position) const |
| Returns the world space position for a 2d camera screen space position. | |
| ::Vector2 | GetTarget () const |
| Retrieves the target value for the object. More... | |
| -Vector2 | GetWorldToScreen (::Vector2 position) const |
| Returns the screen space position for a 3d world space position. | |
| float | GetZoom () const |
| Retrieves the zoom value for the object. More... | |
| -Camera2D & | operator= (const ::Camera2D &camera) |
| void | SetOffset (::Vector2 value) |
| Sets the offset value for the object. More... | |
| void | SetRotation (float value) |
| Sets the rotation value for the object. More... | |
| void | SetTarget (::Vector2 value) |
| Sets the target value for the object. More... | |
| void | SetZoom (float value) |
| Sets the zoom value for the object. More... | |
Camera2D type, defines a 2d camera.
- -Definition at line 12 of file Camera2D.hpp.
-
-
|
- -inline | -
Retrieves the offset value for the object.
-Definition at line 32 of file Camera2D.hpp.
- -
-
|
- -inline | -
Retrieves the rotation value for the object.
-Definition at line 34 of file Camera2D.hpp.
- -
-
|
- -inline | -
Retrieves the target value for the object.
-Definition at line 33 of file Camera2D.hpp.
- -
-
|
- -inline | -
Retrieves the zoom value for the object.
-Definition at line 35 of file Camera2D.hpp.
- -
-
|
- -inline | -
Sets the offset value for the object.
-| value | The value of which to set offset to. |
Definition at line 32 of file Camera2D.hpp.
- -
-
|
- -inline | -
Sets the rotation value for the object.
-| value | The value of which to set rotation to. |
Definition at line 34 of file Camera2D.hpp.
- -
-
|
- -inline | -
Sets the target value for the object.
-| value | The value of which to set target to. |
Definition at line 33 of file Camera2D.hpp.
- -
-
|
- -inline | -
Sets the zoom value for the object.
-| value | The value of which to set zoom to. |
Definition at line 35 of file Camera2D.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Camera3D, including all inherited members.
-| BeginMode() | raylib::Camera3D | inline |
| Camera3D(const ::Camera3D &camera) (defined in raylib::Camera3D) | raylib::Camera3D | inline |
| Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE) | raylib::Camera3D | inline |
| Camera3D() (defined in raylib::Camera3D) | raylib::Camera3D | inline |
| DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255}) const | raylib::Camera3D | inline |
| DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const | raylib::Camera3D | inline |
| EndMode() | raylib::Camera3D | inline |
| GetFovy() const | raylib::Camera3D | inline |
| GetMatrix() const | raylib::Camera3D | inline |
| GetMouseRay(::Vector2 mousePosition) const | raylib::Camera3D | inline |
| GetPosition() const | raylib::Camera3D | inline |
| GetProjection() const | raylib::Camera3D | inline |
| GetTarget() const | raylib::Camera3D | inline |
| GetUp() const | raylib::Camera3D | inline |
| GetWorldToScreen(::Vector3 position) const | raylib::Camera3D | inline |
| operator=(const ::Camera3D &camera) (defined in raylib::Camera3D) | raylib::Camera3D | inline |
| SetAltControl(int altKey) | raylib::Camera3D | inline |
| SetFovy(float value) | raylib::Camera3D | inline |
| SetMode(int mode) | raylib::Camera3D | inline |
| SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey) | raylib::Camera3D | inline |
| SetPosition(::Vector3 value) | raylib::Camera3D | inline |
| SetProjection(int value) | raylib::Camera3D | inline |
| SetSmoothZoomControl(int szKey) | raylib::Camera3D | inline |
| SetTarget(::Vector3 value) | raylib::Camera3D | inline |
| SetUp(::Vector3 value) | raylib::Camera3D | inline |
| Update() | raylib::Camera3D | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Camera type, defines a camera position/orientation in 3d space. - More...
--Public Member Functions | |
| Camera3D (::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE) | |
| Create a new Camera3D. More... | |
| - | Camera3D (const ::Camera3D &camera) |
| -Camera3D & | BeginMode () |
| Initializes 3D mode with custom camera (3D) | |
| -void | DrawBillboard (const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture defined by source. | |
| -void | DrawBillboard (const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture. | |
| -Camera3D & | EndMode () |
| Ends 3D mode and returns to default 2D orthographic mode. | |
| float | GetFovy () const |
| Retrieves the fovy value for the object. More... | |
| -Matrix | GetMatrix () const |
| Get camera transform matrix (view matrix) | |
| -Ray | GetMouseRay (::Vector2 mousePosition) const |
| Returns a ray trace from mouse position. | |
| ::Vector3 | GetPosition () const |
| Retrieves the position value for the object. More... | |
| int | GetProjection () const |
| Retrieves the projection value for the object. More... | |
| ::Vector3 | GetTarget () const |
| Retrieves the target value for the object. More... | |
| ::Vector3 | GetUp () const |
| Retrieves the up value for the object. More... | |
| -Vector2 | GetWorldToScreen (::Vector3 position) const |
| Returns the screen space position for a 3d world space position. | |
| -Camera3D & | operator= (const ::Camera3D &camera) |
| -Camera3D & | SetAltControl (int altKey) |
| Set camera alt key to combine with mouse movement (free camera) | |
| void | SetFovy (float value) |
| Sets the fovy value for the object. More... | |
| -Camera3D & | SetMode (int mode) |
| Set camera mode (multiple camera modes available) | |
| -Camera3D & | SetMoveControls (int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey) |
| Set camera move controls (1st person and 3rd person cameras) | |
| void | SetPosition (::Vector3 value) |
| Sets the position value for the object. More... | |
| void | SetProjection (int value) |
| Sets the projection value for the object. More... | |
| -Camera3D & | SetSmoothZoomControl (int szKey) |
| Set camera smooth zoom key to combine with mouse (free camera) | |
| void | SetTarget (::Vector3 value) |
| Sets the target value for the object. More... | |
| void | SetUp (::Vector3 value) |
| Sets the up value for the object. More... | |
| -Camera3D & | Update () |
| Update camera position for selected mode. | |
Camera type, defines a camera position/orientation in 3d space.
- -Definition at line 12 of file Camera3D.hpp.
-
-
|
- -inline | -
Create a new Camera3D.
-| position | Camera position |
| target | Camera target it looks-at |
| up | Camera up vector (rotation over its axis) |
| fovy | Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic |
| projection | Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC |
Definition at line 27 of file Camera3D.hpp.
- -
-
|
- -inline | -
Retrieves the fovy value for the object.
-Definition at line 38 of file Camera3D.hpp.
- -
-
|
- -inline | -
Retrieves the position value for the object.
-Definition at line 35 of file Camera3D.hpp.
- -
-
|
- -inline | -
Retrieves the projection value for the object.
-Definition at line 39 of file Camera3D.hpp.
- -
-
|
- -inline | -
Retrieves the target value for the object.
-Definition at line 36 of file Camera3D.hpp.
- -
-
|
- -inline | -
Retrieves the up value for the object.
-Definition at line 37 of file Camera3D.hpp.
- -
-
|
- -inline | -
Sets the fovy value for the object.
-| value | The value of which to set fovy to. |
Definition at line 38 of file Camera3D.hpp.
- -
-
|
- -inline | -
Sets the position value for the object.
-| value | The value of which to set position to. |
Definition at line 35 of file Camera3D.hpp.
- -
-
|
- -inline | -
Sets the projection value for the object.
-| value | The value of which to set projection to. |
Definition at line 39 of file Camera3D.hpp.
- -
-
|
- -inline | -
Sets the target value for the object.
-| value | The value of which to set target to. |
Definition at line 36 of file Camera3D.hpp.
- -
-
|
- -inline | -
Sets the up value for the object.
-| value | The value of which to set up to. |
Definition at line 37 of file Camera3D.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Color, including all inherited members.
-| Alpha(float alpha) const | raylib::Color | inline |
| AlphaBlend(::Color dst, ::Color tint) const | raylib::Color | inline |
| Beige() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Black() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Blank() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Blue() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Brown() (defined in raylib::Color) | raylib::Color | inlinestatic |
| ClearBackground() | raylib::Color | inline |
| Color(const ::Color &color) (defined in raylib::Color) | raylib::Color | inline |
| Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255) (defined in raylib::Color) | raylib::Color | inline |
| Color() | raylib::Color | inline |
| Color(::Vector3 hsv) | raylib::Color | inline |
| Color(unsigned int hexValue) | raylib::Color | inline |
| Color(void *srcPtr, int format) (defined in raylib::Color) | raylib::Color | inline |
| Color(::Vector4 normalized) | raylib::Color | inline |
| DarkBlue() (defined in raylib::Color) | raylib::Color | inlinestatic |
| DarkBrown() (defined in raylib::Color) | raylib::Color | inlinestatic |
| DarkGray() (defined in raylib::Color) | raylib::Color | inlinestatic |
| DarkGreen() (defined in raylib::Color) | raylib::Color | inlinestatic |
| DarkPurple() (defined in raylib::Color) | raylib::Color | inlinestatic |
| DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) const | raylib::Color | inline |
| DrawLine(::Vector2 startPos, ::Vector2 endPos) const | raylib::Color | inline |
| DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) const | raylib::Color | inline |
| DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick=1.0f) const (defined in raylib::Color) | raylib::Color | inline |
| DrawLineStrip(::Vector2 *points, int numPoints) const (defined in raylib::Color) | raylib::Color | inline |
| DrawPixel(int x, int y) const (defined in raylib::Color) | raylib::Color | inline |
| DrawPixel(::Vector2 pos) const | raylib::Color | inline |
| DrawRectangle(int posX, int posY, int width, int height) const (defined in raylib::Color) | raylib::Color | inline |
| DrawRectangle(::Vector2 position, ::Vector2 size) const (defined in raylib::Color) | raylib::Color | inline |
| DrawRectangle(::Rectangle rec) const (defined in raylib::Color) | raylib::Color | inline |
| DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) const (defined in raylib::Color) | raylib::Color | inline |
| DrawRectangleLines(int posX, int posY, int width, int height) const (defined in raylib::Color) | raylib::Color | inline |
| DrawRectangleLines(::Rectangle rec, float lineThick) const (defined in raylib::Color) | raylib::Color | inline |
| DrawText(const std::string &text, int posX=0, int posY=0, int fontSize=10.0f) const (defined in raylib::Color) | raylib::Color | inline |
| DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing) const (defined in raylib::Color) | raylib::Color | inline |
| DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing) const (defined in raylib::Color) | raylib::Color | inline |
| Fade(float alpha) const | raylib::Color | inline |
| FromHSV(float hue, float saturation, float value) | raylib::Color | inlinestatic |
| GetA() const | raylib::Color | inline |
| GetB() const | raylib::Color | inline |
| GetG() const | raylib::Color | inline |
| GetR() const | raylib::Color | inline |
| Gold() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Gray() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Green() (defined in raylib::Color) | raylib::Color | inlinestatic |
| LightGray() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Lime() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Magenta() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Maroon() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Normalize() const | raylib::Color | inline |
| operator int() const | raylib::Color | inline |
| operator=(const ::Color &color) (defined in raylib::Color) | raylib::Color | inline |
| Orange() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Pink() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Purple() (defined in raylib::Color) | raylib::Color | inlinestatic |
| RayWhite() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Red() (defined in raylib::Color) | raylib::Color | inlinestatic |
| SetA(unsigned char value) | raylib::Color | inline |
| SetB(unsigned char value) | raylib::Color | inline |
| SetG(unsigned char value) | raylib::Color | inline |
| SetR(unsigned char value) | raylib::Color | inline |
| SkyBlue() (defined in raylib::Color) | raylib::Color | inlinestatic |
| ToHSV() const | raylib::Color | inline |
| ToInt() const | raylib::Color | inline |
| Violet() (defined in raylib::Color) | raylib::Color | inlinestatic |
| White() (defined in raylib::Color) | raylib::Color | inlinestatic |
| Yellow() (defined in raylib::Color) | raylib::Color | inlinestatic |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Color type, RGBA (32bit) - More...
--Public Member Functions | |
| - | Color () |
| Black. | |
| - | Color (::Vector3 hsv) |
| Returns a Color from HSV values. | |
| - | Color (::Vector4 normalized) |
| Returns Color from normalized values [0..1]. | |
| - | Color (const ::Color &color) |
| - | Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255) |
| - | Color (unsigned int hexValue) |
| Get Color structure from hexadecimal value. | |
| - | Color (void *srcPtr, int format) |
| -Color | Alpha (float alpha) const |
| Returns color with alpha applied, alpha goes from 0.0f to 1.0f. | |
| -Color | AlphaBlend (::Color dst, ::Color tint) const |
| Returns src alpha-blended into dst color with tint. | |
| -Color & | ClearBackground () |
| Set background color (framebuffer clear color) | |
| -void | DrawLine (::Vector2 startPos, ::Vector2 endPos) const |
| Draw a line using Vector points. | |
| -void | DrawLine (::Vector2 startPos, ::Vector2 endPos, float thick) const |
| Draw a line using Vector points, with a given thickness. | |
| -void | DrawLine (int startPosX, int startPosY, int endPosX, int endPosY) const |
| Draw a line. | |
| -void | DrawLineBezier (::Vector2 startPos, ::Vector2 endPos, float thick=1.0f) const |
| -void | DrawLineStrip (::Vector2 *points, int numPoints) const |
| -void | DrawPixel (::Vector2 pos) const |
| Draw a pixel. | |
| -void | DrawPixel (int x, int y) const |
| -void | DrawRectangle (::Rectangle rec) const |
| -void | DrawRectangle (::Rectangle rec, ::Vector2 origin, float rotation) const |
| -void | DrawRectangle (::Vector2 position, ::Vector2 size) const |
| -void | DrawRectangle (int posX, int posY, int width, int height) const |
| -void | DrawRectangleLines (::Rectangle rec, float lineThick) const |
| -void | DrawRectangleLines (int posX, int posY, int width, int height) const |
| -void | DrawText (const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing) const |
| -void | DrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing) const |
| -void | DrawText (const std::string &text, int posX=0, int posY=0, int fontSize=10.0f) const |
| -Color | Fade (float alpha) const |
| Returns color with alpha applied, alpha goes from 0.0f to 1.0f. | |
| unsigned char | GetA () const |
| Retrieves the a value for the object. More... | |
| unsigned char | GetB () const |
| Retrieves the b value for the object. More... | |
| unsigned char | GetG () const |
| Retrieves the g value for the object. More... | |
| unsigned char | GetR () const |
| Retrieves the r value for the object. More... | |
| -Vector4 | Normalize () const |
| Returns Color normalized as float [0..1]. | |
| - | operator int () const |
| Returns hexadecimal value for a Color. | |
| -Color & | operator= (const ::Color &color) |
| void | SetA (unsigned char value) |
| Sets the a value for the object. More... | |
| void | SetB (unsigned char value) |
| Sets the b value for the object. More... | |
| void | SetG (unsigned char value) |
| Sets the g value for the object. More... | |
| void | SetR (unsigned char value) |
| Sets the r value for the object. More... | |
| -Vector3 | ToHSV () const |
| Returns HSV values for a Color. | |
| -int | ToInt () const |
| Returns hexadecimal value for a Color. | |
-Static Public Member Functions | |
| -static Color | Beige () |
| -static Color | Black () |
| -static Color | Blank () |
| -static Color | Blue () |
| -static Color | Brown () |
| -static Color | DarkBlue () |
| -static Color | DarkBrown () |
| -static Color | DarkGray () |
| -static Color | DarkGreen () |
| -static Color | DarkPurple () |
| -::Color | FromHSV (float hue, float saturation, float value) |
| Returns a Color from HSV values. | |
| -static Color | Gold () |
| -static Color | Gray () |
| -static Color | Green () |
| -static Color | LightGray () |
| -static Color | Lime () |
| -static Color | Magenta () |
| -static Color | Maroon () |
| -static Color | Orange () |
| -static Color | Pink () |
| -static Color | Purple () |
| -static Color | RayWhite () |
| -static Color | Red () |
| -static Color | SkyBlue () |
| -static Color | Violet () |
| -static Color | White () |
| -static Color | Yellow () |
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::DroppedFiles, including all inherited members.
-| at(int pos) const | raylib::DroppedFiles | inline |
| back() const | raylib::DroppedFiles | inline |
| clear() | raylib::DroppedFiles | inline |
| Clear() | raylib::DroppedFiles | inline |
| Count() const | raylib::DroppedFiles | inline |
| DroppedFiles() | raylib::DroppedFiles | inline |
| empty() const | raylib::DroppedFiles | inline |
| front() const | raylib::DroppedFiles | inline |
| Get() | raylib::DroppedFiles | inline |
| IsFileDropped() const | raylib::DroppedFiles | inline |
| m_count | raylib::DroppedFiles | protected |
| m_files | raylib::DroppedFiles | protected |
| operator[](int pos) | raylib::DroppedFiles | inline |
| size() const | raylib::DroppedFiles | inline |
| ~DroppedFiles() | raylib::DroppedFiles | inline |
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_dropped_files.html b/docs/classraylib_1_1_dropped_files.html
deleted file mode 100644
index 59cba3f9..00000000
--- a/docs/classraylib_1_1_dropped_files.html
+++ /dev/null
@@ -1,574 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| DroppedFiles () | |
| ~DroppedFiles () | |
| std::string | at (int pos) const |
| std::string | back () const |
| DroppedFiles & | Clear () |
| Clear dropped files paths buffer. More... | |
| void | clear () |
| int | Count () const |
| bool | empty () const |
| std::string | front () const |
| DroppedFiles & | Get () |
| Get the dropped files names. More... | |
| bool | IsFileDropped () const |
| Check if a file has been dropped into window. More... | |
| std::string | operator[] (int pos) |
| int | size () const |
-Protected Attributes | |
| int | m_count |
| char ** | m_files |
Definition at line 36 of file DroppedFiles.hpp.
-
-
|
- -inline | -
Definition at line 38 of file DroppedFiles.hpp.
- -References Get().
- -
-
|
- -inline | -
Definition at line 67 of file DroppedFiles.hpp.
- -References Clear().
- -
-
|
- -inline | -
Definition at line 99 of file DroppedFiles.hpp.
- -References m_files.
- -Referenced by back(), front(), and operator[]().
- -
-
|
- -inline | -
Definition at line 95 of file DroppedFiles.hpp.
- - - -
-
|
- -inline | -
Clear dropped files paths buffer.
- -Definition at line 60 of file DroppedFiles.hpp.
- -References m_count, and m_files.
- -Referenced by clear(), and ~DroppedFiles().
- -
-
|
- -inline | -
Definition at line 87 of file DroppedFiles.hpp.
- -References Clear().
- -
-
|
- -inline | -
Definition at line 75 of file DroppedFiles.hpp.
- -References m_count.
- -
-
|
- -inline | -
Definition at line 83 of file DroppedFiles.hpp.
- -References m_count.
- -
-
|
- -inline | -
Definition at line 91 of file DroppedFiles.hpp.
- -References at().
- -
-
|
- -inline | -
Get the dropped files names.
- -Definition at line 45 of file DroppedFiles.hpp.
- -References raylib::GetDroppedFiles(), m_count, and m_files.
- -Referenced by DroppedFiles().
- -
-
|
- -inline | -
Check if a file has been dropped into window.
- -Definition at line 53 of file DroppedFiles.hpp.
- -
-
|
- -inline | -
Definition at line 71 of file DroppedFiles.hpp.
- -References at().
- -
-
|
- -inline | -
Definition at line 79 of file DroppedFiles.hpp.
- -References m_count.
- -
-
|
- -protected | -
-
|
- -protected | -
Definition at line 108 of file DroppedFiles.hpp.
- - - -
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_font-members.html b/docs/classraylib_1_1_font-members.html
deleted file mode 100644
index d94befd9..00000000
--- a/docs/classraylib_1_1_font-members.html
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Font, including all inherited members.
-| DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) const | raylib::Font | inline |
| DrawText(const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) const | raylib::Font | inline |
| DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) const (defined in raylib::Font) | raylib::Font | inline |
| DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) const | raylib::Font | inline |
| DrawText(const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) const | raylib::Font | inline |
| Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr) (defined in raylib::Font) | raylib::Font | inline |
| Font() | raylib::Font | inline |
| Font(const ::Font &font) (defined in raylib::Font) | raylib::Font | inline |
| Font(const std::string &fileName) | raylib::Font | inline |
| Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0) | raylib::Font | inline |
| Font(const ::Image &image, ::Color key, int firstChar) | raylib::Font | inline |
| Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) | raylib::Font | inline |
| Font(const Font &)=delete (defined in raylib::Font) | raylib::Font | |
| Font(Font &&other) (defined in raylib::Font) | raylib::Font | inline |
| GetBaseSize() const | raylib::Font | inline |
| GetGlyphCount() const | raylib::Font | inline |
| GetGlyphIndex(int character) const | raylib::Font | inline |
| GetGlyphPadding() const | raylib::Font | inline |
| GetGlyphs() const | raylib::Font | inline |
| GetRecs() const | raylib::Font | inline |
| GetTexture() | raylib::Font | inline |
| ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) const | raylib::Font | inline |
| IsReady() | raylib::Font | inline |
| Load(const std::string &fileName) | raylib::Font | inline |
| Load(const std::string &fileName, int fontSize, int *fontChars, int charCount) | raylib::Font | inline |
| Load(const ::Image &image, ::Color key, int firstChar) (defined in raylib::Font) | raylib::Font | inline |
| Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) (defined in raylib::Font) | raylib::Font | inline |
| MeasureText(const std::string &text, float fontSize, float spacing) const | raylib::Font | inline |
| operator=(const ::Font &font) (defined in raylib::Font) | raylib::Font | inline |
| operator=(const Font &)=delete (defined in raylib::Font) | raylib::Font | |
| operator=(Font &&other) noexcept (defined in raylib::Font) | raylib::Font | inline |
| SetBaseSize(int value) | raylib::Font | inline |
| SetGlyphCount(int value) | raylib::Font | inline |
| SetGlyphPadding(int value) | raylib::Font | inline |
| SetGlyphs(::GlyphInfo *value) | raylib::Font | inline |
| SetRecs(::Rectangle *value) | raylib::Font | inline |
| SetTexture(const ::Texture &newTexture) | raylib::Font | inline |
| Unload() (defined in raylib::Font) | raylib::Font | inline |
| ~Font() (defined in raylib::Font) | raylib::Font | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Font type, includes texture and charSet array data. - More...
--Public Member Functions | |
| - | Font () |
| Retrieves the default Font. | |
| - | Font (const ::Font &font) |
| Font (const ::Image &image, ::Color key, int firstChar) | |
| Loads a Font from the given image with a color key. More... | |
| - | Font (const Font &)=delete |
| Font (const std::string &fileName) | |
| Loads a Font from the given file. More... | |
| Font (const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0) | |
| Loads a Font from the given file, with generation parameters. More... | |
| Font (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) | |
| Loads a font from memory, based on the given file type and file data. More... | |
| - | Font (Font &&other) |
| - | Font (int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr) |
| -void | DrawText (const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) const |
| Draw multiple character (codepoint) | |
| -void | DrawText (const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) const |
| -void | DrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) const |
| Draw text using font and additional parameters. | |
| -void | DrawText (const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) const |
| Draw text using font and additional parameters. | |
| -void | DrawText (int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) const |
| Draw one character (codepoint) | |
| int | GetBaseSize () const |
| Retrieves the baseSize value for the object. More... | |
| int | GetGlyphCount () const |
| Retrieves the glyphCount value for the object. More... | |
| -int | GetGlyphIndex (int character) const |
| Get index position for a unicode character on font. | |
| int | GetGlyphPadding () const |
| Retrieves the glyphPadding value for the object. More... | |
| ::GlyphInfo * | GetGlyphs () const |
| Retrieves the glyphs value for the object. More... | |
| ::Rectangle * | GetRecs () const |
| Retrieves the recs value for the object. More... | |
| -TextureUnmanaged | GetTexture () |
| Get the texture atlas containing the glyphs. | |
| -inline ::Image | ImageText (const std::string &text, float fontSize, float spacing, ::Color tint) const |
| Create an image from text (custom sprite font) | |
| -bool | IsReady () |
| Returns if the font is ready to be used. | |
| -void | Load (const ::Image &image, ::Color key, int firstChar) |
| void | Load (const std::string &fileName) |
| Loads a font from a given file. More... | |
| void | Load (const std::string &fileName, int fontSize, int *fontChars, int charCount) |
| Loads a font from a given file with generation parameters. More... | |
| -void | Load (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) |
| -Vector2 | MeasureText (const std::string &text, float fontSize, float spacing) const |
| Measure string size for Font. | |
| -Font & | operator= (const ::Font &font) |
| -Font & | operator= (const Font &)=delete |
| -Font & | operator= (Font &&other) noexcept |
| void | SetBaseSize (int value) |
| Sets the baseSize value for the object. More... | |
| void | SetGlyphCount (int value) |
| Sets the glyphCount value for the object. More... | |
| void | SetGlyphPadding (int value) |
| Sets the glyphPadding value for the object. More... | |
| void | SetGlyphs (::GlyphInfo *value) |
| Sets the glyphs value for the object. More... | |
| void | SetRecs (::Rectangle *value) |
| Sets the recs value for the object. More... | |
| -void | SetTexture (const ::Texture &newTexture) |
| Set the texture atlas containing the glyphs. | |
| -void | Unload () |
-
|
- -inline | -
Loads a Font from the given file.
-| fileName | The file name of the font to load. |
| raylib::RaylibException | Throws if the given font failed to initialize. |
Definition at line 44 of file Font.hpp.
- -References Load().
- -
-
|
- -inline | -
Loads a Font from the given file, with generation parameters.
-| fileName | The file name of the font to load. |
| raylib::RaylibException | Throws if the given font failed to initialize. |
Definition at line 57 of file Font.hpp.
- -References Load().
- -
-
|
- -inline | -
Loads a Font from the given image with a color key.
-| image | The image to load the fond from. |
| raylib::RaylibException | Throws if the given font failed to initialize. |
Definition at line 70 of file Font.hpp.
- -References Load().
- -
-
|
- -inline | -
Loads a font from memory, based on the given file type and file data.
-| raylib::RaylibException | Throws if the given font failed to initialize. |
Definition at line 81 of file Font.hpp.
- -References Load().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
Loads a font from a given file.
-| fileName | The filename of the font to load. |
| raylib::RaylibException | Throws if the given font failed to initialize. |
Definition at line 166 of file Font.hpp.
- -References IsReady(), and raylib::LoadFont().
- -Referenced by Font().
- -
-
|
- -inline | -
Loads a font from a given file with generation parameters.
-| fileName | The filename of the font to load. |
| fontSize | The desired size of the font. |
| raylib::RaylibException | Throws if the given font failed to initialize. |
Definition at line 183 of file Font.hpp.
- -References IsReady(), and raylib::LoadFontEx().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Gamepad, including all inherited members.
-| Gamepad(int gamepadNumber=0) (defined in raylib::Gamepad) | raylib::Gamepad | inline |
| GetAxisCount() const | raylib::Gamepad | inline |
| GetAxisMovement(int axis) const | raylib::Gamepad | inline |
| GetButtonPressed() const | raylib::Gamepad | inline |
| GetName() const | raylib::Gamepad | inline |
| GetNumber() const | raylib::Gamepad | inline |
| IsAvailable() const | raylib::Gamepad | inline |
| IsAvailable(int number) | raylib::Gamepad | inlinestatic |
| IsButtonDown(int button) const | raylib::Gamepad | inline |
| IsButtonPressed(int button) const | raylib::Gamepad | inline |
| IsButtonReleased(int button) const | raylib::Gamepad | inline |
| IsButtonUp(int button) const | raylib::Gamepad | inline |
| number (defined in raylib::Gamepad) | raylib::Gamepad | |
| operator int() const (defined in raylib::Gamepad) | raylib::Gamepad | inline |
| operator std::string() const | raylib::Gamepad | inline |
| operator=(const Gamepad &gamepad) (defined in raylib::Gamepad) | raylib::Gamepad | inline |
| operator=(int gamepadNumber) (defined in raylib::Gamepad) | raylib::Gamepad | inline |
| SetMappings(const std::string &mappings) (defined in raylib::Gamepad) | raylib::Gamepad | inline |
| SetNumber(int value) | raylib::Gamepad | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Input-related functions: gamepads. - More...
--Public Member Functions | |
| - | Gamepad (int gamepadNumber=0) |
| -int | GetAxisCount () const |
| Return gamepad axis count for a gamepad. | |
| -float | GetAxisMovement (int axis) const |
| Return axis movement value for a gamepad axis. | |
| -int | GetButtonPressed () const |
| Get the last gamepad button pressed. | |
| -std::string | GetName () const |
| Return gamepad internal name id. | |
| int | GetNumber () const |
| Retrieves the number value for the object. More... | |
| -bool | IsAvailable () const |
| Detect if a gamepad is available. | |
| -bool | IsButtonDown (int button) const |
| Detect if a gamepad button is being pressed. | |
| -bool | IsButtonPressed (int button) const |
| Detect if a gamepad button has been pressed once. | |
| -bool | IsButtonReleased (int button) const |
| Detect if a gamepad button has been released once. | |
| -bool | IsButtonUp (int button) const |
| Detect if a gamepad button is NOT being pressed. | |
| - | operator int () const |
| - | operator std::string () const |
| Return gamepad internal name id. | |
| -Gamepad & | operator= (const Gamepad &gamepad) |
| -Gamepad & | operator= (int gamepadNumber) |
| -int | SetMappings (const std::string &mappings) |
| void | SetNumber (int value) |
| Sets the number value for the object. More... | |
-Static Public Member Functions | |
| -static bool | IsAvailable (int number) |
| Detect if a gamepad is available. | |
-Public Attributes | |
| -int | number |
Input-related functions: gamepads.
- -Definition at line 13 of file Gamepad.hpp.
-
-
|
- -inline | -
Retrieves the number value for the object.
-Definition at line 20 of file Gamepad.hpp.
- -
-
|
- -inline | -
Sets the number value for the object.
-| value | The value of which to set number to. |
Definition at line 20 of file Gamepad.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Image, including all inherited members.
-| AlphaClear(::Color color, float threshold) | raylib::Image | inline |
| AlphaCrop(float threshold) | raylib::Image | inline |
| AlphaMask(const ::Image &alphaMask) | raylib::Image | inline |
| AlphaPremultiply() | raylib::Image | inline |
| Cellular(int width, int height, int tileSize) | raylib::Image | inlinestatic |
| Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255}) | raylib::Image | inlinestatic |
| ClearBackground(::Color color={0, 0, 0, 255}) | raylib::Image | inline |
| Color(int width, int height, ::Color color={255, 255, 255, 255}) | raylib::Image | inlinestatic |
| ColorBrightness(int brightness) | raylib::Image | inline |
| ColorContrast(float contrast) | raylib::Image | inline |
| ColorGrayscale() | raylib::Image | inline |
| ColorInvert() | raylib::Image | inline |
| ColorReplace(::Color color, ::Color replace) | raylib::Image | inline |
| ColorTint(::Color color={255, 255, 255, 255}) | raylib::Image | inline |
| Copy() const | raylib::Image | inline |
| Crop(::Rectangle crop) | raylib::Image | inline |
| Crop(int newWidth, int newHeight) | raylib::Image | inline |
| Crop(::Vector2 size) | raylib::Image | inline |
| Crop(int offsetX, int offsetY, int newWidth, int newHeight) | raylib::Image | inline |
| Dither(int rBpp, int gBpp, int bBpp, int aBpp) | raylib::Image | inline |
| Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255}) | raylib::Image | inline |
| DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| Export(const std::string &fileName) const | raylib::Image | inline |
| ExportAsCode(const std::string &fileName) const | raylib::Image | inline |
| FlipHorizontal() | raylib::Image | inline |
| FlipVertical() | raylib::Image | inline |
| Format(int newFormat) | raylib::Image | inline |
| FromImage(::Rectangle rec) const | raylib::Image | inline |
| GetAlphaBorder(float threshold) const | raylib::Image | inline |
| GetColor(int x=0, int y=0) const | raylib::Image | inline |
| GetColor(::Vector2 position) const | raylib::Image | inline |
| GetData() const | raylib::Image | inline |
| GetFormat() const | raylib::Image | inline |
| GetHeight() const | raylib::Image | inline |
| GetMipmaps() const | raylib::Image | inline |
| GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) | raylib::Image | inlinestatic |
| GetPixelDataSize() const | raylib::Image | inline |
| GetSize() const | raylib::Image | inline |
| GetWidth() const | raylib::Image | inline |
| GradientH(int width, int height, ::Color left, ::Color right) | raylib::Image | inlinestatic |
| GradientRadial(int width, int height, float density, ::Color inner, ::Color outer) | raylib::Image | inlinestatic |
| GradientV(int width, int height, ::Color top, ::Color bottom) | raylib::Image | inlinestatic |
| Image(void *data=nullptr, int width=0, int height=0, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) (defined in raylib::Image) | raylib::Image | inline |
| Image(const ::Image &image) (defined in raylib::Image) | raylib::Image | inline |
| Image(const std::string &fileName) | raylib::Image | inline |
| Image(const std::string &fileName, int width, int height, int format, int headerSize=0) | raylib::Image | inline |
| Image(const std::string &fileName, int *frames) | raylib::Image | inline |
| Image(const std::string &fileType, const unsigned char *fileData, int dataSize) | raylib::Image | inline |
| Image(const ::Texture2D &texture) | raylib::Image | inline |
| Image(int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inline |
| Image(const Image &other) (defined in raylib::Image) | raylib::Image | inline |
| Image(Image &&other) (defined in raylib::Image) | raylib::Image | inline |
| IsReady() const | raylib::Image | inline |
| Load(const std::string &fileName) | raylib::Image | inline |
| Load(const std::string &fileName, int width, int height, int format, int headerSize) | raylib::Image | inline |
| Load(const std::string &fileName, int *frames) | raylib::Image | inline |
| Load(const std::string &fileType, const unsigned char *fileData, int dataSize) | raylib::Image | inline |
| Load(const ::Texture2D &texture) | raylib::Image | inline |
| LoadColors() const | raylib::Image | inline |
| LoadFromScreen() | raylib::Image | inlinestatic |
| LoadPalette(int maxPaletteSize, int *colorsCount) const | raylib::Image | inline |
| LoadTexture() const | raylib::Image | inline |
| Mipmaps() | raylib::Image | inline |
| operator::Texture2D() | raylib::Image | inline |
| operator=(const ::Image &image) (defined in raylib::Image) | raylib::Image | inline |
| operator=(const Image &other) (defined in raylib::Image) | raylib::Image | inline |
| operator=(Image &&other) noexcept (defined in raylib::Image) | raylib::Image | inline |
| Resize(int newWidth, int newHeight) | raylib::Image | inline |
| ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255}) | raylib::Image | inline |
| ResizeNN(int newWidth, int newHeight) | raylib::Image | inline |
| RotateCCW() | raylib::Image | inline |
| RotateCW() | raylib::Image | inline |
| SetData(void *value) | raylib::Image | inline |
| SetFormat(int value) | raylib::Image | inline |
| SetHeight(int value) | raylib::Image | inline |
| SetMipmaps(int value) | raylib::Image | inline |
| SetWidth(int value) | raylib::Image | inline |
| Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inlinestatic |
| Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image) | raylib::Image | inlinestatic |
| ToPOT(::Color fillColor) | raylib::Image | inline |
| Unload() | raylib::Image | inline |
| UnloadColors(::Color *colors) const | raylib::Image | inline |
| UnloadPalette(::Color *colors) const | raylib::Image | inline |
| WhiteNoise(int width, int height, float factor) | raylib::Image | inlinestatic |
| ~Image() (defined in raylib::Image) | raylib::Image | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Image type, bpp always RGBA (32bit) - More...
--Public Member Functions | |
| - | Image (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) |
| - | Image (const ::Image &image) |
| Image (const ::Texture2D &texture) | |
| Load an image from the given file. More... | |
| - | Image (const Image &other) |
| Image (const std::string &fileName) | |
| Load an image from the given file. More... | |
| Image (const std::string &fileName, int *frames) | |
| Load an animation image from the given file. More... | |
| Image (const std::string &fileName, int width, int height, int format, int headerSize=0) | |
| Load a raw image from the given file, with the provided width, height, and formats. More... | |
| Image (const std::string &fileType, const unsigned char *fileData, int dataSize) | |
| Load an image from the given file. More... | |
| - | Image (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) |
| - | Image (Image &&other) |
| - | Image (int width, int height, ::Color color={255, 255, 255, 255}) |
| - | Image (void *data=nullptr, int width=0, int height=0, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) |
| -Image & | AlphaClear (::Color color, float threshold) |
| Clear alpha channel to desired color. | |
| -Image & | AlphaCrop (float threshold) |
| Crop image depending on alpha value. | |
| -Image & | AlphaMask (const ::Image &alphaMask) |
| Apply alpha mask to image. | |
| -Image & | AlphaPremultiply () |
| Premultiply alpha channel. | |
| -Image & | ClearBackground (::Color color={0, 0, 0, 255}) |
| Clear image background with given color. | |
| Image & | ColorBrightness (int brightness) |
| Modify image color: brightness. More... | |
| Image & | ColorContrast (float contrast) |
| Modify image color: contrast. More... | |
| -Image & | ColorGrayscale () |
| Modify image color: grayscale. | |
| -Image & | ColorInvert () |
| Modify image color: invert. | |
| -Image & | ColorReplace (::Color color, ::Color replace) |
| Modify image color: replace color. | |
| -Image & | ColorTint (::Color color={255, 255, 255, 255}) |
| Modify image color: tint. | |
| -inline ::Image | Copy () const |
| Create an image duplicate (useful for transformations) | |
| -Image & | Crop (::Rectangle crop) |
| Crop an image to area defined by a rectangle. | |
| -Image & | Crop (::Vector2 size) |
| Crop an image to a new given width and height based on a vector. | |
| -Image & | Crop (int newWidth, int newHeight) |
| Crop an image to a new given width and height. | |
| -Image & | Crop (int offsetX, int offsetY, int newWidth, int newHeight) |
| Crop an image to area defined by a rectangle. | |
| -Image & | Dither (int rBpp, int gBpp, int bBpp, int aBpp) |
| Dither image data to 16bpp or lower (Floyd-Steinberg dithering) | |
| -void | Draw (const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255}) |
| -void | DrawCircle (::Vector2 center, int radius, ::Color color={255, 255, 255, 255}) |
| -void | DrawCircle (int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255}) |
| -void | DrawLine (::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255}) |
| -void | DrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255}) |
| -void | DrawPixel (::Vector2 position, ::Color color={255, 255, 255, 255}) |
| -void | DrawPixel (int posX, int posY, ::Color color={255, 255, 255, 255}) |
| Draw pixel within an image. | |
| -void | DrawRectangle (::Rectangle rec, ::Color color={255, 255, 255, 255}) |
| -void | DrawRectangle (int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255}) |
| -void | DrawRectangle (Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255}) |
| -void | DrawRectangleLines (::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255}) |
| -void | DrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) |
| -void | DrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) |
| -void | DrawText (const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) |
| void | Export (const std::string &fileName) const |
| Export image data to file, returns true on success. More... | |
| void | ExportAsCode (const std::string &fileName) const |
| Export image as code file defining an array of bytes, returns true on success. More... | |
| -Image & | FlipHorizontal () |
| Flip image horizontally. | |
| -Image & | FlipVertical () |
| Flip image vertically. | |
| -Image & | Format (int newFormat) |
| Convert image data to desired format. | |
| -inline ::Image | FromImage (::Rectangle rec) const |
| Create an image from another image piece. | |
| Rectangle | GetAlphaBorder (float threshold) const |
| Get image alpha border rectangle. More... | |
| -raylib::Color | GetColor (::Vector2 position) const |
| Get image pixel color at vector position. | |
| -raylib::Color | GetColor (int x=0, int y=0) const |
| Get image pixel color at (x, y) position. | |
| void * | GetData () const |
| Retrieves the data value for the object. More... | |
| int | GetFormat () const |
| Retrieves the format value for the object. More... | |
| int | GetHeight () const |
| Retrieves the height value for the object. More... | |
| int | GetMipmaps () const |
| Retrieves the mipmaps value for the object. More... | |
| int | GetPixelDataSize () const |
| Returns the pixel data size based on the current image. More... | |
| -inline ::Vector2 | GetSize () const |
| Retrieve the width and height of the image. | |
| int | GetWidth () const |
| Retrieves the width value for the object. More... | |
| bool | IsReady () const |
| Retrieve whether or not the Image has been loaded. More... | |
| void | Load (const ::Texture2D &texture) |
| Load an image from the given file. More... | |
| void | Load (const std::string &fileName) |
| Load image from file into CPU memory (RAM) More... | |
| void | Load (const std::string &fileName, int *frames) |
| Load image sequence from file (frames appended to image.data). More... | |
| void | Load (const std::string &fileName, int width, int height, int format, int headerSize) |
| Load image from RAW file data. More... | |
| void | Load (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| Load image from memory buffer, fileType refers to extension: i.e. More... | |
| -inline ::Color * | LoadColors () const |
| Load color data from image as a Color array (RGBA - 32bit) | |
| -inline ::Color * | LoadPalette (int maxPaletteSize, int *colorsCount) const |
| Load colors palette from image as a Color array (RGBA - 32bit) | |
| -inline ::Texture2D | LoadTexture () const |
| Load texture from image data. | |
| -Image & | Mipmaps () |
| Generate all mipmap levels for a provided image. | |
| operator::Texture2D () | |
| Loads a texture from the image data. More... | |
| -Image & | operator= (const ::Image &image) |
| -Image & | operator= (const Image &other) |
| -Image & | operator= (Image &&other) noexcept |
| -Image & | Resize (int newWidth, int newHeight) |
| Resize and image to new size. | |
| -Image & | ResizeCanvas (int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255}) |
| Resize canvas and fill with color. | |
| -Image & | ResizeNN (int newWidth, int newHeight) |
| Resize and image to new size using Nearest-Neighbor scaling algorithm. | |
| -Image & | RotateCCW () |
| Rotate image counter-clockwise 90deg. | |
| -Image & | RotateCW () |
| Rotate image clockwise 90deg. | |
| void | SetData (void *value) |
| Sets the data value for the object. More... | |
| void | SetFormat (int value) |
| Sets the format value for the object. More... | |
| void | SetHeight (int value) |
| Sets the height value for the object. More... | |
| void | SetMipmaps (int value) |
| Sets the mipmaps value for the object. More... | |
| void | SetWidth (int value) |
| Sets the width value for the object. More... | |
| -Image & | ToPOT (::Color fillColor) |
| Convert image to POT (power-of-two) | |
| -void | Unload () |
| Unload image from CPU memory (RAM) | |
| -void | UnloadColors (::Color *colors) const |
| Unload color data loaded with LoadImageColors() | |
| -void | UnloadPalette (::Color *colors) const |
| Unload colors palette loaded with LoadImagePalette() | |
-Static Public Member Functions | |
| ::Image | Cellular (int width, int height, int tileSize) |
| Generate image: cellular algorithm. More... | |
| -::Image | Checked (int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255}) |
| Generate image: checked. | |
| -::Image | Color (int width, int height, ::Color color={255, 255, 255, 255}) |
| Generate image: plain color. | |
| -static int | GetPixelDataSize (int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) |
| Get pixel data size in bytes for certain format. | |
| -::Image | GradientH (int width, int height, ::Color left, ::Color right) |
| Generate image: horizontal gradient. | |
| -::Image | GradientRadial (int width, int height, float density, ::Color inner, ::Color outer) |
| Generate image: radial gradient. | |
| -::Image | GradientV (int width, int height, ::Color top, ::Color bottom) |
| Generate image: vertical gradient. | |
| -::Image | LoadFromScreen () |
| Get pixel data from screen buffer and return an Image (screenshot) | |
| -::Image | Text (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) |
| -::Image | Text (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) |
| -::Image | WhiteNoise (int width, int height, float factor) |
| Generate image: white noise. | |
Image type, bpp always RGBA (32bit)
-Data stored in CPU memory (RAM)
- - -
-
|
- -inline | -
Load an image from the given file.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 38 of file Image.hpp.
- -References Load().
- -
-
|
- -inline | -
Load a raw image from the given file, with the provided width, height, and formats.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 49 of file Image.hpp.
- -References Load().
- -
-
|
- -inline | -
Load an animation image from the given file.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 60 of file Image.hpp.
- -References Load().
- -
-
|
- -inline | -
Load an image from the given file.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 69 of file Image.hpp.
- -References Load().
- -
-
|
- -inline | -
Load an image from the given file.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 78 of file Image.hpp.
- -References Load().
- -
-
|
- -inlinestatic | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
Export image data to file, returns true on success.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 302 of file Image.hpp.
- -References raylib::ExportImage().
- -
-
|
- -inline | -
Export image as code file defining an array of bytes, returns true on success.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 313 of file Image.hpp.
- -References raylib::ExportImageAsCode().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
Load an image from the given file.
-| raylib::RaylibException | Thrown if the image animation to load from the file. |
Definition at line 280 of file Image.hpp.
- -References IsReady().
- -
-
|
- -inline | -
Load image from file into CPU memory (RAM)
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 221 of file Image.hpp.
- -References IsReady(), and raylib::LoadImage().
- -Referenced by Image().
- -
-
|
- -inline | -
Load image sequence from file (frames appended to image.data).
-| raylib::RaylibException | Thrown if the image animation to load from the file. |
Definition at line 249 of file Image.hpp.
- -References IsReady(), and raylib::LoadImageAnim().
- -
-
|
- -inline | -
Load image from RAW file data.
-| raylib::RaylibException | Thrown if the image failed to load from the file. |
Definition at line 235 of file Image.hpp.
- -References IsReady(), and raylib::LoadImageRaw().
- -
-
|
- -inline | -
Load image from memory buffer, fileType refers to extension: i.e.
-"png".
-| raylib::RaylibException | Thrown if the image animation to load from the file. |
Definition at line 263 of file Image.hpp.
- -References IsReady(), and raylib::LoadImageFromMemory().
- -
-
|
- -inline | -
Loads a texture from the image data.
-Definition at line 700 of file Image.hpp.
- -References LoadTexture().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Material, including all inherited members.
-| DrawMesh(const ::Mesh &mesh, ::Matrix transform) const | raylib::Material | inline |
| DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const | raylib::Material | inline |
| GetMaps() const | raylib::Material | inline |
| GetShader() const | raylib::Material | inline |
| Load(const std::string &fileName) | raylib::Material | inlinestatic |
| Material(const ::Material &material) (defined in raylib::Material) | raylib::Material | inline |
| Material() | raylib::Material | inline |
| Material(const Material &)=delete (defined in raylib::Material) | raylib::Material | |
| Material(Material &&other) (defined in raylib::Material) | raylib::Material | inline |
| operator=(const ::Material &material) (defined in raylib::Material) | raylib::Material | inline |
| operator=(const Material &)=delete (defined in raylib::Material) | raylib::Material | |
| operator=(Material &&other) noexcept (defined in raylib::Material) | raylib::Material | inline |
| SetMaps(::MaterialMap *value) | raylib::Material | inline |
| SetShader(::Shader value) | raylib::Material | inline |
| SetTexture(int mapType, const ::Texture2D &texture) | raylib::Material | inline |
| Unload() | raylib::Material | inline |
| ~Material() (defined in raylib::Material) | raylib::Material | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Material type (generic) - More...
--Public Member Functions | |
| - | Material () |
| Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) | |
| - | Material (const ::Material &material) |
| - | Material (const Material &)=delete |
| - | Material (Material &&other) |
| -void | DrawMesh (const ::Mesh &mesh, ::Matrix *transforms, int instances) const |
| Draw multiple mesh instances with material and different transforms. | |
| -void | DrawMesh (const ::Mesh &mesh, ::Matrix transform) const |
| Draw a 3d mesh with material and transform. | |
| ::MaterialMap * | GetMaps () const |
| Retrieves the maps value for the object. More... | |
| ::Shader | GetShader () const |
| Retrieves the shader value for the object. More... | |
| -Material & | operator= (const ::Material &material) |
| -Material & | operator= (const Material &)=delete |
| -Material & | operator= (Material &&other) noexcept |
| void | SetMaps (::MaterialMap *value) |
| Sets the maps value for the object. More... | |
| void | SetShader (::Shader value) |
| Sets the shader value for the object. More... | |
| -Material & | SetTexture (int mapType, const ::Texture2D &texture) |
| Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) | |
| -void | Unload () |
| Unload material from memory. | |
-Static Public Member Functions | |
| -static std::vector< Material > | Load (const std::string &fileName) |
| Load materials from model file. | |
Material type (generic)
- -Definition at line 14 of file Material.hpp.
-
-
|
- -inline | -
Retrieves the maps value for the object.
-Definition at line 55 of file Material.hpp.
- -
-
|
- -inline | -
Retrieves the shader value for the object.
-Definition at line 54 of file Material.hpp.
- -
-
|
- -inline | -
Sets the maps value for the object.
-| value | The value of which to set maps to. |
Definition at line 55 of file Material.hpp.
- -
-
|
- -inline | -
Sets the shader value for the object.
-| value | The value of which to set shader to. |
Definition at line 54 of file Material.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Matrix, including all inherited members.
-| Add(const ::Matrix &right) (defined in raylib::Matrix) | raylib::Matrix | inline |
| Frustum(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| GetCamera(const ::Camera &camera) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| GetCamera(const ::Camera2D &camera) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| GetM0() const | raylib::Matrix | inline |
| GetM1() const | raylib::Matrix | inline |
| GetM10() const | raylib::Matrix | inline |
| GetM11() const | raylib::Matrix | inline |
| GetM12() const | raylib::Matrix | inline |
| GetM13() const | raylib::Matrix | inline |
| GetM14() const | raylib::Matrix | inline |
| GetM15() const | raylib::Matrix | inline |
| GetM2() const | raylib::Matrix | inline |
| GetM3() const | raylib::Matrix | inline |
| GetM4() const | raylib::Matrix | inline |
| GetM5() const | raylib::Matrix | inline |
| GetM6() const | raylib::Matrix | inline |
| GetM7() const | raylib::Matrix | inline |
| GetM8() const | raylib::Matrix | inline |
| GetM9() const | raylib::Matrix | inline |
| Identity() (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| Invert() const (defined in raylib::Matrix) | raylib::Matrix | inline |
| LookAt(Vector3 eye, Vector3 target, Vector3 up) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| Matrix(const ::Matrix &mat) (defined in raylib::Matrix) | raylib::Matrix | inline |
| Matrix(float m0=0, float m4=0, float m8=0, float m12=0, float m1=0, float m5=0, float m9=0, float m13=0, float m2=0, float m6=0, float m10=0, float m14=0, float m3=0, float m7=0, float m11=0, float m15=0) (defined in raylib::Matrix) | raylib::Matrix | inline |
| Multiply(const ::Matrix &right) const (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator float16() (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator!=(const ::Matrix &other) (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator*(const ::Matrix &matrix) (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator+(const ::Matrix &matrix) (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator-(const ::Matrix &matrix) (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator=(const ::Matrix &matrix) (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator=(const Matrix &matrix) (defined in raylib::Matrix) | raylib::Matrix | inline |
| operator==(const ::Matrix &other) (defined in raylib::Matrix) | raylib::Matrix | inline |
| Ortho(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| Perspective(double fovy, double aspect, double near, double far) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| Rotate(Vector3 axis, float angle) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| RotateX(float angle) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| RotateXYZ(Vector3 angle) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| RotateY(float angle) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| RotateZ(float angle) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| Scale(float x, float y, float z) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| SetM0(float value) | raylib::Matrix | inline |
| SetM1(float value) | raylib::Matrix | inline |
| SetM10(float value) | raylib::Matrix | inline |
| SetM11(float value) | raylib::Matrix | inline |
| SetM12(float value) | raylib::Matrix | inline |
| SetM13(float value) | raylib::Matrix | inline |
| SetM14(float value) | raylib::Matrix | inline |
| SetM15(float value) | raylib::Matrix | inline |
| SetM2(float value) | raylib::Matrix | inline |
| SetM3(float value) | raylib::Matrix | inline |
| SetM4(float value) | raylib::Matrix | inline |
| SetM5(float value) | raylib::Matrix | inline |
| SetM6(float value) | raylib::Matrix | inline |
| SetM7(float value) | raylib::Matrix | inline |
| SetM8(float value) | raylib::Matrix | inline |
| SetM9(float value) | raylib::Matrix | inline |
| SetShaderValue(const ::Shader &shader, int uniformLoc) | raylib::Matrix | inline |
| Subtract(const ::Matrix &right) (defined in raylib::Matrix) | raylib::Matrix | inline |
| ToFloatV() const (defined in raylib::Matrix) | raylib::Matrix | inline |
| Trace() const | raylib::Matrix | inline |
| Translate(float x, float y, float z) (defined in raylib::Matrix) | raylib::Matrix | inlinestatic |
| Transpose() const | raylib::Matrix | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Matrix type (OpenGL style 4x4 - right handed, column major) - More...
--Public Member Functions | |
| - | Matrix (const ::Matrix &mat) |
| - | Matrix (float m0=0, float m4=0, float m8=0, float m12=0, float m1=0, float m5=0, float m9=0, float m13=0, float m2=0, float m6=0, float m10=0, float m14=0, float m3=0, float m7=0, float m11=0, float m15=0) |
| -Matrix | Add (const ::Matrix &right) |
| float | GetM0 () const |
| Retrieves the m0 value for the object. More... | |
| float | GetM1 () const |
| Retrieves the m1 value for the object. More... | |
| float | GetM10 () const |
| Retrieves the m10 value for the object. More... | |
| float | GetM11 () const |
| Retrieves the m11 value for the object. More... | |
| float | GetM12 () const |
| Retrieves the m12 value for the object. More... | |
| float | GetM13 () const |
| Retrieves the m13 value for the object. More... | |
| float | GetM14 () const |
| Retrieves the m14 value for the object. More... | |
| float | GetM15 () const |
| Retrieves the m15 value for the object. More... | |
| float | GetM2 () const |
| Retrieves the m2 value for the object. More... | |
| float | GetM3 () const |
| Retrieves the m3 value for the object. More... | |
| float | GetM4 () const |
| Retrieves the m4 value for the object. More... | |
| float | GetM5 () const |
| Retrieves the m5 value for the object. More... | |
| float | GetM6 () const |
| Retrieves the m6 value for the object. More... | |
| float | GetM7 () const |
| Retrieves the m7 value for the object. More... | |
| float | GetM8 () const |
| Retrieves the m8 value for the object. More... | |
| float | GetM9 () const |
| Retrieves the m9 value for the object. More... | |
| -Matrix | Invert () const |
| -Matrix | Multiply (const ::Matrix &right) const |
| - | operator float16 () |
| -bool | operator!= (const ::Matrix &other) |
| -Matrix | operator* (const ::Matrix &matrix) |
| -Matrix | operator+ (const ::Matrix &matrix) |
| -Matrix | operator- (const ::Matrix &matrix) |
| -Matrix & | operator= (const ::Matrix &matrix) |
| -Matrix & | operator= (const Matrix &matrix) |
| -bool | operator== (const ::Matrix &other) |
| void | SetM0 (float value) |
| Sets the m0 value for the object. More... | |
| void | SetM1 (float value) |
| Sets the m1 value for the object. More... | |
| void | SetM10 (float value) |
| Sets the m10 value for the object. More... | |
| void | SetM11 (float value) |
| Sets the m11 value for the object. More... | |
| void | SetM12 (float value) |
| Sets the m12 value for the object. More... | |
| void | SetM13 (float value) |
| Sets the m13 value for the object. More... | |
| void | SetM14 (float value) |
| Sets the m14 value for the object. More... | |
| void | SetM15 (float value) |
| Sets the m15 value for the object. More... | |
| void | SetM2 (float value) |
| Sets the m2 value for the object. More... | |
| void | SetM3 (float value) |
| Sets the m3 value for the object. More... | |
| void | SetM4 (float value) |
| Sets the m4 value for the object. More... | |
| void | SetM5 (float value) |
| Sets the m5 value for the object. More... | |
| void | SetM6 (float value) |
| Sets the m6 value for the object. More... | |
| void | SetM7 (float value) |
| Sets the m7 value for the object. More... | |
| void | SetM8 (float value) |
| Sets the m8 value for the object. More... | |
| void | SetM9 (float value) |
| Sets the m9 value for the object. More... | |
| -Matrix & | SetShaderValue (const ::Shader &shader, int uniformLoc) |
| Set shader uniform value (matrix 4x4) | |
| -Matrix | Subtract (const ::Matrix &right) |
| -float16 | ToFloatV () const |
| -float | Trace () const |
| Returns the trace of the matrix (sum of the values along the diagonal) | |
| -Matrix | Transpose () const |
| Transposes provided matrix. | |
-Static Public Member Functions | |
| -static Matrix | Frustum (double left, double right, double bottom, double top, double near, double far) |
| -static Matrix | GetCamera (const ::Camera &camera) |
| -static Matrix | GetCamera (const ::Camera2D &camera) |
| -static Matrix | Identity () |
| -static Matrix | LookAt (Vector3 eye, Vector3 target, Vector3 up) |
| -static Matrix | Ortho (double left, double right, double bottom, double top, double near, double far) |
| -static Matrix | Perspective (double fovy, double aspect, double near, double far) |
| -static Matrix | Rotate (Vector3 axis, float angle) |
| -static Matrix | RotateX (float angle) |
| -static Matrix | RotateXYZ (Vector3 angle) |
| -static Matrix | RotateY (float angle) |
| -static Matrix | RotateZ (float angle) |
| -static Matrix | Scale (float x, float y, float z) |
| -static Matrix | Translate (float x, float y, float z) |
Matrix type (OpenGL style 4x4 - right handed, column major)
- -Definition at line 16 of file Matrix.hpp.
-
-
|
- -inline | -
Retrieves the m0 value for the object.
-Definition at line 39 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m1 value for the object.
-Definition at line 40 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m10 value for the object.
-Definition at line 49 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m11 value for the object.
-Definition at line 50 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m12 value for the object.
-Definition at line 51 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m13 value for the object.
-Definition at line 52 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m14 value for the object.
-Definition at line 53 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m15 value for the object.
-Definition at line 54 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m2 value for the object.
-Definition at line 41 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m3 value for the object.
-Definition at line 42 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m4 value for the object.
-Definition at line 43 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m5 value for the object.
-Definition at line 44 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m6 value for the object.
-Definition at line 45 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m7 value for the object.
-Definition at line 46 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m8 value for the object.
-Definition at line 47 of file Matrix.hpp.
- -
-
|
- -inline | -
Retrieves the m9 value for the object.
-Definition at line 48 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m0 value for the object.
-| value | The value of which to set m0 to. |
Definition at line 39 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m1 value for the object.
-| value | The value of which to set m1 to. |
Definition at line 40 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m10 value for the object.
-| value | The value of which to set m10 to. |
Definition at line 49 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m11 value for the object.
-| value | The value of which to set m11 to. |
Definition at line 50 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m12 value for the object.
-| value | The value of which to set m12 to. |
Definition at line 51 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m13 value for the object.
-| value | The value of which to set m13 to. |
Definition at line 52 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m14 value for the object.
-| value | The value of which to set m14 to. |
Definition at line 53 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m15 value for the object.
-| value | The value of which to set m15 to. |
Definition at line 54 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m2 value for the object.
-| value | The value of which to set m2 to. |
Definition at line 41 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m3 value for the object.
-| value | The value of which to set m3 to. |
Definition at line 42 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m4 value for the object.
-| value | The value of which to set m4 to. |
Definition at line 43 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m5 value for the object.
-| value | The value of which to set m5 to. |
Definition at line 44 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m6 value for the object.
-| value | The value of which to set m6 to. |
Definition at line 45 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m7 value for the object.
-| value | The value of which to set m7 to. |
Definition at line 46 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m8 value for the object.
-| value | The value of which to set m8 to. |
Definition at line 47 of file Matrix.hpp.
- -
-
|
- -inline | -
Sets the m9 value for the object.
-| value | The value of which to set m9 to. |
Definition at line 48 of file Matrix.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Mesh, including all inherited members.
-| BoundingBox() const | raylib::Mesh | inline |
| Cone(float radius, float height, int slices) | raylib::Mesh | inlinestatic |
| Cube(float width, float height, float length) | raylib::Mesh | inlinestatic |
| Cubicmap(const ::Image &cubicmap, ::Vector3 cubeSize) | raylib::Mesh | inlinestatic |
| Cylinder(float radius, float height, int slices) | raylib::Mesh | inlinestatic |
| Draw(const ::Material &material, const ::Matrix &transform) const | raylib::Mesh | inline |
| Draw(const ::Material &material, ::Matrix *transforms, int instances) const | raylib::Mesh | inline |
| Export(const std::string &fileName) | raylib::Mesh | inline |
| GenTangents() | raylib::Mesh | inline |
| GetAnimNormals() const | raylib::Mesh | inline |
| GetAnimVertices() const | raylib::Mesh | inline |
| GetBoneIds() const | raylib::Mesh | inline |
| GetBoneWeights() const | raylib::Mesh | inline |
| GetColors() const | raylib::Mesh | inline |
| GetIndices() const | raylib::Mesh | inline |
| GetNormals() const | raylib::Mesh | inline |
| GetTangents() const | raylib::Mesh | inline |
| GetTexCoords() const | raylib::Mesh | inline |
| GetTexCoords2() const | raylib::Mesh | inline |
| GetTriangleCount() const | raylib::Mesh | inline |
| GetVaoId() const | raylib::Mesh | inline |
| GetVboId() const | raylib::Mesh | inline |
| GetVertexCount() const | raylib::Mesh | inline |
| GetVertices() const | raylib::Mesh | inline |
| Heightmap(const ::Image &heightmap, ::Vector3 size) | raylib::Mesh | inlinestatic |
| HemiSphere(float radius, int rings, int slices) | raylib::Mesh | inlinestatic |
| Knot(float radius, float size, int radSeg, int sides) | raylib::Mesh | inlinestatic |
| LoadModelFrom() const | raylib::Mesh | inline |
| Mesh(const ::Mesh &mesh) (defined in raylib::Mesh) | raylib::Mesh | inline |
| Mesh(const Mesh &)=delete | raylib::Mesh | |
| Mesh(Mesh &&other) (defined in raylib::Mesh) | raylib::Mesh | inline |
| operator raylib::BoundingBox() | raylib::Mesh | inline |
| operator raylib::Model() | raylib::Mesh | inline |
| operator=(const ::Mesh &mesh) (defined in raylib::Mesh) | raylib::Mesh | inline |
| operator=(const Mesh &)=delete (defined in raylib::Mesh) | raylib::Mesh | |
| operator=(Mesh &&other) noexcept (defined in raylib::Mesh) | raylib::Mesh | inline |
| Plane(float width, float length, int resX, int resZ) | raylib::Mesh | inlinestatic |
| Poly(int sides, float radius) | raylib::Mesh | inlinestatic |
| SetAnimNormals(float *value) | raylib::Mesh | inline |
| SetAnimVertices(float *value) | raylib::Mesh | inline |
| SetBoneIds(unsigned char *value) | raylib::Mesh | inline |
| SetBoneWeights(float *value) | raylib::Mesh | inline |
| SetColors(unsigned char *value) | raylib::Mesh | inline |
| SetIndices(unsigned short *value) | raylib::Mesh | inline |
| SetNormals(float *value) | raylib::Mesh | inline |
| SetTangents(float *value) | raylib::Mesh | inline |
| SetTexCoords(float *value) | raylib::Mesh | inline |
| SetTexCoords2(float *value) | raylib::Mesh | inline |
| SetTriangleCount(int value) | raylib::Mesh | inline |
| SetVaoId(unsigned int value) | raylib::Mesh | inline |
| SetVboId(unsigned int *value) | raylib::Mesh | inline |
| SetVertexCount(int value) | raylib::Mesh | inline |
| SetVertices(float *value) | raylib::Mesh | inline |
| Sphere(float radius, int rings, int slices) | raylib::Mesh | inlinestatic |
| Torus(float radius, float size, int radSeg, int sides) | raylib::Mesh | inlinestatic |
| Unload() | raylib::Mesh | inline |
| UpdateBuffer(int index, void *data, int dataSize, int offset=0) | raylib::Mesh | inline |
| Upload(bool dynamic=false) | raylib::Mesh | inline |
| ~Mesh() (defined in raylib::Mesh) | raylib::Mesh | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Vertex data definning a mesh. - More...
--Public Member Functions | |
| - | Mesh (const ::Mesh &mesh) |
| - | Mesh (const Mesh &)=delete |
| Load meshes from model file. | |
| - | Mesh (Mesh &&other) |
| -raylib::BoundingBox | BoundingBox () const |
| Compute mesh bounding box limits. | |
| -void | Draw (const ::Material &material, ::Matrix *transforms, int instances) const |
| Draw multiple mesh instances with material and different transforms. | |
| -void | Draw (const ::Material &material, const ::Matrix &transform) const |
| Draw a 3d mesh with material and transform. | |
| void | Export (const std::string &fileName) |
| Export mesh data to file. More... | |
| -Mesh & | GenTangents () |
| Compute mesh tangents. | |
| float * | GetAnimNormals () const |
| Retrieves the animNormals value for the object. More... | |
| float * | GetAnimVertices () const |
| Retrieves the animVertices value for the object. More... | |
| unsigned char * | GetBoneIds () const |
| Retrieves the boneIds value for the object. More... | |
| float * | GetBoneWeights () const |
| Retrieves the boneWeights value for the object. More... | |
| unsigned char * | GetColors () const |
| Retrieves the colors value for the object. More... | |
| unsigned short * | GetIndices () const |
| Retrieves the indices value for the object. More... | |
| float * | GetNormals () const |
| Retrieves the normals value for the object. More... | |
| float * | GetTangents () const |
| Retrieves the tangents value for the object. More... | |
| float * | GetTexCoords () const |
| Retrieves the texcoords value for the object. More... | |
| float * | GetTexCoords2 () const |
| Retrieves the texcoords2 value for the object. More... | |
| int | GetTriangleCount () const |
| Retrieves the triangleCount value for the object. More... | |
| unsigned int | GetVaoId () const |
| Retrieves the vaoId value for the object. More... | |
| unsigned int * | GetVboId () const |
| Retrieves the vboId value for the object. More... | |
| int | GetVertexCount () const |
| Retrieves the vertexCount value for the object. More... | |
| float * | GetVertices () const |
| Retrieves the vertices value for the object. More... | |
| -raylib::Model | LoadModelFrom () const |
| Load model from generated mesh. | |
| - | operator raylib::BoundingBox () |
| Compute mesh bounding box limits. | |
| - | operator raylib::Model () |
| Load model from generated mesh. | |
| -Mesh & | operator= (const ::Mesh &mesh) |
| -Mesh & | operator= (const Mesh &)=delete |
| -Mesh & | operator= (Mesh &&other) noexcept |
| void | SetAnimNormals (float *value) |
| Sets the animNormals value for the object. More... | |
| void | SetAnimVertices (float *value) |
| Sets the animVertices value for the object. More... | |
| void | SetBoneIds (unsigned char *value) |
| Sets the boneIds value for the object. More... | |
| void | SetBoneWeights (float *value) |
| Sets the boneWeights value for the object. More... | |
| void | SetColors (unsigned char *value) |
| Sets the colors value for the object. More... | |
| void | SetIndices (unsigned short *value) |
| Sets the indices value for the object. More... | |
| void | SetNormals (float *value) |
| Sets the normals value for the object. More... | |
| void | SetTangents (float *value) |
| Sets the tangents value for the object. More... | |
| void | SetTexCoords (float *value) |
| Sets the texcoords value for the object. More... | |
| void | SetTexCoords2 (float *value) |
| Sets the texcoords2 value for the object. More... | |
| void | SetTriangleCount (int value) |
| Sets the triangleCount value for the object. More... | |
| void | SetVaoId (unsigned int value) |
| Sets the vaoId value for the object. More... | |
| void | SetVboId (unsigned int *value) |
| Sets the vboId value for the object. More... | |
| void | SetVertexCount (int value) |
| Sets the vertexCount value for the object. More... | |
| void | SetVertices (float *value) |
| Sets the vertices value for the object. More... | |
| -void | Unload () |
| Unload mesh from memory (RAM and/or VRAM) | |
| -void | UpdateBuffer (int index, void *data, int dataSize, int offset=0) |
| Upload mesh vertex data to GPU (VRAM) | |
| -void | Upload (bool dynamic=false) |
| Upload mesh vertex data to GPU (VRAM) | |
-Static Public Member Functions | |
| -::Mesh | Cone (float radius, float height, int slices) |
| Generate cone/pyramid mesh. | |
| -::Mesh | Cube (float width, float height, float length) |
| Generate cuboid mesh. | |
| -::Mesh | Cubicmap (const ::Image &cubicmap, ::Vector3 cubeSize) |
| Generate cubes-based map mesh from image data. | |
| -::Mesh | Cylinder (float radius, float height, int slices) |
| Generate cylinder mesh. | |
| -::Mesh | Heightmap (const ::Image &heightmap, ::Vector3 size) |
| Generate heightmap mesh from image data. | |
| -::Mesh | HemiSphere (float radius, int rings, int slices) |
| Generate half-sphere mesh (no bottom cap) | |
| -::Mesh | Knot (float radius, float size, int radSeg, int sides) |
| Generate trefoil knot mesh. | |
| -::Mesh | Plane (float width, float length, int resX, int resZ) |
| Generate plane mesh (with subdivisions) | |
| -::Mesh | Poly (int sides, float radius) |
| Generate polygonal mesh. | |
| -::Mesh | Sphere (float radius, int rings, int slices) |
| Generate sphere mesh (standard sphere) | |
| -::Mesh | Torus (float radius, float size, int radSeg, int sides) |
| Generate torus mesh. | |
-
|
- -inline | -
Export mesh data to file.
-| raylib::RaylibException | Throws if failed to export the Mesh. |
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Model, including all inherited members.
-| Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const | raylib::Model | inline |
| Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const | raylib::Model | inline |
| DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const | raylib::Model | inline |
| DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const | raylib::Model | inline |
| GetBindPose() const | raylib::Model | inline |
| GetBoneCount() const | raylib::Model | inline |
| GetBones() const | raylib::Model | inline |
| GetBoundingBox() const | raylib::Model | inline |
| GetMaterialCount() const | raylib::Model | inline |
| GetMaterials() const | raylib::Model | inline |
| GetMeshCount() const | raylib::Model | inline |
| GetMeshes() const | raylib::Model | inline |
| GetMeshMaterial() const | raylib::Model | inline |
| GetTransform() const | raylib::Model | inline |
| IsModelAnimationValid(const ::ModelAnimation &anim) const | raylib::Model | inline |
| IsReady() const | raylib::Model | inline |
| Load(const std::string &fileName) | raylib::Model | inline |
| Load(const ::Mesh &mesh) | raylib::Model | inline |
| Model() (defined in raylib::Model) | raylib::Model | inline |
| Model(const ::Model &model) (defined in raylib::Model) | raylib::Model | inline |
| Model(const std::string &fileName) (defined in raylib::Model) | raylib::Model | inline |
| Model(const ::Mesh &mesh) (defined in raylib::Model) | raylib::Model | inline |
| Model(const Model &)=delete (defined in raylib::Model) | raylib::Model | |
| Model(Model &&other) (defined in raylib::Model) | raylib::Model | inline |
| operator BoundingBox() const | raylib::Model | inline |
| operator=(const ::Model &model) (defined in raylib::Model) | raylib::Model | inline |
| operator=(const Model &)=delete (defined in raylib::Model) | raylib::Model | |
| operator=(Model &&other) noexcept (defined in raylib::Model) | raylib::Model | inline |
| SetBindPose(::Transform *value) | raylib::Model | inline |
| SetBoneCount(int value) | raylib::Model | inline |
| SetBones(::BoneInfo *value) | raylib::Model | inline |
| SetMaterialCount(int value) | raylib::Model | inline |
| SetMaterials(::Material *value) | raylib::Model | inline |
| SetMeshCount(int value) | raylib::Model | inline |
| SetMeshes(::Mesh *value) | raylib::Model | inline |
| SetMeshMaterial(int *value) | raylib::Model | inline |
| SetMeshMaterial(int meshId, int materialId) | raylib::Model | inline |
| SetTransform(::Matrix value) | raylib::Model | inline |
| Unload() | raylib::Model | inline |
| UnloadKeepMeshes() | raylib::Model | inline |
| UpdateAnimation(const ::ModelAnimation &anim, int frame) | raylib::Model | inline |
| ~Model() (defined in raylib::Model) | raylib::Model | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| - | Model (const ::Mesh &mesh) |
| - | Model (const ::Model &model) |
| - | Model (const Model &)=delete |
| - | Model (const std::string &fileName) |
| - | Model (Model &&other) |
| -void | Draw (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const |
| Draw a model with extended parameters. | |
| -void | Draw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a model (with texture if set) | |
| -void | DrawWires (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const |
| Draw a model wires (with texture if set) with extended parameters. | |
| -void | DrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a model wires (with texture if set) | |
| ::Transform * | GetBindPose () const |
| Retrieves the bindPose value for the object. More... | |
| int | GetBoneCount () const |
| Retrieves the boneCount value for the object. More... | |
| ::BoneInfo * | GetBones () const |
| Retrieves the bones value for the object. More... | |
| -BoundingBox | GetBoundingBox () const |
| Compute model bounding box limits (considers all meshes) | |
| int | GetMaterialCount () const |
| Retrieves the materialCount value for the object. More... | |
| ::Material * | GetMaterials () const |
| Retrieves the materials value for the object. More... | |
| int | GetMeshCount () const |
| Retrieves the meshCount value for the object. More... | |
| ::Mesh * | GetMeshes () const |
| Retrieves the meshes value for the object. More... | |
| int * | GetMeshMaterial () const |
| Retrieves the meshMaterial value for the object. More... | |
| ::Matrix | GetTransform () const |
| Retrieves the transform value for the object. More... | |
| -bool | IsModelAnimationValid (const ::ModelAnimation &anim) const |
| Check model animation skeleton match. | |
| -bool | IsReady () const |
| Determines whether or not the Model has data in it. | |
| void | Load (const ::Mesh &mesh) |
| Loads a Model from the given Mesh. More... | |
| void | Load (const std::string &fileName) |
| Loads a Model from the given file. More... | |
| - | operator BoundingBox () const |
| Compute model bounding box limits (considers all meshes) | |
| -Model & | operator= (const ::Model &model) |
| -Model & | operator= (const Model &)=delete |
| -Model & | operator= (Model &&other) noexcept |
| void | SetBindPose (::Transform *value) |
| Sets the bindPose value for the object. More... | |
| void | SetBoneCount (int value) |
| Sets the boneCount value for the object. More... | |
| void | SetBones (::BoneInfo *value) |
| Sets the bones value for the object. More... | |
| void | SetMaterialCount (int value) |
| Sets the materialCount value for the object. More... | |
| void | SetMaterials (::Material *value) |
| Sets the materials value for the object. More... | |
| void | SetMeshCount (int value) |
| Sets the meshCount value for the object. More... | |
| void | SetMeshes (::Mesh *value) |
| Sets the meshes value for the object. More... | |
| void | SetMeshMaterial (int *value) |
| Sets the meshMaterial value for the object. More... | |
| -Model & | SetMeshMaterial (int meshId, int materialId) |
| Set material for a mesh. | |
| void | SetTransform (::Matrix value) |
| Sets the transform value for the object. More... | |
| -void | Unload () |
| Unload model (including meshes) from memory (RAM and/or VRAM) | |
| -Model & | UnloadKeepMeshes () |
| Unload model (but not meshes) from memory (RAM and/or VRAM) | |
| -Model & | UpdateAnimation (const ::ModelAnimation &anim, int frame) |
| Update model animation pose. | |
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
Loads a Model from the given file.
-| raylib::RaylibException | Throws if failed to load the Modal. |
Definition at line 212 of file Model.hpp.
- -References IsReady().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::ModelAnimation, including all inherited members.
-| GetBoneCount() const | raylib::ModelAnimation | inline |
| GetBones() const | raylib::ModelAnimation | inline |
| GetFrameCount() const | raylib::ModelAnimation | inline |
| GetFramePoses() const | raylib::ModelAnimation | inline |
| IsValid(const ::Model &model) const | raylib::ModelAnimation | inline |
| Load(const std::string &fileName) | raylib::ModelAnimation | inlinestatic |
| ModelAnimation(const ::ModelAnimation &model) (defined in raylib::ModelAnimation) | raylib::ModelAnimation | inline |
| ModelAnimation(const ModelAnimation &)=delete (defined in raylib::ModelAnimation) | raylib::ModelAnimation | |
| ModelAnimation(ModelAnimation &&other) (defined in raylib::ModelAnimation) | raylib::ModelAnimation | inline |
| operator=(const ::ModelAnimation &model) (defined in raylib::ModelAnimation) | raylib::ModelAnimation | inline |
| operator=(const ModelAnimation &)=delete (defined in raylib::ModelAnimation) | raylib::ModelAnimation | |
| operator=(ModelAnimation &&other) noexcept (defined in raylib::ModelAnimation) | raylib::ModelAnimation | inline |
| SetBoneCount(int value) | raylib::ModelAnimation | inline |
| SetBones(::BoneInfo *value) | raylib::ModelAnimation | inline |
| SetFrameCount(int value) | raylib::ModelAnimation | inline |
| SetFramePoses(::Transform **value) | raylib::ModelAnimation | inline |
| Unload() | raylib::ModelAnimation | inline |
| Update(const ::Model &model, int frame) | raylib::ModelAnimation | inline |
| ~ModelAnimation() (defined in raylib::ModelAnimation) | raylib::ModelAnimation | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| - | ModelAnimation (const ::ModelAnimation &model) |
| - | ModelAnimation (const ModelAnimation &)=delete |
| - | ModelAnimation (ModelAnimation &&other) |
| int | GetBoneCount () const |
| Retrieves the boneCount value for the object. More... | |
| ::BoneInfo * | GetBones () const |
| Retrieves the bones value for the object. More... | |
| int | GetFrameCount () const |
| Retrieves the frameCount value for the object. More... | |
| ::Transform ** | GetFramePoses () const |
| Retrieves the framePoses value for the object. More... | |
| -bool | IsValid (const ::Model &model) const |
| Check model animation skeleton match. | |
| -ModelAnimation & | operator= (const ::ModelAnimation &model) |
| -ModelAnimation & | operator= (const ModelAnimation &)=delete |
| -ModelAnimation & | operator= (ModelAnimation &&other) noexcept |
| void | SetBoneCount (int value) |
| Sets the boneCount value for the object. More... | |
| void | SetBones (::BoneInfo *value) |
| Sets the bones value for the object. More... | |
| void | SetFrameCount (int value) |
| Sets the frameCount value for the object. More... | |
| void | SetFramePoses (::Transform **value) |
| Sets the framePoses value for the object. More... | |
| -void | Unload () |
| Unload animation data. | |
| -ModelAnimation & | Update (const ::Model &model, int frame) |
| Update model animation pose. | |
-Static Public Member Functions | |
| -static std::vector< ModelAnimation > | Load (const std::string &fileName) |
| Load model animations from file. | |
Model animation.
- -Definition at line 15 of file ModelAnimation.hpp.
-
-
|
- -inline | -
Retrieves the boneCount value for the object.
-Definition at line 49 of file ModelAnimation.hpp.
- -
-
|
- -inline | -
Retrieves the bones value for the object.
-Definition at line 50 of file ModelAnimation.hpp.
- -
-
|
- -inline | -
Retrieves the frameCount value for the object.
-Definition at line 51 of file ModelAnimation.hpp.
- -
-
|
- -inline | -
Retrieves the framePoses value for the object.
-Definition at line 52 of file ModelAnimation.hpp.
- -
-
|
- -inline | -
Sets the boneCount value for the object.
-| value | The value of which to set boneCount to. |
Definition at line 49 of file ModelAnimation.hpp.
- -
-
|
- -inline | -
Sets the bones value for the object.
-| value | The value of which to set bones to. |
Definition at line 50 of file ModelAnimation.hpp.
- -
-
|
- -inline | -
Sets the frameCount value for the object.
-| value | The value of which to set frameCount to. |
Definition at line 51 of file ModelAnimation.hpp.
- -
-
|
- -inline | -
Sets the framePoses value for the object.
-| value | The value of which to set framePoses to. |
Definition at line 52 of file ModelAnimation.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Mouse, including all inherited members.
-| GetDelta() | raylib::Mouse | inlinestatic |
| GetPosition() (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| GetRay(::Vector2 mousePosition, const ::Camera &camera) | raylib::Mouse | inlinestatic |
| GetRay(const ::Camera &camera) | raylib::Mouse | inlinestatic |
| GetTouchPosition(int index) | raylib::Mouse | inlinestatic |
| GetTouchX() | raylib::Mouse | inlinestatic |
| GetTouchY() | raylib::Mouse | inlinestatic |
| GetWheelMove() | raylib::Mouse | inlinestatic |
| GetWheelMoveV() | raylib::Mouse | inlinestatic |
| GetX() (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| GetY() (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| IsButtonDown(int button) | raylib::Mouse | inlinestatic |
| IsButtonPressed(int button) | raylib::Mouse | inlinestatic |
| IsButtonReleased(int button) | raylib::Mouse | inlinestatic |
| IsButtonUp(int button) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetCursor(int cursor=MOUSE_CURSOR_DEFAULT) | raylib::Mouse | inlinestatic |
| SetOffset(int offsetX=0, int offsetY=0) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetOffset(::Vector2 offset) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetPosition(int x, int y) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetPosition(::Vector2 position) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetScale(float scaleX=1.0f, float scaleY=1.0f) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetScale(::Vector2 scale) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetX(int x) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
| SetY(int y) (defined in raylib::Mouse) | raylib::Mouse | inlinestatic |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Input-related functions: mouse. - More...
--Static Public Member Functions | |
| -static Vector2 | GetDelta () |
| Get mouse delta between frames. | |
| -static Vector2 | GetPosition () |
| -static Ray | GetRay (::Vector2 mousePosition, const ::Camera &camera) |
| Get a ray trace from mouse position. | |
| -static Ray | GetRay (const ::Camera &camera) |
| Get a ray trace from mouse position. | |
| -static Vector2 | GetTouchPosition (int index) |
| Get touch position XY for a touch point index (relative to screen size) | |
| -static int | GetTouchX () |
| Get touch position X for touch point 0 (relative to screen size) | |
| -static int | GetTouchY () |
| Get touch position Y for touch point 0 (relative to screen size) | |
| -static float | GetWheelMove () |
| Get mouse wheel movement for X or Y, whichever is larger. | |
| static Vector2 | GetWheelMoveV () |
| Get mouse wheel movement for both X and Y. More... | |
| -static int | GetX () |
| -static int | GetY () |
| -static bool | IsButtonDown (int button) |
| Detect if a mouse button is being pressed. | |
| -static bool | IsButtonPressed (int button) |
| Detect if a mouse button has been pressed once. | |
| -static bool | IsButtonReleased (int button) |
| Detect if a mouse button has been released once. | |
| -static bool | IsButtonUp (int button) |
| static void | SetCursor (int cursor=MOUSE_CURSOR_DEFAULT) |
| Sets the current mouse cursor icon. More... | |
| -static void | SetOffset (::Vector2 offset) |
| -static void | SetOffset (int offsetX=0, int offsetY=0) |
| -static void | SetPosition (::Vector2 position) |
| -static void | SetPosition (int x, int y) |
| -static void | SetScale (::Vector2 scale) |
| -static void | SetScale (float scaleX=1.0f, float scaleY=1.0f) |
| -static void | SetX (int x) |
| -static void | SetY (int y) |
-
|
- -inlinestatic | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Music, including all inherited members.
-| GetCtxData() const | raylib::Music | inline |
| GetCtxType() const | raylib::Music | inline |
| GetFrameCount() const | raylib::Music | inline |
| GetLooping() const | raylib::Music | inline |
| GetStream() const | raylib::Music | inline |
| GetTimeLength() const | raylib::Music | inline |
| GetTimePlayed() const | raylib::Music | inline |
| IsPlaying() const | raylib::Music | inline |
| IsReady() const | raylib::Music | inline |
| Load(const std::string &fileName) | raylib::Music | inline |
| Load(const std::string &fileType, unsigned char *data, int dataSize) | raylib::Music | inline |
| Music(::AudioStream stream={nullptr, nullptr, 0, 0, 0}, unsigned int frameCount=0, bool looping=false, int ctxType=0, void *ctxData=nullptr) (defined in raylib::Music) | raylib::Music | inline |
| Music(const ::Music &music) (defined in raylib::Music) | raylib::Music | inline |
| Music(const std::string &fileName) | raylib::Music | inline |
| Music(const std::string &fileType, unsigned char *data, int dataSize) | raylib::Music | inline |
| Music(const Music &)=delete (defined in raylib::Music) | raylib::Music | |
| Music(Music &&other) (defined in raylib::Music) | raylib::Music | inline |
| operator=(const ::Music &music) (defined in raylib::Music) | raylib::Music | inline |
| operator=(const Music &)=delete (defined in raylib::Music) | raylib::Music | |
| operator=(Music &&other) noexcept (defined in raylib::Music) | raylib::Music | inline |
| Pause() | raylib::Music | inline |
| Play() | raylib::Music | inline |
| Resume() | raylib::Music | inline |
| Seek(float position) | raylib::Music | inline |
| SetCtxData(void *value) | raylib::Music | inline |
| SetCtxType(int value) | raylib::Music | inline |
| SetFrameCount(unsigned int value) | raylib::Music | inline |
| SetLooping(bool value) | raylib::Music | inline |
| SetPan(float pan=0.5f) | raylib::Music | inline |
| SetPitch(float pitch) | raylib::Music | inline |
| SetStream(::AudioStream value) | raylib::Music | inline |
| SetVolume(float volume) | raylib::Music | inline |
| Stop() | raylib::Music | inline |
| Unload() | raylib::Music | inline |
| Update() | raylib::Music | inline |
| ~Music() | raylib::Music | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Music stream type (audio file streaming from memory) - More...
--Public Member Functions | |
| - | Music (::AudioStream stream={nullptr, nullptr, 0, 0, 0}, unsigned int frameCount=0, bool looping=false, int ctxType=0, void *ctxData=nullptr) |
| - | Music (const ::Music &music) |
| - | Music (const Music &)=delete |
| Music (const std::string &fileName) | |
| Load music stream from file. More... | |
| Music (const std::string &fileType, unsigned char *data, int dataSize) | |
| Load music stream from memory. More... | |
| - | Music (Music &&other) |
| - | ~Music () |
| Unload music stream. | |
| void * | GetCtxData () const |
| Retrieves the ctxData value for the object. More... | |
| int | GetCtxType () const |
| Retrieves the ctxType value for the object. More... | |
| unsigned int | GetFrameCount () const |
| Retrieves the frameCount value for the object. More... | |
| bool | GetLooping () const |
| Retrieves the looping value for the object. More... | |
| ::AudioStream | GetStream () const |
| Retrieves the stream value for the object. More... | |
| -float | GetTimeLength () const |
| Get music time length (in seconds) | |
| -float | GetTimePlayed () const |
| Get current music time played (in seconds) | |
| -bool | IsPlaying () const |
| Check if music is playing. | |
| bool | IsReady () const |
| Retrieve whether or not the Music has been loaded. More... | |
| void | Load (const std::string &fileName) |
| Load music stream from file. More... | |
| void | Load (const std::string &fileType, unsigned char *data, int dataSize) |
| Load music stream from memory. More... | |
| -Music & | operator= (const ::Music &music) |
| -Music & | operator= (const Music &)=delete |
| -Music & | operator= (Music &&other) noexcept |
| -Music & | Pause () |
| Pause music playing. | |
| -Music & | Play () |
| Start music playing. | |
| -Music & | Resume () |
| Resume music playing. | |
| -Music & | Seek (float position) |
| Seek music to a position (in seconds) | |
| void | SetCtxData (void *value) |
| Sets the ctxData value for the object. More... | |
| void | SetCtxType (int value) |
| Sets the ctxType value for the object. More... | |
| void | SetFrameCount (unsigned int value) |
| Sets the frameCount value for the object. More... | |
| void | SetLooping (bool value) |
| Sets the looping value for the object. More... | |
| -Music & | SetPan (float pan=0.5f) |
| Set pan for a music (0.5 is center) | |
| -Music & | SetPitch (float pitch) |
| Set pitch for music. | |
| void | SetStream (::AudioStream value) |
| Sets the stream value for the object. More... | |
| -Music & | SetVolume (float volume) |
| Set volume for music. | |
| -Music & | Stop () |
| Stop music playing. | |
| -void | Unload () |
| Unload music stream. | |
| -Music & | Update () |
| Updates buffers for music streaming. | |
-
|
- -inline | -
Load music stream from file.
-| raylib::RaylibException | Throws if the music failed to load. |
Definition at line 31 of file Music.hpp.
- -References Load().
- -
-
|
- -inline | -
Load music stream from memory.
-| raylib::RaylibException | Throws if the music failed to load. |
Definition at line 40 of file Music.hpp.
- -References Load().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
Load music stream from file.
-| raylib::RaylibException | Throws if the music failed to load. |
Definition at line 198 of file Music.hpp.
- -References IsReady().
- -Referenced by Music().
- -
-
|
- -inline | -
Load music stream from memory.
-| raylib::RaylibException | Throws if the music failed to load. |
Definition at line 210 of file Music.hpp.
- -References IsReady().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Physics, including all inherited members.
-| AddForce(PhysicsBody body, Vector2 force) (defined in raylib::Physics) | raylib::Physics | inline |
| AddTorque(PhysicsBody body, float amount) (defined in raylib::Physics) | raylib::Physics | inline |
| Close() (defined in raylib::Physics) | raylib::Physics | inline |
| CreateBodyCircle(Vector2 pos, float radius, float density) (defined in raylib::Physics) | raylib::Physics | inline |
| CreateBodyPolygon(Vector2 pos, float radius, int sides, float density) (defined in raylib::Physics) | raylib::Physics | inline |
| CreateBodyRectangle(Vector2 pos, float width, float height, float density) (defined in raylib::Physics) | raylib::Physics | inline |
| DestroyBody(PhysicsBody body) (defined in raylib::Physics) | raylib::Physics | inline |
| GetBodiesCount() const (defined in raylib::Physics) | raylib::Physics | inline |
| GetBody(int index) const (defined in raylib::Physics) | raylib::Physics | inline |
| GetShapeType(int index) const (defined in raylib::Physics) | raylib::Physics | inline |
| GetShapeVertex(PhysicsBody body, int vertex) const (defined in raylib::Physics) | raylib::Physics | inline |
| GetShapeVerticesCount(int index) const (defined in raylib::Physics) | raylib::Physics | inline |
| Init() (defined in raylib::Physics) | raylib::Physics | inline |
| Physics() (defined in raylib::Physics) | raylib::Physics | inline |
| Physics(float gravityY) (defined in raylib::Physics) | raylib::Physics | inline |
| Physics(float gravityX, float gravityY) (defined in raylib::Physics) | raylib::Physics | inline |
| Reset() (defined in raylib::Physics) | raylib::Physics | inline |
| SetBodyRotation(PhysicsBody body, float radians) (defined in raylib::Physics) | raylib::Physics | inline |
| SetGravity(float x, float y) (defined in raylib::Physics) | raylib::Physics | inline |
| SetTimeStep(double delta) (defined in raylib::Physics) | raylib::Physics | inline |
| Shatter(PhysicsBody body, Vector2 position, float force) (defined in raylib::Physics) | raylib::Physics | inline |
| Update() (defined in raylib::Physics) | raylib::Physics | inline |
| ~Physics() (defined in raylib::Physics) | raylib::Physics | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
2D Physics library for videogames - More...
--Public Member Functions | |
| - | Physics (float gravityX, float gravityY) |
| - | Physics (float gravityY) |
| -Physics & | AddForce (PhysicsBody body, Vector2 force) |
| -Physics & | AddTorque (PhysicsBody body, float amount) |
| -Physics & | Close () |
| -PhysicsBody | CreateBodyCircle (Vector2 pos, float radius, float density) |
| -PhysicsBody | CreateBodyPolygon (Vector2 pos, float radius, int sides, float density) |
| -PhysicsBody | CreateBodyRectangle (Vector2 pos, float width, float height, float density) |
| -Physics & | DestroyBody (PhysicsBody body) |
| -int | GetBodiesCount () const |
| -PhysicsBody | GetBody (int index) const |
| -int | GetShapeType (int index) const |
| -Vector2 | GetShapeVertex (PhysicsBody body, int vertex) const |
| -int | GetShapeVerticesCount (int index) const |
| -Physics & | Init () |
| -Physics & | Reset () |
| -Physics & | SetBodyRotation (PhysicsBody body, float radians) |
| -Physics & | SetGravity (float x, float y) |
| -Physics & | SetTimeStep (double delta) |
| -Physics & | Shatter (PhysicsBody body, Vector2 position, float force) |
| -Physics & | Update () |
2D Physics library for videogames
- -Definition at line 12 of file Physics.hpp.
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Ray, including all inherited members.
-| Draw(::Color color) const | raylib::Ray | inline |
| GetCollision(::Vector3 center, float radius) const | raylib::Ray | inline |
| GetCollision(const ::BoundingBox &box) const | raylib::Ray | inline |
| GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const | raylib::Ray | inline |
| GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const | raylib::Ray | inline |
| GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const | raylib::Ray | inline |
| GetDirection() const | raylib::Ray | inline |
| GetMouse(::Vector2 mousePosition, const ::Camera &camera) | raylib::Ray | inlinestatic |
| GetMouse(const ::Camera &camera) | raylib::Ray | inlinestatic |
| GetPosition() const | raylib::Ray | inline |
| operator=(const ::Ray &ray) (defined in raylib::Ray) | raylib::Ray | inline |
| Ray(const ::Ray &ray) (defined in raylib::Ray) | raylib::Ray | inline |
| Ray(::Vector3 position={0.0f, 0.0f, 0.0f}, ::Vector3 direction={0.0f, 0.0f, 0.0f}) (defined in raylib::Ray) | raylib::Ray | inline |
| Ray(::Vector2 mousePosition, const ::Camera &camera) (defined in raylib::Ray) | raylib::Ray | inline |
| SetDirection(::Vector3 value) | raylib::Ray | inline |
| SetPosition(::Vector3 value) | raylib::Ray | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Ray type (useful for raycast) - More...
--Public Member Functions | |
| - | Ray (::Vector2 mousePosition, const ::Camera &camera) |
| - | Ray (::Vector3 position={0.0f, 0.0f, 0.0f}, ::Vector3 direction={0.0f, 0.0f, 0.0f}) |
| - | Ray (const ::Ray &ray) |
| -void | Draw (::Color color) const |
| Draw a ray line. | |
| -RayCollision | GetCollision (::Vector3 center, float radius) const |
| Get collision information between ray and sphere. | |
| -RayCollision | GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const |
| Get collision info between ray and triangle. | |
| -RayCollision | GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const |
| Get collision info between ray and quad. | |
| -RayCollision | GetCollision (const ::BoundingBox &box) const |
| Detect collision between ray and box. | |
| -RayCollision | GetCollision (const ::Mesh &mesh, const ::Matrix &transform) const |
| Get collision information between ray and mesh. | |
| ::Vector3 | GetDirection () const |
| Retrieves the direction value for the object. More... | |
| ::Vector3 | GetPosition () const |
| Retrieves the position value for the object. More... | |
| -Ray & | operator= (const ::Ray &ray) |
| void | SetDirection (::Vector3 value) |
| Sets the direction value for the object. More... | |
| void | SetPosition (::Vector3 value) |
| Sets the position value for the object. More... | |
-Static Public Member Functions | |
| -static Ray | GetMouse (::Vector2 mousePosition, const ::Camera &camera) |
| Get a ray trace from mouse position. | |
| -static Ray | GetMouse (const ::Camera &camera) |
| Get a ray trace from mouse position. | |
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::RayCollision, including all inherited members.
-| GetDistance() const | raylib::RayCollision | inline |
| GetHit() const | raylib::RayCollision | inline |
| GetNormal() const | raylib::RayCollision | inline |
| GetPosition() const | raylib::RayCollision | inline |
| operator=(const ::RayCollision &ray) (defined in raylib::RayCollision) | raylib::RayCollision | inline |
| RayCollision(const ::RayCollision &ray) (defined in raylib::RayCollision) | raylib::RayCollision | inline |
| RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal) (defined in raylib::RayCollision) | raylib::RayCollision | inline |
| RayCollision(const ::Ray &ray, const ::BoundingBox &box) | raylib::RayCollision | inline |
| RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform) | raylib::RayCollision | inline |
| RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) | raylib::RayCollision | inline |
| RayCollision(const ::Ray &ray, ::Vector3 center, float radius) | raylib::RayCollision | inline |
| RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) | raylib::RayCollision | inline |
| SetDistance(float value) | raylib::RayCollision | inline |
| SetHit(bool value) | raylib::RayCollision | inline |
| SetNormal(::Vector3 value) | raylib::RayCollision | inline |
| SetPosition(::Vector3 value) | raylib::RayCollision | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Raycast hit information. - More...
--Public Member Functions | |
| - | RayCollision (bool hit, float distance, ::Vector3 point, ::Vector3 normal) |
| - | RayCollision (const ::Ray &ray, ::Vector3 center, float radius) |
| Get collision info between ray and sphere. | |
| - | RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) |
| Get collision info between ray and triangle. | |
| - | RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) |
| Get collision info between ray and quad. | |
| - | RayCollision (const ::Ray &ray, const ::BoundingBox &box) |
| Get collision info between ray and bounding box. | |
| - | RayCollision (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform) |
| Get collision info between ray and mesh. | |
| - | RayCollision (const ::RayCollision &ray) |
| float | GetDistance () const |
| Retrieves the distance value for the object. More... | |
| bool | GetHit () const |
| Retrieves the hit value for the object. More... | |
| ::Vector3 | GetNormal () const |
| Retrieves the normal value for the object. More... | |
| ::Vector3 | GetPosition () const |
| Retrieves the point value for the object. More... | |
| -RayCollision & | operator= (const ::RayCollision &ray) |
| void | SetDistance (float value) |
| Sets the distance value for the object. More... | |
| void | SetHit (bool value) |
| Sets the hit value for the object. More... | |
| void | SetNormal (::Vector3 value) |
| Sets the normal value for the object. More... | |
| void | SetPosition (::Vector3 value) |
| Sets the point value for the object. More... | |
Raycast hit information.
- -Definition at line 11 of file RayCollision.hpp.
-
-
|
- -inline | -
Retrieves the distance value for the object.
-Definition at line 63 of file RayCollision.hpp.
- -
-
|
- -inline | -
Retrieves the hit value for the object.
-Definition at line 62 of file RayCollision.hpp.
- -
-
|
- -inline | -
Retrieves the normal value for the object.
-Definition at line 65 of file RayCollision.hpp.
- -
-
|
- -inline | -
Retrieves the point value for the object.
-Definition at line 64 of file RayCollision.hpp.
- -
-
|
- -inline | -
Sets the distance value for the object.
-| value | The value of which to set distance to. |
Definition at line 63 of file RayCollision.hpp.
- -
-
|
- -inline | -
Sets the hit value for the object.
-| value | The value of which to set hit to. |
Definition at line 62 of file RayCollision.hpp.
- -
-
|
- -inline | -
Sets the normal value for the object.
-| value | The value of which to set normal to. |
Definition at line 65 of file RayCollision.hpp.
- -
-
|
- -inline | -
Sets the point value for the object.
-| value | The value of which to set point to. |
Definition at line 64 of file RayCollision.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::RayHitInfo, including all inherited members.
-| GetDistance() const | raylib::RayHitInfo | inline |
| GetHit() const | raylib::RayHitInfo | inline |
| GetNormal() const | raylib::RayHitInfo | inline |
| GetPosition() const | raylib::RayHitInfo | inline |
| operator=(const ::RayHitInfo &ray) (defined in raylib::RayHitInfo) | raylib::RayHitInfo | inline |
| RayHitInfo(const ::RayHitInfo &ray) (defined in raylib::RayHitInfo) | raylib::RayHitInfo | inline |
| RayHitInfo(bool Hit, float Distance, ::Vector3 Position, ::Vector3 Normal) (defined in raylib::RayHitInfo) | raylib::RayHitInfo | inline |
| RayHitInfo(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform) | raylib::RayHitInfo | inline |
| RayHitInfo(const ::Ray &ray, const ::Model &model) | raylib::RayHitInfo | inline |
| RayHitInfo(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) | raylib::RayHitInfo | inline |
| RayHitInfo(const ::Ray &ray, float groundHeight) | raylib::RayHitInfo | inline |
| SetDistance(float value) | raylib::RayHitInfo | inline |
| SetHit(bool value) | raylib::RayHitInfo | inline |
| SetNormal(::Vector3 value) | raylib::RayHitInfo | inline |
| SetPosition(::Vector3 value) | raylib::RayHitInfo | inline |
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_ray_hit_info.html b/docs/classraylib_1_1_ray_hit_info.html
deleted file mode 100644
index c74682c3..00000000
--- a/docs/classraylib_1_1_ray_hit_info.html
+++ /dev/null
@@ -1,410 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Raycast hit information. - More...
--Public Member Functions | |
| - | RayHitInfo (bool Hit, float Distance, ::Vector3 Position, ::Vector3 Normal) |
| - | RayHitInfo (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) |
| Get collision info between ray and triangle. | |
| - | RayHitInfo (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform) |
| Get collision info between ray and mesh. | |
| - | RayHitInfo (const ::Ray &ray, const ::Model &model) |
| Get collision info between ray and model. | |
| - | RayHitInfo (const ::Ray &ray, float groundHeight) |
| Get collision info between ray and ground plane (Y-normal plane) | |
| - | RayHitInfo (const ::RayHitInfo &ray) |
| float | GetDistance () const |
| Retrieves the distance value for the object. More... | |
| bool | GetHit () const |
| Retrieves the hit value for the object. More... | |
| ::Vector3 | GetNormal () const |
| Retrieves the normal value for the object. More... | |
| ::Vector3 | GetPosition () const |
| Retrieves the position value for the object. More... | |
| -RayHitInfo & | operator= (const ::RayHitInfo &ray) |
| void | SetDistance (float value) |
| Sets the distance value for the object. More... | |
| void | SetHit (bool value) |
| Sets the hit value for the object. More... | |
| void | SetNormal (::Vector3 value) |
| Sets the normal value for the object. More... | |
| void | SetPosition (::Vector3 value) |
| Sets the position value for the object. More... | |
Raycast hit information.
- -Definition at line 11 of file RayHitInfo.hpp.
-
-
|
- -inline | -
Retrieves the distance value for the object.
-Definition at line 58 of file RayHitInfo.hpp.
- -
-
|
- -inline | -
Retrieves the hit value for the object.
-Definition at line 57 of file RayHitInfo.hpp.
- -
-
|
- -inline | -
Retrieves the normal value for the object.
-Definition at line 60 of file RayHitInfo.hpp.
- -
-
|
- -inline | -
Retrieves the position value for the object.
-Definition at line 59 of file RayHitInfo.hpp.
- -
-
|
- -inline | -
Sets the distance value for the object.
-| value | The value of which to set distance to. |
Definition at line 58 of file RayHitInfo.hpp.
- -
-
|
- -inline | -
Sets the hit value for the object.
-| value | The value of which to set hit to. |
Definition at line 57 of file RayHitInfo.hpp.
- -
-
|
- -inline | -
Sets the normal value for the object.
-| value | The value of which to set normal to. |
Definition at line 60 of file RayHitInfo.hpp.
- -
-
|
- -inline | -
Sets the position value for the object.
-| value | The value of which to set position to. |
Definition at line 59 of file RayHitInfo.hpp.
- -
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_raylib_exception-members.html b/docs/classraylib_1_1_raylib_exception-members.html
deleted file mode 100644
index f91adbb6..00000000
--- a/docs/classraylib_1_1_raylib_exception-members.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::RaylibException, including all inherited members.
-| RaylibException(std::string message) | raylib::RaylibException | inline |
| TraceLog(int logLevel=LOG_ERROR) | raylib::RaylibException | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Exception used for most raylib-related exceptions. - More...
--Public Member Functions | |
| RaylibException (std::string message) throw () | |
| Construct a runtime exception with the given message. More... | |
| void | TraceLog (int logLevel=LOG_ERROR) |
| Outputs the exception message to TraceLog(). More... | |
Exception used for most raylib-related exceptions.
- -Definition at line 13 of file RaylibException.hpp.
-
-
|
- -inline | -||||||||||||||
Construct a runtime exception with the given message.
-| message | The message to provide for the exception. |
Definition at line 20 of file RaylibException.hpp.
- -
-
|
- -inline | -
Outputs the exception message to TraceLog().
-| logLevel | The output status to use when outputing. |
Definition at line 29 of file RaylibException.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Rectangle, including all inherited members.
-| CheckCollision(::Rectangle rec2) const | raylib::Rectangle | inline |
| CheckCollision(::Vector2 point) const | raylib::Rectangle | inline |
| CheckCollision(::Vector2 center, float radius) | raylib::Rectangle | inline |
| Draw(::Color color) const | raylib::Rectangle | inline |
| Draw(::Vector2 origin, float rotation, ::Color color) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| DrawGradientH(::Color color1, ::Color color2) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| DrawGradientV(::Color color1, ::Color color2) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| DrawLines(::Color color) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| DrawLines(::Color color, float lineThick) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| DrawRounded(float roundness, int segments, ::Color color) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color) const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| GetCollision(::Rectangle rec2) const | raylib::Rectangle | inline |
| GetHeight() const | raylib::Rectangle | inline |
| GetPosition() (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| GetSize() (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| GetWidth() const | raylib::Rectangle | inline |
| GetX() const | raylib::Rectangle | inline |
| GetY() const | raylib::Rectangle | inline |
| operator::Vector4() const (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| operator=(const ::Rectangle &rect) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(const ::Rectangle &rect) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(float x, float y, float width, float height) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(float x, float y, float width) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(float x, float y) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(float x) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle() (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(::Vector2 position, ::Vector2 size) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(::Vector2 size) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| Rectangle(::Vector4 rect) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| SetHeight(float value) | raylib::Rectangle | inline |
| SetPosition(float newX, float newY) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| SetPosition(const ::Vector2 &position) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| SetShapesTexture(const ::Texture2D &texture) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| SetSize(float newWidth, float newHeight) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| SetSize(const ::Vector2 &size) (defined in raylib::Rectangle) | raylib::Rectangle | inline |
| SetWidth(float value) | raylib::Rectangle | inline |
| SetX(float value) | raylib::Rectangle | inline |
| SetY(float value) | raylib::Rectangle | inline |
| ToVector4() (defined in raylib::Rectangle) | raylib::Rectangle | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| - | Rectangle (::Vector2 position, ::Vector2 size) |
| - | Rectangle (::Vector2 size) |
| - | Rectangle (::Vector4 rect) |
| - | Rectangle (const ::Rectangle &rect) |
| - | Rectangle (float x) |
| - | Rectangle (float x, float y) |
| - | Rectangle (float x, float y, float width) |
| - | Rectangle (float x, float y, float width, float height) |
| -bool | CheckCollision (::Rectangle rec2) const |
| Check collision between two rectangles. | |
| -bool | CheckCollision (::Vector2 center, float radius) |
| Check collision between circle and rectangle. | |
| -bool | CheckCollision (::Vector2 point) const |
| Check if point is inside rectangle. | |
| -void | Draw (::Color color) const |
| Draw a color-filled rectangle. | |
| -void | Draw (::Vector2 origin, float rotation, ::Color color) const |
| -void | DrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4) const |
| -void | DrawGradientH (::Color color1, ::Color color2) const |
| -void | DrawGradientV (::Color color1, ::Color color2) const |
| -void | DrawLines (::Color color) const |
| -void | DrawLines (::Color color, float lineThick) const |
| -void | DrawRounded (float roundness, int segments, ::Color color) const |
| -void | DrawRoundedLines (float roundness, int segments, float lineThick, ::Color color) const |
| -inline ::Rectangle | GetCollision (::Rectangle rec2) const |
| Get collision rectangle for two rectangles collision. | |
| float | GetHeight () const |
| Retrieves the height value for the object. More... | |
| -Vector2 | GetPosition () |
| -Vector2 | GetSize () |
| float | GetWidth () const |
| Retrieves the width value for the object. More... | |
| float | GetX () const |
| Retrieves the x value for the object. More... | |
| float | GetY () const |
| Retrieves the y value for the object. More... | |
| - | operator::Vector4 () const |
| -Rectangle & | operator= (const ::Rectangle &rect) |
| void | SetHeight (float value) |
| Sets the height value for the object. More... | |
| -Rectangle & | SetPosition (const ::Vector2 &position) |
| -Rectangle & | SetPosition (float newX, float newY) |
| -Rectangle & | SetShapesTexture (const ::Texture2D &texture) |
| -Rectangle & | SetSize (const ::Vector2 &size) |
| -Rectangle & | SetSize (float newWidth, float newHeight) |
| void | SetWidth (float value) |
| Sets the width value for the object. More... | |
| void | SetX (float value) |
| Sets the x value for the object. More... | |
| void | SetY (float value) |
| Sets the y value for the object. More... | |
| -inline ::Vector4 | ToVector4 () |
Rectangle type.
- -Definition at line 12 of file Rectangle.hpp.
-
-
|
- -inline | -
Retrieves the height value for the object.
-Definition at line 30 of file Rectangle.hpp.
- -
-
|
- -inline | -
Retrieves the width value for the object.
-Definition at line 29 of file Rectangle.hpp.
- -
-
|
- -inline | -
Retrieves the x value for the object.
-Definition at line 27 of file Rectangle.hpp.
- -
-
|
- -inline | -
Retrieves the y value for the object.
-Definition at line 28 of file Rectangle.hpp.
- -
-
|
- -inline | -
Sets the height value for the object.
-| value | The value of which to set height to. |
Definition at line 30 of file Rectangle.hpp.
- -
-
|
- -inline | -
Sets the width value for the object.
-| value | The value of which to set width to. |
Definition at line 29 of file Rectangle.hpp.
- -
-
|
- -inline | -
Sets the x value for the object.
-| value | The value of which to set x to. |
Definition at line 27 of file Rectangle.hpp.
- -
-
|
- -inline | -
Sets the y value for the object.
-| value | The value of which to set y to. |
Definition at line 28 of file Rectangle.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::RenderTexture, including all inherited members.
-| BeginMode() | raylib::RenderTexture | inline |
| EndMode() | raylib::RenderTexture | inline |
| GetDepth() | raylib::RenderTexture | inline |
| GetId() const | raylib::RenderTexture | inline |
| GetTexture() | raylib::RenderTexture | inline |
| IsReady() const | raylib::RenderTexture | inline |
| Load(int width, int height) | raylib::RenderTexture | inlinestatic |
| operator=(const ::RenderTexture &texture) (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| operator=(const RenderTexture &)=delete (defined in raylib::RenderTexture) | raylib::RenderTexture | |
| operator=(RenderTexture &&other) noexcept (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| RenderTexture() | raylib::RenderTexture | inline |
| RenderTexture(const ::RenderTexture &renderTexture) (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| RenderTexture(unsigned int id, const ::Texture &texture, const ::Texture &depth) (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| RenderTexture(int width, int height) | raylib::RenderTexture | inline |
| RenderTexture(const RenderTexture &)=delete (defined in raylib::RenderTexture) | raylib::RenderTexture | |
| RenderTexture(RenderTexture &&other) (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| SetDepth(const ::Texture &newDepth) (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| SetId(unsigned int value) | raylib::RenderTexture | inline |
| SetTexture(const ::Texture &newTexture) (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| Unload() (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
| ~RenderTexture() (defined in raylib::RenderTexture) | raylib::RenderTexture | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
RenderTexture type, for texture rendering. - More...
--Public Member Functions | |
| - | RenderTexture () |
| Default constructor to build an empty RenderTexture. | |
| - | RenderTexture (const ::RenderTexture &renderTexture) |
| - | RenderTexture (const RenderTexture &)=delete |
| - | RenderTexture (int width, int height) |
| Load texture for rendering (framebuffer) | |
| - | RenderTexture (RenderTexture &&other) |
| - | RenderTexture (unsigned int id, const ::Texture &texture, const ::Texture &depth) |
| -RenderTexture & | BeginMode () |
| Initializes render texture for drawing. | |
| -RenderTexture & | EndMode () |
| Ends drawing to render texture. | |
| -TextureUnmanaged | GetDepth () |
| Depth buffer attachment texture. | |
| unsigned int | GetId () const |
| Retrieves the id value for the object. More... | |
| -TextureUnmanaged | GetTexture () |
| Get the color buffer attachment texture. | |
| -bool | IsReady () const |
| Retrieves whether or not the render texture is ready. | |
| -RenderTexture & | operator= (const ::RenderTexture &texture) |
| -RenderTexture & | operator= (const RenderTexture &)=delete |
| -RenderTexture & | operator= (RenderTexture &&other) noexcept |
| -void | SetDepth (const ::Texture &newDepth) |
| void | SetId (unsigned int value) |
| Sets the id value for the object. More... | |
| -void | SetTexture (const ::Texture &newTexture) |
| -void | Unload () |
-Static Public Member Functions | |
| -static RenderTexture | Load (int width, int height) |
| Load texture for rendering (framebuffer) | |
RenderTexture type, for texture rendering.
- -Definition at line 13 of file RenderTexture.hpp.
-
-
|
- -inline | -
Retrieves the id value for the object.
-Definition at line 46 of file RenderTexture.hpp.
- -
-
|
- -inline | -
Sets the id value for the object.
-| value | The value of which to set id to. |
Definition at line 46 of file RenderTexture.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::RenderTexture2D, including all inherited members.
-| BeginTextureMode() | raylib::RenderTexture2D | inline |
| EndTextureMode() | raylib::RenderTexture2D | inline |
| GetDepth() | raylib::RenderTexture2D | inline |
| GetId() | raylib::RenderTexture2D | inline |
| GetTexture() | raylib::RenderTexture2D | inline |
| operator=(const ::RenderTexture2D &texture) | raylib::RenderTexture2D | inline |
| operator=(const RenderTexture2D &texture) | raylib::RenderTexture2D | inline |
| RenderTexture2D(::RenderTexture2D renderTexture) | raylib::RenderTexture2D | inline |
| RenderTexture2D(unsigned int Id) | raylib::RenderTexture2D | inline |
| RenderTexture2D(int width, int height) | raylib::RenderTexture2D | inline |
| set(::RenderTexture2D renderTexture) | raylib::RenderTexture2D | inline |
| SetDepth(Texture2D value) | raylib::RenderTexture2D | inline |
| SetId(unsigned int value) | raylib::RenderTexture2D | inline |
| SetTexture(Texture2D value) | raylib::RenderTexture2D | inline |
| Unload() | raylib::RenderTexture2D | inline |
| ~RenderTexture2D() | raylib::RenderTexture2D | inline |
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_render_texture2_d.html b/docs/classraylib_1_1_render_texture2_d.html
deleted file mode 100644
index 4744af60..00000000
--- a/docs/classraylib_1_1_render_texture2_d.html
+++ /dev/null
@@ -1,591 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| RenderTexture2D (::RenderTexture2D renderTexture) | |
| RenderTexture2D (int width, int height) | |
| RenderTexture2D (unsigned int Id) | |
| ~RenderTexture2D () | |
| RenderTexture2D & | BeginTextureMode () |
| RenderTexture2D & | EndTextureMode () |
| Texture2D | GetDepth () |
| unsigned int | GetId () |
| Texture2D | GetTexture () |
| RenderTexture2D & | operator= (const ::RenderTexture2D &texture) |
| RenderTexture2D & | operator= (const RenderTexture2D &texture) |
| void | set (::RenderTexture2D renderTexture) |
| void | SetDepth (Texture2D value) |
| void | SetId (unsigned int value) |
| void | SetTexture (Texture2D value) |
| void | Unload () |
Definition at line 15 of file RenderTexture2D.hpp.
-
-
|
- -inline | -
Definition at line 17 of file RenderTexture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 20 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 23 of file RenderTexture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 47 of file RenderTexture2D.hpp.
- -References Unload().
- -
-
|
- -inline | -
Definition at line 55 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 60 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 35 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 33 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 34 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 37 of file RenderTexture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 42 of file RenderTexture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 27 of file RenderTexture2D.hpp.
- -Referenced by operator=(), and RenderTexture2D().
- -
-
|
- -inline | -
Definition at line 35 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 33 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 34 of file RenderTexture2D.hpp.
- -
-
|
- -inline | -
Definition at line 51 of file RenderTexture2D.hpp.
- -Referenced by ~RenderTexture2D().
- -
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_shader-members.html b/docs/classraylib_1_1_shader-members.html
deleted file mode 100644
index 3bd8f9c9..00000000
--- a/docs/classraylib_1_1_shader-members.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Shader, including all inherited members.
-| BeginMode() | raylib::Shader | inline |
| EndMode() | raylib::Shader | inline |
| GetId() const | raylib::Shader | inline |
| GetLocation(const std::string &uniformName) const | raylib::Shader | inline |
| GetLocationAttrib(const std::string &attribName) const | raylib::Shader | inline |
| GetLocs() const | raylib::Shader | inline |
| IsReady() const | raylib::Shader | inline |
| Load(const std::string &vsFileName, const std::string &fsFileName) | raylib::Shader | inlinestatic |
| LoadFromMemory(const std::string &vsCode, const std::string &fsCode) | raylib::Shader | inlinestatic |
| operator=(const ::Shader &shader) (defined in raylib::Shader) | raylib::Shader | inline |
| operator=(const Shader &)=delete (defined in raylib::Shader) | raylib::Shader | |
| operator=(Shader &&other) noexcept (defined in raylib::Shader) | raylib::Shader | inline |
| SetId(unsigned int value) | raylib::Shader | inline |
| SetLocs(int *value) | raylib::Shader | inline |
| SetValue(int uniformLoc, const void *value, int uniformType) | raylib::Shader | inline |
| SetValue(int uniformLoc, const void *value, int uniformType, int count) | raylib::Shader | inline |
| SetValue(int uniformLoc, const ::Matrix &mat) | raylib::Shader | inline |
| SetValue(int uniformLoc, const ::Texture2D &texture) | raylib::Shader | inline |
| Shader(const ::Shader &shader) (defined in raylib::Shader) | raylib::Shader | inline |
| Shader(unsigned int id, int *locs=nullptr) (defined in raylib::Shader) | raylib::Shader | inline |
| Shader(const std::string &vsFileName, const std::string &fsFileName) (defined in raylib::Shader) | raylib::Shader | inline |
| Shader(const char *vsFileName, const char *fsFileName) (defined in raylib::Shader) | raylib::Shader | inline |
| Shader(const Shader &)=delete (defined in raylib::Shader) | raylib::Shader | |
| Shader(Shader &&other) (defined in raylib::Shader) | raylib::Shader | inline |
| Unload() | raylib::Shader | inline |
| ~Shader() | raylib::Shader | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Shader type (generic) - More...
--Public Member Functions | |
| - | Shader (const ::Shader &shader) |
| - | Shader (const char *vsFileName, const char *fsFileName) |
| - | Shader (const Shader &)=delete |
| - | Shader (const std::string &vsFileName, const std::string &fsFileName) |
| - | Shader (Shader &&other) |
| - | Shader (unsigned int id, int *locs=nullptr) |
| - | ~Shader () |
| Unload shader from GPU memory (VRAM) | |
| -Shader & | BeginMode () |
| Begin custom shader drawing. | |
| -Shader & | EndMode () |
| End custom shader drawing (use default shader). | |
| unsigned int | GetId () const |
| Retrieves the id value for the object. More... | |
| int | GetLocation (const std::string &uniformName) const |
| Get shader uniform location. More... | |
| int | GetLocationAttrib (const std::string &attribName) const |
| Get shader attribute location. More... | |
| int * | GetLocs () const |
| Retrieves the locs value for the object. More... | |
| -bool | IsReady () const |
| Retrieves whether or not the shader is ready. | |
| -Shader & | operator= (const ::Shader &shader) |
| -Shader & | operator= (const Shader &)=delete |
| -Shader & | operator= (Shader &&other) noexcept |
| void | SetId (unsigned int value) |
| Sets the id value for the object. More... | |
| void | SetLocs (int *value) |
| Sets the locs value for the object. More... | |
| Shader & | SetValue (int uniformLoc, const ::Matrix &mat) |
| Set shader uniform value (matrix 4x4) More... | |
| Shader & | SetValue (int uniformLoc, const ::Texture2D &texture) |
| Set shader uniform value for texture. More... | |
| Shader & | SetValue (int uniformLoc, const void *value, int uniformType) |
| Set shader uniform value. More... | |
| Shader & | SetValue (int uniformLoc, const void *value, int uniformType, int count) |
| Set shader uniform value vector. More... | |
| -void | Unload () |
| Unload shader from GPU memory (VRAM) | |
-Static Public Member Functions | |
| ::Shader | Load (const std::string &vsFileName, const std::string &fsFileName) |
| Load shader from files and bind default locations. More... | |
| ::Shader | LoadFromMemory (const std::string &vsCode, const std::string &fsCode) |
| Load a shader from memory. More... | |
Shader type (generic)
- -Definition at line 14 of file Shader.hpp.
-
-
|
- -inline | -
Retrieves the id value for the object.
-Definition at line 57 of file Shader.hpp.
- -
-
|
- -inline | -
Get shader uniform location.
-Definition at line 118 of file Shader.hpp.
- -
-
|
- -inline | -
Get shader attribute location.
-Definition at line 127 of file Shader.hpp.
- -
-
|
- -inline | -
Retrieves the locs value for the object.
-Definition at line 58 of file Shader.hpp.
- -
-
|
- -inlinestatic | -
Load shader from files and bind default locations.
-Definition at line 44 of file Shader.hpp.
- -
-
|
- -inlinestatic | -
Load a shader from memory.
-Definition at line 53 of file Shader.hpp.
- -
-
|
- -inline | -
Sets the id value for the object.
-| value | The value of which to set id to. |
Definition at line 57 of file Shader.hpp.
- -
-
|
- -inline | -
Sets the locs value for the object.
-| value | The value of which to set locs to. |
Definition at line 58 of file Shader.hpp.
- -
-
|
- -inline | -
Set shader uniform value (matrix 4x4)
-Definition at line 156 of file Shader.hpp.
- -
-
|
- -inline | -
Set shader uniform value for texture.
-Definition at line 166 of file Shader.hpp.
- -
-
|
- -inline | -
Set shader uniform value.
-Definition at line 136 of file Shader.hpp.
- -
-
|
- -inline | -
Set shader uniform value vector.
-Definition at line 146 of file Shader.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Sound, including all inherited members.
-| GetFrameCount() const | raylib::Sound | inline |
| GetPlaying() | raylib::Sound | inline |
| GetStream() const | raylib::Sound | inline |
| IsPlaying() const | raylib::Sound | inline |
| IsReady() const | raylib::Sound | inline |
| Load(const std::string &fileName) | raylib::Sound | inline |
| Load(const ::Wave &wave) | raylib::Sound | inline |
| operator=(const Sound &)=delete (defined in raylib::Sound) | raylib::Sound | |
| operator=(Sound &&other) noexcept (defined in raylib::Sound) | raylib::Sound | inline |
| Pause() | raylib::Sound | inline |
| Play() | raylib::Sound | inline |
| PlayMulti() | raylib::Sound | inline |
| Resume() | raylib::Sound | inline |
| SetFrameCount(unsigned int value) | raylib::Sound | inline |
| SetPan(float pan=0.5f) | raylib::Sound | inline |
| SetPitch(float pitch) | raylib::Sound | inline |
| SetStream(::AudioStream value) | raylib::Sound | inline |
| SetVolume(float volume) | raylib::Sound | inline |
| Sound(const Sound &)=delete (defined in raylib::Sound) | raylib::Sound | |
| Sound() (defined in raylib::Sound) | raylib::Sound | inline |
| Sound(::AudioStream stream, unsigned int frameCount) (defined in raylib::Sound) | raylib::Sound | inline |
| Sound(Sound &&other) (defined in raylib::Sound) | raylib::Sound | inline |
| Sound(const std::string &fileName) | raylib::Sound | inline |
| Sound(const ::Wave &wave) | raylib::Sound | inline |
| Stop() | raylib::Sound | inline |
| StopMulti() | raylib::Sound | inline |
| Unload() | raylib::Sound | inline |
| Update(const void *data, int samplesCount) | raylib::Sound | inline |
| Update(const void *data) | raylib::Sound | inline |
| ~Sound() (defined in raylib::Sound) | raylib::Sound | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Wave/Sound management functions. - More...
--Public Member Functions | |
| - | Sound (::AudioStream stream, unsigned int frameCount) |
| Sound (const ::Wave &wave) | |
| Loads a sound from the given Wave. More... | |
| - | Sound (const Sound &)=delete |
| Sound (const std::string &fileName) | |
| Loads a sound from the given file. More... | |
| - | Sound (Sound &&other) |
| unsigned int | GetFrameCount () const |
| Retrieves the frameCount value for the object. More... | |
| -int | GetPlaying () |
| Get number of sounds playing in the multichannel. | |
| ::AudioStream | GetStream () const |
| Retrieves the stream value for the object. More... | |
| -bool | IsPlaying () const |
| Check if a sound is currently playing. | |
| bool | IsReady () const |
| Retrieve whether or not the Sound buffer is loaded. More... | |
| void | Load (const ::Wave &wave) |
| Loads the given Wave object into the Sound. More... | |
| void | Load (const std::string &fileName) |
| Load a sound from the given file. More... | |
| -Sound & | operator= (const Sound &)=delete |
| -Sound & | operator= (Sound &&other) noexcept |
| -Sound & | Pause () |
| Pause a sound. | |
| -Sound & | Play () |
| Play a sound. | |
| -Sound & | PlayMulti () |
| Play a sound (using multichannel buffer pool) | |
| -Sound & | Resume () |
| Resume a paused sound. | |
| void | SetFrameCount (unsigned int value) |
| Sets the frameCount value for the object. More... | |
| -Sound & | SetPan (float pan=0.5f) |
| Set pan for a sound (0.5 is center) | |
| -Sound & | SetPitch (float pitch) |
| Set pitch for a sound (1.0 is base level) | |
| void | SetStream (::AudioStream value) |
| Sets the stream value for the object. More... | |
| -Sound & | SetVolume (float volume) |
| Set volume for a sound (1.0 is max level) | |
| -Sound & | Stop () |
| Stop playing a sound. | |
| -Sound & | StopMulti () |
| Stop any sound playing (using multichannel buffer pool) | |
| -void | Unload () |
| Unload sound. | |
| -Sound & | Update (const void *data) |
| Update sound buffer with new data, assuming it's the same sample count. | |
| -Sound & | Update (const void *data, int samplesCount) |
| Update sound buffer with new data. | |
Wave/Sound management functions.
-
-
|
- -inline | -
Loads a sound from the given file.
-| raylib::RaylibException | Throws if the Sound failed to load. |
Definition at line 45 of file Sound.hpp.
- -References Load().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Text, including all inherited members.
-| color | raylib::Text | |
| Draw(const ::Vector2 &position) const | raylib::Text | inline |
| Draw(int posX, int posY) const | raylib::Text | inline |
| Draw(const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) const | raylib::Text | inline |
| Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color) | raylib::Text | inlinestatic |
| Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color) | raylib::Text | inlinestatic |
| Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color) | raylib::Text | inlinestatic |
| Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color) | raylib::Text | inlinestatic |
| font | raylib::Text | |
| fontSize | raylib::Text | |
| GetColor() const | raylib::Text | inline |
| GetFont() const | raylib::Text | inline |
| GetFontSize() const | raylib::Text | inline |
| GetSpacing() const | raylib::Text | inline |
| GetText() const | raylib::Text | inline |
| Measure() | raylib::Text | inline |
| MeasureEx() | raylib::Text | inline |
| operator=(const Text &other) (defined in raylib::Text) | raylib::Text | inline |
| SetColor(::Color value) | raylib::Text | inline |
| SetFont(::Font value) | raylib::Text | inline |
| SetFontSize(float value) | raylib::Text | inline |
| SetSpacing(float value) | raylib::Text | inline |
| SetText(std::string value) | raylib::Text | inline |
| spacing | raylib::Text | |
| text | raylib::Text | |
| Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0) | raylib::Text | inline |
| Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE) | raylib::Text | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| Text (const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE) | |
| Initializes a new Text object with a custom font. More... | |
| Text (const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0) | |
| Initializes a new Text object. More... | |
| -void | Draw (const ::Vector2 &position) const |
| Draw text with values in class. | |
| void | Draw (const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) const |
| Draw text using Font and pro parameters (rotation). More... | |
| -void | Draw (int posX, int posY) const |
| Draw text with values in class. | |
| ::Color | GetColor () const |
| Retrieves the color value for the object. More... | |
| ::Font | GetFont () const |
| Retrieves the font value for the object. More... | |
| float | GetFontSize () const |
| Retrieves the fontSize value for the object. More... | |
| float | GetSpacing () const |
| Retrieves the spacing value for the object. More... | |
| std::string | GetText () const |
| Retrieves the text value for the object. More... | |
| -int | Measure () |
| Measure string width for default font. | |
| -Vector2 | MeasureEx () |
| Measure string size for Font. | |
| -Text & | operator= (const Text &other) |
| void | SetColor (::Color value) |
| Sets the color value for the object. More... | |
| void | SetFont (::Font value) |
| Sets the font value for the object. More... | |
| void | SetFontSize (float value) |
| Sets the fontSize value for the object. More... | |
| void | SetSpacing (float value) |
| Sets the spacing value for the object. More... | |
| void | SetText (std::string value) |
| Sets the text value for the object. More... | |
-Static Public Member Functions | |
| static void | Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color) |
| Draw text using font, color, position, origin, font size and spacing. More... | |
| static void | Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color) |
| Draw text using font, color, position, font size and spacing. More... | |
| static void | Draw (const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color) |
| Draw text using font and color, with position defined as Vector2. More... | |
| static void | Draw (const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color) |
| Draw text using font and color. More... | |
-Public Attributes | |
| -::Color | color |
| The color of the text. | |
| -::Font | font |
| The internal raylib font to use for the text. | |
| -float | fontSize |
| The size of the text. | |
| -float | spacing |
| The character spacing for the text. | |
| -std::string | text |
| The internal text. | |
-
|
- -inlinestatic | -
Draw text using font, color, position, origin, font size and spacing.
-Definition at line 196 of file Text.hpp.
- -References color, raylib::DrawTextPro(), font, fontSize, spacing, and text.
- -
-
|
- -inlinestatic | -
Draw text using font, color, position, font size and spacing.
-Definition at line 181 of file Text.hpp.
- -References color, raylib::DrawTextEx(), font, fontSize, spacing, and text.
- -
-
|
- -inline | -
Draw text using Font and pro parameters (rotation).
-
-
|
- -inlinestatic | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Texture, including all inherited members.
-| Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawPoly(::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| GenMipmaps() | raylib::TextureUnmanaged | inline |
| GetData() const | raylib::TextureUnmanaged | inline |
| GetFormat() const | raylib::TextureUnmanaged | inline |
| GetHeight() const | raylib::TextureUnmanaged | inline |
| GetId() const | raylib::TextureUnmanaged | inline |
| GetMipmaps() const | raylib::TextureUnmanaged | inline |
| GetSize() const | raylib::TextureUnmanaged | inline |
| GetWidth() const | raylib::TextureUnmanaged | inline |
| IsReady() const | raylib::TextureUnmanaged | inline |
| Load(const ::Image &image) | raylib::TextureUnmanaged | inline |
| Load(const ::Image &image, int layoutType) | raylib::TextureUnmanaged | inline |
| Load(const std::string &fileName) | raylib::TextureUnmanaged | inline |
| operator Image() | raylib::TextureUnmanaged | inline |
| operator=(const Texture &)=delete | raylib::Texture | |
| operator=(Texture &&other) noexcept | raylib::Texture | inline |
| operator=(const ::Texture &texture) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inline |
| set(const ::Texture &texture) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inlineprotected |
| SetFilter(int filterMode) | raylib::TextureUnmanaged | inline |
| SetFormat(int value) | raylib::TextureUnmanaged | inline |
| SetHeight(int value) | raylib::TextureUnmanaged | inline |
| SetId(unsigned int value) | raylib::TextureUnmanaged | inline |
| SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL) | raylib::TextureUnmanaged | inline |
| SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inline |
| SetMipmaps(int value) | raylib::TextureUnmanaged | inline |
| SetShaderValue(const ::Shader &shader, int locIndex) | raylib::TextureUnmanaged | inline |
| SetShapes(const ::Rectangle &source) | raylib::TextureUnmanaged | inline |
| SetWidth(int value) | raylib::TextureUnmanaged | inline |
| SetWrap(int wrapMode) | raylib::TextureUnmanaged | inline |
| Texture(const Texture &)=delete | raylib::Texture | |
| Texture(Texture &&other) | raylib::Texture | inline |
| TextureUnmanaged() | raylib::Texture | inline |
| TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) | raylib::Texture | inline |
| TextureUnmanaged(const ::Texture &texture) | raylib::Texture | inline |
| TextureUnmanaged(const ::Image &image) | raylib::Texture | inline |
| TextureUnmanaged(const ::Image &image, int layout) | raylib::Texture | inline |
| TextureUnmanaged(const std::string &fileName) | raylib::Texture | inline |
| TextureUnmanaged(::Texture &&other) (defined in raylib::Texture) | raylib::Texture | inline |
| raylib::TextureUnmanaged::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) | raylib::TextureUnmanaged | inline |
| raylib::TextureUnmanaged::TextureUnmanaged(const ::Texture &texture) | raylib::TextureUnmanaged | inline |
| raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image) | raylib::TextureUnmanaged | inline |
| raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image, int layout) | raylib::TextureUnmanaged | inline |
| raylib::TextureUnmanaged::TextureUnmanaged(const std::string &fileName) | raylib::TextureUnmanaged | inline |
| TextureUnmanaged(::Texture &&other) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inline |
| Unload() | raylib::TextureUnmanaged | inline |
| Update(const void *pixels) | raylib::TextureUnmanaged | inline |
| Update(::Rectangle rec, const void *pixels) | raylib::TextureUnmanaged | inline |
| ~Texture() | raylib::Texture | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| - | Texture (const Texture &)=delete |
| Explicitly forbid the copy constructor. | |
| - | Texture (Texture &&other) |
| Move constructor. | |
| - | ~Texture () |
| On destruction, unload the Texture. | |
| -Texture & | operator= (const Texture &)=delete |
| Explicitly forbid copy assignment. | |
| -Texture & | operator= (Texture &&other) noexcept |
| Move assignment. | |
| - | TextureUnmanaged () |
| Default texture constructor. | |
| - | TextureUnmanaged (::Texture &&other) |
| TextureUnmanaged (const ::Image &image) | |
| Creates a texture from the given Image. More... | |
| TextureUnmanaged (const ::Image &image, int layout) | |
| Load cubemap from image, multiple image cubemap layouts supported. More... | |
| - | TextureUnmanaged (const ::Texture &texture) |
| Creates a texture object based on the given Texture struct data. | |
| TextureUnmanaged (const std::string &fileName) | |
| Load texture from file into GPU memory (VRAM) More... | |
| - | TextureUnmanaged (unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) |
| Move/Create a texture structure manually. | |
Public Member Functions inherited from raylib::TextureUnmanaged | |
| - | TextureUnmanaged () |
| Default texture constructor. | |
| - | TextureUnmanaged (::Texture &&other) |
| TextureUnmanaged (const ::Image &image) | |
| Creates a texture from the given Image. More... | |
| TextureUnmanaged (const ::Image &image, int layout) | |
| Load cubemap from image, multiple image cubemap layouts supported. More... | |
| - | TextureUnmanaged (const ::Texture &texture) |
| Creates a texture object based on the given Texture struct data. | |
| TextureUnmanaged (const std::string &fileName) | |
| Load texture from file into GPU memory (VRAM) More... | |
| - | TextureUnmanaged (unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) |
| Move/Create a texture structure manually. | |
| void | Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const |
| Draws a texture (or part of it) that stretches or shrinks nicely. More... | |
| void | Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const |
| Draw a part of a texture defined by a rectangle with 'pro' parameters. More... | |
| void | Draw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const |
| Draw a part of a texture defined by a rectangle. More... | |
| void | Draw (::Vector2 position, ::Color tint={255, 255, 255, 255}) const |
| Draw a Texture2D with position defined as Vector2. More... | |
| void | Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a Texture2D with extended parameters. More... | |
| void | Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const |
| Draw texture quad with tiling and offset parameters. More... | |
| void | Draw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const |
| Draw a Texture2D. More... | |
| void | DrawBillboard (const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture defined by source. More... | |
| void | DrawBillboard (const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture defined by source and rotation. More... | |
| void | DrawBillboard (const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture. More... | |
| void | DrawCube (::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const |
| Draw cube with a region of a texture, with dimensions. More... | |
| void | DrawCube (::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const |
| Draw cube with a region of a texture. More... | |
| void | DrawCube (::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const |
| Draw cube textured, with dimensions. More... | |
| void | DrawCube (::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const |
| Draw cube textured. More... | |
| void | DrawPoly (::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const |
| Draw a textured polygon. More... | |
| void | DrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const |
| Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. More... | |
| -TextureUnmanaged & | GenMipmaps () |
| Generate GPU mipmaps for a texture. | |
| -inline ::Image | GetData () const |
| Get pixel data from GPU texture and return an Image. | |
| int | GetFormat () const |
| Retrieves the format value for the object. More... | |
| int | GetHeight () const |
| Retrieves the height value for the object. More... | |
| unsigned int | GetId () const |
| Retrieves the id value for the object. More... | |
| int | GetMipmaps () const |
| Retrieves the mipmaps value for the object. More... | |
| -inline ::Vector2 | GetSize () const |
| Retrieve the width and height of the texture. | |
| int | GetWidth () const |
| Retrieves the width value for the object. More... | |
| bool | IsReady () const |
| Determines whether or not the Texture has been loaded and is ready. More... | |
| -void | Load (const ::Image &image) |
| Load texture from image data. | |
| -void | Load (const ::Image &image, int layoutType) |
| Load cubemap from image, multiple image cubemap layouts supported. | |
| -void | Load (const std::string &fileName) |
| Load texture from file into GPU memory (VRAM) | |
| - | operator Image () |
| Get pixel data from GPU texture and return an Image. | |
| -TextureUnmanaged & | operator= (const ::Texture &texture) |
| -TextureUnmanaged & | SetFilter (int filterMode) |
| Set texture scaling filter mode. | |
| void | SetFormat (int value) |
| Sets the format value for the object. More... | |
| void | SetHeight (int value) |
| Sets the height value for the object. More... | |
| void | SetId (unsigned int value) |
| Sets the id value for the object. More... | |
| -TextureUnmanaged & | SetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL) |
| Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) | |
| -TextureUnmanaged & | SetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) |
| void | SetMipmaps (int value) |
| Sets the mipmaps value for the object. More... | |
| -TextureUnmanaged & | SetShaderValue (const ::Shader &shader, int locIndex) |
| Set shader uniform value for texture (sampler2d) | |
| -TextureUnmanaged & | SetShapes (const ::Rectangle &source) |
| Set texture and rectangle to be used on shapes drawing. | |
| void | SetWidth (int value) |
| Sets the width value for the object. More... | |
| -TextureUnmanaged & | SetWrap (int wrapMode) |
| Set texture wrapping mode. | |
| -void | Unload () |
| Unload texture from GPU memory (VRAM) | |
| -TextureUnmanaged & | Update (::Rectangle rec, const void *pixels) |
| Update GPU texture rectangle with new data. | |
| -TextureUnmanaged & | Update (const void *pixels) |
| Update GPU texture with new data. | |
-Additional Inherited Members | |
Protected Member Functions inherited from raylib::TextureUnmanaged | |
| -void | set (const ::Texture &texture) |
Texture type.
-The texture will be unloaded on object destruction. Use raylib::TextureUnmanaged if you're looking to not unload.
-Definition at line 14 of file Texture.hpp.
-
-
|
- -inline | -
Creates a texture from the given Image.
-| raylib::RaylibException | Throws if failed to create the texture from the given image. |
Definition at line 54 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Load cubemap from image, multiple image cubemap layouts supported.
-| raylib::RaylibException | Throws if failed to create the texture from the given cubemap. |
Definition at line 65 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Load texture from file into GPU memory (VRAM)
-| raylib::RaylibException | Throws if failed to create the texture from the given file. |
Definition at line 74 of file TextureUnmanaged.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Texture2D, including all inherited members.
-| Draw(int posX, int posY, ::Color tint=WHITE) | raylib::Texture2D | inline |
| Draw(::Vector2 position, ::Color tint=WHITE) | raylib::Texture2D | inline |
| Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE) | raylib::Texture2D | inline |
| Draw(::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE) | raylib::Texture2D | inline |
| Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE) | raylib::Texture2D | inline |
| Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE) | raylib::Texture2D | inline |
| Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE) | raylib::Texture2D | inline |
| Draw(::Vector3 position, float width, float height, float length, ::Color color=WHITE) | raylib::Texture2D | inline |
| DrawTiled(Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE) | raylib::Texture2D | inline |
| GenMipmaps() | raylib::Texture2D | inline |
| GetFormat() | raylib::Texture2D | inline |
| GetHeight() | raylib::Texture2D | inline |
| GetId() | raylib::Texture2D | inline |
| GetMipmaps() | raylib::Texture2D | inline |
| GetPixelDataSize(int width, int height, int format) | raylib::Texture2D | inlinestatic |
| GetTextureData() | raylib::Texture2D | inline |
| GetWidth() | raylib::Texture2D | inline |
| Load(const std::string &fileName) | raylib::Texture2D | inline |
| LoadFromImage(::Image &image) | raylib::Texture2D | inline |
| LoadTextureCubemap(::Image &image, int layoutType) | raylib::Texture2D | inline |
| operator raylib::Image() | raylib::Texture2D | inline |
| operator=(const ::Texture2D &texture) | raylib::Texture2D | inline |
| operator=(const Texture2D &texture) | raylib::Texture2D | inline |
| set(::Texture2D texture) | raylib::Texture2D | inline |
| SetFilter(int filterMode) | raylib::Texture2D | inline |
| SetFormat(int value) | raylib::Texture2D | inline |
| SetHeight(int value) | raylib::Texture2D | inline |
| SetId(unsigned int value) | raylib::Texture2D | inline |
| SetMaterialTexture(Material *material, int mapType) | raylib::Texture2D | inline |
| SetMipmaps(int value) | raylib::Texture2D | inline |
| SetWidth(int value) | raylib::Texture2D | inline |
| SetWrap(int wrapMode) | raylib::Texture2D | inline |
| Texture2D() | raylib::Texture2D | inline |
| Texture2D(::Image &image) | raylib::Texture2D | inline |
| Texture2D(const std::string &fileName) | raylib::Texture2D | inline |
| Unload() | raylib::Texture2D | inline |
| Update(const void *pixels) | raylib::Texture2D | inline |
| UpdateRec(Rectangle rec, const void *pixels) | raylib::Texture2D | inline |
| ~Texture2D() | raylib::Texture2D | inline |
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_texture2_d.html b/docs/classraylib_1_1_texture2_d.html
deleted file mode 100644
index 21c4e8f3..00000000
--- a/docs/classraylib_1_1_texture2_d.html
+++ /dev/null
@@ -1,1537 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| Texture2D () | |
| Texture2D (::Image &image) | |
| Texture2D (const std::string &fileName) | |
| ~Texture2D () | |
| Texture2D & | Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE) |
| Texture2D & | Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE) |
| Texture2D & | Draw (::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE) |
| Texture2D & | Draw (::Vector2 position, ::Color tint=WHITE) |
| Texture2D & | Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE) |
| Texture2D & | Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE) |
| Texture2D & | Draw (::Vector3 position, float width, float height, float length, ::Color color=WHITE) |
| Texture2D & | Draw (int posX, int posY, ::Color tint=WHITE) |
| Texture2D & | DrawTiled (Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE) |
| Texture2D & | GenMipmaps () |
| int | GetFormat () |
| int | GetHeight () |
| unsigned int | GetId () |
| int | GetMipmaps () |
| Image | GetTextureData () |
| int | GetWidth () |
| void | Load (const std::string &fileName) |
| void | LoadFromImage (::Image &image) |
| void | LoadTextureCubemap (::Image &image, int layoutType) |
| operator raylib::Image () | |
| Texture2D & | operator= (const ::Texture2D &texture) |
| Texture2D & | operator= (const Texture2D &texture) |
| void | set (::Texture2D texture) |
| Texture2D & | SetFilter (int filterMode) |
| void | SetFormat (int value) |
| void | SetHeight (int value) |
| void | SetId (unsigned int value) |
| Texture2D & | SetMaterialTexture (Material *material, int mapType) |
| void | SetMipmaps (int value) |
| void | SetWidth (int value) |
| Texture2D & | SetWrap (int wrapMode) |
| void | Unload () |
| Texture2D & | Update (const void *pixels) |
| Texture2D & | UpdateRec (Rectangle rec, const void *pixels) |
-Static Public Member Functions | |
| static int | GetPixelDataSize (int width, int height, int format) |
Definition at line 19 of file Texture2D.hpp.
-
-
|
- -inline | -
Definition at line 21 of file Texture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 25 of file Texture2D.hpp.
- -References LoadFromImage().
- -
-
|
- -inline | -
Definition at line 29 of file Texture2D.hpp.
- -References Load().
- -
-
|
- -inline | -
Definition at line 33 of file Texture2D.hpp.
- -References Unload().
- -
-
|
- -inline | -
Definition at line 135 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 131 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 123 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 114 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 118 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 127 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 140 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 109 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 145 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 94 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 49 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 47 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 45 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 48 of file Texture2D.hpp.
- -
-
|
- -inlinestatic | -
Definition at line 155 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 87 of file Texture2D.hpp.
- -Referenced by operator raylib::Image().
- -
-
|
- -inline | -
Definition at line 46 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 69 of file Texture2D.hpp.
- -References set().
- -Referenced by Texture2D().
- -
-
|
- -inline | -
Definition at line 61 of file Texture2D.hpp.
- -References set().
- -Referenced by Texture2D().
- -
-
|
- -inline | -
Definition at line 65 of file Texture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 90 of file Texture2D.hpp.
- -References GetTextureData().
- -
-
|
- -inline | -
Definition at line 51 of file Texture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 56 of file Texture2D.hpp.
- -References set().
- -
-
|
- -inline | -
Definition at line 37 of file Texture2D.hpp.
- -Referenced by Load(), LoadFromImage(), LoadTextureCubemap(), operator=(), and Texture2D().
- -
-
|
- -inline | -
Definition at line 99 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 49 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 47 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 45 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 150 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 48 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 46 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 104 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 73 of file Texture2D.hpp.
- -Referenced by ~Texture2D().
- -
-
|
- -inline | -
Definition at line 77 of file Texture2D.hpp.
- -
-
|
- -inline | -
Definition at line 82 of file Texture2D.hpp.
- -
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_texture_unmanaged-members.html b/docs/classraylib_1_1_texture_unmanaged-members.html
deleted file mode 100644
index cf3dfd32..00000000
--- a/docs/classraylib_1_1_texture_unmanaged-members.html
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::TextureUnmanaged, including all inherited members.
-| Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawPoly(::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const | raylib::TextureUnmanaged | inline |
| GenMipmaps() | raylib::TextureUnmanaged | inline |
| GetData() const | raylib::TextureUnmanaged | inline |
| GetFormat() const | raylib::TextureUnmanaged | inline |
| GetHeight() const | raylib::TextureUnmanaged | inline |
| GetId() const | raylib::TextureUnmanaged | inline |
| GetMipmaps() const | raylib::TextureUnmanaged | inline |
| GetSize() const | raylib::TextureUnmanaged | inline |
| GetWidth() const | raylib::TextureUnmanaged | inline |
| IsReady() const | raylib::TextureUnmanaged | inline |
| Load(const ::Image &image) | raylib::TextureUnmanaged | inline |
| Load(const ::Image &image, int layoutType) | raylib::TextureUnmanaged | inline |
| Load(const std::string &fileName) | raylib::TextureUnmanaged | inline |
| operator Image() | raylib::TextureUnmanaged | inline |
| operator=(const ::Texture &texture) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inline |
| set(const ::Texture &texture) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inlineprotected |
| SetFilter(int filterMode) | raylib::TextureUnmanaged | inline |
| SetFormat(int value) | raylib::TextureUnmanaged | inline |
| SetHeight(int value) | raylib::TextureUnmanaged | inline |
| SetId(unsigned int value) | raylib::TextureUnmanaged | inline |
| SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL) | raylib::TextureUnmanaged | inline |
| SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inline |
| SetMipmaps(int value) | raylib::TextureUnmanaged | inline |
| SetShaderValue(const ::Shader &shader, int locIndex) | raylib::TextureUnmanaged | inline |
| SetShapes(const ::Rectangle &source) | raylib::TextureUnmanaged | inline |
| SetWidth(int value) | raylib::TextureUnmanaged | inline |
| SetWrap(int wrapMode) | raylib::TextureUnmanaged | inline |
| TextureUnmanaged() | raylib::TextureUnmanaged | inline |
| TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) | raylib::TextureUnmanaged | inline |
| TextureUnmanaged(const ::Texture &texture) | raylib::TextureUnmanaged | inline |
| TextureUnmanaged(const ::Image &image) | raylib::TextureUnmanaged | inline |
| TextureUnmanaged(const ::Image &image, int layout) | raylib::TextureUnmanaged | inline |
| TextureUnmanaged(const std::string &fileName) | raylib::TextureUnmanaged | inline |
| TextureUnmanaged(::Texture &&other) (defined in raylib::TextureUnmanaged) | raylib::TextureUnmanaged | inline |
| Unload() | raylib::TextureUnmanaged | inline |
| Update(const void *pixels) | raylib::TextureUnmanaged | inline |
| Update(::Rectangle rec, const void *pixels) | raylib::TextureUnmanaged | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
A Texture that is not managed by the C++ garbage collector. - More...
--Public Member Functions | |
| - | TextureUnmanaged () |
| Default texture constructor. | |
| - | TextureUnmanaged (::Texture &&other) |
| TextureUnmanaged (const ::Image &image) | |
| Creates a texture from the given Image. More... | |
| TextureUnmanaged (const ::Image &image, int layout) | |
| Load cubemap from image, multiple image cubemap layouts supported. More... | |
| - | TextureUnmanaged (const ::Texture &texture) |
| Creates a texture object based on the given Texture struct data. | |
| TextureUnmanaged (const std::string &fileName) | |
| Load texture from file into GPU memory (VRAM) More... | |
| - | TextureUnmanaged (unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) |
| Move/Create a texture structure manually. | |
| void | Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const |
| Draws a texture (or part of it) that stretches or shrinks nicely. More... | |
| void | Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const |
| Draw a part of a texture defined by a rectangle with 'pro' parameters. More... | |
| void | Draw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const |
| Draw a part of a texture defined by a rectangle. More... | |
| void | Draw (::Vector2 position, ::Color tint={255, 255, 255, 255}) const |
| Draw a Texture2D with position defined as Vector2. More... | |
| void | Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a Texture2D with extended parameters. More... | |
| void | Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const |
| Draw texture quad with tiling and offset parameters. More... | |
| void | Draw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const |
| Draw a Texture2D. More... | |
| void | DrawBillboard (const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture defined by source. More... | |
| void | DrawBillboard (const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture defined by source and rotation. More... | |
| void | DrawBillboard (const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture. More... | |
| void | DrawCube (::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const |
| Draw cube with a region of a texture, with dimensions. More... | |
| void | DrawCube (::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const |
| Draw cube with a region of a texture. More... | |
| void | DrawCube (::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const |
| Draw cube textured, with dimensions. More... | |
| void | DrawCube (::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const |
| Draw cube textured. More... | |
| void | DrawPoly (::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const |
| Draw a textured polygon. More... | |
| void | DrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const |
| Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. More... | |
| -TextureUnmanaged & | GenMipmaps () |
| Generate GPU mipmaps for a texture. | |
| -inline ::Image | GetData () const |
| Get pixel data from GPU texture and return an Image. | |
| int | GetFormat () const |
| Retrieves the format value for the object. More... | |
| int | GetHeight () const |
| Retrieves the height value for the object. More... | |
| unsigned int | GetId () const |
| Retrieves the id value for the object. More... | |
| int | GetMipmaps () const |
| Retrieves the mipmaps value for the object. More... | |
| -inline ::Vector2 | GetSize () const |
| Retrieve the width and height of the texture. | |
| int | GetWidth () const |
| Retrieves the width value for the object. More... | |
| bool | IsReady () const |
| Determines whether or not the Texture has been loaded and is ready. More... | |
| -void | Load (const ::Image &image) |
| Load texture from image data. | |
| -void | Load (const ::Image &image, int layoutType) |
| Load cubemap from image, multiple image cubemap layouts supported. | |
| -void | Load (const std::string &fileName) |
| Load texture from file into GPU memory (VRAM) | |
| - | operator Image () |
| Get pixel data from GPU texture and return an Image. | |
| -TextureUnmanaged & | operator= (const ::Texture &texture) |
| -TextureUnmanaged & | SetFilter (int filterMode) |
| Set texture scaling filter mode. | |
| void | SetFormat (int value) |
| Sets the format value for the object. More... | |
| void | SetHeight (int value) |
| Sets the height value for the object. More... | |
| void | SetId (unsigned int value) |
| Sets the id value for the object. More... | |
| -TextureUnmanaged & | SetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL) |
| Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) | |
| -TextureUnmanaged & | SetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) |
| void | SetMipmaps (int value) |
| Sets the mipmaps value for the object. More... | |
| -TextureUnmanaged & | SetShaderValue (const ::Shader &shader, int locIndex) |
| Set shader uniform value for texture (sampler2d) | |
| -TextureUnmanaged & | SetShapes (const ::Rectangle &source) |
| Set texture and rectangle to be used on shapes drawing. | |
| void | SetWidth (int value) |
| Sets the width value for the object. More... | |
| -TextureUnmanaged & | SetWrap (int wrapMode) |
| Set texture wrapping mode. | |
| -void | Unload () |
| Unload texture from GPU memory (VRAM) | |
| -TextureUnmanaged & | Update (::Rectangle rec, const void *pixels) |
| Update GPU texture rectangle with new data. | |
| -TextureUnmanaged & | Update (const void *pixels) |
| Update GPU texture with new data. | |
-Protected Member Functions | |
| -void | set (const ::Texture &texture) |
A Texture that is not managed by the C++ garbage collector.
-Make sure to Unload() this if needed, otherwise use raylib::Texture.
-Definition at line 21 of file TextureUnmanaged.hpp.
-
-
|
- -inline | -
Creates a texture from the given Image.
-| raylib::RaylibException | Throws if failed to create the texture from the given image. |
Definition at line 54 of file TextureUnmanaged.hpp.
- -References Load().
- -
-
|
- -inline | -
Load cubemap from image, multiple image cubemap layouts supported.
-| raylib::RaylibException | Throws if failed to create the texture from the given cubemap. |
Definition at line 65 of file TextureUnmanaged.hpp.
- -References Load().
- -
-
|
- -inline | -
Load texture from file into GPU memory (VRAM)
-| raylib::RaylibException | Throws if failed to create the texture from the given file. |
Definition at line 74 of file TextureUnmanaged.hpp.
- -References Load().
- -
-
|
- -inline | -
Draws a texture (or part of it) that stretches or shrinks nicely.
-Definition at line 259 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a part of a texture defined by a rectangle with 'pro' parameters.
-Definition at line 249 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a part of a texture defined by a rectangle.
-Definition at line 229 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a Texture2D with position defined as Vector2.
-Definition at line 210 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a Texture2D with extended parameters.
-Definition at line 219 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw texture quad with tiling and offset parameters.
-Definition at line 239 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a Texture2D.
-Definition at line 201 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a billboard texture defined by source.
-Definition at line 301 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a billboard texture defined by source and rotation.
-Definition at line 312 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a billboard texture.
-Definition at line 290 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw cube with a region of a texture, with dimensions.
-Definition at line 354 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw cube with a region of a texture.
-Definition at line 344 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw cube textured, with dimensions.
-Definition at line 334 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw cube textured.
-Definition at line 324 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw a textured polygon.
-Definition at line 279 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.
-Definition at line 269 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Retrieves the format value for the object.
-Definition at line 87 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Retrieves the height value for the object.
-Definition at line 85 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Retrieves the id value for the object.
-Definition at line 83 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Retrieves the mipmaps value for the object.
-Definition at line 86 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Retrieves the width value for the object.
-Definition at line 84 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Determines whether or not the Texture has been loaded and is ready.
-Definition at line 393 of file TextureUnmanaged.hpp.
- -Referenced by Load().
- -
-
|
- -inline | -
Sets the format value for the object.
-| value | The value of which to set format to. |
Definition at line 87 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Sets the height value for the object.
-| value | The value of which to set height to. |
Definition at line 85 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Sets the id value for the object.
-| value | The value of which to set id to. |
Definition at line 83 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Sets the mipmaps value for the object.
-| value | The value of which to set mipmaps to. |
Definition at line 86 of file TextureUnmanaged.hpp.
- -
-
|
- -inline | -
Sets the width value for the object.
-| value | The value of which to set width to. |
Definition at line 84 of file TextureUnmanaged.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Touch, including all inherited members.
-| GetPointCount() | raylib::Touch | inlinestatic |
| GetPointId(int index) | raylib::Touch | inlinestatic |
| GetPosition(int index) | raylib::Touch | inlinestatic |
| GetX() | raylib::Touch | inlinestatic |
| GetY() | raylib::Touch | inlinestatic |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Input-related functions: touch. - More...
--Static Public Member Functions | |
| -static int | GetPointCount () |
| Get number of touch points. | |
| -static int | GetPointId (int index) |
| Get touch point identifier for given index. | |
| -static Vector2 | GetPosition (int index) |
| Get touch position XY for a touch point index (relative to screen size) | |
| -static int | GetX () |
| Get touch position X for touch point 0 (relative to screen size) | |
| -static int | GetY () |
| Get touch position Y for touch point 0 (relative to screen size) | |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Vector2, including all inherited members.
-| Add(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| Angle(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| CheckCollision(::Rectangle rec) const | raylib::Vector2 | inline |
| CheckCollision(::Vector2 center, float radius) const | raylib::Vector2 | inline |
| CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const | raylib::Vector2 | inline |
| CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const | raylib::Vector2 | inline |
| CheckCollisionCircle(float radius, ::Rectangle rec) const | raylib::Vector2 | inline |
| CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const | raylib::Vector2 | inline |
| CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold=1) | raylib::Vector2 | inline |
| Clamp(::Vector2 min, ::Vector2 max) | raylib::Vector2 | inline |
| Clamp(float min, float max) | raylib::Vector2 | inline |
| Distance(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| DistanceSqr(::Vector2 v2) | raylib::Vector2 | inline |
| Divide(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| Divide(const float div) const | raylib::Vector2 | inline |
| DotProduct(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| DrawCircle(float radius, ::Color color={0, 0, 0, 255}) const | raylib::Vector2 | inline |
| DrawLine(::Vector2 endPos, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2) | raylib::Vector2 | inline |
| DrawLine(::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2) | raylib::Vector2 | inline |
| DrawLineBezier(::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2) | raylib::Vector2 | inline |
| DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color={0, 0, 0, 255}) const | raylib::Vector2 | inline |
| DrawPixel(::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2) | raylib::Vector2 | inline |
| DrawPoly(int sides, float radius, float rotation, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2) | raylib::Vector2 | inline |
| DrawRectangle(::Vector2 size, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2) | raylib::Vector2 | inline |
| Equals(::Vector2 q) | raylib::Vector2 | inline |
| GetX() const | raylib::Vector2 | inline |
| GetY() const | raylib::Vector2 | inline |
| Invert() | raylib::Vector2 | inline |
| Length() const | raylib::Vector2 | inline |
| LengthSqr() const | raylib::Vector2 | inline |
| Lerp(const ::Vector2 &vector2, float amount) const | raylib::Vector2 | inline |
| MoveTowards(const ::Vector2 &target, float maxDistance) const | raylib::Vector2 | inline |
| Multiply(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| Negate() const | raylib::Vector2 | inline |
| Normalize() const | raylib::Vector2 | inline |
| One() | raylib::Vector2 | inlinestatic |
| operator!=(const ::Vector2 &other) | raylib::Vector2 | inline |
| operator*(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| operator*(const float scale) const | raylib::Vector2 | inline |
| operator*=(const ::Vector2 &vector2) | raylib::Vector2 | inline |
| operator*=(const float scale) | raylib::Vector2 | inline |
| operator+(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| operator+=(const ::Vector2 &vector2) | raylib::Vector2 | inline |
| operator-(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| operator-() const | raylib::Vector2 | inline |
| operator-=(const ::Vector2 &vector2) | raylib::Vector2 | inline |
| operator/(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| operator/(const float div) const | raylib::Vector2 | inline |
| operator/=(const ::Vector2 &vector2) | raylib::Vector2 | inline |
| operator/=(const float div) | raylib::Vector2 | inline |
| operator=(const ::Vector2 &vector2) | raylib::Vector2 | inline |
| operator==(const ::Vector2 &other) | raylib::Vector2 | inline |
| Reflect(const ::Vector2 &normal) const | raylib::Vector2 | inline |
| Rotate(float degrees) const | raylib::Vector2 | inline |
| Scale(const float scale) const | raylib::Vector2 | inline |
| SetX(float value) | raylib::Vector2 | inline |
| SetY(float value) | raylib::Vector2 | inline |
| Subtract(const ::Vector2 &vector2) const | raylib::Vector2 | inline |
| Transform(::Matrix mat) | raylib::Vector2 | inline |
| Vector2(const ::Vector2 &vec) (defined in raylib::Vector2) | raylib::Vector2 | inline |
| Vector2(float x, float y) (defined in raylib::Vector2) | raylib::Vector2 | inline |
| Vector2(float x) (defined in raylib::Vector2) | raylib::Vector2 | inline |
| Vector2() (defined in raylib::Vector2) | raylib::Vector2 | inline |
| Zero() | raylib::Vector2 | inlinestatic |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| - | Vector2 (const ::Vector2 &vec) |
| - | Vector2 (float x) |
| - | Vector2 (float x, float y) |
| -Vector2 | Add (const ::Vector2 &vector2) const |
| Add two vectors (v1 + v2) | |
| -float | Angle (const ::Vector2 &vector2) const |
| Calculate angle from two vectors in X-axis. | |
| -bool | CheckCollision (::Rectangle rec) const |
| Check if point is inside rectangle. | |
| -bool | CheckCollision (::Vector2 center, float radius) const |
| Check if point is inside circle. | |
| -bool | CheckCollision (::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const |
| Check if point is inside a triangle. | |
| -bool | CheckCollisionCircle (float radius, ::Rectangle rec) const |
| Check collision between circle and rectangle. | |
| -bool | CheckCollisionCircle (float radius1, ::Vector2 center2, float radius2) const |
| Check collision between two circles. | |
| -bool | CheckCollisionLines (::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const |
| Check the collision between two lines defined by two points each, returns collision point by reference. | |
| -bool | CheckCollisionPointLine (::Vector2 p1, ::Vector2 p2, int threshold=1) |
| Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]. | |
| -Vector2 | Clamp (::Vector2 min, ::Vector2 max) |
| Clamp the components of the vector between. | |
| -Vector2 | Clamp (float min, float max) |
| // Clamp the magnitude of the vector between two min and max values | |
| -float | Distance (const ::Vector2 &vector2) const |
| Calculate distance between two vectors. | |
| -float | DistanceSqr (::Vector2 v2) |
| Calculate square distance between two vectors. | |
| -Vector2 | Divide (const ::Vector2 &vector2) const |
| Divide vector by vector. | |
| -Vector2 | Divide (const float div) const |
| Divide vector by value. | |
| -float | DotProduct (const ::Vector2 &vector2) const |
| Calculate two vectors dot product. | |
| -void | DrawCircle (float radius, ::Color color={0, 0, 0, 255}) const |
| Draw a color-filled circle (Vector version) | |
| -void | DrawLine (::Vector2 endPos, ::Color color={0, 0, 0, 255}) const |
| -void | DrawLine (::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const |
| -void | DrawLineBezier (::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const |
| -void | DrawLineBezierQuad (::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color={0, 0, 0, 255}) const |
| Draw line using quadratic bezier curves with a control point. | |
| -void | DrawPixel (::Color color={0, 0, 0, 255}) const |
| -void | DrawPoly (int sides, float radius, float rotation, ::Color color={0, 0, 0, 255}) const |
| -void | DrawRectangle (::Vector2 size, ::Color color={0, 0, 0, 255}) const |
| -int | Equals (::Vector2 q) |
| Check whether two given vectors are almost equal. | |
| float | GetX () const |
| Retrieves the x value for the object. More... | |
| float | GetY () const |
| Retrieves the y value for the object. More... | |
| -Vector2 | Invert () |
| Invert the given vector. | |
| -float | Length () const |
| Calculate vector length. | |
| -float | LengthSqr () const |
| Calculate vector square length. | |
| -Vector2 | Lerp (const ::Vector2 &vector2, float amount) const |
| Calculate linear interpolation between two vectors. | |
| -Vector2 | MoveTowards (const ::Vector2 &target, float maxDistance) const |
| Move Vector towards target. | |
| -Vector2 | Multiply (const ::Vector2 &vector2) const |
| Multiply vector by vector. | |
| -Vector2 | Negate () const |
| Negate vector. | |
| -Vector2 | Normalize () const |
| Normalize provided vector. | |
| -bool | operator!= (const ::Vector2 &other) |
| Determines if the vectors are not equal. | |
| -Vector2 | operator* (const ::Vector2 &vector2) const |
| Multiply vector by vector. | |
| -Vector2 | operator* (const float scale) const |
| Scale vector (multiply by value) | |
| -Vector2 & | operator*= (const ::Vector2 &vector2) |
| Multiply vector by vector. | |
| -Vector2 & | operator*= (const float scale) |
| Scale vector (multiply by value) | |
| -Vector2 | operator+ (const ::Vector2 &vector2) const |
| Add two vectors (v1 + v2) | |
| -Vector2 & | operator+= (const ::Vector2 &vector2) |
| Add two vectors (v1 + v2) | |
| -Vector2 | operator- () const |
| Negate vector. | |
| -Vector2 | operator- (const ::Vector2 &vector2) const |
| Subtract two vectors (v1 - v2) | |
| -Vector2 & | operator-= (const ::Vector2 &vector2) |
| Add two vectors (v1 + v2) | |
| -Vector2 | operator/ (const ::Vector2 &vector2) const |
| Divide vector by vector. | |
| -Vector2 | operator/ (const float div) const |
| Divide vector by value. | |
| -Vector2 & | operator/= (const ::Vector2 &vector2) |
| Divide vector by vector. | |
| -Vector2 & | operator/= (const float div) |
| Divide vector by value. | |
| -Vector2 & | operator= (const ::Vector2 &vector2) |
| Set the Vector2 to the same as the given Vector2. | |
| -bool | operator== (const ::Vector2 &other) |
| Determine whether or not the vectors are equal. | |
| -Vector2 | Reflect (const ::Vector2 &normal) const |
| Calculate reflected vector to normal. | |
| -Vector2 | Rotate (float degrees) const |
| Rotate Vector by float in Degrees. | |
| -Vector2 | Scale (const float scale) const |
| Scale vector (multiply by value) | |
| void | SetX (float value) |
| Sets the x value for the object. More... | |
| void | SetY (float value) |
| Sets the y value for the object. More... | |
| -Vector2 | Subtract (const ::Vector2 &vector2) const |
| Subtract two vectors (v1 - v2) | |
| -Vector2 | Transform (::Matrix mat) |
| Transforms a Vector2 by a given Matrix. | |
-Static Public Member Functions | |
| -static Vector2 | One () |
| Vector with components value 1.0f. | |
| -static Vector2 | Zero () |
| Vector with components value 0.0f. | |
Vector2 type.
- -Definition at line 16 of file Vector2.hpp.
-
-
|
- -inline | -
Retrieves the x value for the object.
-Definition at line 24 of file Vector2.hpp.
- -
-
|
- -inline | -
Retrieves the y value for the object.
-Definition at line 25 of file Vector2.hpp.
- -
-
|
- -inline | -
Sets the x value for the object.
-| value | The value of which to set x to. |
Definition at line 24 of file Vector2.hpp.
- -
-
|
- -inline | -
Sets the y value for the object.
-| value | The value of which to set y to. |
Definition at line 25 of file Vector2.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Vector3, including all inherited members.
-| Add(const ::Vector3 &vector3) | raylib::Vector3 | inline |
| Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| CheckCollision(float radius1, const ::Vector3 ¢er2, float radius2) | raylib::Vector3 | inline |
| CrossProduct(const ::Vector3 &vector3) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Distance(const ::Vector3 &vector3) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Divide(const ::Vector3 &vector3) const | raylib::Vector3 | inline |
| Divide(const float div) const | raylib::Vector3 | inline |
| DotProduct(const ::Vector3 &vector3) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCube(float width, float height, float length, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCube(const ::Vector3 &size, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCubeWires(float width, float height, float length, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCubeWires(const ::Vector3 &size, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawLine3D(const ::Vector3 &endPos, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawPlane(const ::Vector2 &size, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawPoint3D(::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawSphere(float radius, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawSphere(float radius, int rings, int slices, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| DrawSphereWires(float radius, int rings, int slices, ::Color color) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| GetX() const | raylib::Vector3 | inline |
| GetY() const | raylib::Vector3 | inline |
| GetZ() const | raylib::Vector3 | inline |
| Length() const | raylib::Vector3 | inline |
| Lerp(const ::Vector3 &vector3, const float amount) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Max(const ::Vector3 &vector3) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Min(const ::Vector3 &vector3) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Multiply(const ::Vector3 &vector3) const | raylib::Vector3 | inline |
| Negate() | raylib::Vector3 | inline |
| Normalize() const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| One() (defined in raylib::Vector3) | raylib::Vector3 | inlinestatic |
| operator!=(const ::Vector3 &other) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| operator*(const ::Vector3 &vector3) const | raylib::Vector3 | inline |
| operator*(const float scaler) const | raylib::Vector3 | inline |
| operator*=(const ::Vector3 &vector3) | raylib::Vector3 | inline |
| operator*=(const float scaler) | raylib::Vector3 | inline |
| operator+(const ::Vector3 &vector3) | raylib::Vector3 | inline |
| operator+=(const ::Vector3 &vector3) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| operator-(const ::Vector3 &vector3) | raylib::Vector3 | inline |
| operator-() | raylib::Vector3 | inline |
| operator-=(const ::Vector3 &vector3) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| operator/(const ::Vector3 &vector3) const | raylib::Vector3 | inline |
| operator/(const float div) const | raylib::Vector3 | inline |
| operator/=(const ::Vector3 &vector3) | raylib::Vector3 | inline |
| operator/=(const float div) | raylib::Vector3 | inline |
| operator=(const ::Vector3 &vector3) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| operator==(const ::Vector3 &other) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| OrthoNormalize(::Vector3 *vector3) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Perpendicular() const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Reflect(const ::Vector3 &normal) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| RotateByQuaternion(const ::Quaternion &quaternion) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Scale(const float scaler) const | raylib::Vector3 | inline |
| SetX(float value) | raylib::Vector3 | inline |
| SetY(float value) | raylib::Vector3 | inline |
| SetZ(float value) | raylib::Vector3 | inline |
| Subtract(const ::Vector3 &vector3) | raylib::Vector3 | inline |
| Transform(const ::Matrix &matrix) const (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Vector3(const ::Vector3 &vec) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Vector3(float x, float y, float z) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Vector3(float x, float y) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Vector3(float x) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Vector3() (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Vector3(::Color color) (defined in raylib::Vector3) | raylib::Vector3 | inline |
| Zero() (defined in raylib::Vector3) | raylib::Vector3 | inlinestatic |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| - | Vector3 (::Color color) |
| - | Vector3 (const ::Vector3 &vec) |
| - | Vector3 (float x) |
| - | Vector3 (float x, float y) |
| - | Vector3 (float x, float y, float z) |
| -Vector3 | Add (const ::Vector3 &vector3) |
| Add two vectors. | |
| -Vector3 | Barycenter (const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c) |
| -bool | CheckCollision (float radius1, const ::Vector3 ¢er2, float radius2) |
| Detect collision between two spheres. | |
| -Vector3 | CrossProduct (const ::Vector3 &vector3) const |
| -float | Distance (const ::Vector3 &vector3) const |
| -Vector3 | Divide (const ::Vector3 &vector3) const |
| Divide vector by vector. | |
| -Vector3 | Divide (const float div) const |
| Divide a vector by a value. | |
| -float | DotProduct (const ::Vector3 &vector3) |
| -void | DrawCircle3D (float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color) const |
| -void | DrawCube (const ::Vector3 &size, ::Color color) const |
| -void | DrawCube (float width, float height, float length, ::Color color) const |
| -void | DrawCubeTexture (const ::Texture2D &texture, float width, float height, float length, ::Color color) const |
| -void | DrawCubeWires (const ::Vector3 &size, ::Color color) const |
| -void | DrawCubeWires (float width, float height, float length, ::Color color) const |
| -void | DrawCylinder (float radiusTop, float radiusBottom, float height, int slices, ::Color color) const |
| -void | DrawCylinderWires (float radiusTop, float radiusBottom, float height, int slices, ::Color color) const |
| -void | DrawLine3D (const ::Vector3 &endPos, ::Color color) const |
| -void | DrawPlane (const ::Vector2 &size, ::Color color) const |
| -void | DrawPoint3D (::Color color) const |
| -void | DrawSphere (float radius, ::Color color) const |
| -void | DrawSphere (float radius, int rings, int slices, ::Color color) const |
| -void | DrawSphereWires (float radius, int rings, int slices, ::Color color) const |
| float | GetX () const |
| Retrieves the x value for the object. More... | |
| float | GetY () const |
| Retrieves the y value for the object. More... | |
| float | GetZ () const |
| Retrieves the z value for the object. More... | |
| -float | Length () const |
| Calculate vector length. | |
| -Vector3 | Lerp (const ::Vector3 &vector3, const float amount) const |
| -Vector3 | Max (const ::Vector3 &vector3) |
| -Vector3 | Min (const ::Vector3 &vector3) |
| -Vector3 | Multiply (const ::Vector3 &vector3) const |
| Multiply vector by vector. | |
| -Vector3 | Negate () |
| Negate provided vector (invert direction) | |
| -Vector3 | Normalize () const |
| -bool | operator!= (const ::Vector3 &other) |
| -Vector3 | operator* (const ::Vector3 &vector3) const |
| Multiply vector by vector. | |
| -Vector3 | operator* (const float scaler) const |
| Multiply vector by scalar. | |
| -Vector3 & | operator*= (const ::Vector3 &vector3) |
| Multiply vector by vector. | |
| -Vector3 & | operator*= (const float scaler) |
| Multiply vector by scalar. | |
| -Vector3 | operator+ (const ::Vector3 &vector3) |
| Add two vectors. | |
| -Vector3 & | operator+= (const ::Vector3 &vector3) |
| -Vector3 | operator- () |
| Negate provided vector (invert direction) | |
| -Vector3 | operator- (const ::Vector3 &vector3) |
| Subtract two vectors. | |
| -Vector3 & | operator-= (const ::Vector3 &vector3) |
| -Vector3 | operator/ (const ::Vector3 &vector3) const |
| Divide vector by vector. | |
| -Vector3 | operator/ (const float div) const |
| Divide a vector by a value. | |
| -Vector3 & | operator/= (const ::Vector3 &vector3) |
| Divide vector by vector. | |
| -Vector3 & | operator/= (const float div) |
| Divide a vector by a value. | |
| -Vector3 & | operator= (const ::Vector3 &vector3) |
| -bool | operator== (const ::Vector3 &other) |
| -void | OrthoNormalize (::Vector3 *vector3) |
| -Vector3 | Perpendicular () const |
| -Vector3 | Reflect (const ::Vector3 &normal) const |
| -Vector3 | RotateByQuaternion (const ::Quaternion &quaternion) |
| -Vector3 | Scale (const float scaler) const |
| Multiply vector by scalar. | |
| void | SetX (float value) |
| Sets the x value for the object. More... | |
| void | SetY (float value) |
| Sets the y value for the object. More... | |
| void | SetZ (float value) |
| Sets the z value for the object. More... | |
| -Vector3 | Subtract (const ::Vector3 &vector3) |
| Subtract two vectors. | |
| -Vector3 | Transform (const ::Matrix &matrix) const |
-Static Public Member Functions | |
| -static Vector3 | One () |
| -static Vector3 | Zero () |
Vector3 type.
- -Definition at line 16 of file Vector3.hpp.
-
-
|
- -inline | -
Retrieves the x value for the object.
-Definition at line 29 of file Vector3.hpp.
- -
-
|
- -inline | -
Retrieves the y value for the object.
-Definition at line 30 of file Vector3.hpp.
- -
-
|
- -inline | -
Retrieves the z value for the object.
-Definition at line 31 of file Vector3.hpp.
- -
-
|
- -inline | -
Sets the x value for the object.
-| value | The value of which to set x to. |
Definition at line 29 of file Vector3.hpp.
- -
-
|
- -inline | -
Sets the y value for the object.
-| value | The value of which to set y to. |
Definition at line 30 of file Vector3.hpp.
- -
-
|
- -inline | -
Sets the z value for the object.
-| value | The value of which to set z to. |
Definition at line 31 of file Vector3.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Vector4, including all inherited members.
-| ColorFromNormalized() const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| FromAxisAngle(const ::Vector3 &axis, const float angle) (defined in raylib::Vector4) | raylib::Vector4 | inlinestatic |
| FromEuler(const float yaw, const float pitch, const float roll) (defined in raylib::Vector4) | raylib::Vector4 | inlinestatic |
| FromEuler(const ::Vector3 &vector3) (defined in raylib::Vector4) | raylib::Vector4 | inlinestatic |
| FromMatrix(const ::Matrix &matrix) (defined in raylib::Vector4) | raylib::Vector4 | inlinestatic |
| FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to) (defined in raylib::Vector4) | raylib::Vector4 | inlinestatic |
| GetW() const | raylib::Vector4 | inline |
| GetX() const | raylib::Vector4 | inline |
| GetY() const | raylib::Vector4 | inline |
| GetZ() const | raylib::Vector4 | inline |
| Identity() (defined in raylib::Vector4) | raylib::Vector4 | inlinestatic |
| Invert() const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Length() const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Lerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Multiply(const ::Vector4 &vector4) const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Nlerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Normalize() const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| operator Color() (defined in raylib::Vector4) | raylib::Vector4 | inline |
| operator!=(const ::Vector4 &other) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| operator*(const ::Vector4 &vector4) const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| operator::Rectangle() const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| operator=(const ::Vector4 &vector4) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| operator==(const ::Vector4 &other) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| SetW(float value) | raylib::Vector4 | inline |
| SetX(float value) | raylib::Vector4 | inline |
| SetY(float value) | raylib::Vector4 | inline |
| SetZ(float value) | raylib::Vector4 | inline |
| Slerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| ToAxisAngle(::Vector3 *outAxis, float *outAngle) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| ToAxisAngle() | raylib::Vector4 | inline |
| ToEuler() (defined in raylib::Vector4) | raylib::Vector4 | inline |
| ToMatrix() const (defined in raylib::Vector4) | raylib::Vector4 | inline |
| ToRectangle() (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Transform(const ::Matrix &matrix) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4(const ::Vector4 &vec) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4(float x, float y, float z, float w) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4(float x, float y, float z) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4(float x, float y) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4(float x) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4() (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4(::Rectangle rectangle) (defined in raylib::Vector4) | raylib::Vector4 | inline |
| Vector4(::Color color) (defined in raylib::Vector4) | raylib::Vector4 | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Public Member Functions | |
| - | Vector4 (::Color color) |
| - | Vector4 (::Rectangle rectangle) |
| - | Vector4 (const ::Vector4 &vec) |
| - | Vector4 (float x) |
| - | Vector4 (float x, float y) |
| - | Vector4 (float x, float y, float z) |
| - | Vector4 (float x, float y, float z, float w) |
| -Color | ColorFromNormalized () const |
| float | GetW () const |
| Retrieves the w value for the object. More... | |
| float | GetX () const |
| Retrieves the x value for the object. More... | |
| float | GetY () const |
| Retrieves the y value for the object. More... | |
| float | GetZ () const |
| Retrieves the z value for the object. More... | |
| -Vector4 | Invert () const |
| -float | Length () const |
| -Vector4 | Lerp (const ::Vector4 &vector4, float amount) const |
| -Vector4 | Multiply (const ::Vector4 &vector4) const |
| -Vector4 | Nlerp (const ::Vector4 &vector4, float amount) const |
| -Vector4 | Normalize () const |
| - | operator Color () |
| -bool | operator!= (const ::Vector4 &other) |
| -Vector4 | operator* (const ::Vector4 &vector4) const |
| - | operator::Rectangle () const |
| -Vector4 & | operator= (const ::Vector4 &vector4) |
| -bool | operator== (const ::Vector4 &other) |
| void | SetW (float value) |
| Sets the w value for the object. More... | |
| void | SetX (float value) |
| Sets the x value for the object. More... | |
| void | SetY (float value) |
| Sets the y value for the object. More... | |
| void | SetZ (float value) |
| Sets the z value for the object. More... | |
| -Vector4 | Slerp (const ::Vector4 &vector4, float amount) const |
| -std::pair< Vector3, float > | ToAxisAngle () |
| Get the rotation angle and axis for a given quaternion. | |
| -void | ToAxisAngle (::Vector3 *outAxis, float *outAngle) |
| -Vector3 | ToEuler () |
| -Matrix | ToMatrix () const |
| -inline ::Rectangle | ToRectangle () |
| -Vector4 | Transform (const ::Matrix &matrix) |
-Static Public Member Functions | |
| -static Vector4 | FromAxisAngle (const ::Vector3 &axis, const float angle) |
| -static Vector4 | FromEuler (const ::Vector3 &vector3) |
| -static Vector4 | FromEuler (const float yaw, const float pitch, const float roll) |
| -static Vector4 | FromMatrix (const ::Matrix &matrix) |
| -static Vector4 | FromVector3ToVector3 (const ::Vector3 &from, const ::Vector3 &to) |
| -static Vector4 | Identity () |
Vector4 type.
- -Definition at line 17 of file Vector4.hpp.
-
-
|
- -inline | -
Retrieves the w value for the object.
-Definition at line 35 of file Vector4.hpp.
- -
-
|
- -inline | -
Retrieves the x value for the object.
-Definition at line 32 of file Vector4.hpp.
- -
-
|
- -inline | -
Retrieves the y value for the object.
-Definition at line 33 of file Vector4.hpp.
- -
-
|
- -inline | -
Retrieves the z value for the object.
-Definition at line 34 of file Vector4.hpp.
- -
-
|
- -inline | -
Sets the w value for the object.
-| value | The value of which to set w to. |
Definition at line 35 of file Vector4.hpp.
- -
-
|
- -inline | -
Sets the x value for the object.
-| value | The value of which to set x to. |
Definition at line 32 of file Vector4.hpp.
- -
-
|
- -inline | -
Sets the y value for the object.
-| value | The value of which to set y to. |
Definition at line 33 of file Vector4.hpp.
- -
-
|
- -inline | -
Sets the z value for the object.
-| value | The value of which to set z to. |
Definition at line 34 of file Vector4.hpp.
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::VrSimulator, including all inherited members.
-| BeginDrawing() | raylib::VrSimulator | inline |
| Close() | raylib::VrSimulator | inline |
| EndDrawing() | raylib::VrSimulator | inline |
| Init() | raylib::VrSimulator | inline |
| IsReady() const | raylib::VrSimulator | inline |
| Set(::VrDeviceInfo info, ::Shader distortion) | raylib::VrSimulator | inline |
| Toggle() | raylib::VrSimulator | inline |
| Update(::Camera *camera) | raylib::VrSimulator | inline |
| Update(const ::Camera &camera) | raylib::VrSimulator | inline |
| VrSimulator() (defined in raylib::VrSimulator) | raylib::VrSimulator | inline |
| VrSimulator(::VrDeviceInfo info, ::Shader distortion) (defined in raylib::VrSimulator) | raylib::VrSimulator | inline |
| ~VrSimulator() | raylib::VrSimulator | inline |
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_vr_simulator.html b/docs/classraylib_1_1_vr_simulator.html
deleted file mode 100644
index 11d21afc..00000000
--- a/docs/classraylib_1_1_vr_simulator.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
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. | |
VR control functions.
- -Definition at line 11 of file VrSimulator.hpp.
-
- 1.8.17
-
-
-
diff --git a/docs/classraylib_1_1_vr_stereo_config-members.html b/docs/classraylib_1_1_vr_stereo_config-members.html
deleted file mode 100644
index 10c96c08..00000000
--- a/docs/classraylib_1_1_vr_stereo_config-members.html
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::VrStereoConfig, including all inherited members.
-| BeginMode() | raylib::VrStereoConfig | inline |
| EndMode() | raylib::VrStereoConfig | inline |
| Load(const ::VrDeviceInfo &info) | raylib::VrStereoConfig | inline |
| Unload() | raylib::VrStereoConfig | inline |
| VrStereoConfig(const ::VrDeviceInfo &info) (defined in raylib::VrStereoConfig) | raylib::VrStereoConfig | inline |
| ~VrStereoConfig() | raylib::VrStereoConfig | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
VR stereo config functions for VR simulator. - More...
--Public Member Functions | |
| - | VrStereoConfig (const ::VrDeviceInfo &info) |
| - | ~VrStereoConfig () |
| Unload VR stereo config. | |
| -VrStereoConfig & | BeginMode () |
| Begin stereo rendering. | |
| -VrStereoConfig & | EndMode () |
| End stereo rendering. | |
| -void | Load (const ::VrDeviceInfo &info) |
| Load VR stereo config for VR simulator device parameters. | |
| -void | Unload () |
| Unload VR stereo config. | |
VR stereo config functions for VR simulator.
- -Definition at line 11 of file VrStereoConfig.hpp.
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Wave, including all inherited members.
-| Copy() const | raylib::Wave | inline |
| Crop(int initSample, int finalSample) | raylib::Wave | inline |
| Export(const std::string &fileName) | raylib::Wave | inline |
| ExportAsCode(const std::string &fileName) | raylib::Wave | inline |
| Format(int SampleRate, int SampleSize, int Channels=2) | raylib::Wave | inline |
| GetChannels() const | raylib::Wave | inline |
| GetData() const | raylib::Wave | inline |
| GetFrameCount() const | raylib::Wave | inline |
| GetSampleRate() const | raylib::Wave | inline |
| GetSampleSize() const | raylib::Wave | inline |
| IsReady() const | raylib::Wave | inline |
| Load(const std::string &fileName) | raylib::Wave | inline |
| Load(const std::string &fileType, const unsigned char *fileData, int dataSize) | raylib::Wave | inline |
| LoadSamples() | raylib::Wave | inline |
| LoadSound() | raylib::Wave | inline |
| operator::Sound() | raylib::Wave | inline |
| operator=(const ::Wave &wave) (defined in raylib::Wave) | raylib::Wave | inline |
| operator=(const Wave &other) (defined in raylib::Wave) | raylib::Wave | inline |
| operator=(Wave &&other) noexcept (defined in raylib::Wave) | raylib::Wave | inline |
| SetChannels(unsigned int value) | raylib::Wave | inline |
| SetData(void *value) | raylib::Wave | inline |
| SetFrameCount(unsigned int value) | raylib::Wave | inline |
| SetSampleRate(unsigned int value) | raylib::Wave | inline |
| SetSampleSize(unsigned int value) | raylib::Wave | inline |
| Unload() | raylib::Wave | inline |
| UnloadSamples(float *samples) | raylib::Wave | inlinestatic |
| Wave(const ::Wave &wave) (defined in raylib::Wave) | raylib::Wave | inline |
| Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr) (defined in raylib::Wave) | raylib::Wave | inline |
| Wave(const std::string &fileName) | raylib::Wave | inline |
| Wave(const std::string &fileType, const unsigned char *fileData, int dataSize) | raylib::Wave | inline |
| Wave(const Wave &other) (defined in raylib::Wave) | raylib::Wave | inline |
| Wave(Wave &&other) (defined in raylib::Wave) | raylib::Wave | inline |
| ~Wave() | raylib::Wave | inline |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Wave type, defines audio wave data. - More...
--Public Member Functions | |
| - | Wave (const ::Wave &wave) |
| Wave (const std::string &fileName) | |
| Load wave data from file. More... | |
| Wave (const std::string &fileType, const unsigned char *fileData, int dataSize) | |
| Load wave from memory buffer, fileType refers to extension: i.e. More... | |
| - | Wave (const Wave &other) |
| - | Wave (unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr) |
| - | Wave (Wave &&other) |
| - | ~Wave () |
| Unload wave data. | |
| -inline ::Wave | Copy () const |
| Copy a wave to a new wave. | |
| -Wave & | Crop (int initSample, int finalSample) |
| Crop a wave to defined samples range. | |
| -bool | Export (const std::string &fileName) |
| Export wave data to file, returns true on success. | |
| -bool | ExportAsCode (const std::string &fileName) |
| Export wave sample data to code (.h), returns true on success. | |
| -Wave & | Format (int SampleRate, int SampleSize, int Channels=2) |
| Convert wave data to desired format. | |
| unsigned int | GetChannels () const |
| Retrieves the channels value for the object. More... | |
| void * | GetData () const |
| Retrieves the data value for the object. More... | |
| unsigned int | GetFrameCount () const |
| Retrieves the frameCount value for the object. More... | |
| unsigned int | GetSampleRate () const |
| Retrieves the sampleRate value for the object. More... | |
| unsigned int | GetSampleSize () const |
| Retrieves the sampleSize value for the object. More... | |
| bool | IsReady () const |
| Retrieve whether or not the Wave data has been loaded. More... | |
| void | Load (const std::string &fileName) |
| Load wave data from file. More... | |
| void | Load (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| Load wave from memory buffer, fileType refers to extension: i.e. More... | |
| -float * | LoadSamples () |
| Load samples data from wave as a floats array. | |
| -inline ::Sound | LoadSound () |
| Load sound from wave data. | |
| - | operator::Sound () |
| Load sound from wave data. | |
| -Wave & | operator= (const ::Wave &wave) |
| -Wave & | operator= (const Wave &other) |
| -Wave & | operator= (Wave &&other) noexcept |
| void | SetChannels (unsigned int value) |
| Sets the channels value for the object. More... | |
| void | SetData (void *value) |
| Sets the data value for the object. More... | |
| void | SetFrameCount (unsigned int value) |
| Sets the frameCount value for the object. More... | |
| void | SetSampleRate (unsigned int value) |
| Sets the sampleRate value for the object. More... | |
| void | SetSampleSize (unsigned int value) |
| Sets the sampleSize value for the object. More... | |
| -void | Unload () |
| Unload wave data. | |
-Static Public Member Functions | |
| -static void | UnloadSamples (float *samples) |
| Unload samples data loaded with LoadWaveSamples() | |
-
|
- -inline | -
Load wave data from file.
-| raylib::RaylibException | Throws if the Wave failed to load. |
Definition at line 34 of file Wave.hpp.
- -References Load().
- -
-
|
- -inline | -
Load wave from memory buffer, fileType refers to extension: i.e.
-"wav"
-| raylib::RaylibException | Throws if the Wave failed to load. |
Definition at line 43 of file Wave.hpp.
- -References Load().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
Load wave from memory buffer, fileType refers to extension: i.e.
-"wav"
-| raylib::RaylibException | Throws if the Wave failed to load. |
Definition at line 202 of file Wave.hpp.
- -References IsReady().
- -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
This is the complete list of members for raylib::Window, including all inherited members.
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
Window and Graphics Device Functions. - More...
--Public Member Functions | |
| Window () | |
| Build a Window object, but defer the initialization. More... | |
| Window (int width, int height, const std::string &title="raylib") | |
| Initialize window and OpenGL context. More... | |
| - | ~Window () |
| Close window and unload OpenGL context. | |
| -Window & | BeginDrawing () |
| Setup canvas (framebuffer) to start drawing. | |
| -Window & | ClearBackground (const ::Color &color=BLACK) |
| Clear window with given color. | |
| -Window & | ClearState (unsigned int flag) |
| Clear window configuration state flags. | |
| -void | Close () |
| Close window and unload OpenGL context. | |
| -void | DrawFPS (int posX=10, int posY=10) const |
| Draw current FPS. | |
| -Window & | EndDrawing () |
| End canvas drawing and swap buffers (double buffering) | |
| -const std::string | GetClipboardText () |
| Get clipboard text content. | |
| -int | GetFPS () const |
| Returns current FPS. | |
| -float | GetFrameTime () const |
| Returns time in seconds for last frame drawn. | |
| -void * | GetHandle () const |
| Get native window handle. | |
| -int | GetHeight () const |
| Get current screen height. | |
| -Vector2 | GetPosition () const |
| Get window position XY on monitor. | |
| -int | GetRenderHeight () const |
| Get current render height (it considers HiDPI) | |
| -int | GetRenderWidth () const |
| Get current render width (it considers HiDPI) | |
| -Vector2 | GetScaleDPI () const |
| Get window scale DPI factor. | |
| -Vector2 | GetSize () const |
| Get the screen's width and height. | |
| -double | GetTime () const |
| Returns elapsed time in seconds since InitWindow() | |
| -int | GetWidth () const |
| Get current screen width. | |
| void | Init (int width=800, int height=450, const std::string &title="raylib") |
| Initializes the window. More... | |
| -bool | IsCursorOnScreen () const |
| Check if cursor is on the current screen. | |
| -bool | IsFocused () const |
| Check if window is currently focused. | |
| -bool | IsFullscreen () const |
| Check if window is currently fullscreen. | |
| -bool | IsHidden () const |
| Check if window is currently hidden. | |
| -bool | IsMaximized () const |
| Check if window is currently minimized. | |
| -bool | IsMinimized () const |
| Check if window is currently minimized. | |
| -bool | IsResized () const |
| Check if window has been resized last frame. | |
| -bool | IsState (unsigned int flag) const |
| Check if one specific window flag is enabled. | |
| -Window & | Maximize () |
| Set window state: maximized, if resizable (only PLATFORM_DESKTOP) | |
| -Window & | Minimize () |
| Set window state: minimized, if resizable (only PLATFORM_DESKTOP) | |
| -Window & | Restore () |
| Set window state: not minimized/maximized (only PLATFORM_DESKTOP) | |
| -void | SetClipboardText (const std::string &text) |
| Set clipboard text content. | |
| -Window & | SetFullscreen (bool fullscreen) |
| Set whether or not the application should be fullscreen. | |
| -Window & | SetIcon (const ::Image &image) |
| Set icon for window. | |
| -Window & | SetMinSize (const ::Vector2 &size) |
| Set window minimum dimensions. | |
| -Window & | SetMinSize (int width, int height) |
| Set window minimum dimensions. | |
| -Window & | SetMonitor (int monitor) |
| Set monitor for the current window. | |
| -Window & | SetOpacity (float opacity) |
| Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP) | |
| -Window & | SetPosition (const ::Vector2 &position) |
| Set window position on screen. | |
| -Window & | SetPosition (int x, int y) |
| Set window position on screen. | |
| -Window & | SetSize (const ::Vector2 &size) |
| Set window dimensions. | |
| -Window & | SetSize (int width, int height) |
| Set window dimensions. | |
| -Window & | SetState (unsigned int flag) |
| Set window configuration state using flags. | |
| -Window & | SetTargetFPS (int fps) |
| Set target FPS (maximum) | |
| -Window & | SetTitle (const std::string &title) |
| Set title for window. | |
| -bool | ShouldClose () const |
| Check if KEY_ESCAPE pressed or Close icon pressed. | |
| -Window & | ToggleFullscreen () |
| Toggle window state: fullscreen/windowed. | |
-Static Public Member Functions | |
| -static bool | IsReady () |
| Check if window has been initialized successfully. | |
Window and Graphics Device Functions.
- -Definition at line 14 of file Window.hpp.
-
-
|
- -inline | -
Build a Window object, but defer the initialization.
-Ensure you call Init() manually.
-Definition at line 21 of file Window.hpp.
- -
-
|
- -inline | -
Initialize window and OpenGL context.
-| raylib::RaylibException | Thrown if the window failed to initiate. |
Definition at line 30 of file Window.hpp.
- -References Init().
- -
-
|
- -inline | -
Initializes the window.
-| raylib::RaylibException | Thrown if the window failed to initiate. |
Definition at line 46 of file Window.hpp.
- -References raylib::InitWindow().
- -Referenced by Window().
- -![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
-Files | |
| file | AudioDevice.hpp [code] |
| file | AudioStream.hpp [code] |
| file | BoundingBox.hpp [code] |
| file | Camera2D.hpp [code] |
| file | Camera3D.hpp [code] |
| file | Color.hpp [code] |
| file | DroppedFiles.hpp [code] |
| file | Font.hpp [code] |
| file | Gamepad.hpp [code] |
| file | Image.hpp [code] |
| file | Material.hpp [code] |
| file | Matrix.hpp [code] |
| file | Mesh.hpp [code] |
| file | Model.hpp [code] |
| file | ModelAnimation.hpp [code] |
| file | Mouse.hpp [code] |
| file | Music.hpp [code] |
| file | Physics.hpp [code] |
| file | Ray.hpp [code] |
| file | RayHitInfo.hpp [code] |
| file | raylib.hpp [code] |
| file | Rectangle.hpp [code] |
| file | RenderTexture2D.hpp [code] |
| file | Shader.hpp [code] |
| file | Sound.hpp [code] |
| file | Texture2D.hpp [code] |
| file | utils.hpp [code] |
| file | Vector2.hpp [code] |
| file | Vector3.hpp [code] |
| file | Vector4.hpp [code] |
| file | VrSimulator.hpp [code] |
| file | Wave.hpp [code] |
| file | Window.hpp [code] |
- 1.8.13
-
-
-
diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html
deleted file mode 100644
index 5d13d6c2..00000000
--- a/docs/dir_d44c64559bbebec7f509842c48db8b23.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.13
-
-
-
diff --git a/docs/functions_b.html b/docs/functions_b.html
deleted file mode 100644
index 8cbdee16..00000000
--- a/docs/functions_b.html
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
- 1.8.13
-
-
-
diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html
deleted file mode 100644
index 4dfc9d08..00000000
--- a/docs/functions_func_b.html
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
|
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
| Craylib::AudioDevice | Audio device management functions |
| Craylib::AudioStream | AudioStream management functions |
| Craylib::BoundingBox | Bounding box type |
| Craylib::Camera2D | Camera2D type, defines a 2d camera |
| Craylib::Camera3D | Camera type, defines a camera position/orientation in 3d space |
| Craylib::Color | Color type, RGBA (32bit) |
| ▼Cstd::exception | STL class |
| ▼Cstd::runtime_error | STL class |
| Craylib::RaylibException | Exception used for most raylib-related exceptions |
| Craylib::Font | Font type, includes texture and charSet array data |
| Craylib::Gamepad | Input-related functions: gamepads |
| Craylib::Image | Image type, bpp always RGBA (32bit) |
| Craylib::Material | Material type (generic) |
| Craylib::Matrix | Matrix type (OpenGL style 4x4 - right handed, column major) |
| Craylib::Mesh | Vertex data definning a mesh |
| Craylib::Model | Model type |
| Craylib::ModelAnimation | Model animation |
| Craylib::Mouse | Input-related functions: mouse |
| Craylib::Music | Music stream type (audio file streaming from memory) |
| Craylib::Ray | Ray type (useful for raycast) |
| Craylib::RayCollision | Raycast hit information |
| Craylib::Rectangle | Rectangle type |
| Craylib::RenderTexture | RenderTexture type, for texture rendering |
| Craylib::Shader | Shader type (generic) |
| Craylib::Sound | Wave/Sound management functions |
| Craylib::Text | Text Functions |
| ▼Craylib::TextureUnmanaged | A Texture that is not managed by the C++ garbage collector |
| Craylib::Texture | Texture type |
| Craylib::Touch | Input-related functions: touch |
| Craylib::Vector2 | Vector2 type |
| Craylib::Vector3 | Vector3 type |
| Craylib::Vector4 | Vector4 type |
| Craylib::VrStereoConfig | VR stereo config functions for VR simulator |
| Craylib::Wave | Wave type, defines audio wave data |
| Craylib::Window | Window and Graphics Device Functions |
![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-
raylib-cpp is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces.
-raylib-cpp is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software:
-Copyright 2020 Rob Loach (RobLoach)
-This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
-Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
-![]() |
-
- raylib-cpp
-
- C++ object-oriented wrapper library for raylib.
- |
-