Class VkPipelineShaderStageNodeCreateInfoAMDX

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

public sealed class VkPipelineShaderStageNodeCreateInfoAMDX extends GroupType permits VkPipelineShaderStageNodeCreateInfoAMDX.Buffer

Layout

struct VkPipelineShaderStageNodeCreateInfoAMDX {
    (int) VkStructureType sType;
    const void* pNext;
    const char* pName;
    uint32_t index;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_pName
      The byte offset of pName.
    • LAYOUT_pName

      public static final MemoryLayout LAYOUT_pName
      The memory layout of pName.
    • VH_pName

      public static final VarHandle VH_pName
      The VarHandle of pName of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_index

      public static final long OFFSET_index
      The byte offset of index.
    • LAYOUT_index

      public static final MemoryLayout LAYOUT_index
      The memory layout of index.
    • VH_index

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

    • VkPipelineShaderStageNodeCreateInfoAMDX

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

    • of

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

      public static VkPipelineShaderStageNodeCreateInfoAMDX ofNative(MemorySegment segment)

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

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

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

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

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

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

      Sets pName with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • index

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

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

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

      public VkPipelineShaderStageNodeCreateInfoAMDX index(int value)
      Sets index with the given value.
      Parameters:
      value - the value
      Returns:
      this