Module vulkano::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.


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


Cache the pipeline objects to disk for faster reloads.
A pipeline that performs general-purpose operations.
A pipeline that performs graphics processing operations.
The layout of descriptor sets and push constants used by a pipeline.


A particular state value within a graphics pipeline that can be dynamically set by a command buffer.
A variant of StateMode that is used for cases where some value is still needed when the state is dynamic.
The type of a pipeline.
Specifies how a dynamic state is handled by a graphics pipeline.


A trait for operations shared between pipeline types.