1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the Shader.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_Shader:
- Shader
- ======
- **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- To be changed, ignore.
- Member Functions
- ----------------
- +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Texture<class_texture>` | :ref:`get_default_texture_param<class_Shader_get_default_texture_param>` **(** :ref:`String<class_string>` param **)** const |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_mode<class_Shader_get_mode>` **(** **)** const |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`has_param<class_Shader_has_param>` **(** :ref:`String<class_string>` name **)** const |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_default_texture_param<class_Shader_set_default_texture_param>` **(** :ref:`String<class_string>` param, :ref:`Texture<class_texture>` texture **)** |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
- Member Variables
- ----------------
- .. _class_Shader_code:
- - :ref:`String<class_string>` **code**
- Enums
- -----
- .. _enum_Shader_Mode:
- enum **Mode**
- - **MODE_SPATIAL** = **0**
- - **MODE_CANVAS_ITEM** = **1**
- - **MODE_PARTICLES** = **2**
- Description
- -----------
- To be changed, ignore.
- Member Function Description
- ---------------------------
- .. _class_Shader_get_default_texture_param:
- - :ref:`Texture<class_texture>` **get_default_texture_param** **(** :ref:`String<class_string>` param **)** const
- .. _class_Shader_get_mode:
- - :ref:`int<class_int>` **get_mode** **(** **)** const
- .. _class_Shader_has_param:
- - :ref:`bool<class_bool>` **has_param** **(** :ref:`String<class_string>` name **)** const
- .. _class_Shader_set_default_texture_param:
- - void **set_default_texture_param** **(** :ref:`String<class_string>` param, :ref:`Texture<class_texture>` texture **)**
|