Function TRAP::Graphics::API::ImageFormatWidthOfBlock#
Function Documentation#
-
constexpr u32 TRAP::Graphics::API::ImageFormatWidthOfBlock(const ImageFormat fmt) noexcept#
Retrieve how many pixels are in the x dimension of a block of the given image format.
- Parameters:
fmt – Image format.
- Returns:
Pixel count.