Class VkIndirectExecutionSetInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.union.VkIndirectExecutionSetInfoEXT
- All Implemented Interfaces:
Addressable
Layout
union VkIndirectExecutionSetInfoEXT {
const VkIndirectExecutionSetPipelineInfoEXT* pPipelineInfo;
const VkIndirectExecutionSetShaderInfoEXT* pShaderInfo;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The union layout ofVkIndirectExecutionSetInfoEXT
.static final MemoryLayout
The memory layout ofpPipelineInfo
.static final MemoryLayout
The memory layout ofpShaderInfo
.static final long
The byte offset ofpPipelineInfo
.static final long
The byte offset ofpShaderInfo
.static final VarHandle
TheVarHandle
ofpPipelineInfo
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpShaderInfo
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionVkIndirectExecutionSetInfoEXT
(MemorySegment segment, long elementCount) CreatesVkIndirectExecutionSetInfoEXT
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkIndirectExecutionSetInfoEXT
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkIndirectExecutionSetInfoEXT
with 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) VisitsVkIndirectExecutionSetInfoEXT
buffer at the given index.Copies from the given source.of
(MemorySegment segment) CreatesVkIndirectExecutionSetInfoEXT
with the given segment.ofNative
(MemorySegment segment) CreatesVkIndirectExecutionSetInfoEXT
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkIndirectExecutionSetInfoEXT
with the given segment.ReturnspPipelineInfo
.pPipelineInfo
(MemorySegment value) SetspPipelineInfo
with the given value.static MemorySegment
pPipelineInfo
(MemorySegment segment, long index) ReturnspPipelineInfo
at the given index.static void
pPipelineInfo
(MemorySegment segment, long index, MemorySegment value) SetspPipelineInfo
with the given value at the given index.pPipelineInfoAt
(long index) ReturnspPipelineInfo
at the given index.pPipelineInfoAt
(long index, MemorySegment value) SetspPipelineInfo
with the given value at the given index.ReturnspShaderInfo
.pShaderInfo
(MemorySegment value) SetspShaderInfo
with the given value.static MemorySegment
pShaderInfo
(MemorySegment segment, long index) ReturnspShaderInfo
at the given index.static void
pShaderInfo
(MemorySegment segment, long index, MemorySegment value) SetspShaderInfo
with the given value at the given index.pShaderInfoAt
(long index) ReturnspShaderInfo
at the given index.pShaderInfoAt
(long index, MemorySegment value) SetspShaderInfo
with the given value at the given index.reinterpret
(long count) Reinterprets this buffer with the given count.Methods inherited from class overrungl.struct.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
CreatesVkIndirectExecutionSetInfoEXT
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this union buffer
-
-
Method Details
-
of
CreatesVkIndirectExecutionSetInfoEXT
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkIndirectExecutionSetInfoEXT
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
VkIndirectExecutionSetInfoEXT
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 aVkIndirectExecutionSetInfoEXT
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkIndirectExecutionSetInfoEXT
-
alloc
Allocates aVkIndirectExecutionSetInfoEXT
with 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
ReturnspPipelineInfo
at the given index.- Parameters:
segment
- the segment of the unionindex
- the index of the union buffer- Returns:
pPipelineInfo
at the given index
-
pPipelineInfo
-
pPipelineInfo
SetspPipelineInfo
with the given value at the given index.- Parameters:
segment
- the segment of the unionindex
- the index of the union buffervalue
- the value
-
pPipelineInfo
SetspPipelineInfo
with the given value.- Parameters:
value
- the value- Returns:
this
-
pShaderInfo
ReturnspShaderInfo
at the given index.- Parameters:
segment
- the segment of the unionindex
- the index of the union buffer- Returns:
pShaderInfo
at the given index
-
pShaderInfo
-
pShaderInfo
SetspShaderInfo
with the given value at the given index.- Parameters:
segment
- the segment of the unionindex
- the index of the union buffervalue
- the value
-
pShaderInfo
SetspShaderInfo
with 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
VisitsVkIndirectExecutionSetInfoEXT
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
pPipelineInfoAt
ReturnspPipelineInfo
at the given index.- Parameters:
index
- the index of the union buffer- Returns:
pPipelineInfo
at the given index
-
pPipelineInfoAt
SetspPipelineInfo
with the given value at the given index.- Parameters:
index
- the index of the union buffervalue
- the value- Returns:
this
-
pShaderInfoAt
ReturnspShaderInfo
at the given index.- Parameters:
index
- the index of the union buffer- Returns:
pShaderInfo
at the given index
-
pShaderInfoAt
SetspShaderInfo
with the given value at the given index.- Parameters:
index
- the index of the union buffervalue
- the value- Returns:
this
-