文档

Unity Engine

Unity Engine

DLSSCommandExecutionData

Represents the state of a DLSSContext. If you call 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.
阅读时间1 分钟最后更新于 1 天前

Definition

public struct DLSSCommandExecutionData

Properties

Property

Description

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.