namespace Brutal.VulkanApi { /// /// VkDrawIndirectCount2InfoKHR - Draw indirect count info /// /// /// /// :refpage: VkDrawIndirectCount2InfoKHR /// /// /// VkDrawIndirectCount2InfoKHR is defined as: /// /// /// // Provided by VK_KHR_device_address_commands /// typedef struct VkDrawIndirectCount2InfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkStridedDeviceAddressRangeKHR addressRange; /// VkAddressCommandFlagsKHR addressFlags; /// VkDeviceAddressRangeKHR countAddressRange; /// VkAddressCommandFlagsKHR countAddressFlags; /// uint32_t maxDrawCount; /// } VkDrawIndirectCount2InfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 72)] public unsafe partial struct VkDrawIndirectCount2InfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DrawIndirectCount2InfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AddressRange is the VkStridedDeviceAddressRangeKHR containing draw parameters. /// [FieldOffset(16)] public VkStridedDeviceAddressRangeKHR AddressRange; /// /// AddressFlags is a VkAddressCommandFlagsKHR value defining the flags for the address range. /// [FieldOffset(40)] public VkAddressCommandFlagsKHR AddressFlags; /// /// CountAddressRange is the VkDeviceAddressRangeKHR containing the draw count. /// [FieldOffset(48)] public VkDeviceAddressRangeKHR CountAddressRange; /// /// CountAddressFlags is a VkAddressCommandFlagsKHR value defining the flags for the count address range. /// [FieldOffset(64)] public VkAddressCommandFlagsKHR CountAddressFlags; /// /// MaxDrawCount specifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified in countAddressRange and maxDrawCount. /// [FieldOffset(68)] public int MaxDrawCount; } }