summaryrefslogtreecommitdiffstats
path: root/scene/main/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/main/viewport.h')
-rw-r--r--scene/main/viewport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/main/viewport.h b/scene/main/viewport.h
index a8cb2ec24a..331ce98cdd 100644
--- a/scene/main/viewport.h
+++ b/scene/main/viewport.h
@@ -243,6 +243,7 @@ private:
Rect2 last_vp_rect;
bool transparent_bg = false;
+ bool use_hdr_2d = false;
bool gen_mipmaps = false;
bool snap_controls_to_pixels = true;
@@ -526,6 +527,9 @@ public:
void set_transparent_background(bool p_enable);
bool has_transparent_background() const;
+ void set_use_hdr_2d(bool p_enable);
+ bool is_using_hdr_2d() const;
+
Ref<ViewportTexture> get_texture() const;
void set_positional_shadow_atlas_size(int p_size);