summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-12-15 13:27:57 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-12-15 14:10:37 +0300
commit807632a90c9e31f50e393677ec599bebfe9bfaaf (patch)
tree4f3026f98ab07547aa433fd243911ab488bd5550 /doc/classes
parentfc9b6ef07f6be9454495109f3ff98527ed7ed97a (diff)
Changed `STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT` type to enum flags
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/RenderingDevice.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml
index 797231ac5e..f318430611 100644
--- a/doc/classes/RenderingDevice.xml
+++ b/doc/classes/RenderingDevice.xml
@@ -504,7 +504,7 @@
<return type="RID" />
<param index="0" name="size_bytes" type="int" />
<param index="1" name="data" type="PackedByteArray" default="PackedByteArray()" />
- <param index="2" name="usage" type="int" default="0" />
+ <param index="2" name="usage" type="int" enum="RenderingDevice.StorageBufferUsage" default="0" />
<description>
</description>
</method>
@@ -1273,7 +1273,7 @@
</constant>
<constant name="INDEX_BUFFER_FORMAT_UINT32" value="1" enum="IndexBufferFormat">
</constant>
- <constant name="STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT" value="1" enum="StorageBufferUsage">
+ <constant name="STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT" value="1" enum="StorageBufferUsage" is_bitfield="true">
</constant>
<constant name="UNIFORM_TYPE_SAMPLER" value="0" enum="UniformType">
</constant>