ID3D11DeviceContextX::GetResourceCompression Method

Gets the resource compression status of a resource that is specified using ID3D11Resource.

Syntax

public:
UINT GetResourceCompression(
         ID3D11Resource *pResource
)  

Parameters

pResource
Type: ID3D11Resource *

[in] The resource, as a pointer to ID3D11Resource.

Return value

Type: UINT 

The resource compression status, as a bitwise-OR’d combination of D3D11X_RESOURCE_COMPRESSION enumeration constants.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members