Raylib Texture class - owns the GPU texture. RaySprite/RayModel only reference it, never own it: this survives as long as the caller keeps it alive, regardless of how many sprites/models get created and destroyed against it.
More...
#include <RayTexture.hpp>
Raylib Texture class - owns the GPU texture. RaySprite/RayModel only reference it, never own it: this survives as long as the caller keeps it alive, regardless of how many sprites/models get created and destroyed against it.
◆ RayTexture()
| RayTexture::RayTexture |
( |
std::string | path | ) |
|
|
inline |
◆ ~RayTexture()
| RayTexture::~RayTexture |
( |
| ) |
|
|
inline |
◆ getSize()
◆ handle()
| raylib::Texture2D RayTexture::handle |
( |
| ) |
const |
|
inline |
◆ isReady()
| bool RayTexture::isReady |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: