Class VkExecutionGraphPipelineScratchSizeAMDX

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

public sealed class VkExecutionGraphPipelineScratchSizeAMDX extends GroupType permits VkExecutionGraphPipelineScratchSizeAMDX.Buffer

Layout

struct VkExecutionGraphPipelineScratchSizeAMDX {
    (int) VkStructureType sType;
    void* pNext;
    (uint64_t) VkDeviceSize minSize;
    (uint64_t) VkDeviceSize maxSize;
    (uint64_t) VkDeviceSize sizeGranularity;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkExecutionGraphPipelineScratchSizeAMDX.
    • 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_minSize

      public static final long OFFSET_minSize
      The byte offset of minSize.
    • LAYOUT_minSize

      public static final MemoryLayout LAYOUT_minSize
      The memory layout of minSize.
    • VH_minSize

      public static final VarHandle VH_minSize
      The VarHandle of minSize of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_maxSize

      public static final long OFFSET_maxSize
      The byte offset of maxSize.
    • LAYOUT_maxSize

      public static final MemoryLayout LAYOUT_maxSize
      The memory layout of maxSize.
    • VH_maxSize

      public static final VarHandle VH_maxSize
      The VarHandle of maxSize of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_sizeGranularity

      public static final long OFFSET_sizeGranularity
      The byte offset of sizeGranularity.
    • LAYOUT_sizeGranularity

      public static final MemoryLayout LAYOUT_sizeGranularity
      The memory layout of sizeGranularity.
    • VH_sizeGranularity

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

    • VkExecutionGraphPipelineScratchSizeAMDX

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

    • of

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

      public static VkExecutionGraphPipelineScratchSizeAMDX ofNative(MemorySegment segment)

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

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

      public static VkExecutionGraphPipelineScratchSizeAMDX.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkExecutionGraphPipelineScratchSizeAMDX with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkExecutionGraphPipelineScratchSizeAMDX
    • 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 VkExecutionGraphPipelineScratchSizeAMDX 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
    • minSize

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

      public long minSize()
      Returns minSize.
      Returns:
      minSize
    • minSize

      public static void minSize(MemorySegment segment, long index, long value)
      Sets minSize 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
    • minSize

      public VkExecutionGraphPipelineScratchSizeAMDX minSize(long value)
      Sets minSize with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • maxSize

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

      public long maxSize()
      Returns maxSize.
      Returns:
      maxSize
    • maxSize

      public static void maxSize(MemorySegment segment, long index, long value)
      Sets maxSize 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
    • maxSize

      public VkExecutionGraphPipelineScratchSizeAMDX maxSize(long value)
      Sets maxSize with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • sizeGranularity

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

      public long sizeGranularity()
      Returns sizeGranularity.
      Returns:
      sizeGranularity
    • sizeGranularity

      public static void sizeGranularity(MemorySegment segment, long index, long value)
      Sets sizeGranularity 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
    • sizeGranularity

      public VkExecutionGraphPipelineScratchSizeAMDX sizeGranularity(long value)
      Sets sizeGranularity with the given value.
      Parameters:
      value - the value
      Returns:
      this