Struct planetkit::globe::ChunkViewSystem
[−]
[src]
pub struct ChunkViewSystem { /* fields omitted */ }
Methods
impl ChunkViewSystem
[src]
fn new(
parent_log: &Logger,
seconds_between_geometry_creation: TimeDelta
) -> ChunkViewSystem
[src]
parent_log: &Logger,
seconds_between_geometry_creation: TimeDelta
) -> ChunkViewSystem
fn remove_views_for_dead_chunks<'a>(
&mut self,
entities: &Entities<'a>,
globe: &mut Globe,
globe_entity: Entity,
visuals: &mut WriteStorage<'a, Visual>,
chunk_views: &mut WriteStorage<'a, ChunkView>
)
[src]
&mut self,
entities: &Entities<'a>,
globe: &mut Globe,
globe_entity: Entity,
visuals: &mut WriteStorage<'a, Visual>,
chunk_views: &mut WriteStorage<'a, ChunkView>
)
fn ensure_chunk_view_entities<'a>(
&mut self,
entities: &Entities<'a>,
globe: &mut Globe,
globe_entity: Entity,
chunk_views: &mut WriteStorage<'a, ChunkView>,
visuals: &mut WriteStorage<'a, Visual>,
spatials: &mut WriteStorage<'a, Spatial>
)
[src]
&mut self,
entities: &Entities<'a>,
globe: &mut Globe,
globe_entity: Entity,
chunk_views: &mut WriteStorage<'a, ChunkView>,
visuals: &mut WriteStorage<'a, Visual>,
spatials: &mut WriteStorage<'a, Spatial>
)
Trait Implementations
impl<'a> System<'a> for ChunkViewSystem
[src]
type SystemData = (Entities<'a>, Fetch<'a, TimeDeltaResource>, WriteStorage<'a, Globe>, WriteStorage<'a, Visual>, WriteStorage<'a, Spatial>, WriteStorage<'a, ChunkView>)
The resource bundle required to execute this system. Read more
fn run(&mut self, data: Self::SystemData)
[src]
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
[src]
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more