pub struct Dx12BackendOptions {
pub shader_compiler: Dx12Compiler,
}
Expand description
Configuration for the DX12 backend.
Fields§
§shader_compiler: Dx12Compiler
Which DX12 shader compiler to use.
Implementations§
source§impl Dx12BackendOptions
impl Dx12BackendOptions
sourcepub fn from_env_or_default() -> Self
pub fn from_env_or_default() -> Self
Choose DX12 backend options by calling from_env
on every field.
See those methods for more information.
Trait Implementations§
source§impl Clone for Dx12BackendOptions
impl Clone for Dx12BackendOptions
source§fn clone(&self) -> Dx12BackendOptions
fn clone(&self) -> Dx12BackendOptions
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 Dx12BackendOptions
impl Debug for Dx12BackendOptions
source§impl Default for Dx12BackendOptions
impl Default for Dx12BackendOptions
source§fn default() -> Dx12BackendOptions
fn default() -> Dx12BackendOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Dx12BackendOptions
impl RefUnwindSafe for Dx12BackendOptions
impl Send for Dx12BackendOptions
impl Sync for Dx12BackendOptions
impl Unpin for Dx12BackendOptions
impl UnwindSafe for Dx12BackendOptions
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)