Skip to main content

ComputablePipeline

Trait ComputablePipeline 

Source
pub trait ComputablePipeline<C: ComputeCommand>: SendSync {
    // Required method
    fn dispatch(&mut self, context: &mut ComputeContext<'_, '_, '_, C>);
}
Expand description

Processes compute commands of type C.

Required Methods§

Source

fn dispatch(&mut self, context: &mut ComputeContext<'_, '_, '_, C>)

Dispatches the command batch over each item’s target area. The output starts as a copy of the input and uses a non-sRGB storage format; draws that sample the scene next read the result.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§