IDXGIDevice3 interface (dxgi1_3.h)

The IDXGIDevice3 interface implements a derived class for DXGI objects that produce image data. The interface exposes a method to trim graphics memory usage by the DXGI device.

Inheritance

The IDXGIDevice3 interface inherits from IDXGIDevice2. IDXGIDevice3 also has these types of members:

Methods

The IDXGIDevice3 interface has these methods.

 
IDXGIDevice3::Trim

Trims the graphics memory allocated by the IDXGIDevice3 DXGI device on the app's behalf.

Remarks

The IDXGIDevice3 interface is designed for use by DXGI objects that need access to other DXGI objects. This interface is useful to applications that do not use Direct3D to communicate with DXGI.

The Direct3D create device functions return a Direct3D device object. This Direct3D device object implements the IUnknown interface. You can query this Direct3D device object for the device's corresponding IDXGIDevice3 interface. To retrieve the IDXGIDevice3 interface of a Direct3D device, use the following code:

IDXGIDevice3 * pDXGIDevice;
hr = g_pd3dDevice->QueryInterface(__uuidof(IDXGIDevice3), (void **)&pDXGIDevice);

Windows Phone 8: This API is supported.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dxgi1_3.h

See also

DXGI Interfaces

IDXGIDevice2