IsTypeless

Indicates whether the DXGI format is a typeless format.

Syntax

bool IsTypeless(
         DXGI_FORMAT fmt,
         bool partialTypeless
)  

Parameters

fmt
Type: DXGI_FORMAT 

[in] One member of the DXGI_FORMAT enumeration.

partialTypeless
Type: bool 

[in] Set to true if mixed types should return true. The default is true.

Return value

Type: bool 

Returns true if the DXGI format is a typeless format. If partialTypeless is true (which is the default) then formats with both typeless and typed content return true. If partialTypeless is false, then the mixed DXGI types (such as DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS) will return false.

Requirements

Header: Declared in directxtex.h.