Class VkSetPresentConfigNV.Buffer

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

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

    • Buffer

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

      public int numFramesPerBatch()
      Returns:
      the value of the numFramesPerBatch field.
    • presentConfigFeedback

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

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

      public VkSetPresentConfigNV.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV value to the sType field.
    • pNext

      public VkSetPresentConfigNV.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • numFramesPerBatch

      public VkSetPresentConfigNV.Buffer numFramesPerBatch(int value)
      Sets the specified value to the numFramesPerBatch field.
    • presentConfigFeedback

      public VkSetPresentConfigNV.Buffer presentConfigFeedback(int value)
      Sets the specified value to the presentConfigFeedback field.