Class VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR
All Implemented Interfaces:
Addressable

public final class VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR extends GroupType

Layout

struct VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 shaderIntegerDotProduct;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_shaderIntegerDotProduct
      The byte offset of shaderIntegerDotProduct.
    • LAYOUT_shaderIntegerDotProduct

      public static final MemoryLayout LAYOUT_shaderIntegerDotProduct
      The memory layout of shaderIntegerDotProduct.
    • VH_shaderIntegerDotProduct

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

    • VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR

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

    • of

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

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

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

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

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

      public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR 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
    • shaderIntegerDotProduct

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

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

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

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

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

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

      Visits VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR 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 VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR 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
    • shaderIntegerDotProductAt

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

      public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR shaderIntegerDotProductAt(long index, int value)
      Sets shaderIntegerDotProduct with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this