Class VkAttachmentSampleCountInfoAMD.Buffer

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

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

    • Buffer

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

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

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

      public VkAttachmentSampleCountInfoAMD.Buffer pColorAttachmentSamplesAt(long index, MemorySegment value)
      Sets pColorAttachmentSamples with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • depthStencilAttachmentSamplesAt

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

      public VkAttachmentSampleCountInfoAMD.Buffer depthStencilAttachmentSamplesAt(long index, int value)
      Sets depthStencilAttachmentSamples with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this