mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
60 lines
2.9 KiB
XML
60 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="RDShaderSPIRV" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_stage_bytecode" qualifiers="const">
|
|
<return type="PackedByteArray" />
|
|
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_stage_compile_error" qualifiers="const">
|
|
<return type="String" />
|
|
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_stage_bytecode">
|
|
<return type="void" />
|
|
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
|
<argument index="1" name="bytecode" type="PackedByteArray" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_stage_compile_error">
|
|
<return type="void" />
|
|
<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
|
<argument index="1" name="compile_error" type="String" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="bytecode_compute" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
|
</member>
|
|
<member name="bytecode_fragment" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
|
</member>
|
|
<member name="bytecode_tesselation_control" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
|
</member>
|
|
<member name="bytecode_tesselation_evaluation" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
|
</member>
|
|
<member name="bytecode_vertex" type="PackedByteArray" setter="set_stage_bytecode" getter="get_stage_bytecode" default="PackedByteArray()">
|
|
</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>
|