예제 #1
0
 /// <summary>To be documented.</summary>
 public static unsafe Result CreateSwapchain(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <SwapchainCreateInfoKHR> pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span <SwapchainKHR> pSwapchain)
 {
     // SpanOverloader
     return(thisApi.CreateSwapchain(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pSwapchain.GetPinnableReference()));
 }
예제 #2
0
 /// <summary>To be documented.</summary>
 public static unsafe void DestroySwapchain(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator)
 {
     // SpanOverloader
     thisApi.DestroySwapchain(device, swapchain, in pAllocator.GetPinnableReference());
 }
예제 #3
0
 /// <summary>To be documented.</summary>
 public static unsafe Result AcquireNextImage(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0)] ulong timeout, [Count(Count = 0)] Semaphore semaphore, [Count(Count = 0)] Fence fence, [Count(Count = 0)] Span <uint> pImageIndex)
 {
     // SpanOverloader
     return(thisApi.AcquireNextImage(device, swapchain, timeout, semaphore, fence, ref pImageIndex.GetPinnableReference()));
 }
예제 #4
0
 /// <summary>To be documented.</summary>
 public static unsafe Result AcquireNextImage2(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AcquireNextImageInfoKHR> pAcquireInfo, [Count(Count = 0)] Span <uint> pImageIndex)
 {
     // SpanOverloader
     return(thisApi.AcquireNextImage2(device, in pAcquireInfo.GetPinnableReference(), ref pImageIndex.GetPinnableReference()));
 }
예제 #5
0
 /// <summary>To be documented.</summary>
 public static unsafe Result QueuePresent(this KhrSwapchain thisApi, [Count(Count = 0)] Queue queue, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <PresentInfoKHR> pPresentInfo)
 {
     // SpanOverloader
     return(thisApi.QueuePresent(queue, in pPresentInfo.GetPinnableReference()));
 }
예제 #6
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetSwapchainImages(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0)] Span <uint> pSwapchainImageCount, [Count(Computed = "pSwapchainImageCount"), Flow(FlowDirection.Out)] Span <Image> pSwapchainImages)
 {
     // SpanOverloader
     return(thisApi.GetSwapchainImages(device, swapchain, ref pSwapchainImageCount.GetPinnableReference(), out pSwapchainImages.GetPinnableReference()));
 }
예제 #7
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetPhysicalDevicePresentRectangles(this KhrSwapchain thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0)] Span <uint> pRectCount, [Count(Computed = "pRectCount"), Flow(FlowDirection.Out)] Span <Rect2D> pRects)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDevicePresentRectangles(physicalDevice, surface, ref pRectCount.GetPinnableReference(), out pRects.GetPinnableReference()));
 }
예제 #8
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetDeviceGroupSurfacePresentModes(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.Out)] Span <DeviceGroupPresentModeFlagsKHR> pModes)
 {
     // SpanOverloader
     return(thisApi.GetDeviceGroupSurfacePresentModes(device, surface, out pModes.GetPinnableReference()));
 }
예제 #9
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetDeviceGroupPresentCapabilities(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.Out)] Span <DeviceGroupPresentCapabilitiesKHR> pDeviceGroupPresentCapabilities)
 {
     // SpanOverloader
     return(thisApi.GetDeviceGroupPresentCapabilities(device, out pDeviceGroupPresentCapabilities.GetPinnableReference()));
 }