Docs / Capabilities

Glossary: GpuPreference

The values of GpuPreference.

Windows’ graphics preference for an app, the one Settings keeps under System, Display, Graphics: which video card Windows makes the app’s Direct3D devices on when the app names none.

An enum, in the namespace BorrowedTorch.Capabilities, numbered as Windows numbers it, in the setting (GpuPreference=2;) and in DXGI (DXGI_GPU_PREFERENCE). GpuPreferences.Get returns one, GpuPreferences.Set takes one, and VideoCard.ReachedBy tells the one that reaches a card. The picking the video card page shows it in context.

Values

WindowsDecides →

0 · “Let Windows decide”: usually the power saving card, unless the card’s driver has the app down for another. What an app with no preference set gets.

PowerSaving →

1 · “Power saving”: the card built into the processor, where there is one.

HighPerformance →

2 · “High performance”: a card of its own, an external one first, where there is one.