Class VkLatencySurfaceCapabilitiesNV

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

public class VkLatencySurfaceCapabilitiesNV extends org.lwjgl.system.Struct<VkLatencySurfaceCapabilitiesNV> implements org.lwjgl.system.NativeResource
Structure describing surface optimized presentation modes for use with low latency mode.
Description

If pPresentModes is NULL, then the number of present modes that are optimized for use with low latency mode returned in presentModeCount. Otherwise, presentModeCount must be set by the application to the number of elements in the pPresentModes array, and on return the variable is overwritten with the number of values actually written to pPresentModes. If the value of presentModeCount is less than the number of optimized present modes, at most presentModeCount values will be written to pPresentModes.

Valid Usage (Implicit)

Layout


 struct VkLatencySurfaceCapabilitiesNV {
     VkStructureType sType();
     void const * pNext();
     uint32_t presentModeCount();
     VkPresentModeKHR * 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.
    • PRESENTMODECOUNT

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

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

    • VkLatencySurfaceCapabilitiesNV

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