Module pipeline

Source
Expand description

Describes a processing operation that will execute on the Vulkan device.

In Vulkan, before you can add a draw or a compute command to a command buffer you have to create a pipeline object that describes this command.

When you create a pipeline object, the implementation will usually generate some GPU machine code that will execute the operation (similar to a compiler that generates an executable for the CPU). Consequently it is a CPU-intensive operation that should be performed at initialization or during a loading screen.

Re-exports§

pub use self::compute::ComputePipeline;
pub use self::graphics::GraphicsPipeline;
pub use self::layout::PipelineLayout;

Modules§

cache
Cache the pipeline objects to disk for faster reloads.
compute
A pipeline that performs general-purpose operations.
graphics
A pipeline that performs graphics processing operations.
layout
The layout of descriptor sets and push constants used by a pipeline.
ray_tracing
Ray tracing pipeline functionality for GPU-accelerated ray tracing.

Structs§

PipelineCreateFlags
Flags specifying additional properties of a pipeline.
PipelineShaderStageCreateFlags
Flags specifying additional properties of a pipeline shader stage.
PipelineShaderStageCreateInfo
Specifies a single shader stage when creating a pipeline.

Enums§

DynamicState
A particular state value within a pipeline that can be dynamically set by a command buffer.
PipelineBindPoint
The type of a pipeline.

Traits§

Pipeline
A trait for operations shared between pipeline types.