Class VkPhysicalDeviceBorderColorSwizzleFeaturesEXT

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

public sealed class VkPhysicalDeviceBorderColorSwizzleFeaturesEXT extends GroupType permits VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer

Layout

struct VkPhysicalDeviceBorderColorSwizzleFeaturesEXT {
    (int) VkStructureType sType;
    void* pNext;
    (uint32_t) VkBool32 borderColorSwizzle;
    (uint32_t) VkBool32 borderColorSwizzleFromImage;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_borderColorSwizzle
      The byte offset of borderColorSwizzle.
    • LAYOUT_borderColorSwizzle

      public static final MemoryLayout LAYOUT_borderColorSwizzle
      The memory layout of borderColorSwizzle.
    • VH_borderColorSwizzle

      public static final VarHandle VH_borderColorSwizzle
      The VarHandle of borderColorSwizzle of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_borderColorSwizzleFromImage

      public static final long OFFSET_borderColorSwizzleFromImage
      The byte offset of borderColorSwizzleFromImage.
    • LAYOUT_borderColorSwizzleFromImage

      public static final MemoryLayout LAYOUT_borderColorSwizzleFromImage
      The memory layout of borderColorSwizzleFromImage.
    • VH_borderColorSwizzleFromImage

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

    • VkPhysicalDeviceBorderColorSwizzleFeaturesEXT

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

    • of

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

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

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

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

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

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

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

      public VkPhysicalDeviceBorderColorSwizzleFeaturesEXT borderColorSwizzle(int value)
      Sets borderColorSwizzle with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • borderColorSwizzleFromImage

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

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

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

      public VkPhysicalDeviceBorderColorSwizzleFeaturesEXT borderColorSwizzleFromImage(int value)
      Sets borderColorSwizzleFromImage with the given value.
      Parameters:
      value - the value
      Returns:
      this