Function TRAP::Graphics::API::ImageFormatIsStencilOnly#

Function Documentation#

constexpr bool TRAP::Graphics::API::ImageFormatIsStencilOnly(const ImageFormat fmt) noexcept#

Retrieve whether the given image format has only a stencil channel.

Parameters:

fmtImage format.

Returns:

True if the format has only stencil, false otherwise.