Docs.rs
  • bevy-0.16.1
    • bevy 0.16.1
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • cart
    • github:bevyengine:publish
    • Dependencies
      • bevy_internal ^0.16.1 normal
      • tracing ^0.1 normal optional
      • accesskit ^0.18 dev
      • anyhow ^1 dev
      • argh ^0.1.12 dev
      • async-std ^1.13 dev
      • bevy_asset ^0.16.1 dev
      • bevy_ecs ^0.16.1 dev
      • bevy_gizmos ^0.16.1 dev
      • bevy_image ^0.16.1 dev
      • bevy_reflect ^0.16.1 dev
      • bevy_render ^0.16.1 dev
      • bevy_state ^0.16.1 dev
      • bytemuck ^1.7 dev
      • crossbeam-channel ^0.5.0 dev
      • event-listener ^5.3.0 dev
      • flate2 ^1.0 dev
      • futures-lite ^2.0.1 dev
      • http-body-util ^0.1 dev
      • hyper ^1 dev
      • macro_rules_attribute ^0.2 dev
      • nonmax ^0.5 dev
      • rand ^0.8.0 dev
      • rand_chacha ^0.3.1 dev
      • ron ^0.8.0 dev
      • serde ^1 dev
      • serde_json ^1.0.140 dev
      • thiserror ^2.0 dev
      • bevy_dylib ^0.16.1 normal optional
      • smol ^2 dev
      • smol-hyper ^0.1 dev
      • smol-macros ^0.1 dev
      • ureq ^3.0.8 dev
      • wasm-bindgen ^0.2 dev
      • web-sys ^0.3 dev
    • Versions
    • 100% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

bevy0.16.1

SpecializedMeshPipeline

Required Associated Types

  • Key

Required Methods

  • specialize

Implementors

In bevy::render::render_resource

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§

Source

type Key: Clone + Hash + PartialEq + Eq

Required Methods§

Source

fn specialize( &self, key: Self::Key, layout: &MeshVertexBufferLayoutRef, ) -> Result<RenderPipelineDescriptor, SpecializedMeshPipelineError>

Implementors§

Source§

impl SpecializedMeshPipeline for MeshPipeline

Source§

type Key = MeshPipelineKey

Source§

impl SpecializedMeshPipeline for Wireframe3dPipeline

Source§

type Key = MeshPipelineKey

Source§

impl SpecializedMeshPipeline for Mesh2dPipeline

Source§

type Key = Mesh2dPipelineKey

Source§

impl SpecializedMeshPipeline for Wireframe2dPipeline

Source§

type Key = Mesh2dPipelineKey

Source§

impl<M> SpecializedMeshPipeline for MaterialPipeline<M>
where M: Material, <M as AsBindGroup>::Data: PartialEq + Eq + Hash + Clone,

Source§

type Key = MaterialPipelineKey<M>

Source§

impl<M> SpecializedMeshPipeline for PrepassPipeline<M>
where M: Material, <M as AsBindGroup>::Data: PartialEq + Eq + Hash + Clone,

Source§

type Key = MaterialPipelineKey<M>

Source§

impl<M> SpecializedMeshPipeline for Material2dPipeline<M>
where M: Material2d, <M as AsBindGroup>::Data: PartialEq + Eq + Hash + Clone,

Source§

type Key = Material2dKey<M>