Class VkLatencySleepModeInfoNV.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkLatencySleepModeInfoNV.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 VkLatencySleepModeInfoNV.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.
    • lowLatencyMode

      public boolean lowLatencyMode()
      Returns:
      the value of the lowLatencyMode field.
    • lowLatencyBoost

      public boolean lowLatencyBoost()
      Returns:
      the value of the lowLatencyBoost field.
    • minimumIntervalUs

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

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

      public VkLatencySleepModeInfoNV.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_LATENCY_SLEEP_MODE_INFO_NV value to the sType field.
    • pNext

      public VkLatencySleepModeInfoNV.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • lowLatencyMode

      public VkLatencySleepModeInfoNV.Buffer lowLatencyMode(boolean value)
      Sets the specified value to the lowLatencyMode field.
    • lowLatencyBoost

      public VkLatencySleepModeInfoNV.Buffer lowLatencyBoost(boolean value)
      Sets the specified value to the lowLatencyBoost field.
    • minimumIntervalUs

      public VkLatencySleepModeInfoNV.Buffer minimumIntervalUs(int value)
      Sets the specified value to the minimumIntervalUs field.