pub struct RenderPassColorAttachment {
pub view: Option<TextureView>,
pub depth_slice: Option<u32>,
pub resolve_target: Option<TextureView>,
pub load_op: Option<LoadOp>,
pub store_op: Option<StoreOp>,
pub clear_value: Option<Color>,
/* private fields */
}Fields§
§view: Option<TextureView>§depth_slice: Option<u32>§resolve_target: Option<TextureView>§load_op: Option<LoadOp>§store_op: Option<StoreOp>§clear_value: Option<Color>Implementations§
Source§impl RenderPassColorAttachment
impl RenderPassColorAttachment
pub fn new() -> Self
pub fn with_extension( self, extension: RenderPassColorAttachmentExtension, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderPassColorAttachment
impl RefUnwindSafe for RenderPassColorAttachment
impl Send for RenderPassColorAttachment
impl Sync for RenderPassColorAttachment
impl Unpin for RenderPassColorAttachment
impl UnsafeUnpin for RenderPassColorAttachment
impl UnwindSafe for RenderPassColorAttachment
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