Class VkDescriptorUpdateTemplateCreateInfo

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

public sealed class VkDescriptorUpdateTemplateCreateInfo extends GroupType permits VkDescriptorUpdateTemplateCreateInfo.Buffer

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)
      Creates VkDescriptorUpdateTemplateCreateInfo with the given segment.
      Parameters:
      segment - the memory segment
  • 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.Buffer 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.Buffer 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
    • 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 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