namespace Brutal.VulkanApi { /// /// VkPerformanceCounterKHR - Structure providing information about a counter /// /// /// /// The VkPerformanceCounterKHR structure is defined as: /// /// /// // Provided by VK_KHR_performance_query /// typedef struct VkPerformanceCounterKHR { /// VkStructureType sType; /// void* pNext; /// VkPerformanceCounterUnitKHR unit; /// VkPerformanceCounterScopeKHR scope; /// VkPerformanceCounterStorageKHR storage; /// uint8_t uuid[VK_UUID_SIZE]; /// } VkPerformanceCounterKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkPerformanceCounterKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PerformanceCounterKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Unit is a VkPerformanceCounterUnitKHR specifying the unit that the counter data will record. /// [FieldOffset(16)] public VkPerformanceCounterUnitKHR Unit; /// /// Scope is a VkPerformanceCounterScopeKHR specifying the scope that the counter belongs to. /// [FieldOffset(20)] public VkPerformanceCounterScopeKHR Scope; /// /// Storage is a VkPerformanceCounterStorageKHR specifying the storage type that the counter's data uses. /// [FieldOffset(24)] public VkPerformanceCounterStorageKHR Storage; /// [FieldOffset(28)] public fixed byte Uuid[16]; } }