Function TRAP::Graphics::API::ImageFormatIsSinglePlane#

Function Documentation#

constexpr bool TRAP::Graphics::API::ImageFormatIsSinglePlane(const ImageFormat fmt) noexcept#

Retrieve whether the given image format has only a single plane.

Parameters:

fmtImage format.

Returns:

True if single plane, false otherwise.