Class VkPipelineBinaryKeysAndDataKHR.Buffer

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

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

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkPipelineBinaryKeysAndDataKHR.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 VkPipelineBinaryKeysAndDataKHR asSlice(long index)
      Creates a slice of VkPipelineBinaryKeysAndDataKHR.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkPipelineBinaryKeysAndDataKHR
    • asSlice

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

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

      public VkPipelineBinaryKeysAndDataKHR.Buffer binaryCountAt(long index, int value)
      Sets binaryCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pPipelineBinaryKeysAt

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

      public VkPipelineBinaryKeysAndDataKHR.Buffer pPipelineBinaryKeysAt(long index, MemorySegment value)
      Sets pPipelineBinaryKeys with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pPipelineBinaryDataAt

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

      public VkPipelineBinaryKeysAndDataKHR.Buffer pPipelineBinaryDataAt(long index, MemorySegment value)
      Sets pPipelineBinaryData with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this