Class VkPhysicalDeviceMultiviewFeatures

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

public sealed class VkPhysicalDeviceMultiviewFeatures extends GroupType permits VkPhysicalDeviceMultiviewFeatures.Buffer

Layout

struct VkPhysicalDeviceMultiviewFeatures {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 multiview;
    (uint32_t) VkBool32 multiviewGeometryShader;
    (uint32_t) VkBool32 multiviewTessellationShader;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_multiview
      The byte offset of multiview.
    • LAYOUT_multiview

      public static final MemoryLayout LAYOUT_multiview
      The memory layout of multiview.
    • VH_multiview

      public static final VarHandle VH_multiview
      The VarHandle of multiview of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_multiviewGeometryShader

      public static final long OFFSET_multiviewGeometryShader
      The byte offset of multiviewGeometryShader.
    • LAYOUT_multiviewGeometryShader

      public static final MemoryLayout LAYOUT_multiviewGeometryShader
      The memory layout of multiviewGeometryShader.
    • VH_multiviewGeometryShader

      public static final VarHandle VH_multiviewGeometryShader
      The VarHandle of multiviewGeometryShader of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_multiviewTessellationShader

      public static final long OFFSET_multiviewTessellationShader
      The byte offset of multiviewTessellationShader.
    • LAYOUT_multiviewTessellationShader

      public static final MemoryLayout LAYOUT_multiviewTessellationShader
      The memory layout of multiviewTessellationShader.
    • VH_multiviewTessellationShader

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

    • VkPhysicalDeviceMultiviewFeatures

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

    • of

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

      public static VkPhysicalDeviceMultiviewFeatures ofNative(MemorySegment segment)

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

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

      public static VkPhysicalDeviceMultiviewFeatures alloc(SegmentAllocator allocator)
      Allocates a VkPhysicalDeviceMultiviewFeatures with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkPhysicalDeviceMultiviewFeatures
    • alloc

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

      public VkPhysicalDeviceMultiviewFeatures sType(int value)
      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
    • multiview

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

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

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

      public VkPhysicalDeviceMultiviewFeatures multiview(int value)
      Sets multiview with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • multiviewGeometryShader

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

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

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

      public VkPhysicalDeviceMultiviewFeatures multiviewGeometryShader(int value)
      Sets multiviewGeometryShader with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • multiviewTessellationShader

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

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

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

      public VkPhysicalDeviceMultiviewFeatures multiviewTessellationShader(int value)
      Sets multiviewTessellationShader with the given value.
      Parameters:
      value - the value
      Returns:
      this