Function TRAP::Graphics::API::ImageFormatIsDepthOnly#
Function Documentation#
-
constexpr bool TRAP::Graphics::API::ImageFormatIsDepthOnly(const ImageFormat fmt) noexcept#
Retrieve whether the given image format has only a depth channel.
- Parameters:
fmt – Image format.
- Returns:
True if the format has only depth, false otherwise.