Module bevy_internal::tasks::prelude
source · Structs
- A newtype for a task pool for CPU-intensive work that may span across multiple frames
- A newtype for a task pool for CPU-intensive work that must be completed to deliver the next frame
- A newtype for a task pool for IO-intensive work (i.e. tasks that spend very little time in a “woken” state)
Traits
ParallelIterator
closely emulates thestd::iter::Iterator
interface. However, it usesbevy_task
to compute batches in parallel.- Provides functions for mapping read-only slices across a provided
TaskPool
. - Provides functions for mapping mutable slices across a provided
TaskPool
.
Functions
- Blocks the current thread on a future.