Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::SuperResolutionInfo Struct Reference

Information about a supported super resolution variant. More...

#include <SuperResolutionFactory.h>

Public Member Functions

bool operator== (const SuperResolutionInfo &RHS) const noexcept
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

Char Name [128] = {}
 Human-readable name of the upscaler variant (e.g. "DLSS", "FSR", "MetalFX Spatial", "MetalFX Temporal").
 
INTERFACE_ID VariantId = {}
 
SUPER_RESOLUTION_TYPE Type = SUPER_RESOLUTION_TYPE_SPATIAL
 Upscaler type. Determines which input textures and parameters are required.
 

Detailed Description

Information about a supported super resolution variant.

Member Function Documentation

◆ operator==()

bool Diligent::SuperResolutionInfo::operator== ( const SuperResolutionInfo & RHS) const
inlinenoexcept

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.

Member Data Documentation

◆ VariantId

INTERFACE_ID Diligent::SuperResolutionInfo::VariantId = {}

Unique identifier for this upscaler variant. Use this identifier when creating the upscaler with ISuperResolutionFactory::CreateSuperResolution().