/// <summary>To be documented.</summary> public static unsafe Result EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCounters(this KhrPerformanceQuery thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] Span <uint> pCounterCount, [Count(Computed = "pCounterCount")] Span <PerformanceCounterKHR> pCounters, [Count(Computed = "pCounterCount")] Span <PerformanceCounterDescriptionKHR> pCounterDescriptions) { // SpanOverloader return(thisApi.EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCounters(physicalDevice, queueFamilyIndex, ref pCounterCount.GetPinnableReference(), ref pCounters.GetPinnableReference(), ref pCounterDescriptions.GetPinnableReference())); }
/// <summary>To be documented.</summary> public static unsafe void GetPhysicalDeviceQueueFamilyPerformanceQueryPasses(this KhrPerformanceQuery thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <QueryPoolPerformanceCreateInfoKHR> pPerformanceQueryCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span <uint> pNumPasses) { // SpanOverloader thisApi.GetPhysicalDeviceQueueFamilyPerformanceQueryPasses(physicalDevice, in pPerformanceQueryCreateInfo.GetPinnableReference(), out pNumPasses.GetPinnableReference()); }
/// <summary>To be documented.</summary> public static unsafe Result AcquireProfilingLock(this KhrPerformanceQuery thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AcquireProfilingLockInfoKHR> pInfo) { // SpanOverloader return(thisApi.AcquireProfilingLock(device, in pInfo.GetPinnableReference())); }