pub struct MapInfo {
pub subresource: u32,
pub read_start: usize,
pub read_end: usize,
}Expand description
Info to control mapping of resources for read/write access
Fields§
§subresource: u32Sub resource to map ie. mip level, cubemap face, array slice
read_start: usizeRange start of data we wish to read, for write-only access supply 0
read_end: usizeRange end of data we wish to read, for write only access supply 0, to read the whole resource supply usize::MAX
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapInfo
impl RefUnwindSafe for MapInfo
impl Send for MapInfo
impl Sync for MapInfo
impl Unpin for MapInfo
impl UnsafeUnpin for MapInfo
impl UnwindSafe for MapInfo
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