Function TRAP::Graphics::API::ImageFormatChannelCount#
Function Documentation#
-
constexpr u32 TRAP::Graphics::API::ImageFormatChannelCount(const ImageFormat fmt) noexcept#
Retrieve the number of channels in the image format.
- Parameters:
fmt – Image format.
- Returns:
Number of channels.