summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPatrick Dawson <pat@dw.is>2022-11-11 15:45:36 +0100
committerPatrick Dawson <pat@dw.is>2022-11-11 15:45:36 +0100
commitd7136f2d51d44a3ff35d1d1341db6421c0bdf5e9 (patch)
tree99a5ca380ddcdf8d40bbfac7bb8df05a560901a3 /doc
parent140f0395470975f1c20648ffd8807be113a9e373 (diff)
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">