Export (0) Print
Expand All

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.

Remarks

Windows Phone 8: This API is supported.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGIResource

 

 

Community Additions

ADD
Show:
© 2015 Microsoft