Get the expected resource usage.
public:
HRESULT GetUsage(
DXGI_USAGE *pUsage
)
pUsage
Type: DXGI_USAGE *
[out] 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.
Type: HRESULT
Returns one of the following DXGI_ERROR.
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).