Class VkPipelineCacheSafetyCriticalIndexEntry.Buffer

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

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

    • Buffer

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

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

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

      public byte pipelineIdentifierAt(long index, long index0)
      Returns pipelineIdentifier at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      pipelineIdentifier at the given index
    • pipelineIdentifierAt

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer pipelineIdentifierAt(long index, MemorySegment value)
      Sets pipelineIdentifier with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pipelineIdentifierAt

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer pipelineIdentifierAt(long index, long index0, byte value)
      Sets pipelineIdentifier with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • pipelineMemorySizeAt

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

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer pipelineMemorySizeAt(long index, long value)
      Sets pipelineMemorySize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • jsonSizeAt

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

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer jsonSizeAt(long index, long value)
      Sets jsonSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • jsonOffsetAt

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

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer jsonOffsetAt(long index, long value)
      Sets jsonOffset with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • stageIndexCountAt

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

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer stageIndexCountAt(long index, int value)
      Sets stageIndexCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • stageIndexStrideAt

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

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer stageIndexStrideAt(long index, int value)
      Sets stageIndexStride with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • stageIndexOffsetAt

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

      public VkPipelineCacheSafetyCriticalIndexEntry.Buffer stageIndexOffsetAt(long index, long value)
      Sets stageIndexOffset with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this