Indicates whether the DXGI format includes an alpha channel.
bool HasAlpha(
DXGI_FORMAT fmt
)
fmt
Type: DXGI_FORMAT
[in] One member of the DXGI_FORMAT enumeration.
Type: bool
true if the DXGI format has alpha data; otherwise, false.
BC1 formats return false, because they don’t support an alpha channel, although they do have a ‘transparency bit’ technique in the encoding.
Header: Declared in directxtex.h.