Function TRAP::Graphics::API::ImageFormatIsFloat#

Function Documentation#

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

Retrieve whether the given image format stores data as floating point.

Parameters:

fmtImage format.

Returns:

True if the format stores floating point data.