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 SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionVkBindDescriptorSetsInfo(MemorySegment segment, long elementCount) CreatesVkBindDescriptorSetsInfowith the given segment.
- 
Method SummaryModifier 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 GroupTypeestimateCount, estimateCount, groupLayout, segment
- 
Field Details- 
LAYOUTThe struct layout ofVkBindDescriptorSetsInfo.
- 
OFFSET_sTypepublic static final long OFFSET_sTypeThe byte offset ofsType.
- 
LAYOUT_sTypeThe memory layout ofsType.
- 
VH_sType
- 
OFFSET_pNextpublic static final long OFFSET_pNextThe byte offset ofpNext.
- 
LAYOUT_pNextThe memory layout ofpNext.
- 
VH_pNext
- 
OFFSET_stageFlagspublic static final long OFFSET_stageFlagsThe byte offset ofstageFlags.
- 
LAYOUT_stageFlagsThe memory layout ofstageFlags.
- 
VH_stageFlags
- 
OFFSET_layoutpublic static final long OFFSET_layoutThe byte offset oflayout.
- 
LAYOUT_layoutThe memory layout oflayout.
- 
VH_layout
- 
OFFSET_firstSetpublic static final long OFFSET_firstSetThe byte offset offirstSet.
- 
LAYOUT_firstSetThe memory layout offirstSet.
- 
VH_firstSet
- 
OFFSET_descriptorSetCountpublic static final long OFFSET_descriptorSetCountThe byte offset ofdescriptorSetCount.
- 
LAYOUT_descriptorSetCountThe memory layout ofdescriptorSetCount.
- 
VH_descriptorSetCount
- 
OFFSET_pDescriptorSetspublic static final long OFFSET_pDescriptorSetsThe byte offset ofpDescriptorSets.
- 
LAYOUT_pDescriptorSetsThe memory layout ofpDescriptorSets.
- 
VH_pDescriptorSets
- 
OFFSET_dynamicOffsetCountpublic static final long OFFSET_dynamicOffsetCountThe byte offset ofdynamicOffsetCount.
- 
LAYOUT_dynamicOffsetCountThe memory layout ofdynamicOffsetCount.
- 
VH_dynamicOffsetCount
- 
OFFSET_pDynamicOffsetspublic static final long OFFSET_pDynamicOffsetsThe byte offset ofpDynamicOffsets.
- 
LAYOUT_pDynamicOffsetsThe memory layout ofpDynamicOffsets.
- 
VH_pDynamicOffsets
 
- 
- 
Constructor Details- 
VkBindDescriptorSetsInfoCreatesVkBindDescriptorSetsInfowith the given segment.- Parameters:
- segment- the memory segment
- elementCount- the element count of this struct buffer
 
 
- 
- 
Method Details- 
ofCreatesVkBindDescriptorSetsInfowith the given segment.- Parameters:
- segment- the memory segment
- Returns:
- the created instance or nullif the segment isNULL
 
- 
ofNativeCreates VkBindDescriptorSetsInfowith the given segment.Reinterprets the segment if zero-length. - Parameters:
- segment- the memory segment
- Returns:
- the created instance or nullif the segment isNULL
 
- 
ofNativeCreates VkBindDescriptorSetsInfowith the given segment.Reinterprets the segment if zero-length. - Parameters:
- segment- the memory segment
- count- the count of the buffer
- Returns:
- the created instance or nullif the segment isNULL
 
- 
allocAllocates aVkBindDescriptorSetsInfowith the given segment allocator.- Parameters:
- allocator- the segment allocator
- Returns:
- the allocated VkBindDescriptorSetsInfo
 
- 
allocAllocates aVkBindDescriptorSetsInfowith the given segment allocator and count.- Parameters:
- allocator- the segment allocator
- count- the count
- Returns:
- the allocated VkBindDescriptorSetsInfo
 
- 
copyFromCopies from the given source.- Parameters:
- src- the source
- Returns:
- this
 
- 
reinterpretReinterprets this buffer with the given count.- Parameters:
- count- the new count
- Returns:
- the reinterpreted buffer
 
- 
sTypeReturnssTypeat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- sTypeat the given index
 
- 
sTypepublic int sType()ReturnssType.- Returns:
- sType
 
- 
sTypeSetssTypewith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
sTypeSetssTypewith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
pNextReturnspNextat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- pNextat the given index
 
- 
pNext
- 
pNextSetspNextwith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
pNextSetspNextwith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
stageFlagsReturnsstageFlagsat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- stageFlagsat the given index
 
- 
stageFlagspublic int stageFlags()ReturnsstageFlags.- Returns:
- stageFlags
 
- 
stageFlagsSetsstageFlagswith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
stageFlagsSetsstageFlagswith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
layoutReturnslayoutat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- layoutat the given index
 
- 
layoutpublic long layout()Returnslayout.- Returns:
- layout
 
- 
layoutSetslayoutwith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
layoutSetslayoutwith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
firstSetReturnsfirstSetat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- firstSetat the given index
 
- 
firstSetpublic int firstSet()ReturnsfirstSet.- Returns:
- firstSet
 
- 
firstSetSetsfirstSetwith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
firstSetSetsfirstSetwith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
descriptorSetCountReturnsdescriptorSetCountat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- descriptorSetCountat the given index
 
- 
descriptorSetCountpublic int descriptorSetCount()ReturnsdescriptorSetCount.- Returns:
- descriptorSetCount
 
- 
descriptorSetCountSetsdescriptorSetCountwith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
descriptorSetCountSetsdescriptorSetCountwith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
pDescriptorSetsReturnspDescriptorSetsat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- pDescriptorSetsat the given index
 
- 
pDescriptorSets
- 
pDescriptorSetsSetspDescriptorSetswith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
pDescriptorSetsSetspDescriptorSetswith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
dynamicOffsetCountReturnsdynamicOffsetCountat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- dynamicOffsetCountat the given index
 
- 
dynamicOffsetCountpublic int dynamicOffsetCount()ReturnsdynamicOffsetCount.- Returns:
- dynamicOffsetCount
 
- 
dynamicOffsetCountSetsdynamicOffsetCountwith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
dynamicOffsetCountSetsdynamicOffsetCountwith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
pDynamicOffsetsReturnspDynamicOffsetsat the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- Returns:
- pDynamicOffsetsat the given index
 
- 
pDynamicOffsets
- 
pDynamicOffsetsSetspDynamicOffsetswith the given value at the given index.- Parameters:
- segment- the segment of the struct
- index- the index of the struct buffer
- value- the value
 
- 
pDynamicOffsetsSetspDynamicOffsetswith the given value.- Parameters:
- value- the value
- Returns:
- this
 
- 
asSliceCreates a slice ofVkBindDescriptorSetsInfo.- Parameters:
- index- the index of the struct buffer
- Returns:
- the slice of VkBindDescriptorSetsInfo
 
- 
asSliceCreates a slice ofVkBindDescriptorSetsInfo.- Parameters:
- index- the index of the struct buffer
- count- the count
- Returns:
- the slice of VkBindDescriptorSetsInfo
 
- 
atVisitsVkBindDescriptorSetsInfobuffer at the given index.- Parameters:
- index- the index of this buffer
- func- the function to run with the slice of this buffer
- Returns:
- this
 
- 
sTypeAtpublic int sTypeAt(long index) ReturnssTypeat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- sTypeat the given index
 
- 
sTypeAtSetssTypewith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
pNextAtReturnspNextat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- pNextat the given index
 
- 
pNextAtSetspNextwith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
stageFlagsAtpublic int stageFlagsAt(long index) ReturnsstageFlagsat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- stageFlagsat the given index
 
- 
stageFlagsAtSetsstageFlagswith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
layoutAtpublic long layoutAt(long index) Returnslayoutat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- layoutat the given index
 
- 
layoutAtSetslayoutwith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
firstSetAtpublic int firstSetAt(long index) ReturnsfirstSetat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- firstSetat the given index
 
- 
firstSetAtSetsfirstSetwith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
descriptorSetCountAtpublic int descriptorSetCountAt(long index) ReturnsdescriptorSetCountat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- descriptorSetCountat the given index
 
- 
descriptorSetCountAtSetsdescriptorSetCountwith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
pDescriptorSetsAtReturnspDescriptorSetsat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- pDescriptorSetsat the given index
 
- 
pDescriptorSetsAtSetspDescriptorSetswith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
dynamicOffsetCountAtpublic int dynamicOffsetCountAt(long index) ReturnsdynamicOffsetCountat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- dynamicOffsetCountat the given index
 
- 
dynamicOffsetCountAtSetsdynamicOffsetCountwith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
- 
pDynamicOffsetsAtReturnspDynamicOffsetsat the given index.- Parameters:
- index- the index of the struct buffer
- Returns:
- pDynamicOffsetsat the given index
 
- 
pDynamicOffsetsAtSetspDynamicOffsetswith the given value at the given index.- Parameters:
- index- the index of the struct buffer
- value- the value
- Returns:
- this
 
 
-