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:
fmt – Image format.
- Returns:
True if the format has only stencil, false otherwise.