Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | dxgi.h |
| Library | DXGI.lib |