Version: 2022.3
LanguageEnglish
  • C#

DLSSCommandExecutionData

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

Represents the state of a DLSSContext. If you call Device.ExecuteDLSS, Unity sends the values in this struct to the runtime. After this, you can change the values in this struct without any side effects.

Properties

invertXAxisIndicates if the X axis is inverted. Set to 0 or 1.
invertYAxisIndicates if the Y axis is inverted. Set to 0 or 1.
jitterOffsetXThe x-axis jitter camera offset in device coordinates.
jitterOffsetYThe y-axis jitter camera offset in device coordinates.
mvScaleXIf you set the DLSSFeatureFlags.MVLowRes flag, this value indicates the scale (smaller) of the motion vector buffer input texture used in the x-axis.
mvScaleYIf you set the DLSSFeatureFlags.MVLowRes flag, this value indicates the scale (smaller) of the motion vector buffer input texture used in the y-axis.
preExposureSpecifies a pre exposure multiplier for the input color texture.
resetIndicates whether to invalidate the history buffers.
sharpnessSpecifies how sharp the frame should look as a value from 0 to 1.
subrectHeightThe subrectangle height of input buffers to use.
subrectOffsetXThe subrectangle x-axis offset of input buffers to use.
subrectOffsetYThe subrectangle y-axis offset of input buffers to use.
subrectWidthThe subrectangle width of input buffers to use.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961