pub struct Image { /* private fields */ }
Expand description
Image resource handle.
Images ares multidimensional, formatted data arrays. Images are, together with buffers, resources and are typed representations of a memory slice.
Images are often also called textures. We only denote with an image the actual storage of the data, meaning the memory with the associated layout metadata.
The API only uses images directly when the function call affects the underlying memory (e.g copy operations).
Auto Trait Implementations
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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