Class VkSwapchainCreateInfoKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkSwapchainCreateInfoKHR extends Struct<VkSwapchainCreateInfoKHR> implements NativeResource
Structure specifying parameters of a newly created swapchain object.
Valid Usage
Valid Usage (Implicit)
See Also

VkExtent2D, CreateSharedSwapchainsKHR, CreateSwapchainKHR

Layout


 struct VkSwapchainCreateInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkSwapchainCreateFlagsKHR flags();
     VkSurfaceKHR surface();
     uint32_t minImageCount();
     VkFormat imageFormat();
     VkColorSpaceKHR imageColorSpace();
     VkExtent2D imageExtent();
     uint32_t imageArrayLayers();
     VkImageUsageFlags imageUsage();
     VkSharingMode imageSharingMode();
     uint32_t queueFamilyIndexCount();
     uint32_t const * pQueueFamilyIndices();
     VkSurfaceTransformFlagBitsKHR preTransform();
     VkCompositeAlphaFlagBitsKHR compositeAlpha();
     VkPresentModeKHR presentMode();
     VkBool32 clipped();
     VkSwapchainKHR oldSwapchain();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • SURFACE

      public static final int SURFACE
      The struct member offsets.
    • MINIMAGECOUNT

      public static final int MINIMAGECOUNT
      The struct member offsets.
    • IMAGEFORMAT

      public static final int IMAGEFORMAT
      The struct member offsets.
    • IMAGECOLORSPACE

      public static final int IMAGECOLORSPACE
      The struct member offsets.
    • IMAGEEXTENT

      public static final int IMAGEEXTENT
      The struct member offsets.
    • IMAGEARRAYLAYERS

      public static final int IMAGEARRAYLAYERS
      The struct member offsets.
    • IMAGEUSAGE

      public static final int IMAGEUSAGE
      The struct member offsets.
    • IMAGESHARINGMODE

      public static final int IMAGESHARINGMODE
      The struct member offsets.
    • QUEUEFAMILYINDEXCOUNT

      public static final int QUEUEFAMILYINDEXCOUNT
      The struct member offsets.
    • PQUEUEFAMILYINDICES

      public static final int PQUEUEFAMILYINDICES
      The struct member offsets.
    • PRETRANSFORM

      public static final int PRETRANSFORM
      The struct member offsets.
    • COMPOSITEALPHA

      public static final int COMPOSITEALPHA
      The struct member offsets.
    • PRESENTMODE

      public static final int PRESENTMODE
      The struct member offsets.
    • CLIPPED

      public static final int CLIPPED
      The struct member offsets.
    • OLDSWAPCHAIN

      public static final int OLDSWAPCHAIN
      The struct member offsets.
  • Constructor Details

    • VkSwapchainCreateInfoKHR

      public VkSwapchainCreateInfoKHR(ByteBuffer container)
      Creates a VkSwapchainCreateInfoKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details