#include <SuperResolution.h>
Public Attributes | |
| const Char * | Name = nullptr |
| Object name. | |
| INTERFACE_ID | VariantId = {} |
| Uint32 | InputWidth = 0 |
| Uint32 | InputHeight = 0 |
| Uint32 | OutputWidth = 0 |
| Target (output) texture width. | |
| Uint32 | OutputHeight = 0 |
| Target (output) texture height. | |
| TEXTURE_FORMAT | OutputFormat = TEX_FORMAT_RGBA16_FLOAT |
| Output texture format. | |
| TEXTURE_FORMAT | ColorFormat = TEX_FORMAT_RGBA16_FLOAT |
| Color input texture format. | |
| TEXTURE_FORMAT | DepthFormat = TEX_FORMAT_UNKNOWN |
| TEXTURE_FORMAT | MotionFormat = TEX_FORMAT_UNKNOWN |
| TEXTURE_FORMAT | ReactiveMaskFormat = TEX_FORMAT_UNKNOWN |
| TEXTURE_FORMAT | ExposureFormat = TEX_FORMAT_UNKNOWN |
| SUPER_RESOLUTION_FLAGS | Flags = SUPER_RESOLUTION_FLAG_NONE |
This structure describes the super resolution upscaler object and is part of the creation parameters given to ISuperResolutionFactory::CreateSuperResolution().
| TEXTURE_FORMAT Diligent::SuperResolutionDesc::DepthFormat = TEX_FORMAT_UNKNOWN |
Depth input texture format. Required for temporal upscaling.
| TEXTURE_FORMAT Diligent::SuperResolutionDesc::ExposureFormat = TEX_FORMAT_UNKNOWN |
Exposure scale texture format.
Optional. When auto-exposure is disabled, specifies the format of the 1x1 exposure texture provided in ExecuteSuperResolutionAttribs::pExposureTextureSRV.
| SUPER_RESOLUTION_FLAGS Diligent::SuperResolutionDesc::Flags = SUPER_RESOLUTION_FLAG_NONE |
Engine creation flags controlling the super resolution upscaler behavior. See SUPER_RESOLUTION_FLAGS.
| Uint32 Diligent::SuperResolutionDesc::InputHeight = 0 |
Input (render) height. Must be greater than zero and not exceed OutputHeight
Use ISuperResolutionFactory::GetSourceSettings() to obtain the optimal input resolution for a given output resolution and optimization type.
| Uint32 Diligent::SuperResolutionDesc::InputWidth = 0 |
Input (render) width. Must be greater than zero and not exceed OutputWidth.
Use ISuperResolutionFactory::GetSourceSettings() to obtain the optimal input resolution for a given output resolution and optimization type.
| TEXTURE_FORMAT Diligent::SuperResolutionDesc::MotionFormat = TEX_FORMAT_UNKNOWN |
Motion vectors texture format.
Required for temporal upscaling.
| TEXTURE_FORMAT Diligent::SuperResolutionDesc::ReactiveMaskFormat = TEX_FORMAT_UNKNOWN |
Reactive mask texture format.
Optional. Used for temporal upscaling to guide the denoiser for areas with inaccurate motion information (e.g., alpha-blended objects).
| INTERFACE_ID Diligent::SuperResolutionDesc::VariantId = {} |
Unique identifier of the super resolution variant to create.
Must match one of the VariantIds reported by ISuperResolutionFactory::EnumerateVariants().