Struct vulkano::command_buffer::ClearRect
source · pub struct ClearRect {
pub offset: [u32; 2],
pub extent: [u32; 2],
pub array_layers: Range<u32>,
}
Expand description
Specifies the clear region for the clear_attachments
command.
Fields§
§offset: [u32; 2]
The rectangle offset.
extent: [u32; 2]
The width and height of the rectangle.
array_layers: Range<u32>
The range of array layers to be cleared.
Trait Implementations§
source§impl PartialEq for ClearRect
impl PartialEq for ClearRect
impl Eq for ClearRect
impl StructuralEq for ClearRect
impl StructuralPartialEq for ClearRect
Auto Trait Implementations§
impl RefUnwindSafe for ClearRect
impl Send for ClearRect
impl Sync for ClearRect
impl Unpin for ClearRect
impl UnwindSafe for ClearRect
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