diff options
| author | jussi | 2023-05-06 23:40:27 +0300 |
|---|---|---|
| committer | jussi | 2023-05-06 23:40:27 +0300 |
| commit | 429a9dff96a5dbe1f526ae7cc6e41815eb862cf0 (patch) | |
| tree | d8e081074498425f17c0fda3d8cb6d929403d1e3 /ReiLua_API.lua | |
| parent | cf92c94097e1e8ce61a6bc73671be4ee5e229571 (diff) | |
| download | reilua-enhanced-429a9dff96a5dbe1f526ae7cc6e41815eb862cf0.tar.gz reilua-enhanced-429a9dff96a5dbe1f526ae7cc6e41815eb862cf0.tar.bz2 reilua-enhanced-429a9dff96a5dbe1f526ae7cc6e41815eb862cf0.zip | |
uluaGetBoundingBoxIndex, IsTextureReady.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index c8e187e..285a9b6 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -2639,6 +2639,13 @@ function RL.LoadRenderTexture( size ) end ---@return any success function RL.UnloadTexture( texture ) end +---Check if a texture is ready +---- Failure return nil +---- Success return true +---@param texture any +---@return any isReady +function RL.IsTextureReady( texture ) end + ---Update GPU texture with new data ---NOTE! Should be TEXTURE_TYPE_TEXTURE. Pixel should be in format { { 255, 255, 255, 255 }... } depending on the pixel format ---- Failure return false |
