pub enum UpscalerBackend {
Auto,
Fsr3,
Dlss,
Xess,
}Expand description
Upscaler backend selector for PostProcessConfig.temporal_upscaling.
Auto resolves at runtime to the best available (DLSS, then XeSS, then
FSR3); the explicit variants request a specific backend and fall back when
it is unavailable. DLSS (NVIDIA NGX) and XeSS (Intel) are DirectX-only;
Metal uses MetalFX and Vulkan has no upscaler yet, so both treat any value
as their native path.
Variants§
Auto
Pick the best backend the device offers.
Fsr3
AMD FidelityFX Super Resolution 3.
Dlss
NVIDIA DLSS, through NGX.
Xess
Intel XeSS.
Trait Implementations§
Source§impl Clone for UpscalerBackend
impl Clone for UpscalerBackend
Source§fn clone(&self) -> UpscalerBackend
fn clone(&self) -> UpscalerBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpscalerBackend
Source§impl Debug for UpscalerBackend
impl Debug for UpscalerBackend
Source§impl Default for UpscalerBackend
impl Default for UpscalerBackend
Source§fn default() -> UpscalerBackend
fn default() -> UpscalerBackend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpscalerBackend
impl<'de> Deserialize<'de> for UpscalerBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpscalerBackend
Source§impl PartialEq for UpscalerBackend
impl PartialEq for UpscalerBackend
Source§impl Serialize for UpscalerBackend
impl Serialize for UpscalerBackend
impl StructuralPartialEq for UpscalerBackend
Auto Trait Implementations§
impl Freeze for UpscalerBackend
impl RefUnwindSafe for UpscalerBackend
impl Send for UpscalerBackend
impl Sync for UpscalerBackend
impl Unpin for UpscalerBackend
impl UnsafeUnpin for UpscalerBackend
impl UnwindSafe for UpscalerBackend
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.