pub enum TempResource {
StagingBuffer(FlushedStagingBuffer),
DestroyedBuffer(DestroyedBuffer),
DestroyedTexture(DestroyedTexture),
}
Expand description
A texture or buffer to be freed soon.
This is just a tagged raw texture or buffer, generally about to be added to some other more specific container like:
-
PendingWrites::temp_resources
: resources used by queue writes and unmaps, waiting to be folded in with the next queue submission -
ActiveSubmission::temp_resources
: temporary resources used by a queue submission, to be freed when it completes
Variants§
StagingBuffer(FlushedStagingBuffer)
DestroyedBuffer(DestroyedBuffer)
DestroyedTexture(DestroyedTexture)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TempResource
impl !RefUnwindSafe for TempResource
impl Send for TempResource
impl Sync for TempResource
impl Unpin for TempResource
impl !UnwindSafe for TempResource
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