Struct amethyst_assets::Processor[][src]

pub struct Processor<A> { /* fields omitted */ }

A default implementation for an asset processing system which converts data to assets and maintains the asset storage for A.

This system can only be used if the asset data implements Into<Result<A, BoxedErr>>.

Methods

impl<A> Processor<A>
[src]

Creates a new asset processor for assets of type A.

Trait Implementations

impl<'a, A> System<'a> for Processor<A> where
    A: Asset,
    A::Data: Into<Result<ProcessingState<A>>>, 
[src]

The resource bundle required to execute this system. Read more

Executes the system with the required system data. Read more

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

Return the accessor from the [SystemData].

Sets up the Resources using Self::SystemData::setup.

Auto Trait Implementations

impl<A> Send for Processor<A> where
    A: Send

impl<A> Sync for Processor<A> where
    A: Sync