Example #1
0
        public static List <AmdPreset> GetDefaultPresets()
        {
            var presets = new List <AmdPreset>();

            var preset = new AmdPreset();

            preset.colorDepth  = ADLColorDepth.BPC8;
            preset.pixelFormat = ADLPixelFormat.RGB_FULL_RANGE;

            presets.Add(preset);

            return(presets);
        }
Example #2
0
        public AmdPreset(AmdPreset preset) : this()
        {
            id = GetNewId();

            primaryDisplay = preset.primaryDisplay;
            displayName    = preset.displayName;

            applyColorData = preset.applyColorData;
            colorDepth     = preset.colorDepth;
            pixelFormat    = preset.pixelFormat;

            applyHDR         = preset.applyHDR;
            HDREnabled       = preset.HDREnabled;
            toggleHDR        = preset.toggleHDR;
            applyDithering   = preset.applyDithering;
            ditherState      = preset.ditherState;
            applyRefreshRate = preset.applyRefreshRate;
            refreshRate      = preset.refreshRate;
        }
Example #3
0
        public AmdPreset Clone()
        {
            var preset = new AmdPreset(this);

            return(preset);
        }