Function TRAP::Graphics::API::ImageFormatPlaneHeight#

Function Documentation#

constexpr u32 TRAP::Graphics::API::ImageFormatPlaneHeight(const ImageFormat fmt, const u32 plane, const u32 height) noexcept#

Retrieve the height of a specific plane of the given image format.

Parameters:
  • fmtImage format.

  • plane – Plane index.

  • height – Height of the image (plane 0).

Returns:

Height of the plane.