pub struct ComputePipelineDesc<'a, B: Backend> {
    pub label: Option<&'a str>,
    pub shader: EntryPoint<'a, B>,
    pub layout: &'a B::PipelineLayout,
    pub flags: PipelineCreationFlags,
    pub parent: BasePipeline<'a, B::ComputePipeline>,
}
Expand description

A description of the data needed to construct a compute pipeline.

Fields

label: Option<&'a str>

Pipeline label

shader: EntryPoint<'a, B>

The shader entry point that performs the computation.

layout: &'a B::PipelineLayout

Pipeline layout.

flags: PipelineCreationFlags

Any flags necessary for the pipeline creation.

parent: BasePipeline<'a, B::ComputePipeline>

The parent pipeline to this one, if any.

Implementations

Create a new empty PSO descriptor.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.