Class VkLatencySubmissionPresentIdNV

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

public class VkLatencySubmissionPresentIdNV extends org.lwjgl.system.Struct<VkLatencySubmissionPresentIdNV> implements org.lwjgl.system.NativeResource
Structure used to associate a queueSubmit with a presentId.
Description

For any submission to be tracked with low latency mode pacing, it needs to be associated with other submissions in a given present. Applications must include the VkLatencySubmissionPresentIdNV in the pNext chain of QueueSubmit to associate that submission with the presentId present for low latency mode.

Valid Usage (Implicit)

Layout


 struct VkLatencySubmissionPresentIdNV {
     VkStructureType sType();
     void const * pNext();
     uint64_t presentID;
 }
  • 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.
    • PRESENTID

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

    • VkLatencySubmissionPresentIdNV

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