summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2024-02-16 17:28:09 +0200
committerjussi2024-02-16 17:28:09 +0200
commitb2b821929505aea2535d38382b743ad5dd5d1fa0 (patch)
tree83c79a9afef9e566325f0d987f167a6d97bb2039 /API.md
parent48adbe20dc022d286875408d215ef323c853e6f4 (diff)
downloadreilua-enhanced-b2b821929505aea2535d38382b743ad5dd5d1fa0.tar.gz
reilua-enhanced-b2b821929505aea2535d38382b743ad5dd5d1fa0.tar.bz2
reilua-enhanced-b2b821929505aea2535d38382b743ad5dd5d1fa0.zip
GetBufferData extra arguments. GetBufferElementSize and GetBufferLength.
Diffstat (limited to 'API.md')
-rw-r--r--API.md20
1 files changed, 18 insertions, 2 deletions
diff --git a/API.md b/API.md
index 06fc8fb..3b1d817 100644
--- a/API.md
+++ b/API.md
@@ -5076,7 +5076,7 @@ Unload buffer data
---
-> data = RL.GetBufferData( Buffer buffer )
+> data = RL.GetBufferData( Buffer buffer, int position, int length )
Get buffer data as table in the format it was stored
@@ -5094,7 +5094,23 @@ Get buffer type
> size = RL.GetBufferSize( Buffer buffer )
-Get buffer size
+Get buffer size in bytes
+
+- Success return int
+
+---
+
+> size = RL.GetBufferElementSize( Buffer buffer )
+
+Get buffer element size in bytes
+
+- Success return int
+
+---
+
+> length = RL.GetBufferLength( Buffer buffer )
+
+Get buffer element count
- Success return int