Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDXGIDevice3 interface

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.

Members

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

Methods

The IDXGIDevice3 interface has these methods.

MethodDescription
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

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Header

DXGI1_3.h

Library

Dxgi.lib

See also

DXGI Interfaces

 

 

Community Additions

Show:
© 2014 Microsoft