DirectX Graphics Infrastructure
||It has been suggested that this article be merged into Windows Display Driver Model. (Discuss) Proposed since January 2012.|
DirectX Graphics Infrastructure (DXGI) is a user-mode component of Windows Vista and above which provides a mapping between particular graphics APIs such as Direct3D 10.0 and above (known in DXGI parlance as producers) and the graphics kernel, which in turn interfaces with the user-mode Windows Display Driver Model driver. DXGI provides objects to handle tasks such as enumerating graphics adapters and monitors, enumerating display modes, choosing buffer formats, sharing resources between processes (such as between applications and the Desktop Window Manager), and presenting rendered frames to a window or monitor for display.
DXGI Object Model 
DXGI provides the following objects:
- Factory, which implements the IDXGIFactory interface, and provides methods for enumerating hardware adapters, creating software adapters, creating swap chains, attaching a focus window.
- Adapter, which implements the IDXGIAdapter interface, and provides methods for enumerating outputs
- Output, which implements the IDXGIOutput interface, and provides methods for managing properties of a monitor, such as its gamma ramp.
- Swap chain, which implements the IDXGISwapChain interface, and provides methods for managing the presentation and animation of rendered frames.
Additionally, the producer must provide certain objects that implement various DXGI interfaces, including the following:
- Device, which implements the IDXGIDevice interface. This interface is implemented by the producer's device object, such as a Direct3D 10 device.
- Resource, which implements the IDXGIResource interface. This interface is implemented by resources such as textures.
|This Microsoft Windows article is a stub. You can help Wikipedia by expanding it.|