Function TRAP::Graphics::API::ImageFormatHasStencil#

Function Documentation#

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

Retrieve whether the given image format has a stencil channel.

Parameters:

fmtImage format.

Returns:

True if the format has stencil, false otherwise.