ID3D11DeviceContextX::GetResourceCompressionX Method

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

Syntax

public:
UINT GetResourceCompressionX(
         const D3D11X_DESCRIPTOR_RESOURCE *pResource
)  

Parameters

pResource
Type: D3D11X_DESCRIPTOR_RESOURCE *

[in] The resource, as a pointer to a D3D11X_DESCRIPTOR_RESOURCE structure.

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