[−][src]Struct bedrock::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]
&self,
batches: &[SparseBindingOpBatch],
fence: Option<&Fence>
) -> Result<()>
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]
&self,
batches: &[SubmissionBatch],
fence: Option<&Fence>
) -> Result<()>
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]
&self,
swapchains: &[(&Swapchain, u32)],
wait_semaphores: &[&Semaphore]
) -> Result<Vec<VkResult>>
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
fn native_ptr(&self) -> VkQueue
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,