summaryrefslogtreecommitdiff
path: root/doc/classes/RDShaderFile.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/RDShaderFile.xml')
-rw-r--r--doc/classes/RDShaderFile.xml24
1 files changed, 8 insertions, 16 deletions
diff --git a/doc/classes/RDShaderFile.xml b/doc/classes/RDShaderFile.xml
index 14e70d53ea..e719337f22 100644
--- a/doc/classes/RDShaderFile.xml
+++ b/doc/classes/RDShaderFile.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="RDShaderFile" inherits="Resource" version="4.0">
+<class name="RDShaderFile" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
</brief_description>
<description>
@@ -7,27 +7,21 @@
<tutorials>
</tutorials>
<methods>
- <method name="get_bytecode" qualifiers="const">
- <return type="RDShaderBytecode">
- </return>
- <argument index="0" name="version" type="StringName" default="@&quot;&quot;">
- </argument>
+ <method name="get_spirv" qualifiers="const">
+ <return type="RDShaderSPIRV" />
+ <argument index="0" name="version" type="StringName" default="&amp;&quot;&quot;" />
<description>
</description>
</method>
<method name="get_version_list" qualifiers="const">
- <return type="PackedStringArray">
- </return>
+ <return type="PackedStringArray" />
<description>
</description>
</method>
<method name="set_bytecode">
- <return type="void">
- </return>
- <argument index="0" name="bytecode" type="RDShaderBytecode">
- </argument>
- <argument index="1" name="version" type="StringName" default="@&quot;&quot;">
- </argument>
+ <return type="void" />
+ <argument index="0" name="bytecode" type="RDShaderSPIRV" />
+ <argument index="1" name="version" type="StringName" default="&amp;&quot;&quot;" />
<description>
</description>
</method>
@@ -36,6 +30,4 @@
<member name="base_error" type="String" setter="set_base_error" getter="get_base_error" default="&quot;&quot;">
</member>
</members>
- <constants>
- </constants>
</class>