Windows apps
Collapse the table of content
Expand the table of content
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.

IDXGIResource::GetUsage method

Get the expected resource usage.

Syntax


HRESULT GetUsage(
   DXGI_USAGE *pUsage
);

Parameters

pUsage

Type: DXGI_USAGE*

A pointer to a usage flag (see DXGI_USAGE). For Direct3D 10, a surface can be used as a shader input or a render-target output.

Return value

Type: HRESULT

Returns one of the following DXGI_ERROR.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGIResource

 

 

Show:
© 2017 Microsoft