Trait vulkano::descriptor::descriptor_set::collection::TrackedDescriptorSetsCollection
[−]
[src]
pub unsafe trait TrackedDescriptorSetsCollection: DescriptorSetsCollection { type State: TrackedDescriptorSetsCollectionState<Finished=Self::Finished>; type Finished: TrackedDescriptorSetsCollectionFinished; unsafe fn extract_states_and_transition<S>(&self, list: &mut S) -> (Self::State, usize, PipelineBarrierBuilder) where S: ResourcesStates; }
Extension trait for a descriptor sets collection so that it can be used with the standard commands list interface.
Associated Types
type State: TrackedDescriptorSetsCollectionState<Finished=Self::Finished>
State of the resources inside the collection.
type Finished: TrackedDescriptorSetsCollectionFinished
Finished state of the resources inside the collection.
Required Methods
unsafe fn extract_states_and_transition<S>(&self, list: &mut S) -> (Self::State, usize, PipelineBarrierBuilder) where S: ResourcesStates
Extracts the states relevant to the buffers and images contained in the descriptor sets.
Then transitions them to the right state and returns a pipeline barrier to insert as part
of the transition. The usize
is the location of the barrier.
Implementors
impl TrackedDescriptorSetsCollection for ()