Class VkPhysicalDeviceShaderFloat16Int8Features

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

public sealed class VkPhysicalDeviceShaderFloat16Int8Features extends GroupType permits VkPhysicalDeviceShaderFloat16Int8Features.Buffer

Layout

struct VkPhysicalDeviceShaderFloat16Int8Features {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 shaderFloat16;
    (uint32_t) VkBool32 shaderInt8;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_shaderFloat16
      The byte offset of shaderFloat16.
    • LAYOUT_shaderFloat16

      public static final MemoryLayout LAYOUT_shaderFloat16
      The memory layout of shaderFloat16.
    • VH_shaderFloat16

      public static final VarHandle VH_shaderFloat16
      The VarHandle of shaderFloat16 of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_shaderInt8

      public static final long OFFSET_shaderInt8
      The byte offset of shaderInt8.
    • LAYOUT_shaderInt8

      public static final MemoryLayout LAYOUT_shaderInt8
      The memory layout of shaderInt8.
    • VH_shaderInt8

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

    • VkPhysicalDeviceShaderFloat16Int8Features

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

    • of

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

      public static VkPhysicalDeviceShaderFloat16Int8Features ofNative(MemorySegment segment)

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

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

      public static VkPhysicalDeviceShaderFloat16Int8Features.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkPhysicalDeviceShaderFloat16Int8Features with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkPhysicalDeviceShaderFloat16Int8Features
    • 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
    • shaderFloat16

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

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

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

      public VkPhysicalDeviceShaderFloat16Int8Features shaderFloat16(int value)
      Sets shaderFloat16 with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • shaderInt8

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

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

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

      public VkPhysicalDeviceShaderFloat16Int8Features shaderInt8(int value)
      Sets shaderInt8 with the given value.
      Parameters:
      value - the value
      Returns:
      this