Skip to main content

GpuImage

Trait GpuImage 

Source
pub trait GpuImage {
    // Required methods
    fn image(&self) -> Image;
    fn view(&self) -> ImageView;
    fn extent(&self) -> Extent2D;
    fn format(&self) -> Format;
    fn kind(&self) -> ResourceKind;
}

Required Methods§

Source

fn image(&self) -> Image

Source

fn view(&self) -> ImageView

Source

fn extent(&self) -> Extent2D

Source

fn format(&self) -> Format

Source

fn kind(&self) -> ResourceKind

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§