Function TRAP::Graphics::API::ImageFormatIsDepthAndStencil#

Function Documentation#

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

Retrieve whether the given image format has depth and stencil channels.

Parameters:

fmtImage format.

Returns:

True if the format has depth and stencil, false otherwise.