pub struct UploadTexture { /* private fields */ }Expand description
One source-upload texture retained by the renderer’s descriptor-keyed pool.
Implementations§
Source§impl UploadTexture
impl UploadTexture
Sourcepub fn retained_bytes(&self) -> u64
pub fn retained_bytes(&self) -> u64
Returns the physical texture storage retained by this lease.
Trait Implementations§
Source§impl Debug for UploadTexture
impl Debug for UploadTexture
Source§impl Drop for UploadTexture
impl Drop for UploadTexture
Source§impl<'a> From<&'a UploadTexture> for SourceView<'a>
impl<'a> From<&'a UploadTexture> for SourceView<'a>
Source§fn from(texture: &'a UploadTexture) -> Self
fn from(texture: &'a UploadTexture) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for UploadTexture
impl !UnwindSafe for UploadTexture
impl Freeze for UploadTexture
impl Send for UploadTexture
impl Sync for UploadTexture
impl Unpin for UploadTexture
impl UnsafeUnpin for UploadTexture
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