Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

DLSSCommandInitializationData

struct in UnityEngine.NVIDIA

/

Implemented in:UnityEngine.NVIDIAModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Represent the initialization state of a DLSSContext. You can only use and set this when calling GraphicsDevice.CreateFeature.

Properties

featureFlagsBit mask containing feature flags to be used for DLSS.
inputRTHeightThe texture input height size of the input buffers in texels.
inputRTWidthThe texture input width size of the input buffers in texels.
outputRTHeightThe output buffer height size in texels to upscale to.
outputRTWidthThe output buffer width size in texels to upscale to.
qualityThe quality property for DLSS.

Public Methods

GetFlagHelper function. Gets weither if a DLSS feature is set or unset. Additional resources: DLSSFeatureFlags.
SetFlagHelper function. Controls the feature flags used by DLSS. Additional resources: DLSSFeatureFlags.