diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-05 13:26:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 13:26:38 +0100 |
commit | d2ac67d55e693e26b1927ca25b9b1037acb1a256 (patch) | |
tree | 905939a9f7e2ffcfa424e45845bbe4f9cfe74a51 /servers/rendering/renderer_scene.h | |
parent | 2c7fcdd7f94307a8dbf9436edc3294aaa6f87a88 (diff) | |
parent | ca79373d135634b45518e82edcce15b15d25171c (diff) |
Merge pull request #53069 from fbcosentino/3d-material-overlay-4.0
Diffstat (limited to 'servers/rendering/renderer_scene.h')
-rw-r--r-- | servers/rendering/renderer_scene.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/renderer_scene.h b/servers/rendering/renderer_scene.h index ecafb7bc08..20ca49cd71 100644 --- a/servers/rendering/renderer_scene.h +++ b/servers/rendering/renderer_scene.h @@ -95,6 +95,7 @@ public: virtual void instance_geometry_set_flag(RID p_instance, RS::InstanceFlags p_flags, bool p_enabled) = 0; virtual void instance_geometry_set_cast_shadows_setting(RID p_instance, RS::ShadowCastingSetting p_shadow_casting_setting) = 0; virtual void instance_geometry_set_material_override(RID p_instance, RID p_material) = 0; + virtual void instance_geometry_set_material_overlay(RID p_instance, RID p_material) = 0; virtual void instance_geometry_set_visibility_range(RID p_instance, float p_min, float p_max, float p_min_margin, float p_max_margin, RS::VisibilityRangeFadeMode p_fade_mode) = 0; virtual void instance_geometry_set_lightmap(RID p_instance, RID p_lightmap, const Rect2 &p_lightmap_uv_scale, int p_slice_index) = 0; |