pub enum Dx12Compiler {
Fxc,
Dxc {
library: PathBuf,
},
}Expand description
The DX12 shader compiler the process’s instances use.
Variants§
Fxc
The FXC compiler built into Windows; nothing to ship, but slow on large shaders.
Dxc
DXC loaded from library (dxcompiler.dll).
Trait Implementations§
Source§impl Clone for Dx12Compiler
impl Clone for Dx12Compiler
Source§impl Debug for Dx12Compiler
impl Debug for Dx12Compiler
impl Eq for Dx12Compiler
Source§impl PartialEq for Dx12Compiler
impl PartialEq for Dx12Compiler
impl StructuralPartialEq for Dx12Compiler
Auto Trait Implementations§
impl Freeze for Dx12Compiler
impl RefUnwindSafe for Dx12Compiler
impl Send for Dx12Compiler
impl Sync for Dx12Compiler
impl Unpin for Dx12Compiler
impl UnsafeUnpin for Dx12Compiler
impl UnwindSafe for Dx12Compiler
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.