pub trait CachedRenderPipelinePhaseItem: PhaseItem {
    // Required method
    fn cached_pipeline(&self) -> CachedRenderPipelineId;
}
Expand description

A PhaseItem item, that automatically sets the appropriate render pipeline, cached in the PipelineCache.

You can use the SetItemPipeline render command to set the pipeline for this item.

Required Methods§

source

fn cached_pipeline(&self) -> CachedRenderPipelineId

The id of the render pipeline, cached in the PipelineCache, that will be used to draw this phase item.

Object Safety§

This trait is not object safe.

Implementors§