summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua21
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