Class VkBindDescriptorSetsInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkBindDescriptorSetsInfo
- All Implemented Interfaces:
Addressable
Represents VkBindDescriptorSetsInfo.
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;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkBindDescriptorSetsInfo.static final MemoryLayoutThe memory layout ofdescriptorSetCount.static final MemoryLayoutThe memory layout ofdynamicOffsetCount.static final MemoryLayoutThe memory layout offirstSet.static final MemoryLayoutThe memory layout oflayout.static final MemoryLayoutThe memory layout ofpDescriptorSets.static final MemoryLayoutThe memory layout ofpDynamicOffsets.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofstageFlags.static final MemoryLayoutThe memory layout ofsType.static final longThe byte offset ofdescriptorSetCount.static final longThe byte offset ofdynamicOffsetCount.static final longThe byte offset offirstSet.static final longThe byte offset oflayout.static final longThe byte offset ofpDescriptorSets.static final longThe byte offset ofpDynamicOffsets.static final longThe byte offset ofpNext.static final longThe byte offset ofstageFlags.static final longThe byte offset ofsType.static final VarHandleTheVarHandleofdescriptorSetCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofdynamicOffsetCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandlestatic final VarHandleTheVarHandleofpDescriptorSetsof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpDynamicOffsetsof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkBindDescriptorSetsInfo(MemorySegment segment, long elementCount) CreatesVkBindDescriptorSetsInfowith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkBindDescriptorSetsInfoalloc(SegmentAllocator allocator) Allocates aVkBindDescriptorSetsInfowith the given segment allocator.static VkBindDescriptorSetsInfoalloc(SegmentAllocator allocator, long count) Allocates aVkBindDescriptorSetsInfowith the given segment allocator and count.asSlice(long index) Creates a slice ofVkBindDescriptorSetsInfo.asSlice(long index, long count) Creates a slice ofVkBindDescriptorSetsInfo.at(long index, Consumer<VkBindDescriptorSetsInfo> func) VisitsVkBindDescriptorSetsInfobuffer at the given index.Copies from the given source.intReturnsdescriptorSetCount.descriptorSetCount(int value) SetsdescriptorSetCountwith the given value.static intdescriptorSetCount(MemorySegment segment, long index) ReturnsdescriptorSetCountat the given index.static voiddescriptorSetCount(MemorySegment segment, long index, int value) SetsdescriptorSetCountwith the given value at the given index.intdescriptorSetCountAt(long index) ReturnsdescriptorSetCountat the given index.descriptorSetCountAt(long index, int value) SetsdescriptorSetCountwith the given value at the given index.intReturnsdynamicOffsetCount.dynamicOffsetCount(int value) SetsdynamicOffsetCountwith the given value.static intdynamicOffsetCount(MemorySegment segment, long index) ReturnsdynamicOffsetCountat the given index.static voiddynamicOffsetCount(MemorySegment segment, long index, int value) SetsdynamicOffsetCountwith the given value at the given index.intdynamicOffsetCountAt(long index) ReturnsdynamicOffsetCountat the given index.dynamicOffsetCountAt(long index, int value) SetsdynamicOffsetCountwith the given value at the given index.intfirstSet()ReturnsfirstSet.firstSet(int value) SetsfirstSetwith the given value.static intfirstSet(MemorySegment segment, long index) ReturnsfirstSetat the given index.static voidfirstSet(MemorySegment segment, long index, int value) SetsfirstSetwith the given value at the given index.intfirstSetAt(long index) ReturnsfirstSetat the given index.firstSetAt(long index, int value) SetsfirstSetwith the given value at the given index.longlayout()Returnslayout.layout(long value) Setslayoutwith the given value.static longlayout(MemorySegment segment, long index) Returnslayoutat the given index.static voidlayout(MemorySegment segment, long index, long value) Setslayoutwith the given value at the given index.longlayoutAt(long index) Returnslayoutat the given index.layoutAt(long index, long value) Setslayoutwith the given value at the given index.static VkBindDescriptorSetsInfoof(MemorySegment segment) CreatesVkBindDescriptorSetsInfowith the given segment.static VkBindDescriptorSetsInfoofNative(MemorySegment segment) CreatesVkBindDescriptorSetsInfowith the given segment.static VkBindDescriptorSetsInfoofNative(MemorySegment segment, long count) CreatesVkBindDescriptorSetsInfowith the given segment.ReturnspDescriptorSets.pDescriptorSets(MemorySegment value) SetspDescriptorSetswith the given value.static MemorySegmentpDescriptorSets(MemorySegment segment, long index) ReturnspDescriptorSetsat the given index.static voidpDescriptorSets(MemorySegment segment, long index, MemorySegment value) SetspDescriptorSetswith the given value at the given index.pDescriptorSetsAt(long index) ReturnspDescriptorSetsat the given index.pDescriptorSetsAt(long index, MemorySegment value) SetspDescriptorSetswith the given value at the given index.ReturnspDynamicOffsets.pDynamicOffsets(MemorySegment value) SetspDynamicOffsetswith the given value.static MemorySegmentpDynamicOffsets(MemorySegment segment, long index) ReturnspDynamicOffsetsat the given index.static voidpDynamicOffsets(MemorySegment segment, long index, MemorySegment value) SetspDynamicOffsetswith the given value at the given index.pDynamicOffsetsAt(long index) ReturnspDynamicOffsetsat the given index.pDynamicOffsetsAt(long index, MemorySegment value) SetspDynamicOffsetswith 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.intReturnsstageFlags.stageFlags(int value) SetsstageFlagswith the given value.static intstageFlags(MemorySegment segment, long index) ReturnsstageFlagsat the given index.static voidstageFlags(MemorySegment segment, long index, int value) SetsstageFlagswith the given value at the given index.intstageFlagsAt(long index) ReturnsstageFlagsat the given index.stageFlagsAt(long index, int value) SetsstageFlagswith 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.Methods inherited from class 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
CreatesVkBindDescriptorSetsInfowith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkBindDescriptorSetsInfowith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkBindDescriptorSetsInfowith 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
VkBindDescriptorSetsInfowith 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 aVkBindDescriptorSetsInfowith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkBindDescriptorSetsInfo
-
alloc
Allocates aVkBindDescriptorSetsInfowith 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
-
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
-
stageFlags
ReturnsstageFlagsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
stageFlagsat the given index
-
stageFlags
public int stageFlags()ReturnsstageFlags.- Returns:
stageFlags
-
stageFlags
SetsstageFlagswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
stageFlags
SetsstageFlagswith the given value.- Parameters:
value- the value- Returns:
this
-
layout
Returnslayoutat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
layoutat the given index
-
layout
public long layout()Returnslayout.- Returns:
layout
-
layout
Setslayoutwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
layout
Setslayoutwith the given value.- Parameters:
value- the value- Returns:
this
-
firstSet
ReturnsfirstSetat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
firstSetat the given index
-
firstSet
public int firstSet()ReturnsfirstSet.- Returns:
firstSet
-
firstSet
SetsfirstSetwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
firstSet
SetsfirstSetwith the given value.- Parameters:
value- the value- Returns:
this
-
descriptorSetCount
ReturnsdescriptorSetCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
descriptorSetCountat the given index
-
descriptorSetCount
public int descriptorSetCount()ReturnsdescriptorSetCount.- Returns:
descriptorSetCount
-
descriptorSetCount
SetsdescriptorSetCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
descriptorSetCount
SetsdescriptorSetCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pDescriptorSets
ReturnspDescriptorSetsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pDescriptorSetsat the given index
-
pDescriptorSets
-
pDescriptorSets
SetspDescriptorSetswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pDescriptorSets
SetspDescriptorSetswith the given value.- Parameters:
value- the value- Returns:
this
-
dynamicOffsetCount
ReturnsdynamicOffsetCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
dynamicOffsetCountat the given index
-
dynamicOffsetCount
public int dynamicOffsetCount()ReturnsdynamicOffsetCount.- Returns:
dynamicOffsetCount
-
dynamicOffsetCount
SetsdynamicOffsetCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
dynamicOffsetCount
SetsdynamicOffsetCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pDynamicOffsets
ReturnspDynamicOffsetsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pDynamicOffsetsat the given index
-
pDynamicOffsets
-
pDynamicOffsets
SetspDynamicOffsetswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pDynamicOffsets
SetspDynamicOffsetswith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkBindDescriptorSetsInfo.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkBindDescriptorSetsInfo
-
asSlice
Creates a slice ofVkBindDescriptorSetsInfo.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkBindDescriptorSetsInfo
-
at
VisitsVkBindDescriptorSetsInfobuffer 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
-
stageFlagsAt
public int stageFlagsAt(long index) ReturnsstageFlagsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
stageFlagsat the given index
-
stageFlagsAt
SetsstageFlagswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
layoutAt
public long layoutAt(long index) Returnslayoutat the given index.- Parameters:
index- the index of the struct buffer- Returns:
layoutat the given index
-
layoutAt
Setslayoutwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
firstSetAt
public int firstSetAt(long index) ReturnsfirstSetat the given index.- Parameters:
index- the index of the struct buffer- Returns:
firstSetat the given index
-
firstSetAt
SetsfirstSetwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
descriptorSetCountAt
public int descriptorSetCountAt(long index) ReturnsdescriptorSetCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
descriptorSetCountat the given index
-
descriptorSetCountAt
SetsdescriptorSetCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pDescriptorSetsAt
ReturnspDescriptorSetsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pDescriptorSetsat the given index
-
pDescriptorSetsAt
SetspDescriptorSetswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
dynamicOffsetCountAt
public int dynamicOffsetCountAt(long index) ReturnsdynamicOffsetCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
dynamicOffsetCountat the given index
-
dynamicOffsetCountAt
SetsdynamicOffsetCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pDynamicOffsetsAt
ReturnspDynamicOffsetsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pDynamicOffsetsat the given index
-
pDynamicOffsetsAt
SetspDynamicOffsetswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-