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 (const: unstable) · 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
fn device_transparent_ref<'a>(&'a self) -> VkHandleRef<'a, VkDevice>
Source§impl<Device: Device> QueueMut for QueueObject<Device>
impl<Device: Device> QueueMut for QueueObject<Device>
Source§fn submit(
&mut self,
batches: &[SubmitInfo<'_, '_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn submit( &mut self, batches: &[SubmitInfo<'_, '_, '_>], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Submits a sequence of semaphores or command buffers to a queue Read more
Source§fn bind_sparse(
&mut self,
batches: &[BindSparseInfo<'_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn bind_sparse( &mut self, batches: &[BindSparseInfo<'_>], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Bind device memory to a sparse resource object Read more
Source§fn present<'r>(&mut self, info: &PresentInfo<'r>) -> Result<PresentResult>
fn present<'r>(&mut self, info: &PresentInfo<'r>) -> Result<PresentResult>
Queue images for presentation Read more
Source§fn submit2_khr(
&mut self,
device: &(impl DeviceSynchronization2Extension + ?Sized),
batches: &[SubmitInfo2<'_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn submit2_khr( &mut self, device: &(impl DeviceSynchronization2Extension + ?Sized), batches: &[SubmitInfo2<'_, '_>], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Submits command buffers to a queue Read more
Source§fn bind_sparse_ops(
&mut self,
batches: &[impl SparseBindingOpBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn bind_sparse_ops( &mut self, batches: &[impl SparseBindingOpBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
👎Deprecated:
use bind_sparse with creating BindSparseInfo
Bind device memory to a sparse resource object Read more
Source§fn submit_ops(
&mut self,
batches: &[impl SubmissionBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn submit_ops( &mut self, batches: &[impl SubmissionBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
👎Deprecated:
use submit with creating `SubmitInfo
Submits a sequence of semaphores or 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<'a>(&'a self) -> VkHandleRef<'a, 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<'a>(&'a mut self) -> VkHandleRefMut<'a, Self::Handle>
Source§impl<Device> VkObject for QueueObject<Device>
impl<Device> VkObject for QueueObject<Device>
const TYPE: VkObjectType = brvk::VK_OBJECT_TYPE_QUEUE
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> UnsafeUnpin for QueueObject<Device>where
Device: UnsafeUnpin,
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