Mod articles
-
Documentation for modders: how to contol DLSS Frame Generation from your mod
DLSS Enabler 2.90.800.0 onwards exposes two public functions as part of its main dll file called "dlss-enabler.dll".
As a game modder, you can use them to enable, disable or check the general status of Frame Generation.
Function 1: Returns the current state of Frame Generation
DLSS_Enabler_Result GetFrameGenerationMode(DLSS_Enabler_FrameGeneration_Mode &mode);
Function 2: Enables or Disables the Frame Generation feature real-time
DLSS_Enabler_Result SetFrameGenerationMode(DLSS_Enabler_FrameGeneration_Mode mode)
Both functions operate on the following enum structure:
typedef enum DLSS_Enabler_FrameGeneration_Mode
{
DLSS_Enabler_FrameGeneration_Disabled, // translates to...