2020-04-20 10:19:21 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 21:18:53 +08:00
|
|
|
<class name="RDShaderSPIRV" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2020-04-20 10:19:21 +08:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_stage_bytecode" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="PackedByteArray" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
2020-04-20 10:19:21 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_stage_compile_error" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="String" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
2020-04-20 10:19:21 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_stage_bytecode">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
|
|
|
<param index="1" name="bytecode" type="PackedByteArray" />
|
2020-04-20 10:19:21 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_stage_compile_error">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
|
|
|
<param index="1" name="compile_error" type="String" />
|
2020-04-20 10:19:21 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-09-25 01:45:03 +08:00
|
|
|
<member name="bytecode_compute" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
2019-09-25 01:45:03 +08:00
|
|
|
<member name="bytecode_fragment" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
2019-09-25 01:45:03 +08:00
|
|
|
<member name="bytecode_tesselation_control" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
2019-09-25 01:45:03 +08:00
|
|
|
<member name="bytecode_tesselation_evaluation" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
2019-09-25 01:45:03 +08:00
|
|
|
<member name="bytecode_vertex" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
|
|
|
<member name="compile_error_compute" type="String" setter="set_stage_compile_error" getter="get_stage_compile_error" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="compile_error_fragment" type="String" setter="set_stage_compile_error" getter="get_stage_compile_error" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="compile_error_tesselation_control" type="String" setter="set_stage_compile_error" getter="get_stage_compile_error" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="compile_error_tesselation_evaluation" type="String" setter="set_stage_compile_error" getter="get_stage_compile_error" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="compile_error_vertex" type="String" setter="set_stage_compile_error" getter="get_stage_compile_error" default="""">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|