pub enum LendPass<'a> {
Metal(MetalPass),
Vulkan(VulkanPass),
OpenGl(OpenGlPass),
WebGpu {
device: u32,
encoder: u32,
color_format: &'a str,
depth_stencil_format: &'a str,
sample_count: u32,
},
D3d12(D3d12Pass),
}Expand description
Raw backend GPU render pass lent at the layer’s place (LendAt::Pass).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for LendPass<'a>
impl<'a> !Sync for LendPass<'a>
impl<'a> Forget for LendPass<'a>
impl<'a> Freeze for LendPass<'a>
impl<'a> Move for LendPass<'a>
impl<'a> RefUnwindSafe for LendPass<'a>
impl<'a> Unpin for LendPass<'a>
impl<'a> UnsafeUnpin for LendPass<'a>
impl<'a> UnwindSafe for LendPass<'a>
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