Class VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT

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

public sealed class VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT extends GroupType permits VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.Buffer

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)
      Creates VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT with the given segment.
      Parameters:
      segment - the memory segment
  • 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.Buffer 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

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