Class VkRenderPassCreateInfo.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkRenderPassCreateInfo

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

    • Buffer

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

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

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

      public VkRenderPassCreateInfo.Buffer attachmentCountAt(long index, int value)
      Sets attachmentCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pAttachmentsAt

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

      public VkRenderPassCreateInfo.Buffer pAttachmentsAt(long index, MemorySegment value)
      Sets pAttachments with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • subpassCountAt

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

      public VkRenderPassCreateInfo.Buffer subpassCountAt(long index, int value)
      Sets subpassCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pSubpassesAt

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

      public VkRenderPassCreateInfo.Buffer pSubpassesAt(long index, MemorySegment value)
      Sets pSubpasses with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dependencyCountAt

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

      public VkRenderPassCreateInfo.Buffer dependencyCountAt(long index, int value)
      Sets dependencyCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pDependenciesAt

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

      public VkRenderPassCreateInfo.Buffer pDependenciesAt(long index, MemorySegment value)
      Sets pDependencies with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this