Class VkMicromapCreateInfoEXT.Buffer

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

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

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new VkMicromapCreateInfoEXT.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 VkMicromapCreateInfoEXT.SIZEOF, and its mark will be undefined.

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

    • Buffer Link icon

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

    • sType Link icon

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

      public long pNext()
      Returns:
      the value of the pNext field.
    • createFlags Link icon

      public int createFlags()
      Returns:
      the value of the createFlags field.
    • buffer Link icon

      public long buffer()
      Returns:
      the value of the buffer field.
    • offset Link icon

      public long offset()
      Returns:
      the value of the offset field.
    • size Link icon

      public long size()
      Returns:
      the value of the size field.
    • type Link icon

      public int type()
      Returns:
      the value of the type field.
    • deviceAddress Link icon

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

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

      public VkMicromapCreateInfoEXT.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_MICROMAP_CREATE_INFO_EXT value to the sType field.
    • pNext Link icon

      public VkMicromapCreateInfoEXT.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • createFlags Link icon

      public VkMicromapCreateInfoEXT.Buffer createFlags(int value)
      Sets the specified value to the createFlags field.
    • buffer Link icon

      public VkMicromapCreateInfoEXT.Buffer buffer(long value)
      Sets the specified value to the buffer field.
    • offset Link icon

      public VkMicromapCreateInfoEXT.Buffer offset(long value)
      Sets the specified value to the offset field.
    • size Link icon

      public VkMicromapCreateInfoEXT.Buffer size(long value)
      Sets the specified value to the size field.
    • type Link icon

      public VkMicromapCreateInfoEXT.Buffer type(int value)
      Sets the specified value to the type field.
    • deviceAddress Link icon

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