[][src]Struct amethyst_renderer::RenderBundle

pub struct RenderBundle<'a, B, P> where
    B: PipelineBuild<Pipeline = P>,
    P: PolyPipeline
{ /* fields omitted */ }

Rendering bundle

Will register all necessary components needed for rendering, along with any resources. Will also register asset contexts with the asset Loader, and add systems for merging AssetFuture into its related component.

Will register TransparentSortingSystem, with name transparent_sorting_system if sorting is requested.

Methods

impl<'a, B, P> RenderBundle<'a, B, P> where
    B: PipelineBuild<Pipeline = P>,
    P: PolyPipeline
[src]

pub fn new(pipe: B, config: Option<DisplayConfig>) -> Self[src]

Create a new render bundle

pub fn with_visibility_sorting(self, dep: &'a [&'a str]) -> Self[src]

Enable transparent mesh sorting, with the given dependencies

pub fn with_sprite_visibility_sorting(self, dep: &'a [&'a str]) -> Self[src]

Enable transparent sprite sorting, with the given dependencies

pub fn with_sprite_sheet_processor(self) -> Self[src]

Enable the sprite sheet processor

If you load a SpriteSheet in memory as an asset Format, this adds the Processor that will convert it to the Asset.

pub fn with_hide_hierarchy_system(self) -> Self[src]

Enable the hierarchical hiding system. Requires the "parent_hierarchy_system" to be used, which is a default part of TransformBundle.

Trait Implementations

impl<'a, 'b, 'c, B: PipelineBuild<Pipeline = P>, P: 'b + PolyPipeline> SystemBundle<'a, 'b> for RenderBundle<'c, B, P>[src]

Auto Trait Implementations

impl<'a, B, P> Send for RenderBundle<'a, B, P> where
    B: Send

impl<'a, B, P> Sync for RenderBundle<'a, B, P> where
    B: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Same for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]

impl<T> Erased for T[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Erased for T[src]

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.