diff options
author | EpEpDragon <bergapie@gmail.com> | 2022-12-28 10:37:42 +0200 |
---|---|---|
committer | EpEpDragon <bergapie@gmail.com> | 2023-01-06 17:08:37 +0200 |
commit | 36d02882b9ac773416fb3304fa7679bcdb45e7b9 (patch) | |
tree | 231def654067d772ed7d2567e42e8418d921007e /doc | |
parent | b14f7aa9f92ff44135c283a9c88dab5ef9136d64 (diff) |
Added optional offset and size parameter to RenderDevice buffer_get_data method
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/RenderingDevice.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml index f318430611..a575ea80b0 100644 --- a/doc/classes/RenderingDevice.xml +++ b/doc/classes/RenderingDevice.xml @@ -26,7 +26,10 @@ <method name="buffer_get_data"> <return type="PackedByteArray" /> <param index="0" name="buffer" type="RID" /> + <param index="1" name="offset_bytes" type="int" default="0" /> + <param index="2" name="size_bytes" type="int" default="0" /> <description> + Returns a copy of the data of the specified [param buffer], optionally [param offset_bytes] and [param size_bytes] can be set to copy only a portion of the buffer. </description> </method> <method name="buffer_update"> |