pub struct Builder<HeapProps = (), Desc = ()> { /* private fields */ }Implementations§
Source§impl<HeapProps, Desc> Builder<HeapProps, Desc>
impl<HeapProps, Desc> Builder<HeapProps, Desc>
pub fn heap_properties( self, heap_props: &HeapProperties, ) -> Builder<&HeapProperties, Desc>
pub fn heap_flags(self, flags: D3D12_HEAP_FLAGS) -> Self
pub fn resource_desc<T>( self, desc: &ResourceDesc<T>, ) -> Builder<HeapProps, &ResourceDesc<T>>
pub fn init_state(self, state: D3D12_RESOURCE_STATES) -> Self
pub fn clear_value(self, value: ClearValue) -> Self
pub fn name(self, name: impl AsRef<str>) -> Self
Source§impl<T> Builder<&HeapProperties, &ResourceDesc<T>>
impl<T> Builder<&HeapProperties, &ResourceDesc<T>>
Auto Trait Implementations§
impl<HeapProps, Desc> Freeze for Builder<HeapProps, Desc>
impl<HeapProps, Desc> RefUnwindSafe for Builder<HeapProps, Desc>where
HeapProps: RefUnwindSafe,
Desc: RefUnwindSafe,
impl<HeapProps, Desc> Send for Builder<HeapProps, Desc>
impl<HeapProps, Desc> Sync for Builder<HeapProps, Desc>
impl<HeapProps, Desc> Unpin for Builder<HeapProps, Desc>
impl<HeapProps, Desc> UnwindSafe for Builder<HeapProps, Desc>where
HeapProps: UnwindSafe,
Desc: UnwindSafe,
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