pub trait FilterPassMeta {
    // Required methods
    fn framebuffer_format(&self) -> ImageFormat;
    fn config(&self) -> &ShaderPassConfig;

    // Provided method
    fn get_format(&self) -> ImageFormat { ... }
}
Expand description

Trait for metadata about a filter pass.

Required Methods§

source

fn framebuffer_format(&self) -> ImageFormat

Gets the format of the framebuffer for the pass.

source

fn config(&self) -> &ShaderPassConfig

Gets a reference to the filter pass config.

Provided Methods§

source

fn get_format(&self) -> ImageFormat

Gets the format of the filter pass framebuffer.

Implementors§