Portal occlusion culling
Adds support for occlusion culling via rooms and portals.
This commit is contained in:
@ -60,6 +60,7 @@ private:
|
||||
bool _gpu_pixel_snap;
|
||||
uint64_t _physics_frames;
|
||||
float _physics_interpolation_fraction;
|
||||
bool _portals_active;
|
||||
|
||||
uint64_t _idle_frames;
|
||||
bool _in_physics;
|
||||
@ -106,6 +107,8 @@ public:
|
||||
Object *get_singleton_object(const String &p_name) const;
|
||||
|
||||
_FORCE_INLINE_ bool get_use_gpu_pixel_snap() const { return _gpu_pixel_snap; }
|
||||
bool are_portals_active() const { return _portals_active; }
|
||||
void set_portals_active(bool p_active);
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
_FORCE_INLINE_ void set_editor_hint(bool p_enabled) { editor_hint = p_enabled; }
|
||||
|
||||
Reference in New Issue
Block a user