pub struct DepthPipelines {
pub shadow_opaque_s1: RenderPipeline,
pub shadow_cutout_s1: Option<RenderPipeline>,
pub prepass_opaque_s1: RenderPipeline,
pub prepass_cutout_s1: Option<RenderPipeline>,
pub prepass_opaque_s4: RenderPipeline,
pub prepass_cutout_s4: Option<RenderPipeline>,
}
Expand description
Set of all possible needed pipelines for a material.
Fields§
§shadow_opaque_s1: RenderPipeline
§shadow_cutout_s1: Option<RenderPipeline>
§prepass_opaque_s1: RenderPipeline
§prepass_cutout_s1: Option<RenderPipeline>
§prepass_opaque_s4: RenderPipeline
§prepass_cutout_s4: Option<RenderPipeline>
Implementations§
Source§impl DepthPipelines
impl DepthPipelines
pub fn new( renderer: &Renderer, data_core: &RendererDataCore, interfaces: &WholeFrameInterfaces, per_material_bgl: &BindGroupLayout, abi_bgl: Option<&BindGroupLayout>, unclipped_depth_supported: bool, ) -> DepthPipelines
Auto Trait Implementations§
impl Freeze for DepthPipelines
impl !RefUnwindSafe for DepthPipelines
impl Send for DepthPipelines
impl Sync for DepthPipelines
impl Unpin for DepthPipelines
impl !UnwindSafe for DepthPipelines
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more