pub enum CmdType {
Any,
Graphics,
Transfer,
Compute,
}
Expand description
Abstraction over queue capability and command types since dedicated queues may not be available.
get_queue will fallback to the guarenteed unified queue if necessary.
let init = VkInit::new(Some(&window), Some(size), create_info)?;
let (compute_queue, compute_queue_family_index) = init.get_queue(CmdType::Compute);
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for CmdType
impl Send for CmdType
impl Sync for CmdType
impl Unpin for CmdType
impl UnwindSafe for CmdType
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