Skip to content

DLSS 5 Neural Rendering for Images & Video with Frame Generation, RTX Video Super Resolution, HDR, and Color Grading

957 B
Raw Blame
import QtQuick
import "../controls"

Column {
    id: root
    property var appBridge: null
    width: parent ? parent.width : 320
    spacing: 12

    AppComboBox {
        objectName: "sharpening-method"
        width: parent.width
        label: qsTranslate("App", "Sharpening Method")
        model: root.appBridge ? root.appBridge.sharpeningMethodChoices : ["NVIDIA NIS", "AMD CAS"]
        currentValue: root.appBridge ? root.appBridge.sharpeningMethod : "AMD CAS"
        onActivated: value => { if (root.appBridge) root.appBridge.sharpeningMethod = value }
    }

    AppSlider {
        objectName: "sharpening-strength"
        width: parent.width
        label: qsTranslate("App", "Sharpness")
        from: 0; to: 100; stepSize: 1; precision: 0; defaultValue: 50; unit: "%"
        value: root.appBridge ? root.appBridge.casSharpness : 50
        onValueModified: v => { if (root.appBridge) root.appBridge.casSharpness = Math.round(v) }
    }
}