#[repr(i32)]pub enum LoadOp {
Load = 0,
Clear = 1,
DontCare = 2,
}
Variants§
Load = 0
The previous contents of the image within the render area will be preserved.
§Used access types
This operation uses the “Read” access
Clear = 1
The contents within the render area will be cleared to a uniform value, which is specified when a render pass instance is begun.
§Used access types
This operation uses the “Write” access
DontCare = 2
The previous contents within the area need not be preserved; the contents of the attachment will be undefined inside the render area.
§Used access types
This operation uses the “Write” access
Trait Implementations§
impl Copy for LoadOp
impl Eq for LoadOp
impl StructuralPartialEq for LoadOp
Auto Trait Implementations§
impl Freeze for LoadOp
impl RefUnwindSafe for LoadOp
impl Send for LoadOp
impl Sync for LoadOp
impl Unpin for LoadOp
impl UnwindSafe for LoadOp
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