pub struct QueueObject<Device>(/* private fields */);
Expand description
Opaque handle to a queue object
Implementations§
Source§impl<Device: Clone> QueueObject<&Device>
impl<Device: Clone> QueueObject<&Device>
pub fn clone_parent(self) -> QueueObject<Device>
Source§impl<Device> QueueObject<Device>
impl<Device> QueueObject<Device>
Trait Implementations§
Source§impl<Device: Clone> Clone for QueueObject<Device>
impl<Device: Clone> Clone for QueueObject<Device>
Source§fn clone(&self) -> QueueObject<Device>
fn clone(&self) -> QueueObject<Device>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Device: Device> DeviceChild for QueueObject<Device>
impl<Device: Device> DeviceChild for QueueObject<Device>
Source§type ConcreteDevice = Device
type ConcreteDevice = Device
A concrete type of the parent device object.
Source§fn device(&self) -> &Self::ConcreteDevice
fn device(&self) -> &Self::ConcreteDevice
Retrieve a reference to a device object that creates this object
Source§impl<Device: VkHandle<Handle = VkDevice>> DeviceChildHandle for QueueObject<Device>
impl<Device: VkHandle<Handle = VkDevice>> DeviceChildHandle for QueueObject<Device>
Source§fn device_handle(&self) -> VkDevice
fn device_handle(&self) -> VkDevice
Retrieve a reference to a device handle that creates this objecs
Source§impl<Device: Device> QueueMut for QueueObject<Device>
impl<Device: Device> QueueMut for QueueObject<Device>
Source§fn wait(&mut self) -> Result<()>
fn wait(&mut self) -> Result<()>
Available on crate feature
Implements
only.Wait for a object to become idle
Source§fn bind_sparse(
&mut self,
batches: &[impl SparseBindingOpBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn bind_sparse( &mut self, batches: &[impl SparseBindingOpBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Available on crate features
Implements
and alloc
only.Bind device memory to a sparse resource object Read more
Source§unsafe fn bind_sparse_raw(
&mut self,
batches: &[VkBindSparseInfo],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
unsafe fn bind_sparse_raw( &mut self, batches: &[VkBindSparseInfo], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Available on crate feature
Implements
only.Bind device memory to a sparse resource object Read more
Source§fn submit(
&mut self,
batches: &[impl SubmissionBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn submit( &mut self, batches: &[impl SubmissionBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Available on crate features
Implements
and alloc
only.Submits a sequence of semaphores or command buffers to a queue Read more
Source§unsafe fn submit_raw(
&mut self,
batches: &[SubmitInfo<'_, '_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
unsafe fn submit_raw( &mut self, batches: &[SubmitInfo<'_, '_, '_>], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Available on crate feature
Implements
only.Submits a sequence of semaphores or command buffers to a queue Read more
Source§fn submit2(
&mut self,
batches: &[SubmitInfo2<'_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn submit2( &mut self, batches: &[SubmitInfo2<'_, '_>], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Available on crate features
Implements
and VK_KHR_synchronization2
only.Submits command buffers to a queue Read more
Source§impl<Device> VkHandle for QueueObject<Device>
impl<Device> VkHandle for QueueObject<Device>
type Handle = VkQueue
Source§fn native_ptr(&self) -> Self::Handle
fn native_ptr(&self) -> Self::Handle
Retrieve an underlying handle
fn as_transparent_ref(&self) -> VkHandleRef<'_, Self::Handle>
Source§impl<Device> VkHandleMut for QueueObject<Device>
impl<Device> VkHandleMut for QueueObject<Device>
Source§fn native_ptr_mut(&mut self) -> Self::Handle
fn native_ptr_mut(&mut self) -> Self::Handle
Retrieve an underlying mutable handle
fn as_transparent_ref_mut(&mut self) -> VkHandleRefMut<'_, Self::Handle>
Source§impl<Device> VkObject for QueueObject<Device>
impl<Device> VkObject for QueueObject<Device>
const TYPE: VkObjectType = 4i32
Source§fn set_name(&self, name: Option<&CStr>) -> Result<()>where
Self: DeviceChild<ConcreteDevice: InstanceChild<ConcreteInstance: InstanceExtensions>>,
Self::Handle: VkRawHandle,
fn set_name(&self, name: Option<&CStr>) -> Result<()>where
Self: DeviceChild<ConcreteDevice: InstanceChild<ConcreteInstance: InstanceExtensions>>,
Self::Handle: VkRawHandle,
Available on crate features
Implements
and VK_EXT_debug_utils
only.Give a user-friendly name to this object. Read more
impl<Device: Device> Queue for QueueObject<Device>
impl<Device: Send> Send for QueueObject<Device>
impl<Device: Sync> Sync for QueueObject<Device>
Auto Trait Implementations§
impl<Device> Freeze for QueueObject<Device>where
Device: Freeze,
impl<Device> RefUnwindSafe for QueueObject<Device>where
Device: RefUnwindSafe,
impl<Device> Unpin for QueueObject<Device>where
Device: Unpin,
impl<Device> UnwindSafe for QueueObject<Device>where
Device: UnwindSafe,
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