Class VkGraphicsShaderGroupCreateInfoNV
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.nv.struct.VkGraphicsShaderGroupCreateInfoNV
- All Implemented Interfaces:
Addressable
Represents VkGraphicsShaderGroupCreateInfoNV.
Layout
struct VkGraphicsShaderGroupCreateInfoNV {
(int) VkStructureType sType;
const void* pNext;
uint32_t stageCount;
const VkPipelineShaderStageCreateInfo* pStages;
const VkPipelineVertexInputStateCreateInfo* pVertexInputState;
const VkPipelineTessellationStateCreateInfo* pTessellationState;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkGraphicsShaderGroupCreateInfoNV.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofpStages.static final MemoryLayoutThe memory layout ofpTessellationState.static final MemoryLayoutThe memory layout ofpVertexInputState.static final MemoryLayoutThe memory layout ofstageCount.static final MemoryLayoutThe memory layout ofsType.static final longThe byte offset ofpNext.static final longThe byte offset ofpStages.static final longThe byte offset ofpTessellationState.static final longThe byte offset ofpVertexInputState.static final longThe byte offset ofstageCount.static final longThe byte offset ofsType.static final VarHandlestatic final VarHandlestatic final VarHandleTheVarHandleofpTessellationStateof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpVertexInputStateof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkGraphicsShaderGroupCreateInfoNV(MemorySegment segment, long elementCount) CreatesVkGraphicsShaderGroupCreateInfoNVwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkGraphicsShaderGroupCreateInfoNVwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkGraphicsShaderGroupCreateInfoNVwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkGraphicsShaderGroupCreateInfoNV.asSlice(long index, long count) Creates a slice ofVkGraphicsShaderGroupCreateInfoNV.at(long index, Consumer<VkGraphicsShaderGroupCreateInfoNV> func) VisitsVkGraphicsShaderGroupCreateInfoNVbuffer at the given index.Copies from the given source.of(MemorySegment segment) CreatesVkGraphicsShaderGroupCreateInfoNVwith the given segment.ofNative(MemorySegment segment) CreatesVkGraphicsShaderGroupCreateInfoNVwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkGraphicsShaderGroupCreateInfoNVwith the given segment.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.pStages()ReturnspStages.pStages(MemorySegment value) SetspStageswith the given value.static MemorySegmentpStages(MemorySegment segment, long index) ReturnspStagesat the given index.static voidpStages(MemorySegment segment, long index, MemorySegment value) SetspStageswith the given value at the given index.pStagesAt(long index) ReturnspStagesat the given index.pStagesAt(long index, MemorySegment value) SetspStageswith the given value at the given index.ReturnspTessellationState.pTessellationState(MemorySegment value) SetspTessellationStatewith the given value.static MemorySegmentpTessellationState(MemorySegment segment, long index) ReturnspTessellationStateat the given index.static voidpTessellationState(MemorySegment segment, long index, MemorySegment value) SetspTessellationStatewith the given value at the given index.pTessellationStateAt(long index) ReturnspTessellationStateat the given index.pTessellationStateAt(long index, MemorySegment value) SetspTessellationStatewith the given value at the given index.ReturnspVertexInputState.pVertexInputState(MemorySegment value) SetspVertexInputStatewith the given value.static MemorySegmentpVertexInputState(MemorySegment segment, long index) ReturnspVertexInputStateat the given index.static voidpVertexInputState(MemorySegment segment, long index, MemorySegment value) SetspVertexInputStatewith the given value at the given index.pVertexInputStateAt(long index) ReturnspVertexInputStateat the given index.pVertexInputStateAt(long index, MemorySegment value) SetspVertexInputStatewith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.intReturnsstageCount.stageCount(int value) SetsstageCountwith the given value.static intstageCount(MemorySegment segment, long index) ReturnsstageCountat the given index.static voidstageCount(MemorySegment segment, long index, int value) SetsstageCountwith the given value at the given index.intstageCountAt(long index) ReturnsstageCountat the given index.stageCountAt(long index, int value) SetsstageCountwith 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 ofVkGraphicsShaderGroupCreateInfoNV. -
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_stageCount
public static final long OFFSET_stageCountThe byte offset ofstageCount. -
LAYOUT_stageCount
The memory layout ofstageCount. -
VH_stageCount
-
OFFSET_pStages
public static final long OFFSET_pStagesThe byte offset ofpStages. -
LAYOUT_pStages
The memory layout ofpStages. -
VH_pStages
-
OFFSET_pVertexInputState
public static final long OFFSET_pVertexInputStateThe byte offset ofpVertexInputState. -
LAYOUT_pVertexInputState
The memory layout ofpVertexInputState. -
VH_pVertexInputState
-
OFFSET_pTessellationState
public static final long OFFSET_pTessellationStateThe byte offset ofpTessellationState. -
LAYOUT_pTessellationState
The memory layout ofpTessellationState. -
VH_pTessellationState
-
-
Constructor Details
-
VkGraphicsShaderGroupCreateInfoNV
CreatesVkGraphicsShaderGroupCreateInfoNVwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkGraphicsShaderGroupCreateInfoNVwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkGraphicsShaderGroupCreateInfoNVwith 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
VkGraphicsShaderGroupCreateInfoNVwith 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 aVkGraphicsShaderGroupCreateInfoNVwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkGraphicsShaderGroupCreateInfoNV
-
alloc
Allocates aVkGraphicsShaderGroupCreateInfoNVwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkGraphicsShaderGroupCreateInfoNV
-
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
-
stageCount
ReturnsstageCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
stageCountat the given index
-
stageCount
public int stageCount()ReturnsstageCount.- Returns:
stageCount
-
stageCount
SetsstageCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
stageCount
SetsstageCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pStages
ReturnspStagesat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pStagesat the given index
-
pStages
-
pStages
SetspStageswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pStages
SetspStageswith the given value.- Parameters:
value- the value- Returns:
this
-
pVertexInputState
ReturnspVertexInputStateat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pVertexInputStateat the given index
-
pVertexInputState
-
pVertexInputState
SetspVertexInputStatewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pVertexInputState
SetspVertexInputStatewith the given value.- Parameters:
value- the value- Returns:
this
-
pTessellationState
ReturnspTessellationStateat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pTessellationStateat the given index
-
pTessellationState
-
pTessellationState
SetspTessellationStatewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pTessellationState
SetspTessellationStatewith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkGraphicsShaderGroupCreateInfoNV.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkGraphicsShaderGroupCreateInfoNV
-
asSlice
Creates a slice ofVkGraphicsShaderGroupCreateInfoNV.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkGraphicsShaderGroupCreateInfoNV
-
at
public VkGraphicsShaderGroupCreateInfoNV at(long index, Consumer<VkGraphicsShaderGroupCreateInfoNV> func) VisitsVkGraphicsShaderGroupCreateInfoNVbuffer 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
-
stageCountAt
public int stageCountAt(long index) ReturnsstageCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
stageCountat the given index
-
stageCountAt
SetsstageCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pStagesAt
ReturnspStagesat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pStagesat the given index
-
pStagesAt
SetspStageswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pVertexInputStateAt
ReturnspVertexInputStateat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pVertexInputStateat the given index
-
pVertexInputStateAt
SetspVertexInputStatewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pTessellationStateAt
ReturnspTessellationStateat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pTessellationStateat the given index
-
pTessellationStateAt
SetspTessellationStatewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-