pub struct SubresourceFootprint {
pub slice: Range<Offset>,
pub row_pitch: Offset,
pub array_pitch: Offset,
pub depth_pitch: Offset,
}
Expand description
Footprint of a subresource in memory.
Fields§
§slice: Range<Offset>
Byte slice occupied by the subresource.
row_pitch: Offset
Byte distance between rows.
array_pitch: Offset
Byte distance between array layers.
depth_pitch: Offset
Byte distance between depth slices.
Trait Implementations§
Source§impl Clone for SubresourceFootprint
impl Clone for SubresourceFootprint
Source§fn clone(&self) -> SubresourceFootprint
fn clone(&self) -> SubresourceFootprint
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubresourceFootprint
impl Debug for SubresourceFootprint
Source§impl Hash for SubresourceFootprint
impl Hash for SubresourceFootprint
Source§impl PartialEq for SubresourceFootprint
impl PartialEq for SubresourceFootprint
impl Eq for SubresourceFootprint
impl StructuralPartialEq for SubresourceFootprint
Auto Trait Implementations§
impl Freeze for SubresourceFootprint
impl RefUnwindSafe for SubresourceFootprint
impl Send for SubresourceFootprint
impl Sync for SubresourceFootprint
impl Unpin for SubresourceFootprint
impl UnwindSafe for SubresourceFootprint
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