From b2b821929505aea2535d38382b743ad5dd5d1fa0 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 16 Feb 2024 17:28:09 +0200 Subject: GetBufferData extra arguments. GetBufferElementSize and GetBufferLength. --- API.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'API.md') 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 -- cgit v1.2.3