Implements super-resolution post-process effect. More...
#include <SuperResolution.hpp>
Classes | |
| struct | CreateInfo |
| Create info. More... | |
| struct | RenderAttributes |
| Render attributes that are passed to the effect. More... | |
Public Types | |
| enum | FEATURE_FLAGS : Uint32 |
| Feature flags that control the behavior of the effect. | |
Public Member Functions | |
| SuperResolution (IRenderDevice *pDevice, const CreateInfo &CI) | |
| Creates a new instance of the effect. | |
| void | PrepareResources (IRenderDevice *pDevice, IDeviceContext *pDeviceContext, PostFXContext *pPostFXContext, FEATURE_FLAGS FeatureFlags) |
| Prepares the effect for rendering. | |
| void | Execute (const RenderAttributes &RenderAttribs) |
| Executes the effect. | |
| ITextureView * | GetUpsampledTextureSRV () const |
| Returns the shader resource view of the upsampled texture. | |
Static Public Member Functions | |
| static bool | UpdateUI (HLSL::SuperResolutionAttribs &Attribs, FEATURE_FLAGS &FeatureFlags) |
| Adds the ImGui controls to the UI. | |
Implements super-resolution post-process effect.