コード例 #1
0
 public ImageSwapchainCreateInfoKHR
 (
     StructureType sType    = StructureType.ImageSwapchainCreateInfoKhr,
     void *pNext            = default,
     SwapchainKHR swapchain = default
 )
 {
     SType     = sType;
     PNext     = pNext;
     Swapchain = swapchain;
 }
コード例 #2
0
 public BindImageMemorySwapchainInfoKHR
 (
     StructureType sType    = StructureType.BindImageMemorySwapchainInfoKhr,
     void *pNext            = default,
     SwapchainKHR swapchain = default,
     uint imageIndex        = default
 )
 {
     SType      = sType;
     PNext      = pNext;
     Swapchain  = swapchain;
     ImageIndex = imageIndex;
 }
コード例 #3
0
 public AcquireNextImageInfoKHR
 (
     StructureType sType    = StructureType.AcquireNextImageInfoKhr,
     void *pNext            = default,
     SwapchainKHR swapchain = default,
     ulong timeout          = default,
     Semaphore semaphore    = default,
     Fence fence            = default,
     uint deviceMask        = default
 )
 {
     SType      = sType;
     PNext      = pNext;
     Swapchain  = swapchain;
     Timeout    = timeout;
     Semaphore  = semaphore;
     Fence      = fence;
     DeviceMask = deviceMask;
 }
コード例 #4
0
 public SwapchainCreateInfoKHR
 (
     StructureType sType                   = StructureType.SwapchainCreateInfoKhr,
     void *pNext                           = default,
     SwapchainCreateFlagsKHR flags         = default,
     SurfaceKHR surface                    = default,
     uint minImageCount                    = default,
     Format imageFormat                    = default,
     ColorSpaceKHR imageColorSpace         = default,
     Extent2D imageExtent                  = default,
     uint imageArrayLayers                 = default,
     ImageUsageFlags imageUsage            = default,
     SharingMode imageSharingMode          = default,
     uint queueFamilyIndexCount            = default,
     uint *pQueueFamilyIndices             = default,
     SurfaceTransformFlagsKHR preTransform = default,
     CompositeAlphaFlagsKHR compositeAlpha = default,
     PresentModeKHR presentMode            = default,
     Bool32 clipped                        = default,
     SwapchainKHR oldSwapchain             = default
 )
 {
     SType                 = sType;
     PNext                 = pNext;
     Flags                 = flags;
     Surface               = surface;
     MinImageCount         = minImageCount;
     ImageFormat           = imageFormat;
     ImageColorSpace       = imageColorSpace;
     ImageExtent           = imageExtent;
     ImageArrayLayers      = imageArrayLayers;
     ImageUsage            = imageUsage;
     ImageSharingMode      = imageSharingMode;
     QueueFamilyIndexCount = queueFamilyIndexCount;
     PQueueFamilyIndices   = pQueueFamilyIndices;
     PreTransform          = preTransform;
     CompositeAlpha        = compositeAlpha;
     PresentMode           = presentMode;
     Clipped               = clipped;
     OldSwapchain          = oldSwapchain;
 }