Struct vulkano::command_buffer::std::update_buffer::UpdateCommandCb
[−]
[src]
pub struct UpdateCommandCb<L, B> where B: TrackedBuffer, L: CommandBuffer { /* fields omitted */ }
Wraps around a command buffer and adds an update buffer command at the end of it.
Trait Implementations
impl<L, B> CommandBuffer for UpdateCommandCb<L, B> where B: TrackedBuffer, L: CommandBuffer
[src]
type Pool = L::Pool
Type of the pool that was used to allocate the command buffer.
type SemaphoresWaitIterator = Chain<L::SemaphoresWaitIterator, OptionIntoIter<(Arc<Semaphore>, PipelineStages)>>
Iterator that returns the list of semaphores to wait upon before the command buffer is submitted. Read more
type SemaphoresSignalIterator = Chain<L::SemaphoresSignalIterator, OptionIntoIter<Arc<Semaphore>>>
Iterator that returns the list of semaphores to signal after the command buffer has finished execution. Read more
fn inner(&self) -> &UnsafeCommandBuffer<Self::Pool>
Returns the inner object.
unsafe fn on_submit<F>(&self, queue: &Arc<Queue>, fence: F) -> SubmitInfo<Self::SemaphoresWaitIterator, Self::SemaphoresSignalIterator> where F: FnMut() -> Arc<Fence>
Called slightly before the command buffer is submitted. Signals the command buffers that it is going to be submitted on the given queue. The function must return the list of semaphores to wait upon and transitions to perform. Read more
fn submit(self, queue: &Arc<Queue>) -> Submission where Self: Sized + 'static
Submits the command buffer. Read more