diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-21 11:43:28 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-21 11:43:28 +0100 |
commit | a9a75e643ea3ea61324854ba17e07a6b14162828 (patch) | |
tree | bdc9155ef23541948de09aaed0ea75145a725207 /doc | |
parent | 92993c64c6e778836eed393ee905afbcc503e2e2 (diff) | |
parent | d7136f2d51d44a3ff35d1d1341db6421c0bdf5e9 (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.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"> |