/// <summary>To be documented.</summary>
 public static unsafe Result GetPhysicalDeviceSurfaceSupport(this KhrSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.Out)] Span <Bool32> pSupported)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDeviceSurfaceSupport(physicalDevice, queueFamilyIndex, surface, out pSupported.GetPinnableReference()));
 }
 /// <summary>To be documented.</summary>
 public static unsafe Result GetPhysicalDeviceSurfacePresentModes(this KhrSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0)] Span <uint> pPresentModeCount, [Count(Parameter = "pPresentModeCount"), Flow(FlowDirection.Out)] Span <PresentModeKHR> pPresentModes)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDeviceSurfacePresentModes(physicalDevice, surface, ref pPresentModeCount.GetPinnableReference(), out pPresentModes.GetPinnableReference()));
 }
 /// <summary>To be documented.</summary>
 public static unsafe Result GetPhysicalDeviceSurfaceFormats(this KhrSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0)] Span <uint> pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] SurfaceFormatKHR *pSurfaceFormats)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDeviceSurfaceFormats(physicalDevice, surface, ref pSurfaceFormatCount.GetPinnableReference(), pSurfaceFormats));
 }
 /// <summary>To be documented.</summary>
 public static unsafe Result GetPhysicalDeviceSurfaceCapabilities(this KhrSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.Out)] Span <SurfaceCapabilitiesKHR> pSurfaceCapabilities)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDeviceSurfaceCapabilities(physicalDevice, surface, out pSurfaceCapabilities.GetPinnableReference()));
 }
 /// <summary>To be documented.</summary>
 public static unsafe void DestroySurface(this KhrSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator)
 {
     // SpanOverloader
     thisApi.DestroySurface(instance, surface, in pAllocator.GetPinnableReference());
 }
Ejemplo n.º 6
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetPhysicalDeviceSurfaceFormats(this KhrSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0)] uint *pSurfaceFormatCount, [Count(Computed = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] Span <SurfaceFormatKHR> pSurfaceFormats)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDeviceSurfaceFormats(physicalDevice, surface, pSurfaceFormatCount, out pSurfaceFormats.GetPinnableReference()));
 }