summaryrefslogtreecommitdiff
path: root/doc/classes/RDShaderSource.xml
blob: 4c3c21bcb9fb3eb080c7ca605f7449ec49a8ff35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8" ?>
<class name="RDShaderSource" inherits="RefCounted" 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_source" qualifiers="const">
			<return type="String" />
			<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
			<description>
			</description>
		</method>
		<method name="set_stage_source">
			<return type="void" />
			<argument index="0" name="stage" type="int" enum="RenderingDevice.ShaderStage" />
			<argument index="1" name="source" type="String" />
			<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="&quot;&quot;">
		</member>
		<member name="source_fragment" type="String" setter="set_stage_source" getter="get_stage_source" default="&quot;&quot;">
		</member>
		<member name="source_tesselation_control" type="String" setter="set_stage_source" getter="get_stage_source" default="&quot;&quot;">
		</member>
		<member name="source_tesselation_evaluation" type="String" setter="set_stage_source" getter="get_stage_source" default="&quot;&quot;">
		</member>
		<member name="source_vertex" type="String" setter="set_stage_source" getter="get_stage_source" default="&quot;&quot;">
		</member>
	</members>
</class>