summaryrefslogtreecommitdiff
path: root/scene/3d/gi_probe.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-12-31 10:53:29 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-12-31 10:53:29 -0300
commita62c99c4e4325ca0c015d731f2bcb9b07410bb65 (patch)
treef9579eb97799c881fe5ed6ab4c193f65daaa0ca5 /scene/3d/gi_probe.h
parentf4a56e7782526e5e20a4351c4c293a7b4f020acd (diff)
Some fixes and clean ups
Diffstat (limited to 'scene/3d/gi_probe.h')
-rw-r--r--scene/3d/gi_probe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/3d/gi_probe.h b/scene/3d/gi_probe.h
index ca882856cf..59747761b8 100644
--- a/scene/3d/gi_probe.h
+++ b/scene/3d/gi_probe.h
@@ -38,6 +38,9 @@ public:
void set_interior(bool p_enable);
bool is_interior() const;
+ void set_compress(bool p_enable);
+ bool is_compressed() const;
+
virtual RID get_rid() const;
GIProbeData();
@@ -130,6 +133,7 @@ private:
int dynamic_range;
float energy;
bool interior;
+ bool compress;
int color_scan_cell_width;
int bake_texture_size;
@@ -169,6 +173,8 @@ public:
void set_interior(bool p_enable);
bool is_interior() const;
+ void set_compress(bool p_enable);
+ bool is_compressed() const;
void bake(Node *p_from_node=NULL,bool p_create_visual_debug=false);