pub struct ComputePipelineDesc<'a, B: Backend> {
    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

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.