DXGI Namespace
The DirectX Graphics Infrastructure (DXGI) provides a set of interfaces that enable applications to interact with graphics hardware, manage adapters, enumerate display outputs, and control presentation. It acts as a foundational layer for higher-level DirectX APIs like Direct3D.
DXGI is fundamental to graphics development on Windows, providing:
- Adapter Enumeration: Discovering and selecting available graphics hardware.
- Output Management: Accessing and configuring display monitors.
- Swap Chains: Managing the presentation of rendered frames to the screen.
- Resource Sharing: Facilitating the sharing of graphics resources between different DirectX devices or applications.
Enumerations
Constants used to configure and control DXGI functionality, such as adapter types, format descriptions, and presentation flags.
Structures
Data structures used to pass information to and from DXGI functions and interfaces, including descriptions of adapters, outputs, and swap chain buffers.
Interfaces
The primary objects and contracts within DXGI that define the functionality for managing graphics hardware and presentation.
Functions
Utility functions that provide access to DXGI capabilities, such as creating a factory object or retrieving adapter information.
Enumerations
These enumerations define various states, options, and identifiers used throughout the DXGI API.
DXGI_FORMAT
Specifies the format of pixel data. Includes common formats like RGBA, RGB, Depth-Stencil, etc.
DXGI_USAGE
Flags that specify how a surface is to be used. For example, rendering target, shader resource, etc.
Structures
These structures are used to convey detailed information about graphics hardware and swap chains.
Interfaces
The core programmatic interfaces that applications interact with to utilize DXGI features.
IDXGIObject
The base interface for all DXGI objects, providing basic functionality like setting and retrieving private data.
IDXGIResource
Represents a graphics resource, providing methods to manage its name and handle.
IDXGIAdapter
Represents a graphics adapter (GPU), providing access to its description and outputs.
IDXGIOutput
Represents a display output (monitor), providing access to its description and supported modes.
IDXGIFactory
The factory interface for creating DXGI objects, enumerating adapters, and managing swap chains.
IDXGISwapChain
Manages a swap chain, which is used for presenting rendered frames to the screen.
Functions
Key functions for initiating DXGI operations.
CreateDXGIFactory
Creates an IDXGIFactory object, which is the starting point for DXGI enumeration.