2020-04-20 04:19:21 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-03-01 01:44:37 +01:00
|
|
|
<class name="RDShaderSource" inherits="RefCounted" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2020-04-20 04:19:21 +02:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_stage_source" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="String" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
2020-04-20 04:19:21 +02:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_stage_source">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="void" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
|
|
|
|
<param index="1" name="source" type="String" />
|
2020-04-20 04:19:21 +02:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="language" type="int" setter="set_language" getter="get_language" enum="RenderingDevice.ShaderLanguage" default="0">
|
|
|
|
</member>
|
|
|
|
<member name="source_compute" type="String" setter="set_stage_source" getter="get_stage_source" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="source_fragment" type="String" setter="set_stage_source" getter="get_stage_source" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="source_tesselation_control" type="String" setter="set_stage_source" getter="get_stage_source" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="source_tesselation_evaluation" type="String" setter="set_stage_source" getter="get_stage_source" default="""">
|
|
|
|
</member>
|
|
|
|
<member name="source_vertex" type="String" setter="set_stage_source" getter="get_stage_source" default="""">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|