Class VkGetLatencyMarkerInfoNV

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

public class VkGetLatencyMarkerInfoNV extends org.lwjgl.system.Struct<VkGetLatencyMarkerInfoNV> implements org.lwjgl.system.NativeResource
Structure specifying the parameters of vkGetLatencyTimingsNV.
Description

If pTimings is NULL then the maximum number of queryable frame data is returned in timingCount. Otherwise, timingCount must be set by the application to the number of elements in the pTimings array, and on return the variable is overwritten with the number of values actually written to pTimings. The elements of pTimings are arranged in the order they were requested in, with the oldest data in the first entry.

Valid Usage (Implicit)
See Also

VkLatencyTimingsFrameReportNV, GetLatencyTimingsNV

Layout


 struct VkGetLatencyMarkerInfoNV {
     VkStructureType sType();
     void const * pNext();
     uint32_t timingCount();
     VkLatencyTimingsFrameReportNV * pTimings();
 }
  • 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.
    • TIMINGCOUNT

      public static final int TIMINGCOUNT
      The struct member offsets.
    • PTIMINGS

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

    • VkGetLatencyMarkerInfoNV

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