IDXGIDevice Interface (dxgi.h)

Remarks

The IDXGIDevice interface represents a device for creating Direct3D resources.

This interface is derived from IDXGIObject and extends it with methods for querying device information, creating resources, and managing device state.

The Direct3D device object implements this interface.

Interface List

The IDXGIDevice interface is implemented in the following interfaces:

  • IDXGIDevice1
  • IDXGIDevice2
  • IDXGIDevice3
  • IDXGIDevice4
  • IDXGIDevice5

Methods

The IDXGIDevice interface inherits the following methods:

  • GetParent
  • GetFactory

The IDXGIDevice interface also exposes the following methods:

Method Description
CreateSurface Creates a surface object.
GetAdapter Gets the adapter associated with the device.
GetGPUThreadPriority Gets the GPU thread priority.
SetGPUThreadPriority Sets the GPU thread priority.
OfferResources Offers an array of resources for the GPU to discard.
ReclaimResources Reclaims an array of resources that were previously offered.
GetSharedResourceAdapterLuid Gets the LUID of the adapter for a shared resource.
Present1 Presents a prepared frame to the output.
GetResourceCount Gets the number of Direct3D resources that are associated with the device.
GetResourcePriority Gets the priority of a Direct3D resource.
SetResourcePriority Sets the priority of a Direct3D resource.

Requirements

Header: declared in dxgi.h

Library: dxgi.lib

Minimum supported client: Windows 7 and later

Minimum supported server: Windows Server 2008 R2 and later

Header files: dxgi.h, dxgitype.h

See Also