Direct3D DXGI Reference

Microsoft DirectX Graphics Infrastructure (DXGI) handles enumerating graphics adapters, enumerating display modes, selecting buffer formats, sharing resources between processes, and presenting rendered frames to a window or monitor for display. Header: d3d11_x.h.

You can use DXGI to present frames to a window, monitor, or other graphics component for eventual composition and display. You can also use DXGI to read the contents on a monitor.

Interfaces

Name Description
IDXGIAdapter The IDXGIAdapter interface represents a display sub-system (including one or more GPU’s, DACs and video memory).
IDXGIAdapter1 The IDXGIAdapter1 interface represents a display sub-system (including one or more GPU’s, DACs and video memory).
IDXGIAdapter2 The IDXGIAdapter2 interface represents a display sub-system, including one or more GPU’s, DACs and video memory.
IDXGIDebug This interface controls debug settings, and can only be used if the debug layer is turned on.
IDXGIDevice An IDXGIDevice interface implements a derived class for Microsoft DirectX Graphics Infrastructure (DXGI) objects that produce image data.
IDXGIDevice1 An IDXGIDevice1 interface implements a derived class for Microsoft DirectX Graphics Infrastructure (DXGI) objects that produce image data.
IDXGIDevice2 Implements a derived class for Microsoft DirectX Graphics Infrastructure (DXGI) objects that produce image data.
IDXGIDeviceSubObject Inherited from objects that are tied to the device so that they can retrieve a pointer to it.
IDXGIFactory An IDXGIFactory interface implements methods for generating DXGI objects (which handle full screen transitions).
IDXGIFactory1 The IDXGIFactory1 interface implements methods for generating DXGI objects.
IDXGIFactory2 Implements methods for generating DXGI objects.
IDXGIInfoQueue This interface controls the debug information queue, and can only be used if the debug layer is turned on.
IDXGIObject An IDXGIObject interface is a base interface for all DXGI objects; IDXGIObject supports associating caller-defined (private data) with an object and retrieval of an interface to the parent object.
IDXGIOutput An IDXGIOutput interface represents an adapter output (such as a monitor).
IDXGIOutput1 Represents an adapter output (such as a monitor). Extends IDXGIOutput to support stereo display mode and desktop duplication.
IDXGIResource An IDXGIResource interface allows resource sharing and identifies the memory that a resource resides in.
IDXGISurface The IDXGISurface interface implements methods for image-data objects.
IDXGISwapChain An IDXGISwapChain interface implements one or more surfaces for storing rendered data before presenting it to an output.
IDXGISwapChain1 Implements one or more surfaces for storing rendered data before presenting it to an output.

Functions

Name Description
DXGIGetDebugInterface Retrieves a debugging interface.

Structures

Name Description
DXGI_ADAPTER_DESC Describes an adapter (or video card) by using DXGI 1.0.
DXGI_ADAPTER_DESC1 Describes an adapter (or video card) using DXGI 1.1.
DXGI_ADAPTER_DESC2 Describes an adapter (or video card) that uses Microsoft DirectX Graphics Infrastructure (DXGI) 1.2.
DXGI_FRAME_STATISTICS Describes timing and presentation statistics for a frame.
DXGI_INFO_QUEUE_FILTER Describes a debug message filter, which contains lists of message types to allow and deny.
DXGI_INFO_QUEUE_FILTER_DESC Describes the types of messages to allow or deny to pass through a filter.
DXGI_INFO_QUEUE_MESSAGE Describes a debug message in the information queue.
DXGI_MODE_DESC1 Describes a display mode and whether the display mode supports stereo.
DXGI_OUTPUT_DESC Describes an output or physical connection between the adapter (video card) and a device.
DXGI_PRESENT_PARAMETERS Describes information about present that helps the operating system optimize presentation.
DXGI_SHARED_RESOURCE Represents a handle to a shared resource.
DXGI_SURFACE_DESC Describes a surface.
DXGI_SWAP_CHAIN_DESC Describes a swap chain.
DXGI_SWAP_CHAIN_DESC1 Describes a swap chain, for Xbox One.
DXGI_SWAP_CHAIN_FULLSCREEN_DESC Describes full-screen mode for a swap chain.

Enumerations

Name Description
DXGI_ADAPTER_FLAG Identifies the type of DXGI adapter.
DXGI_ALPHA_MODE Identifies the transparency behavior of a surface.
DXGI_COMPUTE_PREEMPTION_GRANULARITY Identifies the granularity at which the graphics processing unit (GPU) can be preempted from performing its current compute task.
DXGI_DEBUG_RLO_FLAGS Flags used with ReportLiveObjects to specify the amount of info to report about an object’s lifetime.
DXGI_FORMAT Resource data formats, including fully-typed and typeless formats. A list of modifiers at the bottom of the page more fully describes each format type.
DXGI_GRAPHICS_PREEMPTION_GRANULARITY Identifies the granularity at which the graphics processing unit (GPU) can be preempted from performing its current graphics rendering task.
DXGI_INFO_QUEUE_MESSAGE_CATEGORY Values that specify categories of debug messages.
DXGI_INFO_QUEUE_MESSAGE_SEVERITY Values that specify debug message severity levels for an information queue.
DXGI_OFFER_RESOURCE_PRIORITY Identifies the importance of a resource’s content when you call the IDXGIDevice2::OfferResources method to offer the resource.
DXGI_RESIDENCY Flags indicating the memory location of a resource.
DXGI_SCALING Identifies resize behavior when the back-buffer size does not match the size of the target output.
DXGI_SWAP_CHAIN_FLAG Options for swap-chain behavior.
DXGI_SWAP_EFFECT Options for handling pixels in a display surface after calling IDXGISwapChain1::Present1.
DXGIX_FRAME_NOTIFICATION Types of notification to receive, when registering the application to be notified on frame events.

See also

DXGI documentation at MSDN