Sync classref with current source

Changes order of brief/long descriptions and removes category
as per godotengine/godot#35132.
This commit is contained in:
Rémi Verschelde
2020-01-15 00:51:47 +01:00
parent 251518c54d
commit 2b4319bc29
654 changed files with 5953 additions and 8315 deletions

View File

@@ -11,13 +11,18 @@ ShaderMaterial
**Inherits:** :ref:`Material<class_Material>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
-----------------
A material that uses a custom :ref:`Shader<class_Shader>` program.
Description
-----------
A material that uses a custom :ref:`Shader<class_Shader>` program to render either items to screen or process particles. You can create multiple materials for the same shader but configure different values for the uniforms defined in the shader.
Tutorials
---------
- :doc:`../tutorials/shading/index`
Properties
----------
@@ -38,16 +43,6 @@ Methods
| void | :ref:`set_shader_param<class_ShaderMaterial_method_set_shader_param>` **(** :ref:`String<class_String>` param, :ref:`Variant<class_Variant>` value **)** |
+-------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
Description
-----------
A material that uses a custom :ref:`Shader<class_Shader>` program to render either items to screen or process particles. You can create multiple materials for the same shader but configure different values for the uniforms defined in the shader.
Tutorials
---------
- :doc:`../tutorials/shading/index`
Property Descriptions
---------------------
@@ -78,12 +73,16 @@ Returns the current value set for this material of a uniform in the shader.
- :ref:`bool<class_bool>` **property_can_revert** **(** :ref:`String<class_String>` name **)**
Returns ``true`` if the property identified by ``name`` can be reverted to a default value.
----
.. _class_ShaderMaterial_method_property_get_revert:
- :ref:`Variant<class_Variant>` **property_get_revert** **(** :ref:`String<class_String>` name **)**
Returns the default value of the material property with given ``name``.
----
.. _class_ShaderMaterial_method_set_shader_param: