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§
sourcefn framebuffer_format(&self) -> ImageFormat
fn framebuffer_format(&self) -> ImageFormat
Gets the format of the framebuffer for the pass.
sourcefn config(&self) -> &ShaderPassConfig
fn config(&self) -> &ShaderPassConfig
Gets a reference to the filter pass config.
Provided Methods§
sourcefn get_format(&self) -> ImageFormat
fn get_format(&self) -> ImageFormat
Gets the format of the filter pass framebuffer.