pub struct Queue { /* private fields */ }
Implementations§
Source§impl Queue
impl Queue
Sourcepub fn family_index(&self) -> u32
pub fn family_index(&self) -> u32
Returns this queue’s family index.
Sourcepub fn submit(
&self,
submit_info: &[SubmitInfo<'_>],
fence: Option<FenceHandle>,
) -> VdResult<()>
pub fn submit( &self, submit_info: &[SubmitInfo<'_>], fence: Option<FenceHandle>, ) -> VdResult<()>
Submits a sequence of semaphores or command buffers to this queue.
Sourcepub fn bind_sparse<Q, F>(
&self,
bind_info: &[BindSparseInfo<'_>],
fence: F,
) -> VdResult<()>
pub fn bind_sparse<Q, F>( &self, bind_info: &[BindSparseInfo<'_>], fence: F, ) -> VdResult<()>
Binds device memory to a sparse resource object.
https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkQueueBindSparse.html
Sourcepub fn present_khr(&self, present_info: &PresentInfoKhr<'_>) -> VdResult<()>
pub fn present_khr(&self, present_info: &PresentInfoKhr<'_>) -> VdResult<()>
Queues an image for presentation.
https://manned.org/vkQueuePresentKHR.3
Trait Implementations§
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