Function TRAP::Graphics::API::ShadingRateToVkExtent2D#
Function Documentation#
-
constexpr VkExtent2D TRAP::Graphics::API::ShadingRateToVkExtent2D(RendererAPI::ShadingRate rate)#
Utility to create the VkExtent2D (fragment size) from a RendererAPI::ShadingRate.
- Parameters:
rate – ShadingRate.
- Returns:
Converted VkExtent2D.