- typedef std::set<Renderable *> RenderableSet;
- typedef std::vector<OccludedRenderable> OccludedArray;
-
- Mesh bounding_mesh;
- Program bounding_shader;
- RenderableSet renderables;
- float occluder_min_size;
- mutable OccludedArray occluded_cache;
- mutable bool cache_dirty;
+ const Mesh &bounding_mesh;
+ const Program &bounding_shader;
+ Blend no_color_write;
+ DepthTest no_depth_write = { LEQUAL, false };
+ std::vector<Renderable *> content;
+ float occluder_min_size = 0.25f;
+ mutable QueryPool queries;
+ mutable std::vector<OccludedRenderable> occluded_cache;
+ mutable bool cache_dirty = false;