Class VkPhysicalDeviceTileMemoryHeapPropertiesQCOM

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

public sealed class VkPhysicalDeviceTileMemoryHeapPropertiesQCOM extends GroupType permits VkPhysicalDeviceTileMemoryHeapPropertiesQCOM.Buffer

Layout

struct VkPhysicalDeviceTileMemoryHeapPropertiesQCOM {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 queueSubmitBoundary;
    (uint32_t) VkBool32 tileBufferTransfers;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_queueSubmitBoundary
      The byte offset of queueSubmitBoundary.
    • LAYOUT_queueSubmitBoundary

      public static final MemoryLayout LAYOUT_queueSubmitBoundary
      The memory layout of queueSubmitBoundary.
    • VH_queueSubmitBoundary

      public static final VarHandle VH_queueSubmitBoundary
      The VarHandle of queueSubmitBoundary of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_tileBufferTransfers

      public static final long OFFSET_tileBufferTransfers
      The byte offset of tileBufferTransfers.
    • LAYOUT_tileBufferTransfers

      public static final MemoryLayout LAYOUT_tileBufferTransfers
      The memory layout of tileBufferTransfers.
    • VH_tileBufferTransfers

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

    • VkPhysicalDeviceTileMemoryHeapPropertiesQCOM

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

    • of

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

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

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

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

      public static VkPhysicalDeviceTileMemoryHeapPropertiesQCOM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int queueSubmitBoundary, int tileBufferTransfers)
      Allocates a VkPhysicalDeviceTileMemoryHeapPropertiesQCOM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      queueSubmitBoundary - queueSubmitBoundary
      tileBufferTransfers - tileBufferTransfers
      Returns:
      the allocated VkPhysicalDeviceTileMemoryHeapPropertiesQCOM
    • allocInit

      public static VkPhysicalDeviceTileMemoryHeapPropertiesQCOM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int queueSubmitBoundary)
      Allocates a VkPhysicalDeviceTileMemoryHeapPropertiesQCOM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      queueSubmitBoundary - queueSubmitBoundary
      Returns:
      the allocated VkPhysicalDeviceTileMemoryHeapPropertiesQCOM
    • allocInit

      public static VkPhysicalDeviceTileMemoryHeapPropertiesQCOM allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext)
      Allocates a VkPhysicalDeviceTileMemoryHeapPropertiesQCOM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      Returns:
      the allocated VkPhysicalDeviceTileMemoryHeapPropertiesQCOM
    • allocInit

      public static VkPhysicalDeviceTileMemoryHeapPropertiesQCOM allocInit(SegmentAllocator allocator, int sType)
      Allocates a VkPhysicalDeviceTileMemoryHeapPropertiesQCOM with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      Returns:
      the allocated VkPhysicalDeviceTileMemoryHeapPropertiesQCOM
    • 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

      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
    • queueSubmitBoundary

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

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

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

      public VkPhysicalDeviceTileMemoryHeapPropertiesQCOM queueSubmitBoundary(int value)
      Sets queueSubmitBoundary with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • tileBufferTransfers

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

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

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

      public VkPhysicalDeviceTileMemoryHeapPropertiesQCOM tileBufferTransfers(int value)
      Sets tileBufferTransfers with the given value.
      Parameters:
      value - the value
      Returns:
      this