Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
smlt::Partitioner Class Referenceabstract
Inheritance diagram for smlt::Partitioner:
smlt::RefCounted< Partitioner > smlt::TwoPhaseConstructed smlt::FrustumPartitioner smlt::NullPartitioner smlt::SpatialHashPartitioner


struct  WriteSlots

Public Member Functions

 Partitioner (Stage *ss)
void add_stage_node (StageNode *node)
void update_stage_node (StageNode *node, const AABB &bounds)
void remove_stage_node (StageNode *node)
void _apply_writes ()
virtual void lights_and_geometry_visible_from (CameraID camera_id, std::vector< LightID > &lights_out, std::vector< StageNode * > &geom_out)=0
virtual MeshID debug_mesh_id ()
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()

Protected Member Functions

Stageget_stage () const
virtual void apply_staged_write (const UniqueIDKey &key, const StagedWrite &write)=0
void stage_write (StageNode *node, const StagedWrite &op)
- Protected Member Functions inherited from smlt::RefCounted< Partitioner >
 RefCounted (Args &&...)

Protected Attributes

Property< decltype(&Partitioner::stage_)> stage = { this, &Partitioner::stage_ }

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< Partitioner >
typedef std::shared_ptr< Partitionerptr
typedef std::weak_ptr< Partitionerwptr
- Static Public Member Functions inherited from smlt::RefCounted< Partitioner >
static RefCounted< Partitioner >::ptr create (Args &&... args)
static RefCounted< Partitioner >::ptr create ()

The documentation for this class was generated from the following files: