diff options
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 |
