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
after_command_num: usize
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.
source_stage: PipelineStages
The source pipeline stages of the transition.
destination_stages: PipelineStages
The destination pipeline stages of the transition.
by_region: bool
If true, the pipeliner barrier is by region. There is literaly no reason to pass false
here, but it is included just in case.
memory_barrier: Option<PipelineMemoryBarrierRequest>
An optional memory barrier. See the docs of PipelineMemoryBarrierRequest
.