Struct vulkano::pipeline::ComputePipeline[][src]

pub struct ComputePipeline { /* fields omitted */ }
Expand description

A pipeline object that describes to the Vulkan implementation how it should perform compute operations.

The template parameter contains the descriptor set to use with this pipeline.

All compute pipeline objects implement the ComputePipelineAbstract trait. You can turn any Arc<ComputePipeline> into an Arc<ComputePipelineAbstract> if necessary.

Pass an optional Arc to a PipelineCache to enable pipeline caching. The vulkan implementation will handle the PipelineCache and check if it is available. Check the documentation of the PipelineCache for more information.

Implementations

Builds a new ComputePipeline.

Builds a new ComputePipeline with a specific pipeline layout.

An error will be returned if the pipeline layout isn’t a superset of what the shader uses.

Same as with_pipeline_layout, but doesn’t check whether the pipeline layout is a superset of what the shader expects.

Returns the Device this compute pipeline was created with.

Trait Implementations

Returns an opaque object that represents the inside of the compute pipeline.

Returns the pipeline layout used in this compute pipeline.

Formats the value using the given formatter. Read more

Returns the device that owns Self.

The type of the object.

Returns a reference to the object.

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

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

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.