Class VkBindDescriptorSetsInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkBindDescriptorSetsInfo
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkBindDescriptorSetsInfo.Buffer
public sealed class VkBindDescriptorSetsInfo
extends GroupType
permits VkBindDescriptorSetsInfo.Buffer
Layout
struct VkBindDescriptorSetsInfo {
(int) VkStructureType sType;
const void* pNext;
((uint32_t) VkFlags) VkShaderStageFlags stageFlags;
(uint64_t) VkPipelineLayout layout;
uint32_t firstSet;
uint32_t descriptorSetCount;
const VkDescriptorSet* pDescriptorSets;
uint32_t dynamicOffsetCount;
const uint32_t* pDynamicOffsets;
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkBindDescriptorSetsInfo
.static final MemoryLayout
The memory layout ofdescriptorSetCount
.static final MemoryLayout
The memory layout ofdynamicOffsetCount
.static final MemoryLayout
The memory layout offirstSet
.static final MemoryLayout
The memory layout oflayout
.static final MemoryLayout
The memory layout ofpDescriptorSets
.static final MemoryLayout
The memory layout ofpDynamicOffsets
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofstageFlags
.static final MemoryLayout
The memory layout ofsType
.static final long
The byte offset ofdescriptorSetCount
.static final long
The byte offset ofdynamicOffsetCount
.static final long
The byte offset offirstSet
.static final long
The byte offset oflayout
.static final long
The byte offset ofpDescriptorSets
.static final long
The byte offset ofpDynamicOffsets
.static final long
The byte offset ofpNext
.static final long
The byte offset ofstageFlags
.static final long
The byte offset ofsType
.static final VarHandle
TheVarHandle
ofdescriptorSetCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofdynamicOffsetCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
TheVarHandle
ofpDescriptorSets
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpDynamicOffsets
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkBindDescriptorSetsInfo
(MemorySegment segment) CreatesVkBindDescriptorSetsInfo
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkBindDescriptorSetsInfo
alloc
(SegmentAllocator allocator) Allocates aVkBindDescriptorSetsInfo
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkBindDescriptorSetsInfo
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.Copies from the given source.int
ReturnsdescriptorSetCount
.descriptorSetCount
(int value) SetsdescriptorSetCount
with the given value.static int
descriptorSetCount
(MemorySegment segment, long index) ReturnsdescriptorSetCount
at the given index.static void
descriptorSetCount
(MemorySegment segment, long index, int value) SetsdescriptorSetCount
with the given value at the given index.int
ReturnsdynamicOffsetCount
.dynamicOffsetCount
(int value) SetsdynamicOffsetCount
with the given value.static int
dynamicOffsetCount
(MemorySegment segment, long index) ReturnsdynamicOffsetCount
at the given index.static void
dynamicOffsetCount
(MemorySegment segment, long index, int value) SetsdynamicOffsetCount
with the given value at the given index.int
firstSet()
ReturnsfirstSet
.firstSet
(int value) SetsfirstSet
with the given value.static int
firstSet
(MemorySegment segment, long index) ReturnsfirstSet
at the given index.static void
firstSet
(MemorySegment segment, long index, int value) SetsfirstSet
with the given value at the given index.long
layout()
Returnslayout
.layout
(long value) Setslayout
with the given value.static long
layout
(MemorySegment segment, long index) Returnslayout
at the given index.static void
layout
(MemorySegment segment, long index, long value) Setslayout
with the given value at the given index.of
(MemorySegment segment) CreatesVkBindDescriptorSetsInfo
with the given segment.static VkBindDescriptorSetsInfo
ofNative
(MemorySegment segment) CreatesVkBindDescriptorSetsInfo
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkBindDescriptorSetsInfo
with the given segment.ReturnspDescriptorSets
.pDescriptorSets
(MemorySegment value) SetspDescriptorSets
with the given value.static MemorySegment
pDescriptorSets
(MemorySegment segment, long index) ReturnspDescriptorSets
at the given index.static void
pDescriptorSets
(MemorySegment segment, long index, MemorySegment value) SetspDescriptorSets
with the given value at the given index.ReturnspDynamicOffsets
.pDynamicOffsets
(MemorySegment value) SetspDynamicOffsets
with the given value.static MemorySegment
pDynamicOffsets
(MemorySegment segment, long index) ReturnspDynamicOffsets
at the given index.static void
pDynamicOffsets
(MemorySegment segment, long index, MemorySegment value) SetspDynamicOffsets
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
ReturnsstageFlags
.stageFlags
(int value) SetsstageFlags
with the given value.static int
stageFlags
(MemorySegment segment, long index) ReturnsstageFlags
at the given index.static void
stageFlags
(MemorySegment segment, long index, int value) SetsstageFlags
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.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkBindDescriptorSetsInfo
. -
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_stageFlags
public static final long OFFSET_stageFlagsThe byte offset ofstageFlags
. -
LAYOUT_stageFlags
The memory layout ofstageFlags
. -
VH_stageFlags
-
OFFSET_layout
public static final long OFFSET_layoutThe byte offset oflayout
. -
LAYOUT_layout
The memory layout oflayout
. -
VH_layout
-
OFFSET_firstSet
public static final long OFFSET_firstSetThe byte offset offirstSet
. -
LAYOUT_firstSet
The memory layout offirstSet
. -
VH_firstSet
-
OFFSET_descriptorSetCount
public static final long OFFSET_descriptorSetCountThe byte offset ofdescriptorSetCount
. -
LAYOUT_descriptorSetCount
The memory layout ofdescriptorSetCount
. -
VH_descriptorSetCount
-
OFFSET_pDescriptorSets
public static final long OFFSET_pDescriptorSetsThe byte offset ofpDescriptorSets
. -
LAYOUT_pDescriptorSets
The memory layout ofpDescriptorSets
. -
VH_pDescriptorSets
-
OFFSET_dynamicOffsetCount
public static final long OFFSET_dynamicOffsetCountThe byte offset ofdynamicOffsetCount
. -
LAYOUT_dynamicOffsetCount
The memory layout ofdynamicOffsetCount
. -
VH_dynamicOffsetCount
-
OFFSET_pDynamicOffsets
public static final long OFFSET_pDynamicOffsetsThe byte offset ofpDynamicOffsets
. -
LAYOUT_pDynamicOffsets
The memory layout ofpDynamicOffsets
. -
VH_pDynamicOffsets
-
-
Constructor Details
-
VkBindDescriptorSetsInfo
CreatesVkBindDescriptorSetsInfo
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkBindDescriptorSetsInfo
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkBindDescriptorSetsInfo
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
VkBindDescriptorSetsInfo
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 aVkBindDescriptorSetsInfo
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkBindDescriptorSetsInfo
-
alloc
Allocates aVkBindDescriptorSetsInfo
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkBindDescriptorSetsInfo
-
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
-
stageFlags
ReturnsstageFlags
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
stageFlags
at the given index
-
stageFlags
public int stageFlags()ReturnsstageFlags
.- Returns:
stageFlags
-
stageFlags
SetsstageFlags
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
stageFlags
SetsstageFlags
with the given value.- Parameters:
value
- the value- Returns:
this
-
layout
Returnslayout
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
layout
at the given index
-
layout
public long layout()Returnslayout
.- Returns:
layout
-
layout
Setslayout
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
layout
Setslayout
with the given value.- Parameters:
value
- the value- Returns:
this
-
firstSet
ReturnsfirstSet
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
firstSet
at the given index
-
firstSet
public int firstSet()ReturnsfirstSet
.- Returns:
firstSet
-
firstSet
SetsfirstSet
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
firstSet
SetsfirstSet
with the given value.- Parameters:
value
- the value- Returns:
this
-
descriptorSetCount
ReturnsdescriptorSetCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
descriptorSetCount
at the given index
-
descriptorSetCount
public int descriptorSetCount()ReturnsdescriptorSetCount
.- Returns:
descriptorSetCount
-
descriptorSetCount
SetsdescriptorSetCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
descriptorSetCount
SetsdescriptorSetCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pDescriptorSets
ReturnspDescriptorSets
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pDescriptorSets
at the given index
-
pDescriptorSets
-
pDescriptorSets
SetspDescriptorSets
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pDescriptorSets
SetspDescriptorSets
with the given value.- Parameters:
value
- the value- Returns:
this
-
dynamicOffsetCount
ReturnsdynamicOffsetCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
dynamicOffsetCount
at the given index
-
dynamicOffsetCount
public int dynamicOffsetCount()ReturnsdynamicOffsetCount
.- Returns:
dynamicOffsetCount
-
dynamicOffsetCount
SetsdynamicOffsetCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
dynamicOffsetCount
SetsdynamicOffsetCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pDynamicOffsets
ReturnspDynamicOffsets
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pDynamicOffsets
at the given index
-
pDynamicOffsets
-
pDynamicOffsets
SetspDynamicOffsets
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pDynamicOffsets
SetspDynamicOffsets
with the given value.- Parameters:
value
- the value- Returns:
this
-