Class VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
All Implemented Interfaces:
Addressable

public final class VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT extends GroupType

Layout

struct VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 primitivesGeneratedQuery;
    (uint32_t) VkBool32 primitivesGeneratedQueryWithRasterizerDiscard;
    (uint32_t) VkBool32 primitivesGeneratedQueryWithNonZeroStreams;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_primitivesGeneratedQuery
      The byte offset of primitivesGeneratedQuery.
    • LAYOUT_primitivesGeneratedQuery

      public static final MemoryLayout LAYOUT_primitivesGeneratedQuery
      The memory layout of primitivesGeneratedQuery.
    • VH_primitivesGeneratedQuery

      public static final VarHandle VH_primitivesGeneratedQuery
      The VarHandle of primitivesGeneratedQuery of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_primitivesGeneratedQueryWithRasterizerDiscard

      public static final long OFFSET_primitivesGeneratedQueryWithRasterizerDiscard
      The byte offset of primitivesGeneratedQueryWithRasterizerDiscard.
    • LAYOUT_primitivesGeneratedQueryWithRasterizerDiscard

      public static final MemoryLayout LAYOUT_primitivesGeneratedQueryWithRasterizerDiscard
      The memory layout of primitivesGeneratedQueryWithRasterizerDiscard.
    • VH_primitivesGeneratedQueryWithRasterizerDiscard

      public static final VarHandle VH_primitivesGeneratedQueryWithRasterizerDiscard
      The VarHandle of primitivesGeneratedQueryWithRasterizerDiscard of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_primitivesGeneratedQueryWithNonZeroStreams

      public static final long OFFSET_primitivesGeneratedQueryWithNonZeroStreams
      The byte offset of primitivesGeneratedQueryWithNonZeroStreams.
    • LAYOUT_primitivesGeneratedQueryWithNonZeroStreams

      public static final MemoryLayout LAYOUT_primitivesGeneratedQueryWithNonZeroStreams
      The memory layout of primitivesGeneratedQueryWithNonZeroStreams.
    • VH_primitivesGeneratedQueryWithNonZeroStreams

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

    • VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT

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

    • of

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

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

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

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

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

      public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT 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
    • primitivesGeneratedQuery

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

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

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

      public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQuery(int value)
      Sets primitivesGeneratedQuery with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • primitivesGeneratedQueryWithRasterizerDiscard

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

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

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

      public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithRasterizerDiscard(int value)
      Sets primitivesGeneratedQueryWithRasterizerDiscard with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • primitivesGeneratedQueryWithNonZeroStreams

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

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

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

      public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithNonZeroStreams(int value)
      Sets primitivesGeneratedQueryWithNonZeroStreams with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • asSlice

      Creates a slice of VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
    • asSlice

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

      Visits VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT 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 VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT 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

      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • primitivesGeneratedQueryAt

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

      public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryAt(long index, int value)
      Sets primitivesGeneratedQuery with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • primitivesGeneratedQueryWithRasterizerDiscardAt

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

      public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithRasterizerDiscardAt(long index, int value)
      Sets primitivesGeneratedQueryWithRasterizerDiscard with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • primitivesGeneratedQueryWithNonZeroStreamsAt

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

      public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithNonZeroStreamsAt(long index, int value)
      Sets primitivesGeneratedQueryWithNonZeroStreams with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this