pub struct Image { /* private fields */ }
Expand description
Handle to GPU image object.
Images represent a one, two or three dimensional arrays of texel.
Implementations§
Trait Implementations§
source§impl Attachment for Image
impl Attachment for Image
source§fn max_extent(&self) -> Extent2
fn max_extent(&self) -> Extent2
Maximum extend of the image view that can be make for this attachment.
source§fn eq(&self, view: &ImageView) -> bool
fn eq(&self, view: &ImageView) -> bool
Returns if this attachment is equivalent to image view. Read more
source§fn get_view(
&self,
device: &Device,
usage: ImageUsage,
extent: Extent2
) -> Result<ImageView, OutOfMemory>
fn get_view(
&self,
device: &Device,
usage: ImageUsage,
extent: Extent2
) -> Result<ImageView, OutOfMemory>
Returns image view with specified usage and extent for this attachment.