Function TRAP::Graphics::API::ImageFormatNumOfPlanes#

Function Documentation#

constexpr u32 TRAP::Graphics::API::ImageFormatNumOfPlanes(const ImageFormat fmt) noexcept#

Retrieve the number of planes are strored by the given image format.

Parameters:

fmtImage format.

Returns:

Number of planes.