pub trait SubmissionBatch {
// Required method
fn collect_resources(&self, target: &mut TemporalSubmissionBatchResources);
// Provided methods
fn with_command_buffers<'d, CommandBuffer: CommandBuffer + 'd>(
self,
command_buffers: &'d [CommandBuffer],
) -> SubmissionWithCommandBuffers<'d, Self, CommandBuffer>
where Self: Sized { ... }
fn with_wait_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
wait_semaphores: &'d [(Semaphore, PipelineStageFlags)],
) -> SubmissionWithWaitSemaphores<'d, Self, Semaphore>
where Self: Sized { ... }
fn with_signal_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
signal_semaphores: &'d [Semaphore],
) -> SubmissionWithSignalSemaphores<'d, Self, Semaphore>
where Self: Sized { ... }
}
👎Deprecated: old batching library
Required Methods§
fn collect_resources(&self, target: &mut TemporalSubmissionBatchResources)
👎Deprecated: old batching library
Available on crate feature
alloc
only.Provided Methods§
fn with_command_buffers<'d, CommandBuffer: CommandBuffer + 'd>(
self,
command_buffers: &'d [CommandBuffer],
) -> SubmissionWithCommandBuffers<'d, Self, CommandBuffer>where
Self: Sized,
👎Deprecated: old batching library
Available on crate feature
alloc
only.fn with_wait_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
wait_semaphores: &'d [(Semaphore, PipelineStageFlags)],
) -> SubmissionWithWaitSemaphores<'d, Self, Semaphore>where
Self: Sized,
👎Deprecated: old batching library
Available on crate feature
alloc
only.fn with_signal_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
signal_semaphores: &'d [Semaphore],
) -> SubmissionWithSignalSemaphores<'d, Self, Semaphore>where
Self: Sized,
👎Deprecated: old batching library
Available on crate feature
alloc
only.Implementations on Foreign Types§
Source§impl<T: SubmissionBatch + ?Sized> SubmissionBatch for Box<T>
impl<T: SubmissionBatch + ?Sized> SubmissionBatch for Box<T>
Source§fn collect_resources(&self, target: &mut TemporalSubmissionBatchResources)
fn collect_resources(&self, target: &mut TemporalSubmissionBatchResources)
👎Deprecated: old batching library
Available on crate feature
alloc
only.Implementors§
impl SubmissionBatch for EmptySubmissionBatch
impl<'d, Parent, CommandBuffer> SubmissionBatch for SubmissionWithCommandBuffers<'d, Parent, CommandBuffer>where
Parent: SubmissionBatch,
CommandBuffer: CommandBuffer + 'd,
Available on crate feature
alloc
only.impl<'d, Parent, Semaphore> SubmissionBatch for SubmissionWithSignalSemaphores<'d, Parent, Semaphore>where
Parent: SubmissionBatch,
Semaphore: Semaphore + 'd,
Available on crate feature
alloc
only.impl<'d, Parent, Semaphore> SubmissionBatch for SubmissionWithWaitSemaphores<'d, Parent, Semaphore>where
Parent: SubmissionBatch,
Semaphore: Semaphore + 'd,
Available on crate feature
alloc
only.