diff options
| author | jussi | 2023-11-29 17:20:54 +0200 |
|---|---|---|
| committer | jussi | 2023-11-29 17:20:54 +0200 |
| commit | 4ff1b1dcb9f52a2642feabda38c8c135aac6c599 (patch) | |
| tree | ff8e0a1a59fc6eab65d857ddfbbef8775e216854 /ReiLua_API.lua | |
| parent | 21eb3f90c427b3b84801754e92bebb418a8d9391 (diff) | |
| download | reilua-enhanced-4ff1b1dcb9f52a2642feabda38c8c135aac6c599.tar.gz reilua-enhanced-4ff1b1dcb9f52a2642feabda38c8c135aac6c599.tar.bz2 reilua-enhanced-4ff1b1dcb9f52a2642feabda38c8c135aac6c599.zip | |
ExportBufferAsCode.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 98d656a..b1b6500 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -2366,6 +2366,14 @@ function RL.UpdateCamera3DPro( camera, movement, rotation, zoom ) end ---@return any buffer function RL.LoadBuffer( buffer, type ) end +---Read buffer data from binary file +---- Failure return nil +---- Success return Buffer +---@param path string +---@param int any +---@return any buffer +function RL.LoadBufferFromFile( path, int ) end + ---Unload buffer data ---@param buffer any ---@return any RL.UnloadBuffer @@ -2395,13 +2403,12 @@ function RL.GetBufferSize( buffer ) end ---@return any RL.ExportBuffer function RL.ExportBuffer( buffer, path ) end ----Read buffer data from binary file ----- Failure return nil ----- Success return Buffer ----@param path string ----@param int any ----@return any buffer -function RL.LoadBufferFromFile( path, int ) end +---Export buffer data to code (.h), returns true on success +---- Success return bool +---@param buffer any +---@param fileName string +---@return any success +function RL.ExportBufferAsCode( buffer, fileName ) end -- Shapes - Basic shapes drawing functions |
