pub struct CustomLayerPass {
pub device: Device,
pub queue: Queue,
pub pass: RenderPass<'static>,
pub color_format: TextureFormat,
pub depth_stencil_format: Option<TextureFormat>,
pub sample_count: u32,
}Expand description
The map’s render pass at a custom layer’s place in the style.
Set your own pipeline, bind groups, buffers, viewport, scissor rectangle
and stencil reference on pass: the map sets what its next draws need
again. Leave pass in place.
Fields§
§device: Device§queue: Queue§pass: RenderPass<'static>§color_format: TextureFormat§depth_stencil_format: Option<TextureFormat>None when the pass has no depth-stencil attachment.
sample_count: u32Auto Trait Implementations§
impl !RefUnwindSafe for CustomLayerPass
impl !UnwindSafe for CustomLayerPass
impl Forget for CustomLayerPass
impl Freeze for CustomLayerPass
impl Move for CustomLayerPass
impl Send for CustomLayerPass
impl Sync for CustomLayerPass
impl Unpin for CustomLayerPass
impl UnsafeUnpin for CustomLayerPass
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