Function TRAP::Graphics::API::VulkanInits::FragmentShadingRateAttachmentInfo#

Function Documentation#

VkFragmentShadingRateAttachmentInfoKHR TRAP::Graphics::API::VulkanInits::FragmentShadingRateAttachmentInfo(const VkAttachmentReference2KHR &shadingRateAttachment, const VkExtent2D &texelSize)#

Create a Vulkan fragment shading rate attachment info.

Parameters:
  • shadingRateAttachment – Shading rate attachment.

  • texelSize – Size of the portion of the framebuffer corresponding to each texel.

Returns:

VkFragmentShadingRateAttachmentInfoKHR.