pub struct ComputePipeline<Pl> { /* private fields */ }
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<Pl>> into an Arc<ComputePipelineAbstract> if necessary.

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.

Returns the pipeline layout used in this compute pipeline.

Trait Implementations

Returns an opaque object that represents the inside of the compute pipeline.
Formats the value using the given formatter. Read more
Returns the device that owns Self.
Returns an opaque object that allows internal access to the pipeline layout. Read more
Returns the UnsafeDescriptorSetLayout object of the specified set index. Read more
Returns the number of sets in the layout. Includes possibly empty sets. Read more
Returns the number of descriptors in the set. Includes possibly empty descriptors. Read more
Returns the descriptor for the given binding of the given set. Read more
Returns the number of push constant ranges of the layout.
Returns a description of the given push constants range. Read more
If the PipelineLayoutDesc implementation is able to provide an existing UnsafeDescriptorSetLayout for a given set, it can do so by returning it here. Read more
Builds the union of this layout and another.
Checks whether this description fulfills the device limits requirements.
Turns the layout description into a PipelineLayout object that can be used by Vulkan. Read more
The type of the object.
The DebugReportObjectTypeEXT of the internal Vulkan handle.
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.

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.