.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the Material.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_Material: Material ======== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`ParticlesMaterial`, :ref:`ShaderMaterial`, :ref:`SpatialMaterial`, :ref:`CanvasItemMaterial` **Category:** Core Brief Description ----------------- Abstract base :ref:`Resource` for coloring and shading geometry. Member Variables ---------------- .. _class_Material_next_pass: - :ref:`Material` **next_pass** .. _class_Material_render_priority: - :ref:`int` **render_priority** Numeric Constants ----------------- - **RENDER_PRIORITY_MAX** = **127** - **RENDER_PRIORITY_MIN** = **-128** Description ----------- Material is a base :ref:`Resource` used for coloring and shading geometry. All materials inherit from it and almost all :ref:`VisualInstance` derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here.