Class VkDescriptorUpdateTemplateCreateInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkDescriptorUpdateTemplateCreateInfo
- All Implemented Interfaces:
Addressable
Represents VkDescriptorUpdateTemplateCreateInfo.
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkDescriptorUpdateTemplateCreateInfo.static final MemoryLayoutThe memory layout ofdescriptorSetLayout.static final MemoryLayoutThe memory layout ofdescriptorUpdateEntryCount.static final MemoryLayoutThe memory layout offlags.static final MemoryLayoutThe memory layout ofpDescriptorUpdateEntries.static final MemoryLayoutThe memory layout ofpipelineBindPoint.static final MemoryLayoutThe memory layout ofpipelineLayout.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofset.static final MemoryLayoutThe memory layout ofsType.static final MemoryLayoutThe memory layout oftemplateType.static final longThe byte offset ofdescriptorSetLayout.static final longThe byte offset ofdescriptorUpdateEntryCount.static final longThe byte offset offlags.static final longThe byte offset ofpDescriptorUpdateEntries.static final longThe byte offset ofpipelineBindPoint.static final longThe byte offset ofpipelineLayout.static final longThe byte offset ofpNext.static final longThe byte offset ofset.static final longThe byte offset ofsType.static final longThe byte offset oftemplateType.static final VarHandleTheVarHandleofdescriptorSetLayoutof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofdescriptorUpdateEntryCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleofpDescriptorUpdateEntriesof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpipelineBindPointof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpipelineLayoutof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandleTheVarHandleoftemplateTypeof type(MemorySegment base, long baseOffset, long index)MemorySegment. -
Constructor Summary
ConstructorsConstructorDescriptionVkDescriptorUpdateTemplateCreateInfo(MemorySegment segment, long elementCount) CreatesVkDescriptorUpdateTemplateCreateInfowith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkDescriptorUpdateTemplateCreateInfowith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkDescriptorUpdateTemplateCreateInfowith the given segment allocator and count.asSlice(long index) Creates a slice ofVkDescriptorUpdateTemplateCreateInfo.asSlice(long index, long count) Creates a slice ofVkDescriptorUpdateTemplateCreateInfo.at(long index, Consumer<VkDescriptorUpdateTemplateCreateInfo> func) VisitsVkDescriptorUpdateTemplateCreateInfobuffer at the given index.Copies from the given source.longReturnsdescriptorSetLayout.descriptorSetLayout(long value) SetsdescriptorSetLayoutwith the given value.static longdescriptorSetLayout(MemorySegment segment, long index) ReturnsdescriptorSetLayoutat the given index.static voiddescriptorSetLayout(MemorySegment segment, long index, long value) SetsdescriptorSetLayoutwith the given value at the given index.longdescriptorSetLayoutAt(long index) ReturnsdescriptorSetLayoutat the given index.descriptorSetLayoutAt(long index, long value) SetsdescriptorSetLayoutwith the given value at the given index.intReturnsdescriptorUpdateEntryCount.descriptorUpdateEntryCount(int value) SetsdescriptorUpdateEntryCountwith the given value.static intdescriptorUpdateEntryCount(MemorySegment segment, long index) ReturnsdescriptorUpdateEntryCountat the given index.static voiddescriptorUpdateEntryCount(MemorySegment segment, long index, int value) SetsdescriptorUpdateEntryCountwith the given value at the given index.intdescriptorUpdateEntryCountAt(long index) ReturnsdescriptorUpdateEntryCountat the given index.descriptorUpdateEntryCountAt(long index, int value) SetsdescriptorUpdateEntryCountwith the given value at the given index.intflags()Returnsflags.flags(int value) Setsflagswith the given value.static intflags(MemorySegment segment, long index) Returnsflagsat the given index.static voidflags(MemorySegment segment, long index, int value) Setsflagswith the given value at the given index.intflagsAt(long index) Returnsflagsat the given index.flagsAt(long index, int value) Setsflagswith the given value at the given index.of(MemorySegment segment) CreatesVkDescriptorUpdateTemplateCreateInfowith the given segment.ofNative(MemorySegment segment) CreatesVkDescriptorUpdateTemplateCreateInfowith the given segment.ofNative(MemorySegment segment, long count) CreatesVkDescriptorUpdateTemplateCreateInfowith the given segment.ReturnspDescriptorUpdateEntries.SetspDescriptorUpdateEntrieswith the given value.static MemorySegmentpDescriptorUpdateEntries(MemorySegment segment, long index) ReturnspDescriptorUpdateEntriesat the given index.static voidpDescriptorUpdateEntries(MemorySegment segment, long index, MemorySegment value) SetspDescriptorUpdateEntrieswith the given value at the given index.pDescriptorUpdateEntriesAt(long index) ReturnspDescriptorUpdateEntriesat the given index.pDescriptorUpdateEntriesAt(long index, MemorySegment value) SetspDescriptorUpdateEntrieswith the given value at the given index.intReturnspipelineBindPoint.pipelineBindPoint(int value) SetspipelineBindPointwith the given value.static intpipelineBindPoint(MemorySegment segment, long index) ReturnspipelineBindPointat the given index.static voidpipelineBindPoint(MemorySegment segment, long index, int value) SetspipelineBindPointwith the given value at the given index.intpipelineBindPointAt(long index) ReturnspipelineBindPointat the given index.pipelineBindPointAt(long index, int value) SetspipelineBindPointwith the given value at the given index.longReturnspipelineLayout.pipelineLayout(long value) SetspipelineLayoutwith the given value.static longpipelineLayout(MemorySegment segment, long index) ReturnspipelineLayoutat the given index.static voidpipelineLayout(MemorySegment segment, long index, long value) SetspipelineLayoutwith the given value at the given index.longpipelineLayoutAt(long index) ReturnspipelineLayoutat the given index.pipelineLayoutAt(long index, long value) SetspipelineLayoutwith the given value at the given index.pNext()ReturnspNext.pNext(MemorySegment value) SetspNextwith the given value.static MemorySegmentpNext(MemorySegment segment, long index) ReturnspNextat the given index.static voidpNext(MemorySegment segment, long index, MemorySegment value) SetspNextwith the given value at the given index.pNextAt(long index) ReturnspNextat the given index.pNextAt(long index, MemorySegment value) SetspNextwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.intset()Returnsset.set(int value) Setssetwith the given value.static intset(MemorySegment segment, long index) Returnssetat the given index.static voidset(MemorySegment segment, long index, int value) Setssetwith the given value at the given index.intsetAt(long index) Returnssetat the given index.setAt(long index, int value) Setssetwith the given value at the given index.intsType()ReturnssType.sType(int value) SetssTypewith the given value.static intsType(MemorySegment segment, long index) ReturnssTypeat the given index.static voidsType(MemorySegment segment, long index, int value) SetssTypewith the given value at the given index.intsTypeAt(long index) ReturnssTypeat the given index.sTypeAt(long index, int value) SetssTypewith the given value at the given index.intReturnstemplateType.templateType(int value) SetstemplateTypewith the given value.static inttemplateType(MemorySegment segment, long index) ReturnstemplateTypeat the given index.static voidtemplateType(MemorySegment segment, long index, int value) SetstemplateTypewith the given value at the given index.inttemplateTypeAt(long index) ReturnstemplateTypeat the given index.templateTypeAt(long index, int value) SetstemplateTypewith the given value at the given index.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkDescriptorUpdateTemplateCreateInfo. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType. -
LAYOUT_sType
The memory layout ofsType. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext. -
LAYOUT_pNext
The memory layout ofpNext. -
VH_pNext
-
OFFSET_flags
public static final long OFFSET_flagsThe byte offset offlags. -
LAYOUT_flags
The memory layout offlags. -
VH_flags
-
OFFSET_descriptorUpdateEntryCount
public static final long OFFSET_descriptorUpdateEntryCountThe byte offset ofdescriptorUpdateEntryCount. -
LAYOUT_descriptorUpdateEntryCount
The memory layout ofdescriptorUpdateEntryCount. -
VH_descriptorUpdateEntryCount
-
OFFSET_pDescriptorUpdateEntries
public static final long OFFSET_pDescriptorUpdateEntriesThe byte offset ofpDescriptorUpdateEntries. -
LAYOUT_pDescriptorUpdateEntries
The memory layout ofpDescriptorUpdateEntries. -
VH_pDescriptorUpdateEntries
-
OFFSET_templateType
public static final long OFFSET_templateTypeThe byte offset oftemplateType. -
LAYOUT_templateType
The memory layout oftemplateType. -
VH_templateType
-
OFFSET_descriptorSetLayout
public static final long OFFSET_descriptorSetLayoutThe byte offset ofdescriptorSetLayout. -
LAYOUT_descriptorSetLayout
The memory layout ofdescriptorSetLayout. -
VH_descriptorSetLayout
-
OFFSET_pipelineBindPoint
public static final long OFFSET_pipelineBindPointThe byte offset ofpipelineBindPoint. -
LAYOUT_pipelineBindPoint
The memory layout ofpipelineBindPoint. -
VH_pipelineBindPoint
-
OFFSET_pipelineLayout
public static final long OFFSET_pipelineLayoutThe byte offset ofpipelineLayout. -
LAYOUT_pipelineLayout
The memory layout ofpipelineLayout. -
VH_pipelineLayout
-
OFFSET_set
public static final long OFFSET_setThe byte offset ofset. -
LAYOUT_set
The memory layout ofset. -
VH_set
-
-
Constructor Details
-
VkDescriptorUpdateTemplateCreateInfo
CreatesVkDescriptorUpdateTemplateCreateInfowith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkDescriptorUpdateTemplateCreateInfowith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkDescriptorUpdateTemplateCreateInfowith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkDescriptorUpdateTemplateCreateInfowith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkDescriptorUpdateTemplateCreateInfowith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkDescriptorUpdateTemplateCreateInfo
-
alloc
Allocates aVkDescriptorUpdateTemplateCreateInfowith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkDescriptorUpdateTemplateCreateInfo
-
copyFrom
Copies from the given source.- Parameters:
src- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count- the new count- Returns:
- the reinterpreted buffer
-
sType
ReturnssTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sTypeat the given index
-
sType
public int sType()ReturnssType.- Returns:
sType
-
sType
SetssTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sType
SetssTypewith the given value.- Parameters:
value- the value- Returns:
this
-
pNext
ReturnspNextat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pNextat the given index
-
pNext
-
pNext
SetspNextwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pNext
SetspNextwith the given value.- Parameters:
value- the value- Returns:
this
-
flags
Returnsflagsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
flagsat the given index
-
flags
public int flags()Returnsflags.- Returns:
flags
-
flags
Setsflagswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
flags
Setsflagswith the given value.- Parameters:
value- the value- Returns:
this
-
descriptorUpdateEntryCount
ReturnsdescriptorUpdateEntryCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
descriptorUpdateEntryCountat the given index
-
descriptorUpdateEntryCount
public int descriptorUpdateEntryCount()ReturnsdescriptorUpdateEntryCount.- Returns:
descriptorUpdateEntryCount
-
descriptorUpdateEntryCount
SetsdescriptorUpdateEntryCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
descriptorUpdateEntryCount
SetsdescriptorUpdateEntryCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pDescriptorUpdateEntries
ReturnspDescriptorUpdateEntriesat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pDescriptorUpdateEntriesat the given index
-
pDescriptorUpdateEntries
ReturnspDescriptorUpdateEntries.- Returns:
pDescriptorUpdateEntries
-
pDescriptorUpdateEntries
SetspDescriptorUpdateEntrieswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pDescriptorUpdateEntries
SetspDescriptorUpdateEntrieswith the given value.- Parameters:
value- the value- Returns:
this
-
templateType
ReturnstemplateTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
templateTypeat the given index
-
templateType
public int templateType()ReturnstemplateType.- Returns:
templateType
-
templateType
SetstemplateTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
templateType
SetstemplateTypewith the given value.- Parameters:
value- the value- Returns:
this
-
descriptorSetLayout
ReturnsdescriptorSetLayoutat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
descriptorSetLayoutat the given index
-
descriptorSetLayout
public long descriptorSetLayout()ReturnsdescriptorSetLayout.- Returns:
descriptorSetLayout
-
descriptorSetLayout
SetsdescriptorSetLayoutwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
descriptorSetLayout
SetsdescriptorSetLayoutwith the given value.- Parameters:
value- the value- Returns:
this
-
pipelineBindPoint
ReturnspipelineBindPointat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pipelineBindPointat the given index
-
pipelineBindPoint
public int pipelineBindPoint()ReturnspipelineBindPoint.- Returns:
pipelineBindPoint
-
pipelineBindPoint
SetspipelineBindPointwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pipelineBindPoint
SetspipelineBindPointwith the given value.- Parameters:
value- the value- Returns:
this
-
pipelineLayout
ReturnspipelineLayoutat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pipelineLayoutat the given index
-
pipelineLayout
public long pipelineLayout()ReturnspipelineLayout.- Returns:
pipelineLayout
-
pipelineLayout
SetspipelineLayoutwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pipelineLayout
SetspipelineLayoutwith the given value.- Parameters:
value- the value- Returns:
this
-
set
Returnssetat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
setat the given index
-
set
public int set()Returnsset.- Returns:
set
-
set
Setssetwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
set
Setssetwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkDescriptorUpdateTemplateCreateInfo.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkDescriptorUpdateTemplateCreateInfo
-
asSlice
Creates a slice ofVkDescriptorUpdateTemplateCreateInfo.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkDescriptorUpdateTemplateCreateInfo
-
at
public VkDescriptorUpdateTemplateCreateInfo at(long index, Consumer<VkDescriptorUpdateTemplateCreateInfo> func) VisitsVkDescriptorUpdateTemplateCreateInfobuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
sTypeAt
public int sTypeAt(long index) ReturnssTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sTypeat the given index
-
sTypeAt
SetssTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pNextAt
ReturnspNextat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pNextat the given index
-
pNextAt
SetspNextwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
flagsAt
public int flagsAt(long index) Returnsflagsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
flagsat the given index
-
flagsAt
Setsflagswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
descriptorUpdateEntryCountAt
public int descriptorUpdateEntryCountAt(long index) ReturnsdescriptorUpdateEntryCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
descriptorUpdateEntryCountat the given index
-
descriptorUpdateEntryCountAt
SetsdescriptorUpdateEntryCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pDescriptorUpdateEntriesAt
ReturnspDescriptorUpdateEntriesat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pDescriptorUpdateEntriesat the given index
-
pDescriptorUpdateEntriesAt
public VkDescriptorUpdateTemplateCreateInfo pDescriptorUpdateEntriesAt(long index, MemorySegment value) SetspDescriptorUpdateEntrieswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
templateTypeAt
public int templateTypeAt(long index) ReturnstemplateTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
templateTypeat the given index
-
templateTypeAt
SetstemplateTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
descriptorSetLayoutAt
public long descriptorSetLayoutAt(long index) ReturnsdescriptorSetLayoutat the given index.- Parameters:
index- the index of the struct buffer- Returns:
descriptorSetLayoutat the given index
-
descriptorSetLayoutAt
SetsdescriptorSetLayoutwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pipelineBindPointAt
public int pipelineBindPointAt(long index) ReturnspipelineBindPointat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pipelineBindPointat the given index
-
pipelineBindPointAt
SetspipelineBindPointwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pipelineLayoutAt
public long pipelineLayoutAt(long index) ReturnspipelineLayoutat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pipelineLayoutat the given index
-
pipelineLayoutAt
SetspipelineLayoutwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
setAt
public int setAt(long index) Returnssetat the given index.- Parameters:
index- the index of the struct buffer- Returns:
setat the given index
-
setAt
Setssetwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-