pub struct CommandQueueDesc(/* private fields */);Expand description
Describes a command queue.
For more information: D3D12_COMMAND_QUEUE_DESC structure
Implementations§
Source§impl CommandQueueDesc
impl CommandQueueDesc
pub fn new(ty: CommandListType) -> Self
pub fn direct() -> Self
pub fn compute() -> Self
pub fn copy() -> Self
pub fn video_decode() -> Self
pub fn video_process() -> Self
pub fn video_encode() -> Self
pub fn with_priority(self, priority: CommandQueuePriority) -> Self
pub fn with_flags(self, flags: CommandQueueFlags) -> Self
pub fn with_node_mask(self, node_mask: u32) -> Self
pub fn type(&self) -> CommandListType
pub fn priority(&self) -> CommandQueuePriority
pub fn flags(&self) -> CommandQueueFlags
pub fn node_mask(&self) -> u32
Trait Implementations§
Source§impl Clone for CommandQueueDesc
impl Clone for CommandQueueDesc
Source§fn clone(&self) -> CommandQueueDesc
fn clone(&self) -> CommandQueueDesc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandQueueDesc
impl Debug for CommandQueueDesc
Source§impl Default for CommandQueueDesc
impl Default for CommandQueueDesc
Source§fn default() -> CommandQueueDesc
fn default() -> CommandQueueDesc
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommandQueueDesc
impl PartialEq for CommandQueueDesc
impl Copy for CommandQueueDesc
impl StructuralPartialEq for CommandQueueDesc
Auto Trait Implementations§
impl Freeze for CommandQueueDesc
impl RefUnwindSafe for CommandQueueDesc
impl Send for CommandQueueDesc
impl Sync for CommandQueueDesc
impl Unpin for CommandQueueDesc
impl UnwindSafe for CommandQueueDesc
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