コード例 #1
0
 /// <summary>To be documented.</summary>
 public static unsafe Result RegisterDisplayEvent(this ExtDisplayControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0), Flow(FlowDirection.In)] DisplayEventInfoEXT *pDisplayEventInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator, [Count(Count = 0)] Span <Fence> pFence)
 {
     // SpanOverloader
     return(thisApi.RegisterDisplayEvent(device, display, pDisplayEventInfo, in pAllocator.GetPinnableReference(), ref pFence.GetPinnableReference()));
 }
コード例 #2
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetSwapchainCounter(this ExtDisplayControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0)] SurfaceCounterFlagsEXT counter, [Count(Count = 0), Flow(FlowDirection.Out)] Span <ulong> pCounterValue)
 {
     // SpanOverloader
     return(thisApi.GetSwapchainCounter(device, swapchain, counter, out pCounterValue.GetPinnableReference()));
 }
コード例 #3
0
 /// <summary>To be documented.</summary>
 public static unsafe Result RegisterDeviceEvent(this ExtDisplayControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <DeviceEventInfoEXT> pDeviceEventInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator, [Count(Count = 0)] Fence *pFence)
 {
     // SpanOverloader
     return(thisApi.RegisterDeviceEvent(device, in pDeviceEventInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), pFence));
 }
コード例 #4
0
 /// <summary>To be documented.</summary>
 public static unsafe Result DisplayPowerControl(this ExtDisplayControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <DisplayPowerInfoEXT> pDisplayPowerInfo)
 {
     // SpanOverloader
     return(thisApi.DisplayPowerControl(device, display, in pDisplayPowerInfo.GetPinnableReference()));
 }