Class VkDeviceGroupRenderPassBeginInfo.Buffer

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

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

    • Buffer

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

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

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

      public VkDeviceGroupRenderPassBeginInfo.Buffer deviceMaskAt(long index, int value)
      Sets deviceMask with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • deviceRenderAreaCountAt

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

      public VkDeviceGroupRenderPassBeginInfo.Buffer deviceRenderAreaCountAt(long index, int value)
      Sets deviceRenderAreaCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pDeviceRenderAreasAt

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

      public VkDeviceGroupRenderPassBeginInfo.Buffer pDeviceRenderAreasAt(long index, MemorySegment value)
      Sets pDeviceRenderAreas with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this