pub struct DescriptorHeapDesc(/* private fields */);Expand description
Wrapper around D3D12_DESCRIPTOR_HEAP_DESC structure
Implementations§
Source§impl DescriptorHeapDesc
impl DescriptorHeapDesc
pub fn set_heap_type(&mut self, heap_type: DescriptorHeapType) -> &mut Self
pub fn with_heap_type(self, heap_type: DescriptorHeapType) -> Self
pub fn heap_type(&self) -> DescriptorHeapType
pub fn set_num_descriptors(&mut self, num_descriptors: u32) -> &mut Self
pub fn with_num_descriptors(self, num_descriptors: u32) -> Self
pub fn num_descriptors(&self) -> u32
pub fn set_flags(&mut self, flags: DescriptorHeapFlags) -> &mut Self
pub fn with_flags(self, flags: DescriptorHeapFlags) -> Self
pub fn flags(&self) -> DescriptorHeapFlags
pub fn set_node_mask(&mut self, node_mask: u32) -> &mut Self
pub fn with_node_mask(self, node_mask: u32) -> Self
pub fn node_mask(&self) -> u32
Trait Implementations§
Source§impl Clone for DescriptorHeapDesc
impl Clone for DescriptorHeapDesc
Source§fn clone(&self) -> DescriptorHeapDesc
fn clone(&self) -> DescriptorHeapDesc
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 DescriptorHeapDesc
impl Debug for DescriptorHeapDesc
Source§impl Default for DescriptorHeapDesc
impl Default for DescriptorHeapDesc
Source§impl Hash for DescriptorHeapDesc
impl Hash for DescriptorHeapDesc
Source§impl Ord for DescriptorHeapDesc
impl Ord for DescriptorHeapDesc
Source§fn cmp(&self, other: &DescriptorHeapDesc) -> Ordering
fn cmp(&self, other: &DescriptorHeapDesc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DescriptorHeapDesc
impl PartialEq for DescriptorHeapDesc
Source§impl PartialOrd for DescriptorHeapDesc
impl PartialOrd for DescriptorHeapDesc
impl Copy for DescriptorHeapDesc
impl Eq for DescriptorHeapDesc
impl StructuralPartialEq for DescriptorHeapDesc
Auto Trait Implementations§
impl Freeze for DescriptorHeapDesc
impl RefUnwindSafe for DescriptorHeapDesc
impl Send for DescriptorHeapDesc
impl Sync for DescriptorHeapDesc
impl Unpin for DescriptorHeapDesc
impl UnwindSafe for DescriptorHeapDesc
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