public SurfaceCapabilities2EXT
 (
     StructureType sType      = StructureType.SurfaceCapabilities2Ext,
     void *pNext              = default,
     uint minImageCount       = default,
     uint maxImageCount       = default,
     Extent2D currentExtent   = default,
     Extent2D minImageExtent  = default,
     Extent2D maxImageExtent  = default,
     uint maxImageArrayLayers = default,
     SurfaceTransformFlagsKHR supportedTransforms    = default,
     SurfaceTransformFlagsKHR currentTransform       = default,
     CompositeAlphaFlagsKHR supportedCompositeAlpha  = default,
     ImageUsageFlags supportedUsageFlags             = default,
     SurfaceCounterFlagsEXT supportedSurfaceCounters = default
 )
 {
     SType                    = sType;
     PNext                    = pNext;
     MinImageCount            = minImageCount;
     MaxImageCount            = maxImageCount;
     CurrentExtent            = currentExtent;
     MinImageExtent           = minImageExtent;
     MaxImageExtent           = maxImageExtent;
     MaxImageArrayLayers      = maxImageArrayLayers;
     SupportedTransforms      = supportedTransforms;
     CurrentTransform         = currentTransform;
     SupportedCompositeAlpha  = supportedCompositeAlpha;
     SupportedUsageFlags      = supportedUsageFlags;
     SupportedSurfaceCounters = supportedSurfaceCounters;
 }
 public SwapchainCounterCreateInfoEXT
 (
     StructureType sType = StructureType.SwapchainCounterCreateInfoExt,
     void *pNext         = default,
     SurfaceCounterFlagsEXT surfaceCounters = default
 )
 {
     SType           = sType;
     PNext           = pNext;
     SurfaceCounters = surfaceCounters;
 }
Ejemplo n.º 3
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()));
 }
Ejemplo n.º 4
0
 public abstract Result GetSwapchainCounter([Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0)] SurfaceCounterFlagsEXT counter, [Count(Count = 0), Flow(FlowDirection.Out)] out ulong pCounterValue);