Function TRAP::Graphics::API::DetermineAspectMask#

Function Documentation#

constexpr VkImageAspectFlags TRAP::Graphics::API::DetermineAspectMask(VkFormat format, bool includeStencilBit) noexcept#

Determine the aspect mask for an image.

Parameters:
  • format – ImageFormat.

  • includeStencilBit – Whether to include the stencil bit in the aspect mask.

Returns:

VkImageAspectFlags.