pub struct HeapProperties(/* private fields */);Expand description
Wrapper around D3D12_HEAP_PROPERTIES structure
Implementations§
Source§impl HeapProperties
impl HeapProperties
pub fn set_heap_type(&mut self, heap_type: HeapType) -> &mut Self
pub fn with_heap_type(self, heap_type: HeapType) -> Self
pub fn heap_type(&self) -> HeapType
pub fn set_cpu_page_property( &mut self, cpu_page_property: CpuPageProperty, ) -> &mut Self
pub fn with_cpu_page_property(self, cpu_page_property: CpuPageProperty) -> Self
pub fn cpu_page_property(&self) -> CpuPageProperty
pub fn set_memory_pool_preference( &mut self, memory_pool_preference: MemoryPool, ) -> &mut Self
pub fn with_memory_pool_preference( self, memory_pool_preference: MemoryPool, ) -> Self
pub fn memory_pool_preference(&self) -> MemoryPool
pub fn set_creation_node_mask(&mut self, creation_node_mask: u32) -> &mut Self
pub fn with_creation_node_mask(self, creation_node_mask: u32) -> Self
pub fn creation_node_mask(&self) -> u32
pub fn set_visible_node_mask(&mut self, visible_node_mask: u32) -> &mut Self
pub fn with_visible_node_mask(self, visible_node_mask: u32) -> Self
pub fn visible_node_mask(&self) -> u32
Trait Implementations§
Source§impl Clone for HeapProperties
impl Clone for HeapProperties
Source§fn clone(&self) -> HeapProperties
fn clone(&self) -> HeapProperties
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 HeapProperties
impl Debug for HeapProperties
Source§impl Default for HeapProperties
impl Default for HeapProperties
Source§fn default() -> HeapProperties
fn default() -> HeapProperties
Returns the “default value” for a type. Read more
Source§impl Hash for HeapProperties
impl Hash for HeapProperties
Source§impl Ord for HeapProperties
impl Ord for HeapProperties
Source§fn cmp(&self, other: &HeapProperties) -> Ordering
fn cmp(&self, other: &HeapProperties) -> 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 HeapProperties
impl PartialEq for HeapProperties
Source§impl PartialOrd for HeapProperties
impl PartialOrd for HeapProperties
impl Eq for HeapProperties
impl StructuralPartialEq for HeapProperties
Auto Trait Implementations§
impl Freeze for HeapProperties
impl RefUnwindSafe for HeapProperties
impl Send for HeapProperties
impl Sync for HeapProperties
impl Unpin for HeapProperties
impl UnwindSafe for HeapProperties
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