Class VkCommandBufferInheritanceRenderingInfo.Buffer

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

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

    • Buffer

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

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

      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 VkCommandBufferInheritanceRenderingInfo.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
    • viewMaskAt

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

      public VkCommandBufferInheritanceRenderingInfo.Buffer viewMaskAt(long index, int value)
      Sets viewMask with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • colorAttachmentCountAt

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

      public VkCommandBufferInheritanceRenderingInfo.Buffer colorAttachmentCountAt(long index, int value)
      Sets colorAttachmentCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pColorAttachmentFormatsAt

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

      public VkCommandBufferInheritanceRenderingInfo.Buffer pColorAttachmentFormatsAt(long index, MemorySegment value)
      Sets pColorAttachmentFormats with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • depthAttachmentFormatAt

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

      public VkCommandBufferInheritanceRenderingInfo.Buffer depthAttachmentFormatAt(long index, int value)
      Sets depthAttachmentFormat with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • stencilAttachmentFormatAt

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

      public VkCommandBufferInheritanceRenderingInfo.Buffer stencilAttachmentFormatAt(long index, int value)
      Sets stencilAttachmentFormat with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • rasterizationSamplesAt

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

      public VkCommandBufferInheritanceRenderingInfo.Buffer rasterizationSamplesAt(long index, int value)
      Sets rasterizationSamples with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this