pub struct InstanceSettings {
pub dx12_compiler: Dx12Compiler,
}Expand description
The settings every instance of the process is made with.
Fields§
§dx12_compiler: Dx12CompilerThe DX12 shader compiler.
Implementations§
Source§impl InstanceSettings
impl InstanceSettings
Sourcepub fn from_environment() -> Self
pub fn from_environment() -> Self
DXC from a non-empty ALPHA2_DXC_PATH, otherwise FXC. Never wgpu’s Auto, which loads
any dxcompiler.dll on the DLL search path, including the working directory.
Trait Implementations§
Source§impl Clone for InstanceSettings
impl Clone for InstanceSettings
Source§impl Debug for InstanceSettings
impl Debug for InstanceSettings
impl Eq for InstanceSettings
Source§impl PartialEq for InstanceSettings
impl PartialEq for InstanceSettings
impl StructuralPartialEq for InstanceSettings
Auto Trait Implementations§
impl Freeze for InstanceSettings
impl RefUnwindSafe for InstanceSettings
impl Send for InstanceSettings
impl Sync for InstanceSettings
impl Unpin for InstanceSettings
impl UnsafeUnpin for InstanceSettings
impl UnwindSafe for InstanceSettings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.