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;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A buffer ofVkDescriptorUpdateTemplateCreateInfo
. -
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
ConstructorsConstructorDescriptionCreatesVkDescriptorUpdateTemplateCreateInfo
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.asBuffer()
Converts this instance to a buffer.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.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
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.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.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.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.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.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
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
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.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 segment
-
-
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
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 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
public static VkDescriptorUpdateTemplateCreateInfo.Buffer alloc(SegmentAllocator allocator, long count) 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
-
asBuffer
Converts this instance to a buffer.- Returns:
- the 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
-