Class VkSwapchainPresentModeInfoEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSwapchainPresentModeInfoEXT>
org.lwjgl.vulkan.VkSwapchainPresentModeInfoEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkSwapchainPresentModeInfoEXT extends org.lwjgl.system.Struct<VkSwapchainPresentModeInfoEXT> implements org.lwjgl.system.NativeResource
Presentation modes for a vkQueuePresentKHR operation.
Description

If the pNext chain of VkPresentInfoKHR includes a VkSwapchainPresentModeInfoEXT structure, then that structure defines the presentation modes used for the current and subsequent presentation operations.

When the application changes present modes with VkSwapchainPresentModeInfoEXT, images that have already been queued for presentation will continue to be presented according to the previous present mode. The current image being queued for presentation and subsequent images will be presented according to the new present mode. The behavior during the transition between the two modes is defined as follows.

Valid Usage
Valid Usage (Implicit)

Layout


 struct VkSwapchainPresentModeInfoEXT {
     VkStructureType sType();
     void const * pNext();
     uint32_t swapchainCount();
     VkPresentModeKHR const * pPresentModes();
 }
  • 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.
    • SWAPCHAINCOUNT

      public static final int SWAPCHAINCOUNT
      The struct member offsets.
    • PPRESENTMODES

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

    • VkSwapchainPresentModeInfoEXT

      public VkSwapchainPresentModeInfoEXT(ByteBuffer container)
      Creates a VkSwapchainPresentModeInfoEXT 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