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:

fmtImage format.

Returns:

Pixel count.