diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-11 10:43:35 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-11 10:43:35 +0100 |
commit | 43f2213325760241038c5944f246e998a4991639 (patch) | |
tree | 388a736128acc3a2c49494b77e40db97617b137a /doc/classes | |
parent | 1691a33eb9cd1de09531772a2eef3c1af61fbdca (diff) | |
parent | e56fc6b3382125d2a84cbe7f4155948f4cbd7567 (diff) |
Merge pull request #68235 from pkdawson/pr-expose-vertex-array-create
Expose RenderingDevice::vertex_array_create to scripting
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/RenderingDevice.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml index cb13697cc2..2de812f5fc 100644 --- a/doc/classes/RenderingDevice.xml +++ b/doc/classes/RenderingDevice.xml @@ -643,6 +643,15 @@ <description> </description> </method> + <method name="vertex_array_create"> + <return type="RID" /> + <param index="0" name="vertex_count" type="int" /> + <param index="1" name="vertex_format" type="int" /> + <param index="2" name="src_buffers" type="RID[]" /> + <description> + Creates a vertex array based on the specified buffers. + </description> + </method> <method name="vertex_buffer_create"> <return type="RID" /> <param index="0" name="size_bytes" type="int" /> |