Struct amethyst_renderer::RenderBundle [−][src]
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]
impl<'a, B, P> RenderBundle<'a, B, P> where
B: PipelineBuild<Pipeline = P>,
P: PolyPipeline,
pub fn new(pipe: B, config: Option<DisplayConfig>) -> Self
[src]
pub fn new(pipe: B, config: Option<DisplayConfig>) -> Self
Create a new render bundle
pub fn with_visibility_sorting(self, dep: &'a [&'a str]) -> Self
[src]
pub fn with_visibility_sorting(self, dep: &'a [&'a str]) -> Self
Enable transparent mesh sorting, with the given dependencies
Trait Implementations
impl<'a, 'b, 'c, B: PipelineBuild<Pipeline = P>, P: 'b + PolyPipeline> SystemBundle<'a, 'b> for RenderBundle<'c, B, P>
[src]
impl<'a, 'b, 'c, B: PipelineBuild<Pipeline = P>, P: 'b + PolyPipeline> SystemBundle<'a, 'b> for RenderBundle<'c, B, P>
Auto Trait Implementations
impl<'a, B, P> Send for RenderBundle<'a, B, P> where
B: Send,
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,
impl<'a, B, P> Sync for RenderBundle<'a, B, P> where
B: Sync,