XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

IDXGIDevice interface

An IDXGIDevice interface implements a derived class for DXGI objects that produce image data.

Members

The IDXGIDevice interface inherits from IDXGIObject. IDXGIDevice also has these types of members:

Methods

The IDXGIDevice interface has these methods.

MethodDescription
CreateSurface

Returns a surface. This method is used internally and you should not call it directly in your application.

GetAdapter

Returns the adapter for the specified device.

GetGPUThreadPriority

Gets the GPU thread priority.

QueryResourceResidency

Gets the residency status of an array of resources.

SetGPUThreadPriority

Sets the GPU thread priority.

 

Remarks

The IDXGIDevice 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 IDXGIDevice interface. To retrieve the IDXGIDevice interface of a Direct3D device, use the following code:


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


Windows Phone 8: This API is supported.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

DXGI Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft