pub trait QueueMut: Queue + VkHandleMut {
// Provided methods
fn wait(&mut self) -> Result<()> { ... }
fn submit(
&mut self,
batches: &[SubmitInfo<'_, '_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
fn bind_sparse(
&mut self,
batches: &[BindSparseInfo<'_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
fn present<'r>(&mut self, info: &PresentInfo<'r>) -> Result<PresentResult> { ... }
fn submit2_khr(
&mut self,
device: &(impl DeviceSynchronization2Extension + ?Sized),
batches: &[SubmitInfo2<'_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
fn bind_sparse_ops(
&mut self,
batches: &[impl SparseBindingOpBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
fn submit_ops(
&mut self,
batches: &[impl SubmissionBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
}Provided Methods§
Sourcefn 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
§Failure
On failure, this command returns
brvk::VK_ERROR_OUT_OF_HOST_MEMORYbrvk::VK_ERROR_OUT_OF_DEVICE_MEMORYbrvk::VK_ERROR_DEVICE_LOST
Sourcefn 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
§Failure
On failure, this command returns
brvk::VK_ERROR_OUT_OF_HOST_MEMORYbrvk::VK_ERROR_OUT_OF_DEVICE_MEMORYbrvk::VK_ERROR_DEVICE_LOST
Sourcefn present<'r>(&mut self, info: &PresentInfo<'r>) -> Result<PresentResult>
fn present<'r>(&mut self, info: &PresentInfo<'r>) -> Result<PresentResult>
Sourcefn 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<()>
Sourcefn bind_sparse_ops(
&mut self,
batches: &[impl SparseBindingOpBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
👎Deprecated: use bind_sparse with creating BindSparseInfo
fn bind_sparse_ops( &mut self, batches: &[impl SparseBindingOpBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
use bind_sparse with creating BindSparseInfo
Bind device memory to a sparse resource object
§Failure
On failure, this command returns
brvk::VK_ERROR_OUT_OF_HOST_MEMORYbrvk::VK_ERROR_OUT_OF_DEVICE_MEMORYbrvk::VK_ERROR_DEVICE_LOST
Sourcefn submit_ops(
&mut self,
batches: &[impl SubmissionBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
👎Deprecated: use submit with creating `SubmitInfo
fn submit_ops( &mut self, batches: &[impl SubmissionBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
use submit with creating `SubmitInfo
Submits a sequence of semaphores or command buffers to a queue
§Failure
On failure, this command returns
brvk::VK_ERROR_OUT_OF_HOST_MEMORYbrvk::VK_ERROR_OUT_OF_DEVICE_MEMORYbrvk::VK_ERROR_DEVICE_LOST
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.