From 429a9dff96a5dbe1f526ae7cc6e41815eb862cf0 Mon Sep 17 00:00:00 2001 From: jussi Date: Sat, 6 May 2023 23:40:27 +0300 Subject: uluaGetBoundingBoxIndex, IsTextureReady. --- ReiLua_API.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ReiLua_API.lua') 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 -- cgit v1.2.3