Function portal::renderer::utils::is_depth_format

Function Documentation

inline bool portal::renderer::utils::is_depth_format(const ImageFormat format)

Checks if format is a depth format.

Parameters:

formatImage format to check

Returns:

True if format contains depth component