summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-21 11:43:28 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-21 11:43:28 +0100
commita9a75e643ea3ea61324854ba17e07a6b14162828 (patch)
treebdc9155ef23541948de09aaed0ea75145a725207 /doc
parent92993c64c6e778836eed393ee905afbcc503e2e2 (diff)
parentd7136f2d51d44a3ff35d1d1341db6421c0bdf5e9 (diff)
Merge pull request #68527 from pkdawson/vertex-array-offsets
Add `offsets` parameter to RenderingDevice::vertex_array_create
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/RenderingDevice.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml
index 2de812f5fc..7b041d3b75 100644
--- a/doc/classes/RenderingDevice.xml
+++ b/doc/classes/RenderingDevice.xml
@@ -648,8 +648,9 @@
<param index="0" name="vertex_count" type="int" />
<param index="1" name="vertex_format" type="int" />
<param index="2" name="src_buffers" type="RID[]" />
+ <param index="3" name="offsets" type="PackedInt64Array" default="PackedInt64Array()" />
<description>
- Creates a vertex array based on the specified buffers.
+ Creates a vertex array based on the specified buffers. Optionally, [param offsets] (in bytes) may be defined for each buffer.
</description>
</method>
<method name="vertex_buffer_create">