| 132 | } |
| 133 | |
| 134 | bool SuperResolution::UpdateUI(HLSL::SuperResolutionAttribs& Attribs, FEATURE_FLAGS& FeatureFlags) |
| 135 | { |
| 136 | bool bAttribsChanged = false; |
| 137 | |
| 138 | bAttribsChanged |= ImGui::SliderFloat("Sharpness", &Attribs.Sharpening, 0.0f, 1.0f); |
| 139 | bAttribsChanged |= ImGui::SliderFloat("Resolution Scale", &Attribs.ResolutionScale, 0.5f, 1.0f); |
| 140 | |
| 141 | return bAttribsChanged; |
| 142 | } |
| 143 | |
| 144 | ITextureView* SuperResolution::GetUpsampledTextureSRV() const |
| 145 | { |
nothing calls this directly
no outgoing calls
no test coverage detected