Class VkDescriptorUpdateTemplateCreateInfo

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkDescriptorUpdateTemplateCreateInfo
All Implemented Interfaces:
Addressable

public final class VkDescriptorUpdateTemplateCreateInfo extends GroupType

Layout

struct VkDescriptorUpdateTemplateCreateInfo {
    (int) VkStructureType sType;
    const void* pNext;
    ((uint32_t) VkFlags) VkDescriptorUpdateTemplateCreateFlags flags;
    uint32_t descriptorUpdateEntryCount;
    const VkDescriptorUpdateTemplateEntry* pDescriptorUpdateEntries;
    (int) VkDescriptorUpdateTemplateType templateType;
    (uint64_t) VkDescriptorSetLayout descriptorSetLayout;
    (int) VkPipelineBindPoint pipelineBindPoint;
    (uint64_t) VkPipelineLayout pipelineLayout;
    uint32_t set;
};
  • Field Details

    • LAYOUT

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

      public static final long OFFSET_flags
      The byte offset of flags.
    • LAYOUT_flags

      public static final MemoryLayout LAYOUT_flags
      The memory layout of flags.
    • VH_flags

      public static final VarHandle VH_flags
      The VarHandle of flags of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_descriptorUpdateEntryCount

      public static final long OFFSET_descriptorUpdateEntryCount
      The byte offset of descriptorUpdateEntryCount.
    • LAYOUT_descriptorUpdateEntryCount

      public static final MemoryLayout LAYOUT_descriptorUpdateEntryCount
      The memory layout of descriptorUpdateEntryCount.
    • VH_descriptorUpdateEntryCount

      public static final VarHandle VH_descriptorUpdateEntryCount
      The VarHandle of descriptorUpdateEntryCount of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pDescriptorUpdateEntries

      public static final long OFFSET_pDescriptorUpdateEntries
      The byte offset of pDescriptorUpdateEntries.
    • LAYOUT_pDescriptorUpdateEntries

      public static final MemoryLayout LAYOUT_pDescriptorUpdateEntries
      The memory layout of pDescriptorUpdateEntries.
    • VH_pDescriptorUpdateEntries

      public static final VarHandle VH_pDescriptorUpdateEntries
      The VarHandle of pDescriptorUpdateEntries of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_templateType

      public static final long OFFSET_templateType
      The byte offset of templateType.
    • LAYOUT_templateType

      public static final MemoryLayout LAYOUT_templateType
      The memory layout of templateType.
    • VH_templateType

      public static final VarHandle VH_templateType
      The VarHandle of templateType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_descriptorSetLayout

      public static final long OFFSET_descriptorSetLayout
      The byte offset of descriptorSetLayout.
    • LAYOUT_descriptorSetLayout

      public static final MemoryLayout LAYOUT_descriptorSetLayout
      The memory layout of descriptorSetLayout.
    • VH_descriptorSetLayout

      public static final VarHandle VH_descriptorSetLayout
      The VarHandle of descriptorSetLayout of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pipelineBindPoint

      public static final long OFFSET_pipelineBindPoint
      The byte offset of pipelineBindPoint.
    • LAYOUT_pipelineBindPoint

      public static final MemoryLayout LAYOUT_pipelineBindPoint
      The memory layout of pipelineBindPoint.
    • VH_pipelineBindPoint

      public static final VarHandle VH_pipelineBindPoint
      The VarHandle of pipelineBindPoint of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pipelineLayout

      public static final long OFFSET_pipelineLayout
      The byte offset of pipelineLayout.
    • LAYOUT_pipelineLayout

      public static final MemoryLayout LAYOUT_pipelineLayout
      The memory layout of pipelineLayout.
    • VH_pipelineLayout

      public static final VarHandle VH_pipelineLayout
      The VarHandle of pipelineLayout of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_set

      public static final long OFFSET_set
      The byte offset of set.
    • LAYOUT_set

      public static final MemoryLayout LAYOUT_set
      The memory layout of set.
    • VH_set

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

    • VkDescriptorUpdateTemplateCreateInfo

      public VkDescriptorUpdateTemplateCreateInfo(MemorySegment segment, long elementCount)
      Creates VkDescriptorUpdateTemplateCreateInfo with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count of this struct buffer
  • Method Details

    • of

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

      public static VkDescriptorUpdateTemplateCreateInfo ofNative(MemorySegment segment)

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

      Creates VkDescriptorUpdateTemplateCreateInfo 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 VkDescriptorUpdateTemplateCreateInfo alloc(SegmentAllocator allocator)
      Allocates a VkDescriptorUpdateTemplateCreateInfo with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkDescriptorUpdateTemplateCreateInfo
    • alloc

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

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • reinterpret

      public VkDescriptorUpdateTemplateCreateInfo reinterpret(long count)
      Reinterprets this buffer with the given count.
      Parameters:
      count - the new count
      Returns:
      the reinterpreted 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 VkDescriptorUpdateTemplateCreateInfo 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
    • flags

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

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

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

      public VkDescriptorUpdateTemplateCreateInfo flags(int value)
      Sets flags with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • descriptorUpdateEntryCount

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

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

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

      public VkDescriptorUpdateTemplateCreateInfo descriptorUpdateEntryCount(int value)
      Sets descriptorUpdateEntryCount with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pDescriptorUpdateEntries

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

      public MemorySegment pDescriptorUpdateEntries()
      Returns pDescriptorUpdateEntries.
      Returns:
      pDescriptorUpdateEntries
    • pDescriptorUpdateEntries

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

      public VkDescriptorUpdateTemplateCreateInfo pDescriptorUpdateEntries(MemorySegment value)
      Sets pDescriptorUpdateEntries with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • templateType

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

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

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

      public VkDescriptorUpdateTemplateCreateInfo templateType(int value)
      Sets templateType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • descriptorSetLayout

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

      public long descriptorSetLayout()
      Returns descriptorSetLayout.
      Returns:
      descriptorSetLayout
    • descriptorSetLayout

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

      public VkDescriptorUpdateTemplateCreateInfo descriptorSetLayout(long value)
      Sets descriptorSetLayout with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pipelineBindPoint

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

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

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

      public VkDescriptorUpdateTemplateCreateInfo pipelineBindPoint(int value)
      Sets pipelineBindPoint with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pipelineLayout

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

      public long pipelineLayout()
      Returns pipelineLayout.
      Returns:
      pipelineLayout
    • pipelineLayout

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

      public VkDescriptorUpdateTemplateCreateInfo pipelineLayout(long value)
      Sets pipelineLayout with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • set

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

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

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

      public VkDescriptorUpdateTemplateCreateInfo set(int value)
      Sets set with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • asSlice

      public VkDescriptorUpdateTemplateCreateInfo asSlice(long index)
      Creates a slice of VkDescriptorUpdateTemplateCreateInfo.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkDescriptorUpdateTemplateCreateInfo
    • asSlice

      public VkDescriptorUpdateTemplateCreateInfo asSlice(long index, long count)
      Creates a slice of VkDescriptorUpdateTemplateCreateInfo.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkDescriptorUpdateTemplateCreateInfo
    • at

      Visits VkDescriptorUpdateTemplateCreateInfo buffer at the given index.
      Parameters:
      index - the index of this buffer
      func - the function to run with the slice of this buffer
      Returns:
      this
    • sTypeAt

      public int sTypeAt(long index)
      Returns sType at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sTypeAt

      public VkDescriptorUpdateTemplateCreateInfo sTypeAt(long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pNextAt

      public MemorySegment pNextAt(long index)
      Returns pNext at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNextAt

      public VkDescriptorUpdateTemplateCreateInfo pNextAt(long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • flagsAt

      public int flagsAt(long index)
      Returns flags at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      flags at the given index
    • flagsAt

      public VkDescriptorUpdateTemplateCreateInfo flagsAt(long index, int value)
      Sets flags with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • descriptorUpdateEntryCountAt

      public int descriptorUpdateEntryCountAt(long index)
      Returns descriptorUpdateEntryCount at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      descriptorUpdateEntryCount at the given index
    • descriptorUpdateEntryCountAt

      public VkDescriptorUpdateTemplateCreateInfo descriptorUpdateEntryCountAt(long index, int value)
      Sets descriptorUpdateEntryCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pDescriptorUpdateEntriesAt

      public MemorySegment pDescriptorUpdateEntriesAt(long index)
      Returns pDescriptorUpdateEntries at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pDescriptorUpdateEntries at the given index
    • pDescriptorUpdateEntriesAt

      public VkDescriptorUpdateTemplateCreateInfo pDescriptorUpdateEntriesAt(long index, MemorySegment value)
      Sets pDescriptorUpdateEntries with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • templateTypeAt

      public int templateTypeAt(long index)
      Returns templateType at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      templateType at the given index
    • templateTypeAt

      public VkDescriptorUpdateTemplateCreateInfo templateTypeAt(long index, int value)
      Sets templateType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • descriptorSetLayoutAt

      public long descriptorSetLayoutAt(long index)
      Returns descriptorSetLayout at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      descriptorSetLayout at the given index
    • descriptorSetLayoutAt

      public VkDescriptorUpdateTemplateCreateInfo descriptorSetLayoutAt(long index, long value)
      Sets descriptorSetLayout with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pipelineBindPointAt

      public int pipelineBindPointAt(long index)
      Returns pipelineBindPoint at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pipelineBindPoint at the given index
    • pipelineBindPointAt

      public VkDescriptorUpdateTemplateCreateInfo pipelineBindPointAt(long index, int value)
      Sets pipelineBindPoint with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pipelineLayoutAt

      public long pipelineLayoutAt(long index)
      Returns pipelineLayout at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      pipelineLayout at the given index
    • pipelineLayoutAt

      public VkDescriptorUpdateTemplateCreateInfo pipelineLayoutAt(long index, long value)
      Sets pipelineLayout with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • setAt

      public int setAt(long index)
      Returns set at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      set at the given index
    • setAt

      public VkDescriptorUpdateTemplateCreateInfo setAt(long index, int value)
      Sets set with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this