diff options
author | Patrick Dawson <pat@dw.is> | 2022-11-11 15:45:36 +0100 |
---|---|---|
committer | Patrick Dawson <pat@dw.is> | 2022-11-11 15:45:36 +0100 |
commit | d7136f2d51d44a3ff35d1d1341db6421c0bdf5e9 (patch) | |
tree | 99a5ca380ddcdf8d40bbfac7bb8df05a560901a3 /doc | |
parent | 140f0395470975f1c20648ffd8807be113a9e373 (diff) |
Add `offsets` parameter to RenderingDevice::vertex_array_create
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/RenderingDevice.xml | 3 |
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"> |