Class VkIndirectExecutionSetInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.union.VkIndirectExecutionSetInfoEXT
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkIndirectExecutionSetInfoEXT.Buffer
public sealed class VkIndirectExecutionSetInfoEXT
extends GroupType
permits VkIndirectExecutionSetInfoEXT.Buffer
Layout
union VkIndirectExecutionSetInfoEXT {
const VkIndirectExecutionSetPipelineInfoEXT* pPipelineInfo;
const VkIndirectExecutionSetShaderInfoEXT* pShaderInfo;
};
-
Nested Class Summary
Nested Classes -
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
ConstructorsConstructorDescriptionCreatesVkIndirectExecutionSetInfoEXT
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.asBuffer()
Converts this instance to a buffer.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.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.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 segment
-
-
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
-
asBuffer
Converts this instance to a buffer.- Returns:
- the 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
-