mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
181 lines
8.5 KiB
ReStructuredText
181 lines
8.5 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. DO NOT EDIT THIS FILE!!!
|
|
.. Generated automatically from Godot engine sources.
|
|
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
|
|
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/RDShaderSource.xml.
|
|
|
|
.. _class_RDShaderSource:
|
|
|
|
RDShaderSource
|
|
==============
|
|
|
|
**Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
Properties
|
|
----------
|
|
|
|
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------+--------+
|
|
| :ref:`ShaderLanguage<enum_RenderingDevice_ShaderLanguage>` | :ref:`language<class_RDShaderSource_property_language>` | ``0`` |
|
|
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------+--------+
|
|
| :ref:`String<class_String>` | :ref:`source_compute<class_RDShaderSource_property_source_compute>` | ``""`` |
|
|
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------+--------+
|
|
| :ref:`String<class_String>` | :ref:`source_fragment<class_RDShaderSource_property_source_fragment>` | ``""`` |
|
|
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------+--------+
|
|
| :ref:`String<class_String>` | :ref:`source_tesselation_control<class_RDShaderSource_property_source_tesselation_control>` | ``""`` |
|
|
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------+--------+
|
|
| :ref:`String<class_String>` | :ref:`source_tesselation_evaluation<class_RDShaderSource_property_source_tesselation_evaluation>` | ``""`` |
|
|
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------+--------+
|
|
| :ref:`String<class_String>` | :ref:`source_vertex<class_RDShaderSource_property_source_vertex>` | ``""`` |
|
|
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------+--------+
|
|
|
|
Methods
|
|
-------
|
|
|
|
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`String<class_String>` | :ref:`get_stage_source<class_RDShaderSource_method_get_stage_source>` **(** :ref:`ShaderStage<enum_RenderingDevice_ShaderStage>` stage **)** |const| |
|
|
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_stage_source<class_RDShaderSource_method_set_stage_source>` **(** :ref:`ShaderStage<enum_RenderingDevice_ShaderStage>` stage, :ref:`String<class_String>` source **)** |
|
|
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_RDShaderSource_property_language:
|
|
|
|
- :ref:`ShaderLanguage<enum_RenderingDevice_ShaderLanguage>` **language**
|
|
|
|
+-----------+---------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+---------------------+
|
|
| *Setter* | set_language(value) |
|
|
+-----------+---------------------+
|
|
| *Getter* | get_language() |
|
|
+-----------+---------------------+
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
----
|
|
|
|
.. _class_RDShaderSource_property_source_compute:
|
|
|
|
- :ref:`String<class_String>` **source_compute**
|
|
|
|
+-----------+-------------------------+
|
|
| *Default* | ``""`` |
|
|
+-----------+-------------------------+
|
|
| *Setter* | set_stage_source(value) |
|
|
+-----------+-------------------------+
|
|
| *Getter* | get_stage_source() |
|
|
+-----------+-------------------------+
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
----
|
|
|
|
.. _class_RDShaderSource_property_source_fragment:
|
|
|
|
- :ref:`String<class_String>` **source_fragment**
|
|
|
|
+-----------+-------------------------+
|
|
| *Default* | ``""`` |
|
|
+-----------+-------------------------+
|
|
| *Setter* | set_stage_source(value) |
|
|
+-----------+-------------------------+
|
|
| *Getter* | get_stage_source() |
|
|
+-----------+-------------------------+
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
----
|
|
|
|
.. _class_RDShaderSource_property_source_tesselation_control:
|
|
|
|
- :ref:`String<class_String>` **source_tesselation_control**
|
|
|
|
+-----------+-------------------------+
|
|
| *Default* | ``""`` |
|
|
+-----------+-------------------------+
|
|
| *Setter* | set_stage_source(value) |
|
|
+-----------+-------------------------+
|
|
| *Getter* | get_stage_source() |
|
|
+-----------+-------------------------+
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
----
|
|
|
|
.. _class_RDShaderSource_property_source_tesselation_evaluation:
|
|
|
|
- :ref:`String<class_String>` **source_tesselation_evaluation**
|
|
|
|
+-----------+-------------------------+
|
|
| *Default* | ``""`` |
|
|
+-----------+-------------------------+
|
|
| *Setter* | set_stage_source(value) |
|
|
+-----------+-------------------------+
|
|
| *Getter* | get_stage_source() |
|
|
+-----------+-------------------------+
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
----
|
|
|
|
.. _class_RDShaderSource_property_source_vertex:
|
|
|
|
- :ref:`String<class_String>` **source_vertex**
|
|
|
|
+-----------+-------------------------+
|
|
| *Default* | ``""`` |
|
|
+-----------+-------------------------+
|
|
| *Setter* | set_stage_source(value) |
|
|
+-----------+-------------------------+
|
|
| *Getter* | get_stage_source() |
|
|
+-----------+-------------------------+
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
Method Descriptions
|
|
-------------------
|
|
|
|
.. _class_RDShaderSource_method_get_stage_source:
|
|
|
|
- :ref:`String<class_String>` **get_stage_source** **(** :ref:`ShaderStage<enum_RenderingDevice_ShaderStage>` stage **)** |const|
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
----
|
|
|
|
.. _class_RDShaderSource_method_set_stage_source:
|
|
|
|
- void **set_stage_source** **(** :ref:`ShaderStage<enum_RenderingDevice_ShaderStage>` stage, :ref:`String<class_String>` source **)**
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|
|
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
|
|
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|
|
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|