IsSupportedTexture

Indicates whether the texture metadata is supported by the D3D11 device.

Syntax

bool IsSupportedTexture(
         ID3D11Device *pDevice,
         const TexMetadata &metadata
)  

Parameters

pDevice
Type: ID3D11Device *

[in] A DirectX 11 device, as a pointer to an ID3D11Device.

metadata
Type: TexMetadata 

[in] Address of a TexMetadata structure.

Return value

Type: bool 

True if supported texture format; otherwise, false.

Requirements

Header: Declared in directxtex.h.