C Specification
The VkFragmentShadingRateAttachmentInfoKHR
structure is defined as:
// Provided by VK_KHR_fragment_shading_rate
typedef struct VkFragmentShadingRateAttachmentInfoKHR {
VkStructureType sType;
const void* pNext;
const VkAttachmentReference2* pFragmentShadingRateAttachment;
VkExtent2D shadingRateAttachmentTexelSize;
} VkFragmentShadingRateAttachmentInfoKHR;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
pFragmentShadingRateAttachment
is an optional VkAttachmentReference2KHR structure defining the fragment shading rate attachment for this subpass. -
shadingRateAttachmentTexelSize
specifies the size of the portion of the framebuffer corresponding to each texel inpFragmentShadingRateAttachment
.
Description
If no shading rate attachment is specified, or if this structure isn’t specified, the implementation behaves as if a valid shading rate attachment was specified with all texels specifying a single pixel per fragment.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.