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

pub struct ComputePipeline<Pl> { /* fields omitted */ }

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.

Methods

impl ComputePipeline<()>
[src]

Builds a new ComputePipeline.

impl<Pl> ComputePipeline<Pl>
[src]

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.

impl<Pl> ComputePipeline<Pl>
[src]

Returns the Device this compute pipeline was created with.

Returns the pipeline layout used in this compute pipeline.

Trait Implementations

impl<Pl> Debug for ComputePipeline<Pl>
[src]

Formats the value using the given formatter.

impl<Pl> ComputePipelineAbstract for ComputePipeline<Pl> where
    Pl: PipelineLayoutAbstract
[src]

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

impl<Pl> PipelineLayoutAbstract for ComputePipeline<Pl> where
    Pl: PipelineLayoutAbstract
[src]

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

impl<Pl> PipelineLayoutDesc for ComputePipeline<Pl> where
    Pl: PipelineLayoutDesc
[src]

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.

Turns the layout description into a PipelineLayout object that can be used by Vulkan. Read more

impl<Pl> PipelineLayoutDescNames for ComputePipeline<Pl> where
    Pl: PipelineLayoutDescNames
[src]

Returns the set ID and descriptor ID within set of the descriptor with the given name. Read more

impl<Pl> DeviceOwned for ComputePipeline<Pl>
[src]

Returns the device that owns Self.

impl<Pl> VulkanObject for ComputePipeline<Pl>
[src]

The type of the object.

Returns a reference to the object.