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]

[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<A>>, 
[src]

The resource bundle required to execute this system. Read more

[src]

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