logo
pub struct ComputePipeline { /* private fields */ }
Expand description

Handle to a compute pipeline.

A ComputePipeline object represents a compute pipeline and its single shader stage. It can be created with Device::create_compute_pipeline.

Corresponds to WebGPU GPUComputePipeline.

Implementations

Get an object representing the bind group layout at a given index.

Trait Implementations

Formats the value using the given formatter. Read more
Executes the destructor for this type. 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.