Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DLSSCommandInitializationData

Represent the initialization state of a DLSSContext.
Read time 1 minuteLast updated 7 days ago

Definition

public struct DLSSCommandInitializationData

Remarks

You can only use and set this when calling GraphicsDevice.CreateFeature.

Properties

Property

Description

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.
presetBalancedModeDLSS Render Preset for Balanced mode.
presetDlaaModeDLSS Render Preset for DLAA mode.
presetPerformanceModeDLSS Render Preset for Performance mode.
presetQualityModeDLSS Render Preset for Quality mode.
presetUltraPerformanceModeDLSS Render Preset for Ultra Performance mode.
qualityThe quality mode for DLSS.

Methods

Method

Description

GetFlagHelper function. Gets whether a DLSS feature is set or unset.
SetFlagHelper function. Controls the feature flags used by DLSS. .