Trait SubmissionBatch

Source
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§

Source

fn collect_resources(&self, target: &mut TemporalSubmissionBatchResources)

👎Deprecated: old batching library
Available on crate feature alloc only.

Provided Methods§

Source

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.
Source

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.
Source

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>

Source§

fn collect_resources(&self, target: &mut TemporalSubmissionBatchResources)

👎Deprecated: old batching library
Available on crate feature alloc only.

Implementors§

Source§

impl SubmissionBatch for EmptySubmissionBatch

Source§

impl<'d, Parent, CommandBuffer> SubmissionBatch for SubmissionWithCommandBuffers<'d, Parent, CommandBuffer>
where Parent: SubmissionBatch, CommandBuffer: CommandBuffer + 'd,

Available on crate feature alloc only.
Source§

impl<'d, Parent, Semaphore> SubmissionBatch for SubmissionWithSignalSemaphores<'d, Parent, Semaphore>
where Parent: SubmissionBatch, Semaphore: Semaphore + 'd,

Available on crate feature alloc only.
Source§

impl<'d, Parent, Semaphore> SubmissionBatch for SubmissionWithWaitSemaphores<'d, Parent, Semaphore>
where Parent: SubmissionBatch, Semaphore: Semaphore + 'd,

Available on crate feature alloc only.