Class VkSwapchainCreateInfoKHR

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkSwapchainCreateInfoKHR
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
VkSwapchainCreateInfoKHR.Buffer

public sealed class VkSwapchainCreateInfoKHR extends GroupType permits VkSwapchainCreateInfoKHR.Buffer

Layout

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

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkSwapchainCreateInfoKHR.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_flags

      public static final long OFFSET_flags
      The byte offset of flags.
    • LAYOUT_flags

      public static final MemoryLayout LAYOUT_flags
      The memory layout of flags.
    • VH_flags

      public static final VarHandle VH_flags
      The VarHandle of flags of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_surface

      public static final long OFFSET_surface
      The byte offset of surface.
    • LAYOUT_surface

      public static final MemoryLayout LAYOUT_surface
      The memory layout of surface.
    • VH_surface

      public static final VarHandle VH_surface
      The VarHandle of surface of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_minImageCount

      public static final long OFFSET_minImageCount
      The byte offset of minImageCount.
    • LAYOUT_minImageCount

      public static final MemoryLayout LAYOUT_minImageCount
      The memory layout of minImageCount.
    • VH_minImageCount

      public static final VarHandle VH_minImageCount
      The VarHandle of minImageCount of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_imageFormat

      public static final long OFFSET_imageFormat
      The byte offset of imageFormat.
    • LAYOUT_imageFormat

      public static final MemoryLayout LAYOUT_imageFormat
      The memory layout of imageFormat.
    • VH_imageFormat

      public static final VarHandle VH_imageFormat
      The VarHandle of imageFormat of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_imageColorSpace

      public static final long OFFSET_imageColorSpace
      The byte offset of imageColorSpace.
    • LAYOUT_imageColorSpace

      public static final MemoryLayout LAYOUT_imageColorSpace
      The memory layout of imageColorSpace.
    • VH_imageColorSpace

      public static final VarHandle VH_imageColorSpace
      The VarHandle of imageColorSpace of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_imageExtent

      public static final long OFFSET_imageExtent
      The byte offset of imageExtent.
    • LAYOUT_imageExtent

      public static final MemoryLayout LAYOUT_imageExtent
      The memory layout of imageExtent.
    • OFFSET_imageArrayLayers

      public static final long OFFSET_imageArrayLayers
      The byte offset of imageArrayLayers.
    • LAYOUT_imageArrayLayers

      public static final MemoryLayout LAYOUT_imageArrayLayers
      The memory layout of imageArrayLayers.
    • VH_imageArrayLayers

      public static final VarHandle VH_imageArrayLayers
      The VarHandle of imageArrayLayers of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_imageUsage

      public static final long OFFSET_imageUsage
      The byte offset of imageUsage.
    • LAYOUT_imageUsage

      public static final MemoryLayout LAYOUT_imageUsage
      The memory layout of imageUsage.
    • VH_imageUsage

      public static final VarHandle VH_imageUsage
      The VarHandle of imageUsage of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_imageSharingMode

      public static final long OFFSET_imageSharingMode
      The byte offset of imageSharingMode.
    • LAYOUT_imageSharingMode

      public static final MemoryLayout LAYOUT_imageSharingMode
      The memory layout of imageSharingMode.
    • VH_imageSharingMode

      public static final VarHandle VH_imageSharingMode
      The VarHandle of imageSharingMode of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_queueFamilyIndexCount

      public static final long OFFSET_queueFamilyIndexCount
      The byte offset of queueFamilyIndexCount.
    • LAYOUT_queueFamilyIndexCount

      public static final MemoryLayout LAYOUT_queueFamilyIndexCount
      The memory layout of queueFamilyIndexCount.
    • VH_queueFamilyIndexCount

      public static final VarHandle VH_queueFamilyIndexCount
      The VarHandle of queueFamilyIndexCount of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pQueueFamilyIndices

      public static final long OFFSET_pQueueFamilyIndices
      The byte offset of pQueueFamilyIndices.
    • LAYOUT_pQueueFamilyIndices

      public static final MemoryLayout LAYOUT_pQueueFamilyIndices
      The memory layout of pQueueFamilyIndices.
    • VH_pQueueFamilyIndices

      public static final VarHandle VH_pQueueFamilyIndices
      The VarHandle of pQueueFamilyIndices of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_preTransform

      public static final long OFFSET_preTransform
      The byte offset of preTransform.
    • LAYOUT_preTransform

      public static final MemoryLayout LAYOUT_preTransform
      The memory layout of preTransform.
    • VH_preTransform

      public static final VarHandle VH_preTransform
      The VarHandle of preTransform of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_compositeAlpha

      public static final long OFFSET_compositeAlpha
      The byte offset of compositeAlpha.
    • LAYOUT_compositeAlpha

      public static final MemoryLayout LAYOUT_compositeAlpha
      The memory layout of compositeAlpha.
    • VH_compositeAlpha

      public static final VarHandle VH_compositeAlpha
      The VarHandle of compositeAlpha of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_presentMode

      public static final long OFFSET_presentMode
      The byte offset of presentMode.
    • LAYOUT_presentMode

      public static final MemoryLayout LAYOUT_presentMode
      The memory layout of presentMode.
    • VH_presentMode

      public static final VarHandle VH_presentMode
      The VarHandle of presentMode of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_clipped

      public static final long OFFSET_clipped
      The byte offset of clipped.
    • LAYOUT_clipped

      public static final MemoryLayout LAYOUT_clipped
      The memory layout of clipped.
    • VH_clipped

      public static final VarHandle VH_clipped
      The VarHandle of clipped of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_oldSwapchain

      public static final long OFFSET_oldSwapchain
      The byte offset of oldSwapchain.
    • LAYOUT_oldSwapchain

      public static final MemoryLayout LAYOUT_oldSwapchain
      The memory layout of oldSwapchain.
    • VH_oldSwapchain

      public static final VarHandle VH_oldSwapchain
      The VarHandle of oldSwapchain of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkSwapchainCreateInfoKHR

      public VkSwapchainCreateInfoKHR(MemorySegment segment)
      Creates VkSwapchainCreateInfoKHR with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

      public static VkSwapchainCreateInfoKHR.Buffer of(MemorySegment segment)
      Creates VkSwapchainCreateInfoKHR with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkSwapchainCreateInfoKHR ofNative(MemorySegment segment)

      Creates VkSwapchainCreateInfoKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkSwapchainCreateInfoKHR.Buffer ofNative(MemorySegment segment, long count)

      Creates VkSwapchainCreateInfoKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      public static VkSwapchainCreateInfoKHR alloc(SegmentAllocator allocator)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • alloc

      public static VkSwapchainCreateInfoKHR.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode, int queueFamilyIndexCount, MemorySegment pQueueFamilyIndices, int preTransform, int compositeAlpha, int presentMode, int clipped, long oldSwapchain)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      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
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode, int queueFamilyIndexCount, MemorySegment pQueueFamilyIndices, int preTransform, int compositeAlpha, int presentMode, int clipped)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      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
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode, int queueFamilyIndexCount, MemorySegment pQueueFamilyIndices, int preTransform, int compositeAlpha, int presentMode)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      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
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode, int queueFamilyIndexCount, MemorySegment pQueueFamilyIndices, int preTransform, int compositeAlpha)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      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
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode, int queueFamilyIndexCount, MemorySegment pQueueFamilyIndices, int preTransform)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      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
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode, int queueFamilyIndexCount, MemorySegment pQueueFamilyIndices)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      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
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode, int queueFamilyIndexCount)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      imageFormat - imageFormat
      imageColorSpace - imageColorSpace
      imageExtent - imageExtent
      imageArrayLayers - imageArrayLayers
      imageUsage - imageUsage
      imageSharingMode - imageSharingMode
      queueFamilyIndexCount - queueFamilyIndexCount
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage, int imageSharingMode)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      imageFormat - imageFormat
      imageColorSpace - imageColorSpace
      imageExtent - imageExtent
      imageArrayLayers - imageArrayLayers
      imageUsage - imageUsage
      imageSharingMode - imageSharingMode
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers, int imageUsage)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      imageFormat - imageFormat
      imageColorSpace - imageColorSpace
      imageExtent - imageExtent
      imageArrayLayers - imageArrayLayers
      imageUsage - imageUsage
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent, int imageArrayLayers)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      imageFormat - imageFormat
      imageColorSpace - imageColorSpace
      imageExtent - imageExtent
      imageArrayLayers - imageArrayLayers
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace, MemorySegment imageExtent)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      imageFormat - imageFormat
      imageColorSpace - imageColorSpace
      imageExtent - imageExtent
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat, int imageColorSpace)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      imageFormat - imageFormat
      imageColorSpace - imageColorSpace
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount, int imageFormat)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      imageFormat - imageFormat
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface, int minImageCount)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      minImageCount - minImageCount
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags, long surface)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      surface - surface
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int flags)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      flags - flags
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • allocInit

      public static VkSwapchainCreateInfoKHR allocInit(SegmentAllocator allocator, int sType)
      Allocates a VkSwapchainCreateInfoKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      Returns:
      the allocated VkSwapchainCreateInfoKHR
    • copyFrom

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • asBuffer

      Converts this instance to a buffer.
      Returns:
      the buffer
    • sType

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      public VkSwapchainCreateInfoKHR sType(int value)
      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

      public static MemorySegment pNext(MemorySegment segment, long index)
      Returns pNext at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNext

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • flags

      public static int flags(MemorySegment segment, long index)
      Returns flags at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      flags at the given index
    • flags

      public int flags()
      Returns flags.
      Returns:
      flags
    • flags

      public static void flags(MemorySegment segment, long index, int value)
      Sets flags with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • flags

      public VkSwapchainCreateInfoKHR flags(int value)
      Sets flags with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • surface

      public static long surface(MemorySegment segment, long index)
      Returns surface at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      surface at the given index
    • surface

      public long surface()
      Returns surface.
      Returns:
      surface
    • surface

      public static void surface(MemorySegment segment, long index, long value)
      Sets surface with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • surface

      public VkSwapchainCreateInfoKHR surface(long value)
      Sets surface with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • minImageCount

      public static int minImageCount(MemorySegment segment, long index)
      Returns minImageCount at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      minImageCount at the given index
    • minImageCount

      public int minImageCount()
      Returns minImageCount.
      Returns:
      minImageCount
    • minImageCount

      public static void minImageCount(MemorySegment segment, long index, int value)
      Sets minImageCount with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • minImageCount

      public VkSwapchainCreateInfoKHR minImageCount(int value)
      Sets minImageCount with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • imageFormat

      public static int imageFormat(MemorySegment segment, long index)
      Returns imageFormat at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      imageFormat at the given index
    • imageFormat

      public int imageFormat()
      Returns imageFormat.
      Returns:
      imageFormat
    • imageFormat

      public static void imageFormat(MemorySegment segment, long index, int value)
      Sets imageFormat with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • imageFormat

      public VkSwapchainCreateInfoKHR imageFormat(int value)
      Sets imageFormat with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • imageColorSpace

      public static int imageColorSpace(MemorySegment segment, long index)
      Returns imageColorSpace at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      imageColorSpace at the given index
    • imageColorSpace

      public int imageColorSpace()
      Returns imageColorSpace.
      Returns:
      imageColorSpace
    • imageColorSpace

      public static void imageColorSpace(MemorySegment segment, long index, int value)
      Sets imageColorSpace with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • imageColorSpace

      public VkSwapchainCreateInfoKHR imageColorSpace(int value)
      Sets imageColorSpace with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • imageExtent

      public static MemorySegment imageExtent(MemorySegment segment, long index)
      Returns imageExtent at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      imageExtent at the given index
    • imageExtent

      public MemorySegment imageExtent()
      Returns imageExtent.
      Returns:
      imageExtent
    • imageExtent

      public static void imageExtent(MemorySegment segment, long index, MemorySegment value)
      Sets imageExtent with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • imageExtent

      public VkSwapchainCreateInfoKHR imageExtent(MemorySegment value)
      Sets imageExtent with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • imageArrayLayers

      public static int imageArrayLayers(MemorySegment segment, long index)
      Returns imageArrayLayers at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      imageArrayLayers at the given index
    • imageArrayLayers

      public int imageArrayLayers()
      Returns imageArrayLayers.
      Returns:
      imageArrayLayers
    • imageArrayLayers

      public static void imageArrayLayers(MemorySegment segment, long index, int value)
      Sets imageArrayLayers with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • imageArrayLayers

      public VkSwapchainCreateInfoKHR imageArrayLayers(int value)
      Sets imageArrayLayers with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • imageUsage

      public static int imageUsage(MemorySegment segment, long index)
      Returns imageUsage at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      imageUsage at the given index
    • imageUsage

      public int imageUsage()
      Returns imageUsage.
      Returns:
      imageUsage
    • imageUsage

      public static void imageUsage(MemorySegment segment, long index, int value)
      Sets imageUsage with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • imageUsage

      public VkSwapchainCreateInfoKHR imageUsage(int value)
      Sets imageUsage with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • imageSharingMode

      public static int imageSharingMode(MemorySegment segment, long index)
      Returns imageSharingMode at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      imageSharingMode at the given index
    • imageSharingMode

      public int imageSharingMode()
      Returns imageSharingMode.
      Returns:
      imageSharingMode
    • imageSharingMode

      public static void imageSharingMode(MemorySegment segment, long index, int value)
      Sets imageSharingMode with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • imageSharingMode

      public VkSwapchainCreateInfoKHR imageSharingMode(int value)
      Sets imageSharingMode with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • queueFamilyIndexCount

      public static int queueFamilyIndexCount(MemorySegment segment, long index)
      Returns queueFamilyIndexCount at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      queueFamilyIndexCount at the given index
    • queueFamilyIndexCount

      public int queueFamilyIndexCount()
      Returns queueFamilyIndexCount.
      Returns:
      queueFamilyIndexCount
    • queueFamilyIndexCount

      public static void queueFamilyIndexCount(MemorySegment segment, long index, int value)
      Sets queueFamilyIndexCount with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • queueFamilyIndexCount

      public VkSwapchainCreateInfoKHR queueFamilyIndexCount(int value)
      Sets queueFamilyIndexCount with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pQueueFamilyIndices

      public static MemorySegment pQueueFamilyIndices(MemorySegment segment, long index)
      Returns pQueueFamilyIndices at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pQueueFamilyIndices at the given index
    • pQueueFamilyIndices

      public MemorySegment pQueueFamilyIndices()
      Returns pQueueFamilyIndices.
      Returns:
      pQueueFamilyIndices
    • pQueueFamilyIndices

      public static void pQueueFamilyIndices(MemorySegment segment, long index, MemorySegment value)
      Sets pQueueFamilyIndices with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pQueueFamilyIndices

      public VkSwapchainCreateInfoKHR pQueueFamilyIndices(MemorySegment value)
      Sets pQueueFamilyIndices with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • preTransform

      public static int preTransform(MemorySegment segment, long index)
      Returns preTransform at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      preTransform at the given index
    • preTransform

      public int preTransform()
      Returns preTransform.
      Returns:
      preTransform
    • preTransform

      public static void preTransform(MemorySegment segment, long index, int value)
      Sets preTransform with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • preTransform

      public VkSwapchainCreateInfoKHR preTransform(int value)
      Sets preTransform with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • compositeAlpha

      public static int compositeAlpha(MemorySegment segment, long index)
      Returns compositeAlpha at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      compositeAlpha at the given index
    • compositeAlpha

      public int compositeAlpha()
      Returns compositeAlpha.
      Returns:
      compositeAlpha
    • compositeAlpha

      public static void compositeAlpha(MemorySegment segment, long index, int value)
      Sets compositeAlpha with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • compositeAlpha

      public VkSwapchainCreateInfoKHR compositeAlpha(int value)
      Sets compositeAlpha with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • presentMode

      public static int presentMode(MemorySegment segment, long index)
      Returns presentMode at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      presentMode at the given index
    • presentMode

      public int presentMode()
      Returns presentMode.
      Returns:
      presentMode
    • presentMode

      public static void presentMode(MemorySegment segment, long index, int value)
      Sets presentMode with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • presentMode

      public VkSwapchainCreateInfoKHR presentMode(int value)
      Sets presentMode with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • clipped

      public static int clipped(MemorySegment segment, long index)
      Returns clipped at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      clipped at the given index
    • clipped

      public int clipped()
      Returns clipped.
      Returns:
      clipped
    • clipped

      public static void clipped(MemorySegment segment, long index, int value)
      Sets clipped with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • clipped

      public VkSwapchainCreateInfoKHR clipped(int value)
      Sets clipped with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • oldSwapchain

      public static long oldSwapchain(MemorySegment segment, long index)
      Returns oldSwapchain at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      oldSwapchain at the given index
    • oldSwapchain

      public long oldSwapchain()
      Returns oldSwapchain.
      Returns:
      oldSwapchain
    • oldSwapchain

      public static void oldSwapchain(MemorySegment segment, long index, long value)
      Sets oldSwapchain with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • oldSwapchain

      public VkSwapchainCreateInfoKHR oldSwapchain(long value)
      Sets oldSwapchain with the given value.
      Parameters:
      value - the value
      Returns:
      this