Class VkIndirectExecutionSetInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.union.VkIndirectExecutionSetInfoEXT
- All Implemented Interfaces:
Addressable
Represents VkIndirectExecutionSetInfoEXT.
Layout
union VkIndirectExecutionSetInfoEXT {
const VkIndirectExecutionSetPipelineInfoEXT* pPipelineInfo;
const VkIndirectExecutionSetShaderInfoEXT* pShaderInfo;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UnionLayoutThe union layout ofVkIndirectExecutionSetInfoEXT.static final MemoryLayoutThe memory layout ofpPipelineInfo.static final MemoryLayoutThe memory layout ofpShaderInfo.static final longThe byte offset ofpPipelineInfo.static final longThe byte offset ofpShaderInfo.static final VarHandleTheVarHandleofpPipelineInfoof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpShaderInfoof type(MemorySegment base, long baseOffset, long index)MemorySegment. -
Constructor Summary
ConstructorsConstructorDescriptionVkIndirectExecutionSetInfoEXT(MemorySegment segment, long elementCount) CreatesVkIndirectExecutionSetInfoEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkIndirectExecutionSetInfoEXTwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkIndirectExecutionSetInfoEXTwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkIndirectExecutionSetInfoEXT.asSlice(long index, long count) Creates a slice ofVkIndirectExecutionSetInfoEXT.at(long index, Consumer<VkIndirectExecutionSetInfoEXT> func) VisitsVkIndirectExecutionSetInfoEXTbuffer at the given index.Copies from the given source.of(MemorySegment segment) CreatesVkIndirectExecutionSetInfoEXTwith the given segment.ofNative(MemorySegment segment) CreatesVkIndirectExecutionSetInfoEXTwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkIndirectExecutionSetInfoEXTwith the given segment.ReturnspPipelineInfo.pPipelineInfo(MemorySegment value) SetspPipelineInfowith the given value.static MemorySegmentpPipelineInfo(MemorySegment segment, long index) ReturnspPipelineInfoat the given index.static voidpPipelineInfo(MemorySegment segment, long index, MemorySegment value) SetspPipelineInfowith the given value at the given index.pPipelineInfoAt(long index) ReturnspPipelineInfoat the given index.pPipelineInfoAt(long index, MemorySegment value) SetspPipelineInfowith the given value at the given index.ReturnspShaderInfo.pShaderInfo(MemorySegment value) SetspShaderInfowith the given value.static MemorySegmentpShaderInfo(MemorySegment segment, long index) ReturnspShaderInfoat the given index.static voidpShaderInfo(MemorySegment segment, long index, MemorySegment value) SetspShaderInfowith the given value at the given index.pShaderInfoAt(long index) ReturnspShaderInfoat the given index.pShaderInfoAt(long index, MemorySegment value) SetspShaderInfowith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The union layout ofVkIndirectExecutionSetInfoEXT. -
OFFSET_pPipelineInfo
public static final long OFFSET_pPipelineInfoThe byte offset ofpPipelineInfo. -
LAYOUT_pPipelineInfo
The memory layout ofpPipelineInfo. -
VH_pPipelineInfo
-
OFFSET_pShaderInfo
public static final long OFFSET_pShaderInfoThe byte offset ofpShaderInfo. -
LAYOUT_pShaderInfo
The memory layout ofpShaderInfo. -
VH_pShaderInfo
-
-
Constructor Details
-
VkIndirectExecutionSetInfoEXT
CreatesVkIndirectExecutionSetInfoEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this union buffer
-
-
Method Details
-
of
CreatesVkIndirectExecutionSetInfoEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkIndirectExecutionSetInfoEXTwith 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
VkIndirectExecutionSetInfoEXTwith 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 aVkIndirectExecutionSetInfoEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkIndirectExecutionSetInfoEXT
-
alloc
Allocates aVkIndirectExecutionSetInfoEXTwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkIndirectExecutionSetInfoEXT
-
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
-
pPipelineInfo
ReturnspPipelineInfoat the given index.- Parameters:
segment- the segment of the unionindex- the index of the union buffer- Returns:
pPipelineInfoat the given index
-
pPipelineInfo
-
pPipelineInfo
SetspPipelineInfowith the given value at the given index.- Parameters:
segment- the segment of the unionindex- the index of the union buffervalue- the value
-
pPipelineInfo
SetspPipelineInfowith the given value.- Parameters:
value- the value- Returns:
this
-
pShaderInfo
ReturnspShaderInfoat the given index.- Parameters:
segment- the segment of the unionindex- the index of the union buffer- Returns:
pShaderInfoat the given index
-
pShaderInfo
-
pShaderInfo
SetspShaderInfowith the given value at the given index.- Parameters:
segment- the segment of the unionindex- the index of the union buffervalue- the value
-
pShaderInfo
SetspShaderInfowith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkIndirectExecutionSetInfoEXT.- Parameters:
index- the index of the union buffer- Returns:
- the slice of
VkIndirectExecutionSetInfoEXT
-
asSlice
Creates a slice ofVkIndirectExecutionSetInfoEXT.- Parameters:
index- the index of the union buffercount- the count- Returns:
- the slice of
VkIndirectExecutionSetInfoEXT
-
at
VisitsVkIndirectExecutionSetInfoEXTbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
pPipelineInfoAt
ReturnspPipelineInfoat the given index.- Parameters:
index- the index of the union buffer- Returns:
pPipelineInfoat the given index
-
pPipelineInfoAt
SetspPipelineInfowith the given value at the given index.- Parameters:
index- the index of the union buffervalue- the value- Returns:
this
-
pShaderInfoAt
ReturnspShaderInfoat the given index.- Parameters:
index- the index of the union buffer- Returns:
pShaderInfoat the given index
-
pShaderInfoAt
SetspShaderInfowith the given value at the given index.- Parameters:
index- the index of the union buffervalue- the value- Returns:
this
-