diff options
| author | jussi | 2023-10-29 18:36:23 +0200 |
|---|---|---|
| committer | jussi | 2023-10-29 18:36:23 +0200 |
| commit | fcd2d2d8b583f6a11a9ce32a75da8e18c8c88d32 (patch) | |
| tree | 026920ed99483731ba7ea07b8c211754a059485d /ReiLua_API.lua | |
| parent | 0df40e2ac080364bcebd4fe0445b814230545477 (diff) | |
| download | reilua-enhanced-fcd2d2d8b583f6a11a9ce32a75da8e18c8c88d32.tar.gz reilua-enhanced-fcd2d2d8b583f6a11a9ce32a75da8e18c8c88d32.tar.bz2 reilua-enhanced-fcd2d2d8b583f6a11a9ce32a75da8e18c8c88d32.zip | |
LoadTextureFromData and LoadRenderTextureFromData. Documentation updates.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 3c67219..4431cbc 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -938,7 +938,7 @@ function RL.GetLogLevelInvalid() end ---@return any RL.OpenURL function RL.OpenURL( url ) end ----Creates buffer as userdata. Type should be one of the Buffer types +---Load Buffer. Type should be one of the Buffer types ---- Success return Buffer ---@param buffer any ---@param type integer @@ -2483,12 +2483,24 @@ function RL.LoadTextureFromImage( image ) end ---@return any texture function RL.LoadTextureCubemap( image, layout ) end +---Load Texture from data +---- Success return Texture +---@param textureData any +---@return any texture +function RL.LoadTextureFromData( textureData ) end + ---Load texture for rendering (framebuffer) ---- Success return RenderTexture ---@param size table ---@return any renderTexture function RL.LoadRenderTexture( size ) end +---Load RenderTexture from data (framebuffer) +---- Success return RenderTexture +---@param renderTextureData any +---@return any renderTexture +function RL.LoadRenderTextureFromData( renderTextureData ) end + ---Check if a texture is ready ---- Success return bool ---@param texture any |
