Skip to main content

CaptureQueueable

Trait CaptureQueueable 

Source
pub trait CaptureQueueable<B: BufferHandles> {
    // Required method
    fn queue_with_handles(self, handles: B) -> QueueResult<(), B>;
}
Expand description

Trait for queueable CAPTURE buffers. These buffers only require handles to be queued.

Required Methods§

Source

fn queue_with_handles(self, handles: B) -> QueueResult<(), B>

Queue the buffer after binding handles, consuming the object. The number of handles must match the buffer’s expected number of planes.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<P, B, Q> CaptureQueueable<B> for QBuffer<Capture, P, B, Q>

Any CAPTURE QBuffer implements CaptureQueueable.

Source§

impl<Q> CaptureQueueable<GenericBufferHandles> for GenericQBuffer<Capture, Q>

Any CAPTURE GenericQBuffer implements CaptureQueueable.