Class VkPipelineInputAssemblyStateCreateInfo.Buffer

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

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

    • Buffer

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

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

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

      public VkPipelineInputAssemblyStateCreateInfo.Buffer topologyAt(long index, int value)
      Sets topology with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • primitiveRestartEnableAt

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

      public VkPipelineInputAssemblyStateCreateInfo.Buffer primitiveRestartEnableAt(long index, int value)
      Sets primitiveRestartEnable with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this