[][src]Struct bedrock::Queue

pub struct Queue(_, _);

Opaque handle to a queue object

Methods

impl Queue[src]

Following methods are enabled with [feature = "Implements"]

pub fn bind_sparse(
    &self,
    batches: &[SparseBindingOpBatch],
    fence: Option<&Fence>
) -> Result<()>
[src]

Bind device memory to a sparse resource object

Failure

On failure, this command returns

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_DEVICE_LOST

impl Queue[src]

Following methods are enabled with [feature = "Implements"]

pub fn submit(
    &self,
    batches: &[SubmissionBatch],
    fence: Option<&Fence>
) -> Result<()>
[src]

Submits a sequence of semaphores or command buffers to a queue

Failure

On failure, this command returns

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_DEVICE_LOST

impl Queue[src]

pub fn present(
    &self,
    swapchains: &[(&Swapchain, u32)],
    wait_semaphores: &[&Semaphore]
) -> Result<Vec<VkResult>>
[src]

Queue images for presentation

Failures

On failure, this command returns

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_DEVICE_LOST
  • VK_ERROR_OUT_OF_DATE_KHR
  • VK_ERROR_SURFACE_LOST_KHR

Trait Implementations

impl Clone for Queue[src]

impl DeviceChild for Queue[src]

impl VkHandle for Queue[src]

type Handle = VkQueue

impl Waitable for Queue[src]

Auto Trait Implementations

impl !RefUnwindSafe for Queue

impl !Send for Queue

impl !Sync for Queue

impl Unpin for Queue

impl !UnwindSafe for Queue

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.