Class VkPipelineCacheStageValidationIndexEntry.Buffer

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

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

    • Buffer

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

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

      public long codeSizeAt(long index)
      Returns codeSize at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      codeSize at the given index
    • codeSizeAt

      public VkPipelineCacheStageValidationIndexEntry.Buffer codeSizeAt(long index, long value)
      Sets codeSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • codeOffsetAt

      public long codeOffsetAt(long index)
      Returns codeOffset at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      codeOffset at the given index
    • codeOffsetAt

      public VkPipelineCacheStageValidationIndexEntry.Buffer codeOffsetAt(long index, long value)
      Sets codeOffset with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this