Class VkDescriptorUpdateTemplateCreateInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkDescriptorUpdateTemplateCreateInfo
- All Implemented Interfaces:
Addressable
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 GroupLayout
The struct layout ofVkDescriptorUpdateTemplateCreateInfo
.static final MemoryLayout
The memory layout ofdescriptorSetLayout
.static final MemoryLayout
The memory layout ofdescriptorUpdateEntryCount
.static final MemoryLayout
The memory layout offlags
.static final MemoryLayout
The memory layout ofpDescriptorUpdateEntries
.static final MemoryLayout
The memory layout ofpipelineBindPoint
.static final MemoryLayout
The memory layout ofpipelineLayout
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofset
.static final MemoryLayout
The memory layout ofsType
.static final MemoryLayout
The memory layout oftemplateType
.static final long
The byte offset ofdescriptorSetLayout
.static final long
The byte offset ofdescriptorUpdateEntryCount
.static final long
The byte offset offlags
.static final long
The byte offset ofpDescriptorUpdateEntries
.static final long
The byte offset ofpipelineBindPoint
.static final long
The byte offset ofpipelineLayout
.static final long
The byte offset ofpNext
.static final long
The byte offset ofset
.static final long
The byte offset ofsType
.static final long
The byte offset oftemplateType
.static final VarHandle
TheVarHandle
ofdescriptorSetLayout
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofdescriptorUpdateEntryCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofpDescriptorUpdateEntries
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpipelineBindPoint
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpipelineLayout
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
TheVarHandle
oftemplateType
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionVkDescriptorUpdateTemplateCreateInfo
(MemorySegment segment, long elementCount) CreatesVkDescriptorUpdateTemplateCreateInfo
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkDescriptorUpdateTemplateCreateInfo
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkDescriptorUpdateTemplateCreateInfo
with 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) VisitsVkDescriptorUpdateTemplateCreateInfo
buffer at the given index.Copies from the given source.long
ReturnsdescriptorSetLayout
.descriptorSetLayout
(long value) SetsdescriptorSetLayout
with the given value.static long
descriptorSetLayout
(MemorySegment segment, long index) ReturnsdescriptorSetLayout
at the given index.static void
descriptorSetLayout
(MemorySegment segment, long index, long value) SetsdescriptorSetLayout
with the given value at the given index.long
descriptorSetLayoutAt
(long index) ReturnsdescriptorSetLayout
at the given index.descriptorSetLayoutAt
(long index, long value) SetsdescriptorSetLayout
with the given value at the given index.int
ReturnsdescriptorUpdateEntryCount
.descriptorUpdateEntryCount
(int value) SetsdescriptorUpdateEntryCount
with the given value.static int
descriptorUpdateEntryCount
(MemorySegment segment, long index) ReturnsdescriptorUpdateEntryCount
at the given index.static void
descriptorUpdateEntryCount
(MemorySegment segment, long index, int value) SetsdescriptorUpdateEntryCount
with the given value at the given index.int
descriptorUpdateEntryCountAt
(long index) ReturnsdescriptorUpdateEntryCount
at the given index.descriptorUpdateEntryCountAt
(long index, int value) SetsdescriptorUpdateEntryCount
with the given value at the given index.int
flags()
Returnsflags
.flags
(int value) Setsflags
with the given value.static int
flags
(MemorySegment segment, long index) Returnsflags
at the given index.static void
flags
(MemorySegment segment, long index, int value) Setsflags
with the given value at the given index.int
flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, int value) Setsflags
with the given value at the given index.of
(MemorySegment segment) CreatesVkDescriptorUpdateTemplateCreateInfo
with the given segment.ofNative
(MemorySegment segment) CreatesVkDescriptorUpdateTemplateCreateInfo
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkDescriptorUpdateTemplateCreateInfo
with the given segment.ReturnspDescriptorUpdateEntries
.SetspDescriptorUpdateEntries
with the given value.static MemorySegment
pDescriptorUpdateEntries
(MemorySegment segment, long index) ReturnspDescriptorUpdateEntries
at the given index.static void
pDescriptorUpdateEntries
(MemorySegment segment, long index, MemorySegment value) SetspDescriptorUpdateEntries
with the given value at the given index.pDescriptorUpdateEntriesAt
(long index) ReturnspDescriptorUpdateEntries
at the given index.pDescriptorUpdateEntriesAt
(long index, MemorySegment value) SetspDescriptorUpdateEntries
with the given value at the given index.int
ReturnspipelineBindPoint
.pipelineBindPoint
(int value) SetspipelineBindPoint
with the given value.static int
pipelineBindPoint
(MemorySegment segment, long index) ReturnspipelineBindPoint
at the given index.static void
pipelineBindPoint
(MemorySegment segment, long index, int value) SetspipelineBindPoint
with the given value at the given index.int
pipelineBindPointAt
(long index) ReturnspipelineBindPoint
at the given index.pipelineBindPointAt
(long index, int value) SetspipelineBindPoint
with the given value at the given index.long
ReturnspipelineLayout
.pipelineLayout
(long value) SetspipelineLayout
with the given value.static long
pipelineLayout
(MemorySegment segment, long index) ReturnspipelineLayout
at the given index.static void
pipelineLayout
(MemorySegment segment, long index, long value) SetspipelineLayout
with the given value at the given index.long
pipelineLayoutAt
(long index) ReturnspipelineLayout
at the given index.pipelineLayoutAt
(long index, long value) SetspipelineLayout
with the given value at the given index.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.reinterpret
(long count) Reinterprets this buffer with the given count.int
set()
Returnsset
.set
(int value) Setsset
with the given value.static int
set
(MemorySegment segment, long index) Returnsset
at the given index.static void
set
(MemorySegment segment, long index, int value) Setsset
with the given value at the given index.int
setAt
(long index) Returnsset
at the given index.setAt
(long index, int value) Setsset
with the given value at the given index.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.int
ReturnstemplateType
.templateType
(int value) SetstemplateType
with the given value.static int
templateType
(MemorySegment segment, long index) ReturnstemplateType
at the given index.static void
templateType
(MemorySegment segment, long index, int value) SetstemplateType
with the given value at the given index.int
templateTypeAt
(long index) ReturnstemplateType
at the given index.templateTypeAt
(long index, int value) SetstemplateType
with the given value at the given index.Methods inherited from class overrungl.struct.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
CreatesVkDescriptorUpdateTemplateCreateInfo
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkDescriptorUpdateTemplateCreateInfo
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
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 isNULL
-
ofNative
Creates
VkDescriptorUpdateTemplateCreateInfo
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkDescriptorUpdateTemplateCreateInfo
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkDescriptorUpdateTemplateCreateInfo
-
alloc
Allocates aVkDescriptorUpdateTemplateCreateInfo
with 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
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
flags
Returnsflags
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
flags
at the given index
-
flags
public int flags()Returnsflags
.- Returns:
flags
-
flags
Setsflags
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
flags
Setsflags
with the given value.- Parameters:
value
- the value- Returns:
this
-
descriptorUpdateEntryCount
ReturnsdescriptorUpdateEntryCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
descriptorUpdateEntryCount
at the given index
-
descriptorUpdateEntryCount
public int descriptorUpdateEntryCount()ReturnsdescriptorUpdateEntryCount
.- Returns:
descriptorUpdateEntryCount
-
descriptorUpdateEntryCount
SetsdescriptorUpdateEntryCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
descriptorUpdateEntryCount
SetsdescriptorUpdateEntryCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pDescriptorUpdateEntries
ReturnspDescriptorUpdateEntries
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pDescriptorUpdateEntries
at the given index
-
pDescriptorUpdateEntries
ReturnspDescriptorUpdateEntries
.- Returns:
pDescriptorUpdateEntries
-
pDescriptorUpdateEntries
SetspDescriptorUpdateEntries
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pDescriptorUpdateEntries
SetspDescriptorUpdateEntries
with the given value.- Parameters:
value
- the value- Returns:
this
-
templateType
ReturnstemplateType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
templateType
at the given index
-
templateType
public int templateType()ReturnstemplateType
.- Returns:
templateType
-
templateType
SetstemplateType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
templateType
SetstemplateType
with the given value.- Parameters:
value
- the value- Returns:
this
-
descriptorSetLayout
ReturnsdescriptorSetLayout
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
descriptorSetLayout
at the given index
-
descriptorSetLayout
public long descriptorSetLayout()ReturnsdescriptorSetLayout
.- Returns:
descriptorSetLayout
-
descriptorSetLayout
SetsdescriptorSetLayout
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
descriptorSetLayout
SetsdescriptorSetLayout
with the given value.- Parameters:
value
- the value- Returns:
this
-
pipelineBindPoint
ReturnspipelineBindPoint
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pipelineBindPoint
at the given index
-
pipelineBindPoint
public int pipelineBindPoint()ReturnspipelineBindPoint
.- Returns:
pipelineBindPoint
-
pipelineBindPoint
SetspipelineBindPoint
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pipelineBindPoint
SetspipelineBindPoint
with the given value.- Parameters:
value
- the value- Returns:
this
-
pipelineLayout
ReturnspipelineLayout
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pipelineLayout
at the given index
-
pipelineLayout
public long pipelineLayout()ReturnspipelineLayout
.- Returns:
pipelineLayout
-
pipelineLayout
SetspipelineLayout
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pipelineLayout
SetspipelineLayout
with the given value.- Parameters:
value
- the value- Returns:
this
-
set
Returnsset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
set
at the given index
-
set
public int set()Returnsset
.- Returns:
set
-
set
Setsset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
set
Setsset
with 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) VisitsVkDescriptorUpdateTemplateCreateInfo
buffer 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) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with 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) Returnsflags
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
flags
at the given index
-
flagsAt
Setsflags
with 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) ReturnsdescriptorUpdateEntryCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
descriptorUpdateEntryCount
at the given index
-
descriptorUpdateEntryCountAt
SetsdescriptorUpdateEntryCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pDescriptorUpdateEntriesAt
ReturnspDescriptorUpdateEntries
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) SetspDescriptorUpdateEntries
with 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) ReturnstemplateType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
templateType
at the given index
-
templateTypeAt
SetstemplateType
with 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) ReturnsdescriptorSetLayout
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
descriptorSetLayout
at the given index
-
descriptorSetLayoutAt
SetsdescriptorSetLayout
with 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) ReturnspipelineBindPoint
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pipelineBindPoint
at the given index
-
pipelineBindPointAt
SetspipelineBindPoint
with 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) ReturnspipelineLayout
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pipelineLayout
at the given index
-
pipelineLayoutAt
SetspipelineLayout
with 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) Returnsset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
set
at the given index
-
setAt
Setsset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-