Class VkMemoryWin32HandlePropertiesKHR.Buffer

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkMemoryWin32HandlePropertiesKHR
overrungl.vulkan.khr.struct.VkMemoryWin32HandlePropertiesKHR.Buffer
All Implemented Interfaces:
Addressable
Enclosing class:
VkMemoryWin32HandlePropertiesKHR

public static final class VkMemoryWin32HandlePropertiesKHR.Buffer extends VkMemoryWin32HandlePropertiesKHR
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkMemoryWin32HandlePropertiesKHR.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public VkMemoryWin32HandlePropertiesKHR asSlice(long index)
      Creates a slice of VkMemoryWin32HandlePropertiesKHR.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkMemoryWin32HandlePropertiesKHR
    • asSlice

      public VkMemoryWin32HandlePropertiesKHR.Buffer asSlice(long index, long count)
      Creates a slice of VkMemoryWin32HandlePropertiesKHR.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkMemoryWin32HandlePropertiesKHR
    • sTypeAt

      public int sTypeAt(long index)
      Returns sType at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sTypeAt

      public VkMemoryWin32HandlePropertiesKHR.Buffer sTypeAt(long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pNextAt

      public MemorySegment pNextAt(long index)
      Returns pNext at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNextAt

      public VkMemoryWin32HandlePropertiesKHR.Buffer pNextAt(long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • memoryTypeBitsAt

      public int memoryTypeBitsAt(long index)
      Returns memoryTypeBits at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      memoryTypeBits at the given index
    • memoryTypeBitsAt

      public VkMemoryWin32HandlePropertiesKHR.Buffer memoryTypeBitsAt(long index, int value)
      Sets memoryTypeBits with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this