Trait bevy_render::render_phase::RenderCommand

source ·
pub trait RenderCommand<P: PhaseItem> {
    type Param: SystemParam + 'static;
    type ViewQuery: ReadOnlyQueryData;
    type ItemQuery: ReadOnlyQueryData;

    // Required method
    fn render<'w>(
        item: &P,
        view: ROQueryItem<'w, Self::ViewQuery>,
        entity: Option<ROQueryItem<'w, Self::ItemQuery>>,
        param: SystemParamItem<'w, '_, Self::Param>,
        pass: &mut TrackedRenderPass<'w>
    ) -> RenderCommandResult;
}
Expand description

RenderCommands are modular standardized pieces of render logic that can be composed into Draw functions.

To turn a stateless render command into a usable draw function it has to be wrapped by a RenderCommandState. This is done automatically when registering a render command as a Draw function via the AddRenderCommand::add_render_command method.

Compared to the draw function the required ECS data is fetched automatically (by the RenderCommandState) from the render world. Therefore the three types Param, ViewQuery and ItemQuery are used. They specify which information is required to execute the render command.

Multiple render commands can be combined together by wrapping them in a tuple.

§Example

The DrawMaterial draw function is created from the following render command tuple. Const generics are used to set specific bind group locations:

pub type DrawMaterial<M> = (
    SetItemPipeline,
    SetMeshViewBindGroup<0>,
    SetMeshBindGroup<1>,
    SetMaterialBindGroup<M, 2>,
    DrawMesh,
);

Required Associated Types§

source

type Param: SystemParam + 'static

Specifies the general ECS data (e.g. resources) required by RenderCommand::render.

When fetching resources, note that, due to lifetime limitations of the Deref trait, SRes::into_inner must be called on each SRes reference in the RenderCommand::render method, instead of being automatically dereferenced as is the case in normal systems.

All parameters have to be read only.

source

type ViewQuery: ReadOnlyQueryData

Specifies the ECS data of the view entity required by RenderCommand::render.

The view entity refers to the camera, or shadow-casting light, etc. from which the phase item will be rendered from. All components have to be accessed read only.

source

type ItemQuery: ReadOnlyQueryData

Specifies the ECS data of the item entity required by RenderCommand::render.

The item is the entity that will be rendered for the corresponding view. All components have to be accessed read only.

For efficiency reasons, Bevy doesn’t always extract entities to the render world; for instance, entities that simply consist of meshes are often not extracted. If the entity doesn’t exist in the render world, the supplied query data will be None.

Required Methods§

source

fn render<'w>( item: &P, view: ROQueryItem<'w, Self::ViewQuery>, entity: Option<ROQueryItem<'w, Self::ItemQuery>>, param: SystemParamItem<'w, '_, Self::Param>, pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

Renders a PhaseItem by recording commands (e.g. setting pipelines, binding bind groups, issuing draw calls, etc.) via the TrackedRenderPass.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<P: PhaseItem> RenderCommand<P> for ()

§

type Param = ()

§

type ViewQuery = ()

§

type ItemQuery = ()

source§

fn render<'w>( _item: &P, (): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>> RenderCommand<P> for (C0,)

§

type Param = (<C0 as RenderCommand<P>>::Param,)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery,)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery,)

source§

fn render<'w>( _item: &P, (V0): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>> RenderCommand<P> for (C0, C1)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>, C8: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7, C8)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param, <C8 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery, <C8 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery, <C8 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7, V8): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7, C8): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>, C8: RenderCommand<P>, C9: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param, <C8 as RenderCommand<P>>::Param, <C9 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery, <C8 as RenderCommand<P>>::ViewQuery, <C9 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery, <C8 as RenderCommand<P>>::ItemQuery, <C9 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>, C8: RenderCommand<P>, C9: RenderCommand<P>, C10: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param, <C8 as RenderCommand<P>>::Param, <C9 as RenderCommand<P>>::Param, <C10 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery, <C8 as RenderCommand<P>>::ViewQuery, <C9 as RenderCommand<P>>::ViewQuery, <C10 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery, <C8 as RenderCommand<P>>::ItemQuery, <C9 as RenderCommand<P>>::ItemQuery, <C10 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>, C8: RenderCommand<P>, C9: RenderCommand<P>, C10: RenderCommand<P>, C11: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param, <C8 as RenderCommand<P>>::Param, <C9 as RenderCommand<P>>::Param, <C10 as RenderCommand<P>>::Param, <C11 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery, <C8 as RenderCommand<P>>::ViewQuery, <C9 as RenderCommand<P>>::ViewQuery, <C10 as RenderCommand<P>>::ViewQuery, <C11 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery, <C8 as RenderCommand<P>>::ItemQuery, <C9 as RenderCommand<P>>::ItemQuery, <C10 as RenderCommand<P>>::ItemQuery, <C11 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>, C8: RenderCommand<P>, C9: RenderCommand<P>, C10: RenderCommand<P>, C11: RenderCommand<P>, C12: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param, <C8 as RenderCommand<P>>::Param, <C9 as RenderCommand<P>>::Param, <C10 as RenderCommand<P>>::Param, <C11 as RenderCommand<P>>::Param, <C12 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery, <C8 as RenderCommand<P>>::ViewQuery, <C9 as RenderCommand<P>>::ViewQuery, <C10 as RenderCommand<P>>::ViewQuery, <C11 as RenderCommand<P>>::ViewQuery, <C12 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery, <C8 as RenderCommand<P>>::ItemQuery, <C9 as RenderCommand<P>>::ItemQuery, <C10 as RenderCommand<P>>::ItemQuery, <C11 as RenderCommand<P>>::ItemQuery, <C12 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>, C8: RenderCommand<P>, C9: RenderCommand<P>, C10: RenderCommand<P>, C11: RenderCommand<P>, C12: RenderCommand<P>, C13: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param, <C8 as RenderCommand<P>>::Param, <C9 as RenderCommand<P>>::Param, <C10 as RenderCommand<P>>::Param, <C11 as RenderCommand<P>>::Param, <C12 as RenderCommand<P>>::Param, <C13 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery, <C8 as RenderCommand<P>>::ViewQuery, <C9 as RenderCommand<P>>::ViewQuery, <C10 as RenderCommand<P>>::ViewQuery, <C11 as RenderCommand<P>>::ViewQuery, <C12 as RenderCommand<P>>::ViewQuery, <C13 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery, <C8 as RenderCommand<P>>::ItemQuery, <C9 as RenderCommand<P>>::ItemQuery, <C10 as RenderCommand<P>>::ItemQuery, <C11 as RenderCommand<P>>::ItemQuery, <C12 as RenderCommand<P>>::ItemQuery, <C13 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

source§

impl<P: PhaseItem, C0: RenderCommand<P>, C1: RenderCommand<P>, C2: RenderCommand<P>, C3: RenderCommand<P>, C4: RenderCommand<P>, C5: RenderCommand<P>, C6: RenderCommand<P>, C7: RenderCommand<P>, C8: RenderCommand<P>, C9: RenderCommand<P>, C10: RenderCommand<P>, C11: RenderCommand<P>, C12: RenderCommand<P>, C13: RenderCommand<P>, C14: RenderCommand<P>> RenderCommand<P> for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14)

§

type Param = (<C0 as RenderCommand<P>>::Param, <C1 as RenderCommand<P>>::Param, <C2 as RenderCommand<P>>::Param, <C3 as RenderCommand<P>>::Param, <C4 as RenderCommand<P>>::Param, <C5 as RenderCommand<P>>::Param, <C6 as RenderCommand<P>>::Param, <C7 as RenderCommand<P>>::Param, <C8 as RenderCommand<P>>::Param, <C9 as RenderCommand<P>>::Param, <C10 as RenderCommand<P>>::Param, <C11 as RenderCommand<P>>::Param, <C12 as RenderCommand<P>>::Param, <C13 as RenderCommand<P>>::Param, <C14 as RenderCommand<P>>::Param)

§

type ViewQuery = (<C0 as RenderCommand<P>>::ViewQuery, <C1 as RenderCommand<P>>::ViewQuery, <C2 as RenderCommand<P>>::ViewQuery, <C3 as RenderCommand<P>>::ViewQuery, <C4 as RenderCommand<P>>::ViewQuery, <C5 as RenderCommand<P>>::ViewQuery, <C6 as RenderCommand<P>>::ViewQuery, <C7 as RenderCommand<P>>::ViewQuery, <C8 as RenderCommand<P>>::ViewQuery, <C9 as RenderCommand<P>>::ViewQuery, <C10 as RenderCommand<P>>::ViewQuery, <C11 as RenderCommand<P>>::ViewQuery, <C12 as RenderCommand<P>>::ViewQuery, <C13 as RenderCommand<P>>::ViewQuery, <C14 as RenderCommand<P>>::ViewQuery)

§

type ItemQuery = (<C0 as RenderCommand<P>>::ItemQuery, <C1 as RenderCommand<P>>::ItemQuery, <C2 as RenderCommand<P>>::ItemQuery, <C3 as RenderCommand<P>>::ItemQuery, <C4 as RenderCommand<P>>::ItemQuery, <C5 as RenderCommand<P>>::ItemQuery, <C6 as RenderCommand<P>>::ItemQuery, <C7 as RenderCommand<P>>::ItemQuery, <C8 as RenderCommand<P>>::ItemQuery, <C9 as RenderCommand<P>>::ItemQuery, <C10 as RenderCommand<P>>::ItemQuery, <C11 as RenderCommand<P>>::ItemQuery, <C12 as RenderCommand<P>>::ItemQuery, <C13 as RenderCommand<P>>::ItemQuery, <C14 as RenderCommand<P>>::ItemQuery)

source§

fn render<'w>( _item: &P, (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14): ROQueryItem<'w, Self::ViewQuery>, maybe_entities: Option<ROQueryItem<'w, Self::ItemQuery>>, (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14): SystemParamItem<'w, '_, Self::Param>, _pass: &mut TrackedRenderPass<'w> ) -> RenderCommandResult

Implementors§