Expand description
[docs.microsoft.com] D3DLOCKED_BOX
A locked 3-dimensional box/volume.
Fields
row_pitch: int
Byte offset from the left edge of one row, to the left edge of the next row.
For block formats like DXT, this the pitch between rows of blocks.
slice_pitch: int
Byte offset from the top-left of one slice, to the top-left of the next deepest slice.
bits: *mut u8
Pointer to the beginning of the volume/box. If a [d3d::Box] was provided to the lock_box[_unchecked] call, bits will be appropriately offset from the start of the volume.
Trait Implementations
impl Copy for LockedBox
Auto Trait Implementations
impl RefUnwindSafe for LockedBox
impl !Send for LockedBox
impl !Sync for LockedBox
impl Unpin for LockedBox
impl UnwindSafe for LockedBox
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more