bevy_render::render_resource

Trait SpecializedMeshPipeline

Source
pub trait SpecializedMeshPipeline {
    type Key: Clone + Hash + PartialEq + Eq;

    // Required method
    fn specialize(
        &self,
        key: Self::Key,
        layout: &MeshVertexBufferLayoutRef,
    ) -> Result<RenderPipelineDescriptor, SpecializedMeshPipelineError>;
}

Required Associated Types§

Required Methods§

Implementors§