DLSSCommandInitializationData
Represent the initialization state of a DLSSContext. You can only use and set this when calling GraphicsDevice.CreateFeature.
Read time 1 minuteLast updated 2 hours ago
Definition
- Type: Struct
- Namespace: UnityEngine.NVIDIA
- Assembly: UnityEngine.NVIDIAModule
public struct DLSSCommandInitializationData
Properties
Property | Description |
|---|---|
| featureFlags | Bit mask containing feature flags to be used for DLSS. |
| inputRTHeight | The texture input height size of the input buffers in texels. |
| inputRTWidth | The texture input width size of the input buffers in texels. |
| outputRTHeight | The output buffer height size in texels to upscale to. |
| outputRTWidth | The output buffer width size in texels to upscale to. |
| quality | The quality property for DLSS. |
Methods
Method | Description |
|---|---|
| GetFlag | Helper function. Gets weither if a DLSS feature is set or unset. Additional Resources: DLSSFeatureFlags. |
| SetFlag | Helper function. Controls the feature flags used by DLSS. Additional Resources: DLSSFeatureFlags. |