IsValid

Indicates whether the DXGI format is a valid format.

Syntax

bool IsValid(
         DXGI_FORMAT fmt
)  

Parameters

fmt
Type: DXGI_FORMAT 

[in] One member of the DXGI_FORMAT enumeration.

Return value

Type: bool 

true if a valid format. false if the DXGI format is unknown.

Requirements

Header: Declared in directxtex.h.