diff options
Diffstat (limited to 'scene/resources/material.h')
-rw-r--r-- | scene/resources/material.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h index 0c33891897..721514f586 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -579,6 +579,8 @@ public: static RID get_material_rid_for_2d(bool p_shaded, bool p_transparent, bool p_double_sided, bool p_cut_alpha, bool p_opaque_prepass); + RID get_shader_rid() const; + SpatialMaterial(); virtual ~SpatialMaterial(); }; |