Indicates whether the texture metadata is supported by the D3D11 device.
bool IsSupportedTexture(
ID3D11Device *pDevice,
const TexMetadata &metadata
)
pDevice
Type: ID3D11Device *
[in] A DirectX 11 device, as a pointer to an ID3D11Device.
metadata
Type: TexMetadata
[in] Address of a TexMetadata structure.
Type: bool
True if supported texture format; otherwise, false.
Header: Declared in directxtex.h.