Class VkLatencySleepInfoNV.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkLatencySleepInfoNV>, NativeResource, Pointer
Enclosing class:
VkLatencySleepInfoNV

public static class VkLatencySleepInfoNV.Buffer extends StructBuffer<VkLatencySleepInfoNV,VkLatencySleepInfoNV.Buffer> implements NativeResource
An array of VkLatencySleepInfoNV structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkLatencySleepInfoNV.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkLatencySleepInfoNV.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • sType

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

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

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

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

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

      public VkLatencySleepInfoNV.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_LATENCY_SLEEP_INFO_NV value to the sType field.
    • pNext

      public VkLatencySleepInfoNV.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • signalSemaphore

      public VkLatencySleepInfoNV.Buffer signalSemaphore(long value)
      Sets the specified value to the signalSemaphore field.
    • value

      public VkLatencySleepInfoNV.Buffer value(long value)
      Sets the specified value to the value field.