pub struct Queue { /* private fields */ }
Trait Implementations§
Source§impl Queue<Backend> for Queue
impl Queue<Backend> for Queue
Source§unsafe fn submit<'a, Ic, Iw, Is>(
&mut self,
command_buffers: Ic,
wait_semaphores: Iw,
signal_semaphores: Is,
fence: Option<&mut Fence>,
)where
Ic: Iterator<Item = &'a CommandBuffer>,
Iw: Iterator<Item = (&'a Semaphore, PipelineStage)>,
Is: Iterator<Item = &'a Semaphore>,
unsafe fn submit<'a, Ic, Iw, Is>(
&mut self,
command_buffers: Ic,
wait_semaphores: Iw,
signal_semaphores: Is,
fence: Option<&mut Fence>,
)where
Ic: Iterator<Item = &'a CommandBuffer>,
Iw: Iterator<Item = (&'a Semaphore, PipelineStage)>,
Is: Iterator<Item = &'a Semaphore>,
Submit command buffers to queue for execution. Read more
Source§unsafe fn bind_sparse<'a, Iw, Is, Ibi, Ib, Iii, Io, Ii>(
&mut self,
wait_semaphores: Iw,
signal_semaphores: Is,
buffer_memory_binds: Ib,
image_opaque_memory_binds: Io,
image_memory_binds: Ii,
device: &Device,
fence: Option<&Fence>,
)where
Ibi: Iterator<Item = &'a SparseBind<&'a Memory>>,
Ib: Iterator<Item = (&'a mut Buffer, Ibi)>,
Iii: Iterator<Item = &'a SparseImageBind<&'a Memory>>,
Io: Iterator<Item = (&'a mut Image, Ibi)>,
Ii: Iterator<Item = (&'a mut Image, Iii)>,
Iw: Iterator<Item = &'a Semaphore>,
Is: Iterator<Item = &'a Semaphore>,
unsafe fn bind_sparse<'a, Iw, Is, Ibi, Ib, Iii, Io, Ii>(
&mut self,
wait_semaphores: Iw,
signal_semaphores: Is,
buffer_memory_binds: Ib,
image_opaque_memory_binds: Io,
image_memory_binds: Ii,
device: &Device,
fence: Option<&Fence>,
)where
Ibi: Iterator<Item = &'a SparseBind<&'a Memory>>,
Ib: Iterator<Item = (&'a mut Buffer, Ibi)>,
Iii: Iterator<Item = &'a SparseImageBind<&'a Memory>>,
Io: Iterator<Item = (&'a mut Image, Ibi)>,
Ii: Iterator<Item = (&'a mut Image, Iii)>,
Iw: Iterator<Item = &'a Semaphore>,
Is: Iterator<Item = &'a Semaphore>,
Sparse memory bind operation. Read more
Source§unsafe fn present(
&mut self,
surface: &mut Surface,
image: SurfaceImage,
wait_semaphore: Option<&mut Semaphore>,
) -> Result<Option<Suboptimal>, PresentError>
unsafe fn present( &mut self, surface: &mut Surface, image: SurfaceImage, wait_semaphore: Option<&mut Semaphore>, ) -> Result<Option<Suboptimal>, PresentError>
Present a swapchain image directly to a surface, after waiting on
wait_semaphore
. Read moreSource§fn timestamp_period(&self) -> f32
fn timestamp_period(&self) -> f32
The amount of nanoseconds that causes a timestamp query value to increment by one.
Auto Trait Implementations§
impl Freeze for Queue
impl RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl UnwindSafe for Queue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more