feat: godot-engine-source-4.3-stable
This commit is contained in:
parent
c59a7dcade
commit
7125d019b5
11149 changed files with 5070401 additions and 0 deletions
40
engine/doc/classes/RDShaderFile.xml
Normal file
40
engine/doc/classes/RDShaderFile.xml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="RDShaderFile" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
Compiled shader file in SPIR-V form (used by [RenderingDevice]). Not to be confused with Godot's own [Shader].
|
||||
</brief_description>
|
||||
<description>
|
||||
Compiled shader file in SPIR-V form.
|
||||
See also [RDShaderSource]. [RDShaderFile] is only meant to be used with the [RenderingDevice] API. It should not be confused with Godot's own [Shader] resource, which is what Godot's various nodes use for high-level shader programming.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_spirv" qualifiers="const">
|
||||
<return type="RDShaderSPIRV" />
|
||||
<param index="0" name="version" type="StringName" default="&""" />
|
||||
<description>
|
||||
Returns the SPIR-V intermediate representation for the specified shader [param version].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_version_list" qualifiers="const">
|
||||
<return type="StringName[]" />
|
||||
<description>
|
||||
Returns the list of compiled versions for this shader.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_bytecode">
|
||||
<return type="void" />
|
||||
<param index="0" name="bytecode" type="RDShaderSPIRV" />
|
||||
<param index="1" name="version" type="StringName" default="&""" />
|
||||
<description>
|
||||
Sets the SPIR-V [param bytecode] that will be compiled for the specified [param version].
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="base_error" type="String" setter="set_base_error" getter="get_base_error" default="""">
|
||||
The base compilation error message, which indicates errors not related to a specific shader stage if non-empty. If empty, shader compilation is not necessarily successful (check [RDShaderSPIRV]'s error message members).
|
||||
</member>
|
||||
</members>
|
||||
</class>
|
||||
Loading…
Add table
Add a link
Reference in a new issue