Struct vulkano::buffer::traits::PipelineBarrierRequest [] [src]

pub struct PipelineBarrierRequest {
    pub after_command_num: usize,
    pub source_stage: PipelineStages,
    pub destination_stages: PipelineStages,
    pub by_region: bool,
    pub memory_barrier: Option<PipelineMemoryBarrierRequest>,
}

Requests that a pipeline barrier is created.

Fields

The number of the command after which the barrier should be placed. Must usually match the number that was passed to the previous call to transition, or 0 if the buffer hasn't been used yet.

The source pipeline stages of the transition.

The destination pipeline stages of the transition.

If true, the pipeliner barrier is by region. There is literaly no reason to pass false here, but it is included just in case.

An optional memory barrier. See the docs of PipelineMemoryBarrierRequest.