Class VkPipelineCreationFeedback.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkPipelineCreationFeedback

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

    • Buffer

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

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

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

      public VkPipelineCreationFeedback.Buffer flagsAt(long index, int value)
      Sets flags with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • durationAt

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

      public VkPipelineCreationFeedback.Buffer durationAt(long index, long value)
      Sets duration with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this