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§
- Pipeline
Create Flags - Flags specifying additional properties of a pipeline.
- Pipeline
Shader Stage Create Flags - Flags specifying additional properties of a pipeline shader stage.
- Pipeline
Shader Stage Create Info - Specifies a single shader stage when creating a pipeline.
Enums§
- Dynamic
State - A particular state value within a pipeline that can be dynamically set by a command buffer.
- Pipeline
Bind Point - The type of a pipeline.
Traits§
- Pipeline
- A trait for operations shared between pipeline types.