Class VkLatencyTimingsFrameReportNV

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkLatencyTimingsFrameReportNV extends Struct<VkLatencyTimingsFrameReportNV> implements NativeResource

 struct VkLatencyTimingsFrameReportNV {
     VkStructureType sType;
     void const * pNext;
     uint64_t presentID;
     uint64_t inputSampleTimeUs;
     uint64_t simStartTimeUs;
     uint64_t simEndTimeUs;
     uint64_t renderSubmitStartTimeUs;
     uint64_t renderSubmitEndTimeUs;
     uint64_t presentStartTimeUs;
     uint64_t presentEndTimeUs;
     uint64_t driverStartTimeUs;
     uint64_t driverEndTimeUs;
     uint64_t osRenderQueueStartTimeUs;
     uint64_t osRenderQueueEndTimeUs;
     uint64_t gpuRenderStartTimeUs;
     uint64_t gpuRenderEndTimeUs;
 }
  • 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.
    • INPUTSAMPLETIMEUS

      public static final int INPUTSAMPLETIMEUS
      The struct member offsets.
    • SIMSTARTTIMEUS

      public static final int SIMSTARTTIMEUS
      The struct member offsets.
    • SIMENDTIMEUS

      public static final int SIMENDTIMEUS
      The struct member offsets.
    • RENDERSUBMITSTARTTIMEUS

      public static final int RENDERSUBMITSTARTTIMEUS
      The struct member offsets.
    • RENDERSUBMITENDTIMEUS

      public static final int RENDERSUBMITENDTIMEUS
      The struct member offsets.
    • PRESENTSTARTTIMEUS

      public static final int PRESENTSTARTTIMEUS
      The struct member offsets.
    • PRESENTENDTIMEUS

      public static final int PRESENTENDTIMEUS
      The struct member offsets.
    • DRIVERSTARTTIMEUS

      public static final int DRIVERSTARTTIMEUS
      The struct member offsets.
    • DRIVERENDTIMEUS

      public static final int DRIVERENDTIMEUS
      The struct member offsets.
    • OSRENDERQUEUESTARTTIMEUS

      public static final int OSRENDERQUEUESTARTTIMEUS
      The struct member offsets.
    • OSRENDERQUEUEENDTIMEUS

      public static final int OSRENDERQUEUEENDTIMEUS
      The struct member offsets.
    • GPURENDERSTARTTIMEUS

      public static final int GPURENDERSTARTTIMEUS
      The struct member offsets.
    • GPURENDERENDTIMEUS

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

    • VkLatencyTimingsFrameReportNV

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

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkLatencyTimingsFrameReportNV>
    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • presentID

      public long presentID()
      Returns:
      the value of the presentID field.
    • inputSampleTimeUs

      public long inputSampleTimeUs()
      Returns:
      the value of the inputSampleTimeUs field.
    • simStartTimeUs

      public long simStartTimeUs()
      Returns:
      the value of the simStartTimeUs field.
    • simEndTimeUs

      public long simEndTimeUs()
      Returns:
      the value of the simEndTimeUs field.
    • renderSubmitStartTimeUs

      public long renderSubmitStartTimeUs()
      Returns:
      the value of the renderSubmitStartTimeUs field.
    • renderSubmitEndTimeUs

      public long renderSubmitEndTimeUs()
      Returns:
      the value of the renderSubmitEndTimeUs field.
    • presentStartTimeUs

      public long presentStartTimeUs()
      Returns:
      the value of the presentStartTimeUs field.
    • presentEndTimeUs

      public long presentEndTimeUs()
      Returns:
      the value of the presentEndTimeUs field.
    • driverStartTimeUs

      public long driverStartTimeUs()
      Returns:
      the value of the driverStartTimeUs field.
    • driverEndTimeUs

      public long driverEndTimeUs()
      Returns:
      the value of the driverEndTimeUs field.
    • osRenderQueueStartTimeUs

      public long osRenderQueueStartTimeUs()
      Returns:
      the value of the osRenderQueueStartTimeUs field.
    • osRenderQueueEndTimeUs

      public long osRenderQueueEndTimeUs()
      Returns:
      the value of the osRenderQueueEndTimeUs field.
    • gpuRenderStartTimeUs

      public long gpuRenderStartTimeUs()
      Returns:
      the value of the gpuRenderStartTimeUs field.
    • gpuRenderEndTimeUs

      public long gpuRenderEndTimeUs()
      Returns:
      the value of the gpuRenderEndTimeUs field.
    • sType

      public VkLatencyTimingsFrameReportNV sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkLatencyTimingsFrameReportNV sType$Default()
      Sets the STRUCTURE_TYPE_LATENCY_TIMINGS_FRAME_REPORT_NV value to the sType field.
    • pNext

      public VkLatencyTimingsFrameReportNV pNext(long value)
      Sets the specified value to the pNext field.
    • set

      public VkLatencyTimingsFrameReportNV set(int sType, long pNext)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VkLatencyTimingsFrameReportNV malloc()
      Returns a new VkLatencyTimingsFrameReportNV instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkLatencyTimingsFrameReportNV calloc()
      Returns a new VkLatencyTimingsFrameReportNV instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkLatencyTimingsFrameReportNV create()
      Returns a new VkLatencyTimingsFrameReportNV instance allocated with BufferUtils.
    • create

      public static VkLatencyTimingsFrameReportNV create(long address)
      Returns a new VkLatencyTimingsFrameReportNV instance for the specified memory address.
    • createSafe

      public static @Nullable VkLatencyTimingsFrameReportNV createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkLatencyTimingsFrameReportNV.Buffer malloc(int capacity)
      Returns a new VkLatencyTimingsFrameReportNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkLatencyTimingsFrameReportNV.Buffer calloc(int capacity)
      Returns a new VkLatencyTimingsFrameReportNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkLatencyTimingsFrameReportNV.Buffer create(int capacity)
      Returns a new VkLatencyTimingsFrameReportNV.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkLatencyTimingsFrameReportNV.Buffer create(long address, int capacity)
      Create a VkLatencyTimingsFrameReportNV.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkLatencyTimingsFrameReportNV.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkLatencyTimingsFrameReportNV malloc(MemoryStack stack)
      Returns a new VkLatencyTimingsFrameReportNV instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkLatencyTimingsFrameReportNV calloc(MemoryStack stack)
      Returns a new VkLatencyTimingsFrameReportNV instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkLatencyTimingsFrameReportNV.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new VkLatencyTimingsFrameReportNV.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkLatencyTimingsFrameReportNV.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkLatencyTimingsFrameReportNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • npresentID

      public static long npresentID(long struct)
      Unsafe version of presentID().
    • ninputSampleTimeUs

      public static long ninputSampleTimeUs(long struct)
      Unsafe version of inputSampleTimeUs().
    • nsimStartTimeUs

      public static long nsimStartTimeUs(long struct)
      Unsafe version of simStartTimeUs().
    • nsimEndTimeUs

      public static long nsimEndTimeUs(long struct)
      Unsafe version of simEndTimeUs().
    • nrenderSubmitStartTimeUs

      public static long nrenderSubmitStartTimeUs(long struct)
      Unsafe version of renderSubmitStartTimeUs().
    • nrenderSubmitEndTimeUs

      public static long nrenderSubmitEndTimeUs(long struct)
      Unsafe version of renderSubmitEndTimeUs().
    • npresentStartTimeUs

      public static long npresentStartTimeUs(long struct)
      Unsafe version of presentStartTimeUs().
    • npresentEndTimeUs

      public static long npresentEndTimeUs(long struct)
      Unsafe version of presentEndTimeUs().
    • ndriverStartTimeUs

      public static long ndriverStartTimeUs(long struct)
      Unsafe version of driverStartTimeUs().
    • ndriverEndTimeUs

      public static long ndriverEndTimeUs(long struct)
      Unsafe version of driverEndTimeUs().
    • nosRenderQueueStartTimeUs

      public static long nosRenderQueueStartTimeUs(long struct)
      Unsafe version of osRenderQueueStartTimeUs().
    • nosRenderQueueEndTimeUs

      public static long nosRenderQueueEndTimeUs(long struct)
      Unsafe version of osRenderQueueEndTimeUs().
    • ngpuRenderStartTimeUs

      public static long ngpuRenderStartTimeUs(long struct)
      Unsafe version of gpuRenderStartTimeUs().
    • ngpuRenderEndTimeUs

      public static long ngpuRenderEndTimeUs(long struct)
      Unsafe version of gpuRenderEndTimeUs().
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.