Function TRAP::Graphics::API::ImageFormatBitSizeOfBlock#
Function Documentation#
-
constexpr u32 TRAP::Graphics::API::ImageFormatBitSizeOfBlock(const ImageFormat fmt) noexcept#
Retrieve the bit size of a single block from the given image format.
- Parameters:
fmt – Image format.
- Returns:
Bit size of a single block.