namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceFragmentShadingRateKHR - Structure returning information about sample count specific additional multisampling capabilities /// /// /// /// The VkPhysicalDeviceFragmentShadingRateKHR structure is defined as /// /// /// // Provided by VK_KHR_fragment_shading_rate /// typedef struct VkPhysicalDeviceFragmentShadingRateKHR { /// VkStructureType sType; /// void* pNext; /// VkSampleCountFlags sampleCounts; /// VkExtent2D fragmentSize; /// } VkPhysicalDeviceFragmentShadingRateKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkPhysicalDeviceFragmentShadingRateKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceFragmentShadingRateKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SampleCounts is a bitmask of sample counts for which the shading rate described by fragmentSize is supported. /// [FieldOffset(16)] public VkSampleCountFlags SampleCounts; /// /// FragmentSize is a VkExtent2D describing the width and height of a supported shading rate. /// [FieldOffset(20)] public VkExtent2D FragmentSize; } }