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]

[src]

Builds a new ComputePipeline.

impl<Pl> ComputePipeline<Pl>
[src]

[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.

[src]

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]

[src]

Returns the Device this compute pipeline was created with.

[src]

Returns the pipeline layout used in this compute pipeline.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

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

[src]

Returns an opaque object that allows internal access to the pipeline layout. Read more

[src]

Returns the UnsafeDescriptorSetLayout object of the specified set index. Read more

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

[src]

Returns the number of sets in the layout. Includes possibly empty sets. Read more

[src]

Returns the number of descriptors in the set. Includes possibly empty descriptors. Read more

[src]

Returns the descriptor for the given binding of the given set. Read more

[src]

Returns the number of push constant ranges of the layout.

[src]

Returns a description of the given push constants range. Read more

[src]

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

[src]

Builds the union of this layout and another.

[src]

Checks whether this description fulfills the device limits requirements.

[src]

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

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

[src]

Returns the device that owns Self.

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

The type of the object.

TYPE: DebugReportObjectTypeEXT = vk::DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT

The DebugReportObjectTypeEXT of the internal Vulkan handle.

[src]

Returns a reference to the object.

Auto Trait Implementations

impl<Pl> Send for ComputePipeline<Pl> where
    Pl: Send

impl<Pl> Sync for ComputePipeline<Pl> where
    Pl: Sync