Simulant  21.12-166
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::SpatialHashPartitioner Class Reference
Inheritance diagram for smlt::SpatialHashPartitioner:
smlt::Partitioner smlt::RefCounted< Partitioner > smlt::TwoPhaseConstructed

Public Member Functions

 SpatialHashPartitioner (Stage *ss)
void lights_and_geometry_visible_from (CameraID camera_id, std::vector< LightID > &lights_out, std::vector< StageNode * > &geom_out)
- Public Member Functions inherited from smlt::Partitioner
 Partitioner (Stage *ss)
void add_particle_system (ParticleSystemID particle_system_id)
void update_particle_system (ParticleSystemID particle_system_id, const AABB &bounds)
void remove_particle_system (ParticleSystemID particle_system_id)
void add_geom (GeomID geom_id)
void remove_geom (GeomID geom_id)
void add_actor (ActorID actor_id)
void update_actor (ActorID actor_id, const AABB &bounds)
void remove_actor (ActorID actor_id)
void add_light (LightID light_id)
void update_light (LightID light_id, const AABB &bounds)
void remove_light (LightID light_id)
void add_mesh_instancer (MeshInstancerID mesh_instancer_id)
void update_mesh_instancer (MeshInstancerID mesh_instancer_id, const AABB &bounds)
void remove_mesh_instancer (MeshInstancerID mesh_instancer_id)
void _apply_writes ()
virtual MeshID debug_mesh_id ()
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()

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 ()
- Protected Member Functions inherited from smlt::Partitioner
Stageget_stage () const
template<typename ID >
void stage_write (const ID &id, const StagedWrite &op)
- Protected Member Functions inherited from smlt::RefCounted< Partitioner >
 RefCounted (Args &&...)
- Protected Attributes inherited from smlt::Partitioner
Property< decltype(&Partitioner::stage_)> stage = { this, &Partitioner::stage_ }

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