.. 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/docs/gdscript/doc/classes/Material.xml. .. _class_Material: Material ======== **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` **Inherited By:** :ref:`BaseMaterial3D`, :ref:`CanvasItemMaterial`, :ref:`FogMaterial`, :ref:`PanoramaSkyMaterial`, :ref:`ParticleProcessMaterial`, :ref:`PhysicalSkyMaterial`, :ref:`PlaceholderMaterial`, :ref:`ProceduralSkyMaterial`, :ref:`ShaderMaterial` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------+-----------------------------------------------------------------+ | :ref:`Material` | :ref:`next_pass` | +---------------------------------+-----------------------------------------------------------------+ | :ref:`int` | :ref:`render_priority` | +---------------------------------+-----------------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_can_do_next_pass` **(** **)** |virtual| |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_can_use_render_priority` **(** **)** |virtual| |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`Mode` | :ref:`_get_shader_mode` **(** **)** |virtual| |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`RID` | :ref:`_get_shader_rid` **(** **)** |virtual| |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`Resource` | :ref:`create_placeholder` **(** **)** |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`inspect_native_shader_code` **(** **)** | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Constants --------- .. _class_Material_constant_RENDER_PRIORITY_MAX: .. rst-class:: classref-constant **RENDER_PRIORITY_MAX** = ``127`` .. container:: contribute There is currently no description for this constant. Please help us by :ref:`contributing one `! .. _class_Material_constant_RENDER_PRIORITY_MIN: .. rst-class:: classref-constant **RENDER_PRIORITY_MIN** = ``-128`` .. container:: contribute There is currently no description for this constant. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_Material_property_next_pass: .. rst-class:: classref-property :ref:`Material` **next_pass** .. rst-class:: classref-property-setget - void **set_next_pass** **(** :ref:`Material` value **)** - :ref:`Material` **get_next_pass** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Material_property_render_priority: .. rst-class:: classref-property :ref:`int` **render_priority** .. rst-class:: classref-property-setget - void **set_render_priority** **(** :ref:`int` value **)** - :ref:`int` **get_render_priority** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_Material_private_method__can_do_next_pass: .. rst-class:: classref-method :ref:`bool` **_can_do_next_pass** **(** **)** |virtual| |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Material_private_method__can_use_render_priority: .. rst-class:: classref-method :ref:`bool` **_can_use_render_priority** **(** **)** |virtual| |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Material_private_method__get_shader_mode: .. rst-class:: classref-method :ref:`Mode` **_get_shader_mode** **(** **)** |virtual| |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Material_private_method__get_shader_rid: .. rst-class:: classref-method :ref:`RID` **_get_shader_rid** **(** **)** |virtual| |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Material_method_create_placeholder: .. rst-class:: classref-method :ref:`Resource` **create_placeholder** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Material_method_inspect_native_shader_code: .. rst-class:: classref-method void **inspect_native_shader_code** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |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.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`