Class VkDataGraphPipelinePropertyQueryResultARM

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.arm.struct.VkDataGraphPipelinePropertyQueryResultARM
All Implemented Interfaces:
Addressable

public final class VkDataGraphPipelinePropertyQueryResultARM extends GroupType

Layout

struct VkDataGraphPipelinePropertyQueryResultARM {
    (int) VkStructureType sType;
    const void* pNext;
    (int) VkDataGraphPipelinePropertyARM property;
    (uint32_t) VkBool32 isText;
    size_t dataSize;
    void* pData;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_property
      The byte offset of property.
    • LAYOUT_property

      public static final MemoryLayout LAYOUT_property
      The memory layout of property.
    • VH_property

      public static final VarHandle VH_property
      The VarHandle of property of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_isText

      public static final long OFFSET_isText
      The byte offset of isText.
    • LAYOUT_isText

      public static final MemoryLayout LAYOUT_isText
      The memory layout of isText.
    • VH_isText

      public static final VarHandle VH_isText
      The VarHandle of isText of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_dataSize

      public static final long OFFSET_dataSize
      The byte offset of dataSize.
    • LAYOUT_dataSize

      public static final MemoryLayout LAYOUT_dataSize
      The memory layout of dataSize.
    • VH_dataSize

      public static final VarHandle VH_dataSize
      The VarHandle of dataSize of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pData

      public static final long OFFSET_pData
      The byte offset of pData.
    • LAYOUT_pData

      public static final MemoryLayout LAYOUT_pData
      The memory layout of pData.
    • VH_pData

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

    • VkDataGraphPipelinePropertyQueryResultARM

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

    • of

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

      public static VkDataGraphPipelinePropertyQueryResultARM ofNative(MemorySegment segment)

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

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

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

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

      public VkDataGraphPipelinePropertyQueryResultARM 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
    • property

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

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

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

      public VkDataGraphPipelinePropertyQueryResultARM property(int value)
      Sets property with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • isText

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

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

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

      public VkDataGraphPipelinePropertyQueryResultARM isText(int value)
      Sets isText with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • dataSize

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

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

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

      public VkDataGraphPipelinePropertyQueryResultARM dataSize(long value)
      Sets dataSize with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pData

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

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

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

      Sets pData with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • asSlice

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

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

      Visits VkDataGraphPipelinePropertyQueryResultARM 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 VkDataGraphPipelinePropertyQueryResultARM 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 VkDataGraphPipelinePropertyQueryResultARM 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
    • propertyAt

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

      public VkDataGraphPipelinePropertyQueryResultARM propertyAt(long index, int value)
      Sets property with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • isTextAt

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

      public VkDataGraphPipelinePropertyQueryResultARM isTextAt(long index, int value)
      Sets isText with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dataSizeAt

      public long dataSizeAt(long index)
      Returns dataSize at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      dataSize at the given index
    • dataSizeAt

      public VkDataGraphPipelinePropertyQueryResultARM dataSizeAt(long index, long value)
      Sets dataSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pDataAt

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

      public VkDataGraphPipelinePropertyQueryResultARM pDataAt(long index, MemorySegment value)
      Sets pData with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this