Struct vulkano::command_buffer::std::empty::PrimaryCb
[−]
[src]
pub struct PrimaryCb<P = Arc<StandardCommandPool>> where P: CommandPool { /* fields omitted */ }
Trait Implementations
impl<P> CommandBuffer for PrimaryCb<P> where P: CommandPool
[src]
type Pool = P
Type of the pool that was used to allocate the command buffer.
type SemaphoresWaitIterator = Empty<(Arc<Semaphore>, PipelineStages)>
Iterator that returns the list of semaphores to wait upon before the command buffer is submitted. Read more
type SemaphoresSignalIterator = Empty<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