Class VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT

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

public sealed class VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT extends GroupType permits VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT.Buffer

Layout

struct VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 primitiveTopologyListRestart;
    (uint32_t) VkBool32 primitiveTopologyPatchListRestart;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_primitiveTopologyListRestart
      The byte offset of primitiveTopologyListRestart.
    • LAYOUT_primitiveTopologyListRestart

      public static final MemoryLayout LAYOUT_primitiveTopologyListRestart
      The memory layout of primitiveTopologyListRestart.
    • VH_primitiveTopologyListRestart

      public static final VarHandle VH_primitiveTopologyListRestart
      The VarHandle of primitiveTopologyListRestart of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_primitiveTopologyPatchListRestart

      public static final long OFFSET_primitiveTopologyPatchListRestart
      The byte offset of primitiveTopologyPatchListRestart.
    • LAYOUT_primitiveTopologyPatchListRestart

      public static final MemoryLayout LAYOUT_primitiveTopologyPatchListRestart
      The memory layout of primitiveTopologyPatchListRestart.
    • VH_primitiveTopologyPatchListRestart

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

    • VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT

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

    • of

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

      Creates VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT 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

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

      Allocates a VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT
    • 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
    • primitiveTopologyListRestart

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

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

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

      public VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT primitiveTopologyListRestart(int value)
      Sets primitiveTopologyListRestart with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • primitiveTopologyPatchListRestart

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

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

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

      public VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT primitiveTopologyPatchListRestart(int value)
      Sets primitiveTopologyPatchListRestart with the given value.
      Parameters:
      value - the value
      Returns:
      this