Class VkRayTracingPipelineCreateInfoKHR.Buffer

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

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

    • Buffer

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

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

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer stageCountAt(long index, int value)
      Sets stageCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pStagesAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer pStagesAt(long index, MemorySegment value)
      Sets pStages with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • groupCountAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer groupCountAt(long index, int value)
      Sets groupCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pGroupsAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer pGroupsAt(long index, MemorySegment value)
      Sets pGroups with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxPipelineRayRecursionDepthAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer maxPipelineRayRecursionDepthAt(long index, int value)
      Sets maxPipelineRayRecursionDepth with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pLibraryInfoAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer pLibraryInfoAt(long index, MemorySegment value)
      Sets pLibraryInfo with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pLibraryInterfaceAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer pLibraryInterfaceAt(long index, MemorySegment value)
      Sets pLibraryInterface with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pDynamicStateAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer pDynamicStateAt(long index, MemorySegment value)
      Sets pDynamicState with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • layoutAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer layoutAt(long index, long value)
      Sets layout with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • basePipelineHandleAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer basePipelineHandleAt(long index, long value)
      Sets basePipelineHandle with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • basePipelineIndexAt

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

      public VkRayTracingPipelineCreateInfoKHR.Buffer basePipelineIndexAt(long index, int value)
      Sets basePipelineIndex with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this