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
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
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
fn with_signal_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
signal_semaphores: &'d [Semaphore],
) -> SubmissionWithSignalSemaphores<'d, Self, Semaphore>where
Self: Sized,
👎Deprecated: old batching library
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