namespace Brutal.VulkanApi { /// /// VkRenderingFragmentShadingRateAttachmentInfoKHR - Structure specifying fragment shading rate attachment information /// /// /// /// The VkRenderingFragmentShadingRateAttachmentInfoKHR structure is /// defined as: /// /// /// // Provided by VK_KHR_fragment_shading_rate with VK_VERSION_1_3 or VK_KHR_dynamic_rendering /// typedef struct VkRenderingFragmentShadingRateAttachmentInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkImageView imageView; /// VkImageLayout imageLayout; /// VkExtent2D shadingRateAttachmentTexelSize; /// } VkRenderingFragmentShadingRateAttachmentInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkRenderingFragmentShadingRateAttachmentInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RenderingFragmentShadingRateAttachmentInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ImageView is the image view that will be used as a fragment shading rate attachment. /// [FieldOffset(16)] public VkImageView ImageView; /// /// ImageLayout is the layout that imageView will be in during rendering. /// [FieldOffset(24)] public VkImageLayout ImageLayout; /// /// ShadingRateAttachmentTexelSize specifies the number of pixels corresponding to each texel in imageView. /// [FieldOffset(28)] public VkExtent2D ShadingRateAttachmentTexelSize; } }