Class VkSubpassDescriptionDepthStencilResolve

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkSubpassDescriptionDepthStencilResolve
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
VkSubpassDescriptionDepthStencilResolve.Buffer

public sealed class VkSubpassDescriptionDepthStencilResolve extends GroupType permits VkSubpassDescriptionDepthStencilResolve.Buffer

Layout

struct VkSubpassDescriptionDepthStencilResolve {
    (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 VkSubpassDescriptionDepthStencilResolve.
    • 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

    • VkSubpassDescriptionDepthStencilResolve

      public VkSubpassDescriptionDepthStencilResolve(MemorySegment segment)
      Creates VkSubpassDescriptionDepthStencilResolve with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

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

      public static VkSubpassDescriptionDepthStencilResolve ofNative(MemorySegment segment)

      Creates VkSubpassDescriptionDepthStencilResolve 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 VkSubpassDescriptionDepthStencilResolve.Buffer ofNative(MemorySegment segment, long count)

      Creates VkSubpassDescriptionDepthStencilResolve 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 VkSubpassDescriptionDepthStencilResolve with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkSubpassDescriptionDepthStencilResolve
    • alloc

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

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

      Converts this instance to a buffer.
      Returns:
      the 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

      public VkSubpassDescriptionDepthStencilResolve sType(int value)
      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 VkSubpassDescriptionDepthStencilResolve 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 VkSubpassDescriptionDepthStencilResolve 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 VkSubpassDescriptionDepthStencilResolve pDepthStencilResolveAttachment(MemorySegment value)
      Sets pDepthStencilResolveAttachment with the given value.
      Parameters:
      value - the value
      Returns:
      this