pub struct HeapDesc(/* private fields */);Expand description
Wrapper around D3D12_HEAP_DESC structure
Implementations§
Source§impl HeapDesc
impl HeapDesc
pub fn set_size_in_bytes(&mut self, size_in_bytes: ByteCount) -> &mut Self
pub fn with_size_in_bytes(self, size_in_bytes: ByteCount) -> Self
pub fn size_in_bytes(&self) -> ByteCount
pub fn set_properties(&mut self, properties: HeapProperties) -> &mut Self
pub fn with_properties(self, properties: HeapProperties) -> Self
pub fn properties(&self) -> HeapProperties
pub fn set_alignment(&mut self, alignment: ByteCount) -> &mut Self
pub fn with_alignment(self, alignment: ByteCount) -> Self
pub fn alignment(&self) -> ByteCount
pub fn set_flags(&mut self, flags: HeapFlags) -> &mut Self
pub fn with_flags(self, flags: HeapFlags) -> Self
pub fn flags(&self) -> HeapFlags
Trait Implementations§
Source§impl Ord for HeapDesc
impl Ord for HeapDesc
Source§impl PartialOrd for HeapDesc
impl PartialOrd for HeapDesc
impl Copy for HeapDesc
impl Eq for HeapDesc
impl StructuralPartialEq for HeapDesc
Auto Trait Implementations§
impl Freeze for HeapDesc
impl RefUnwindSafe for HeapDesc
impl Send for HeapDesc
impl Sync for HeapDesc
impl Unpin for HeapDesc
impl UnwindSafe for HeapDesc
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