1 #ifndef MSP_GL_CULLER_H_
2 #define MSP_GL_CULLER_H_
11 Base class and interface for cullers. Scenes can use cullers to avoid
12 rendering things that are not visible.
21 /** Called once at the start of each rendering pass. */
22 virtual void setup_pass(const Renderer &) { };
24 /** Decides if a renderable should be culled. If this returns true, the
25 renderable is skipped. */
26 virtual bool cull(const Renderer &, const Renderable &) const = 0;