Enum gpu_allocator::d3d12::ID3D12DeviceVersion
source · pub enum ID3D12DeviceVersion {
Device(ID3D12Device),
Device10(ID3D12Device10),
Device12(ID3D12Device12),
}
Variants§
Device(ID3D12Device)
Basic device compatible with legacy barriers only, i.e. can only be used in conjunction
with ResourceStateOrBarrierLayout::ResourceState
.
Device10(ID3D12Device10)
Required for enhanced barrier support, i.e. when using
ResourceStateOrBarrierLayout::BarrierLayout
.
Device12(ID3D12Device12)
Required for castable formats support, implies use of enhanced barriers
Trait Implementations§
source§impl Clone for ID3D12DeviceVersion
impl Clone for ID3D12DeviceVersion
source§fn clone(&self) -> ID3D12DeviceVersion
fn clone(&self) -> ID3D12DeviceVersion
Returns a copy 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 ID3D12DeviceVersion
impl Debug for ID3D12DeviceVersion
Auto Trait Implementations§
impl Freeze for ID3D12DeviceVersion
impl RefUnwindSafe for ID3D12DeviceVersion
impl Send for ID3D12DeviceVersion
impl Sync for ID3D12DeviceVersion
impl Unpin for ID3D12DeviceVersion
impl UnwindSafe for ID3D12DeviceVersion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)