summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-11-29 17:20:54 +0200
committerjussi2023-11-29 17:20:54 +0200
commit4ff1b1dcb9f52a2642feabda38c8c135aac6c599 (patch)
treeff8e0a1a59fc6eab65d857ddfbbef8775e216854 /API.md
parent21eb3f90c427b3b84801754e92bebb418a8d9391 (diff)
downloadreilua-enhanced-4ff1b1dcb9f52a2642feabda38c8c135aac6c599.tar.gz
reilua-enhanced-4ff1b1dcb9f52a2642feabda38c8c135aac6c599.tar.bz2
reilua-enhanced-4ff1b1dcb9f52a2642feabda38c8c135aac6c599.zip
ExportBufferAsCode.
Diffstat (limited to 'API.md')
-rw-r--r--API.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/API.md b/API.md
index f280f7a..7bb138c 100644
--- a/API.md
+++ b/API.md
@@ -4978,6 +4978,15 @@ Load Buffer. Type should be one of the Buffer types. Empty buffer will set data
---
+> buffer = RL.LoadBufferFromFile( string path, type int )
+
+Read buffer data from binary file
+
+- Failure return nil
+- Success return Buffer
+
+---
+
> RL.UnloadBuffer( Buffer buffer )
Unload buffer data
@@ -5014,12 +5023,11 @@ Write buffer data to binary file
---
-> buffer = RL.LoadBufferFromFile( string path, type int )
+> success = RL.ExportBufferAsCode( Buffer buffer, string fileName )
-Read buffer data from binary file
+Export buffer data to code (.h), returns true on success
-- Failure return nil
-- Success return Buffer
+- Success return bool
---