Class VkSubpassDescriptionDepthStencilResolveKHR

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkSubpassDescriptionDepthStencilResolveKHR
All Implemented Interfaces:
Addressable

public final class VkSubpassDescriptionDepthStencilResolveKHR extends GroupType

Layout

struct VkSubpassDescriptionDepthStencilResolveKHR {
    (int) VkStructureType sType;
    const void* pNext;
    (int) VkResolveModeFlagBits depthResolveMode;
    (int) VkResolveModeFlagBits stencilResolveMode;
    const VkAttachmentReference2* pDepthStencilResolveAttachment;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkSubpassDescriptionDepthStencilResolveKHR.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_depthResolveMode

      public static final long OFFSET_depthResolveMode
      The byte offset of depthResolveMode.
    • LAYOUT_depthResolveMode

      public static final MemoryLayout LAYOUT_depthResolveMode
      The memory layout of depthResolveMode.
    • VH_depthResolveMode

      public static final VarHandle VH_depthResolveMode
      The VarHandle of depthResolveMode of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_stencilResolveMode

      public static final long OFFSET_stencilResolveMode
      The byte offset of stencilResolveMode.
    • LAYOUT_stencilResolveMode

      public static final MemoryLayout LAYOUT_stencilResolveMode
      The memory layout of stencilResolveMode.
    • VH_stencilResolveMode

      public static final VarHandle VH_stencilResolveMode
      The VarHandle of stencilResolveMode of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pDepthStencilResolveAttachment

      public static final long OFFSET_pDepthStencilResolveAttachment
      The byte offset of pDepthStencilResolveAttachment.
    • LAYOUT_pDepthStencilResolveAttachment

      public static final MemoryLayout LAYOUT_pDepthStencilResolveAttachment
      The memory layout of pDepthStencilResolveAttachment.
    • VH_pDepthStencilResolveAttachment

      public static final VarHandle VH_pDepthStencilResolveAttachment
      The VarHandle of pDepthStencilResolveAttachment of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkSubpassDescriptionDepthStencilResolveKHR

      public VkSubpassDescriptionDepthStencilResolveKHR(MemorySegment segment, long elementCount)
      Creates VkSubpassDescriptionDepthStencilResolveKHR with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count of this struct buffer
  • Method Details

    • of

      Creates VkSubpassDescriptionDepthStencilResolveKHR with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      Creates VkSubpassDescriptionDepthStencilResolveKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkSubpassDescriptionDepthStencilResolveKHR ofNative(MemorySegment segment, long count)

      Creates VkSubpassDescriptionDepthStencilResolveKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      Allocates a VkSubpassDescriptionDepthStencilResolveKHR with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkSubpassDescriptionDepthStencilResolveKHR
    • alloc

      public static VkSubpassDescriptionDepthStencilResolveKHR alloc(SegmentAllocator allocator, long count)
      Allocates a VkSubpassDescriptionDepthStencilResolveKHR with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkSubpassDescriptionDepthStencilResolveKHR
    • copyFrom

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • reinterpret

      public VkSubpassDescriptionDepthStencilResolveKHR reinterpret(long count)
      Reinterprets this buffer with the given count.
      Parameters:
      count - the new count
      Returns:
      the reinterpreted buffer
    • sType

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

      public static MemorySegment pNext(MemorySegment segment, long index)
      Returns pNext at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNext

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • depthResolveMode

      public static int depthResolveMode(MemorySegment segment, long index)
      Returns depthResolveMode at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      depthResolveMode at the given index
    • depthResolveMode

      public int depthResolveMode()
      Returns depthResolveMode.
      Returns:
      depthResolveMode
    • depthResolveMode

      public static void depthResolveMode(MemorySegment segment, long index, int value)
      Sets depthResolveMode with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • depthResolveMode

      public VkSubpassDescriptionDepthStencilResolveKHR depthResolveMode(int value)
      Sets depthResolveMode with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • stencilResolveMode

      public static int stencilResolveMode(MemorySegment segment, long index)
      Returns stencilResolveMode at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      stencilResolveMode at the given index
    • stencilResolveMode

      public int stencilResolveMode()
      Returns stencilResolveMode.
      Returns:
      stencilResolveMode
    • stencilResolveMode

      public static void stencilResolveMode(MemorySegment segment, long index, int value)
      Sets stencilResolveMode with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • stencilResolveMode

      public VkSubpassDescriptionDepthStencilResolveKHR stencilResolveMode(int value)
      Sets stencilResolveMode with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pDepthStencilResolveAttachment

      public static MemorySegment pDepthStencilResolveAttachment(MemorySegment segment, long index)
      Returns pDepthStencilResolveAttachment at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pDepthStencilResolveAttachment at the given index
    • pDepthStencilResolveAttachment

      public MemorySegment pDepthStencilResolveAttachment()
      Returns pDepthStencilResolveAttachment.
      Returns:
      pDepthStencilResolveAttachment
    • pDepthStencilResolveAttachment

      public static void pDepthStencilResolveAttachment(MemorySegment segment, long index, MemorySegment value)
      Sets pDepthStencilResolveAttachment with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pDepthStencilResolveAttachment

      public VkSubpassDescriptionDepthStencilResolveKHR pDepthStencilResolveAttachment(MemorySegment value)
      Sets pDepthStencilResolveAttachment with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • asSlice

      public VkSubpassDescriptionDepthStencilResolveKHR asSlice(long index)
      Creates a slice of VkSubpassDescriptionDepthStencilResolveKHR.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkSubpassDescriptionDepthStencilResolveKHR
    • asSlice

      public VkSubpassDescriptionDepthStencilResolveKHR asSlice(long index, long count)
      Creates a slice of VkSubpassDescriptionDepthStencilResolveKHR.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkSubpassDescriptionDepthStencilResolveKHR
    • at

      Visits VkSubpassDescriptionDepthStencilResolveKHR buffer at the given index.
      Parameters:
      index - the index of this buffer
      func - the function to run with the slice of this buffer
      Returns:
      this
    • 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 VkSubpassDescriptionDepthStencilResolveKHR 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 VkSubpassDescriptionDepthStencilResolveKHR 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
    • depthResolveModeAt

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

      public VkSubpassDescriptionDepthStencilResolveKHR depthResolveModeAt(long index, int value)
      Sets depthResolveMode with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • stencilResolveModeAt

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

      public VkSubpassDescriptionDepthStencilResolveKHR stencilResolveModeAt(long index, int value)
      Sets stencilResolveMode with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pDepthStencilResolveAttachmentAt

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

      public VkSubpassDescriptionDepthStencilResolveKHR pDepthStencilResolveAttachmentAt(long index, MemorySegment value)
      Sets pDepthStencilResolveAttachment with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this