namespace Brutal.VulkanApi { /// /// VkFragmentShadingRateAttachmentInfoKHR - Structure specifying a fragment shading rate attachment for a subpass /// /// /// /// 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; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkFragmentShadingRateAttachmentInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.FragmentShadingRateAttachmentInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// FragmentShadingRateAttachment is `NULL` or a pointer to a VkAttachmentReference2 structure defining the fragment shading rate attachment for this subpass. /// [FieldOffset(16)] public VkAttachmentReference2* FragmentShadingRateAttachment; /// /// ShadingRateAttachmentTexelSize specifies the size of the portion of the framebuffer corresponding to each texel in pFragmentShadingRateAttachment. /// [FieldOffset(24)] public VkExtent2D ShadingRateAttachmentTexelSize; } }