Class VkSamplerYcbcrConversionImageFormatProperties

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

public sealed class VkSamplerYcbcrConversionImageFormatProperties extends GroupType permits VkSamplerYcbcrConversionImageFormatProperties.Buffer

Layout

struct VkSamplerYcbcrConversionImageFormatProperties {
    (int) VkStructureType sType;
    void* pNext;
    uint32_t combinedImageSamplerDescriptorCount;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_combinedImageSamplerDescriptorCount
      The byte offset of combinedImageSamplerDescriptorCount.
    • LAYOUT_combinedImageSamplerDescriptorCount

      public static final MemoryLayout LAYOUT_combinedImageSamplerDescriptorCount
      The memory layout of combinedImageSamplerDescriptorCount.
    • VH_combinedImageSamplerDescriptorCount

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

    • VkSamplerYcbcrConversionImageFormatProperties

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

    • of

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

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

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

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

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

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

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

      public VkSamplerYcbcrConversionImageFormatProperties combinedImageSamplerDescriptorCount(int value)
      Sets combinedImageSamplerDescriptorCount with the given value.
      Parameters:
      value - the value
      Returns:
      this