123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
- .. _class_ShaderMaterial:
- ShaderMaterial
- ==============
- **Inherits:** :ref:`Material<class_material>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Member Functions
- ----------------
- +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Shader<class_shader>` | :ref:`get_shader<class_ShaderMaterial_get_shader>` **(** **)** const |
- +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Variant<class_variant>` | :ref:`get_shader_param<class_ShaderMaterial_get_shader_param>` **(** :ref:`String<class_string>` param **)** const |
- +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_shader<class_ShaderMaterial_set_shader>` **(** :ref:`Shader<class_shader>` shader **)** |
- +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_shader_param<class_ShaderMaterial_set_shader_param>` **(** :ref:`String<class_string>` param, :ref:`Variant<class_variant>` value **)** |
- +--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
- Member Function Description
- ---------------------------
- .. _class_ShaderMaterial_get_shader:
- - :ref:`Shader<class_shader>` **get_shader** **(** **)** const
- .. _class_ShaderMaterial_get_shader_param:
- - :ref:`Variant<class_variant>` **get_shader_param** **(** :ref:`String<class_string>` param **)** const
- .. _class_ShaderMaterial_set_shader:
- - void **set_shader** **(** :ref:`Shader<class_shader>` shader **)**
- .. _class_ShaderMaterial_set_shader_param:
- - void **set_shader_param** **(** :ref:`String<class_string>` param, :ref:`Variant<class_variant>` value **)**
|