Class VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR

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

public sealed class VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR extends GroupType permits VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR.Buffer

Layout

struct VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 unifiedImageLayouts;
    (uint32_t) VkBool32 unifiedImageLayoutsVideo;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_unifiedImageLayouts
      The byte offset of unifiedImageLayouts.
    • LAYOUT_unifiedImageLayouts

      public static final MemoryLayout LAYOUT_unifiedImageLayouts
      The memory layout of unifiedImageLayouts.
    • VH_unifiedImageLayouts

      public static final VarHandle VH_unifiedImageLayouts
      The VarHandle of unifiedImageLayouts of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_unifiedImageLayoutsVideo

      public static final long OFFSET_unifiedImageLayoutsVideo
      The byte offset of unifiedImageLayoutsVideo.
    • LAYOUT_unifiedImageLayoutsVideo

      public static final MemoryLayout LAYOUT_unifiedImageLayoutsVideo
      The memory layout of unifiedImageLayoutsVideo.
    • VH_unifiedImageLayoutsVideo

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

    • VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR

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

    • of

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

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

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

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

      public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int unifiedImageLayouts, int unifiedImageLayoutsVideo)
      Allocates a VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      unifiedImageLayouts - unifiedImageLayouts
      unifiedImageLayoutsVideo - unifiedImageLayoutsVideo
      Returns:
      the allocated VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
    • allocInit

      public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int unifiedImageLayouts)
      Allocates a VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      unifiedImageLayouts - unifiedImageLayouts
      Returns:
      the allocated VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
    • allocInit

      public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext)
      Allocates a VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      Returns:
      the allocated VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
    • allocInit

      public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType)
      Allocates a VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      Returns:
      the allocated VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
    • 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
    • unifiedImageLayouts

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

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

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

      public VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR unifiedImageLayouts(int value)
      Sets unifiedImageLayouts with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • unifiedImageLayoutsVideo

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

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

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

      public VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR unifiedImageLayoutsVideo(int value)
      Sets unifiedImageLayoutsVideo with the given value.
      Parameters:
      value - the value
      Returns:
      this