Class VkCommandBufferInheritanceViewportScissorInfoNV.Buffer

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

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

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkCommandBufferInheritanceViewportScissorInfoNV.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

      Creates a slice of VkCommandBufferInheritanceViewportScissorInfoNV.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkCommandBufferInheritanceViewportScissorInfoNV
    • asSlice

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

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

      public VkCommandBufferInheritanceViewportScissorInfoNV.Buffer viewportScissor2DAt(long index, int value)
      Sets viewportScissor2D with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • viewportDepthCountAt

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

      public VkCommandBufferInheritanceViewportScissorInfoNV.Buffer viewportDepthCountAt(long index, int value)
      Sets viewportDepthCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pViewportDepthsAt

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

      public VkCommandBufferInheritanceViewportScissorInfoNV.Buffer pViewportDepthsAt(long index, MemorySegment value)
      Sets pViewportDepths with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this