Function TRAP::Graphics::API::ImageFormatPlaneSizeOfBlock#

Function Documentation#

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

Retrieve the plane size of a single block for the given plane index from the given image format.

Parameters:
  • fmtImage format.

  • plane – Plane index.

Returns:

Plane size of a single block.