pub struct TextureCopyLocation(/* private fields */);
Expand description
Wrapper around D3D12_TEXTURE_COPY_LOCATION structure
Implementations§
Source§impl TextureCopyLocation
impl TextureCopyLocation
pub fn new_placed_footprint( resource: &Resource, footprint: PlacedSubresourceFootprint, ) -> Self
pub fn new_subresource_index(resource: &Resource, index: u32) -> Self
pub fn resource(&self) -> Resource
pub fn copy_type(&self) -> TextureCopyType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextureCopyLocation
impl RefUnwindSafe for TextureCopyLocation
impl !Send for TextureCopyLocation
impl !Sync for TextureCopyLocation
impl Unpin for TextureCopyLocation
impl UnwindSafe for TextureCopyLocation
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