Class VkRayTracingPipelineCreateInfoKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkRayTracingPipelineCreateInfoKHR
overrungl.vulkan.khr.struct.VkRayTracingPipelineCreateInfoKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkRayTracingPipelineCreateInfoKHR
public static final class VkRayTracingPipelineCreateInfoKHR.Buffer
extends VkRayTracingPipelineCreateInfoKHR
A buffer of
VkRayTracingPipelineCreateInfoKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkRayTracingPipelineCreateInfoKHR
VkRayTracingPipelineCreateInfoKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkRayTracingPipelineCreateInfoKHR
LAYOUT, LAYOUT_basePipelineHandle, LAYOUT_basePipelineIndex, LAYOUT_flags, LAYOUT_groupCount, LAYOUT_layout, LAYOUT_maxPipelineRayRecursionDepth, LAYOUT_pDynamicState, LAYOUT_pGroups, LAYOUT_pLibraryInfo, LAYOUT_pLibraryInterface, LAYOUT_pNext, LAYOUT_pStages, LAYOUT_stageCount, LAYOUT_sType, OFFSET_basePipelineHandle, OFFSET_basePipelineIndex, OFFSET_flags, OFFSET_groupCount, OFFSET_layout, OFFSET_maxPipelineRayRecursionDepth, OFFSET_pDynamicState, OFFSET_pGroups, OFFSET_pLibraryInfo, OFFSET_pLibraryInterface, OFFSET_pNext, OFFSET_pStages, OFFSET_stageCount, OFFSET_sType, VH_basePipelineHandle, VH_basePipelineIndex, VH_flags, VH_groupCount, VH_layout, VH_maxPipelineRayRecursionDepth, VH_pDynamicState, VH_pGroups, VH_pLibraryInfo, VH_pLibraryInterface, VH_pNext, VH_pStages, VH_stageCount, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkRayTracingPipelineCreateInfoKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkRayTracingPipelineCreateInfoKHR
.asSlice
(long index, long count) Creates a slice ofVkRayTracingPipelineCreateInfoKHR
.long
basePipelineHandleAt
(long index) ReturnsbasePipelineHandle
at the given index.basePipelineHandleAt
(long index, long value) SetsbasePipelineHandle
with the given value at the given index.int
basePipelineIndexAt
(long index) ReturnsbasePipelineIndex
at the given index.basePipelineIndexAt
(long index, int value) SetsbasePipelineIndex
with the given value at the given index.long
Estimates the element count of this group type buffer.int
flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, int value) Setsflags
with the given value at the given index.int
groupCountAt
(long index) ReturnsgroupCount
at the given index.groupCountAt
(long index, int value) SetsgroupCount
with the given value at the given index.long
layoutAt
(long index) Returnslayout
at the given index.layoutAt
(long index, long value) Setslayout
with the given value at the given index.int
maxPipelineRayRecursionDepthAt
(long index) ReturnsmaxPipelineRayRecursionDepth
at the given index.maxPipelineRayRecursionDepthAt
(long index, int value) SetsmaxPipelineRayRecursionDepth
with the given value at the given index.pDynamicStateAt
(long index) ReturnspDynamicState
at the given index.pDynamicStateAt
(long index, MemorySegment value) SetspDynamicState
with the given value at the given index.pGroupsAt
(long index) ReturnspGroups
at the given index.pGroupsAt
(long index, MemorySegment value) SetspGroups
with the given value at the given index.pLibraryInfoAt
(long index) ReturnspLibraryInfo
at the given index.pLibraryInfoAt
(long index, MemorySegment value) SetspLibraryInfo
with the given value at the given index.pLibraryInterfaceAt
(long index) ReturnspLibraryInterface
at the given index.pLibraryInterfaceAt
(long index, MemorySegment value) SetspLibraryInterface
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.pStagesAt
(long index) ReturnspStages
at the given index.pStagesAt
(long index, MemorySegment value) SetspStages
with the given value at the given index.int
stageCountAt
(long index) ReturnsstageCount
at the given index.stageCountAt
(long index, int value) SetsstageCount
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkRayTracingPipelineCreateInfoKHR
alloc, alloc, asBuffer, basePipelineHandle, basePipelineHandle, basePipelineHandle, basePipelineHandle, basePipelineIndex, basePipelineIndex, basePipelineIndex, basePipelineIndex, copyFrom, flags, flags, flags, flags, groupCount, groupCount, groupCount, groupCount, layout, layout, layout, layout, maxPipelineRayRecursionDepth, maxPipelineRayRecursionDepth, maxPipelineRayRecursionDepth, maxPipelineRayRecursionDepth, of, ofNative, ofNative, pDynamicState, pDynamicState, pDynamicState, pDynamicState, pGroups, pGroups, pGroups, pGroups, pLibraryInfo, pLibraryInfo, pLibraryInfo, pLibraryInfo, pLibraryInterface, pLibraryInterface, pLibraryInterface, pLibraryInterface, pNext, pNext, pNext, pNext, pStages, pStages, pStages, pStages, stageCount, stageCount, stageCount, stageCount, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkRayTracingPipelineCreateInfoKHR.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofVkRayTracingPipelineCreateInfoKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkRayTracingPipelineCreateInfoKHR
-
asSlice
Creates a slice ofVkRayTracingPipelineCreateInfoKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkRayTracingPipelineCreateInfoKHR
-
sTypeAt
public int sTypeAt(long index) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
flagsAt
public int flagsAt(long index) Returnsflags
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
flags
at the given index
-
flagsAt
Setsflags
with 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) ReturnsstageCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
stageCount
at the given index
-
stageCountAt
SetsstageCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pStagesAt
ReturnspStages
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pStages
at the given index
-
pStagesAt
SetspStages
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
groupCountAt
public int groupCountAt(long index) ReturnsgroupCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
groupCount
at the given index
-
groupCountAt
SetsgroupCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pGroupsAt
ReturnspGroups
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pGroups
at the given index
-
pGroupsAt
SetspGroups
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
maxPipelineRayRecursionDepthAt
public int maxPipelineRayRecursionDepthAt(long index) ReturnsmaxPipelineRayRecursionDepth
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
maxPipelineRayRecursionDepth
at the given index
-
maxPipelineRayRecursionDepthAt
public VkRayTracingPipelineCreateInfoKHR.Buffer maxPipelineRayRecursionDepthAt(long index, int value) SetsmaxPipelineRayRecursionDepth
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pLibraryInfoAt
ReturnspLibraryInfo
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pLibraryInfo
at the given index
-
pLibraryInfoAt
SetspLibraryInfo
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pLibraryInterfaceAt
ReturnspLibraryInterface
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pLibraryInterface
at the given index
-
pLibraryInterfaceAt
public VkRayTracingPipelineCreateInfoKHR.Buffer pLibraryInterfaceAt(long index, MemorySegment value) SetspLibraryInterface
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pDynamicStateAt
ReturnspDynamicState
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pDynamicState
at the given index
-
pDynamicStateAt
SetspDynamicState
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
layoutAt
public long layoutAt(long index) Returnslayout
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
layout
at the given index
-
layoutAt
Setslayout
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
basePipelineHandleAt
public long basePipelineHandleAt(long index) ReturnsbasePipelineHandle
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
basePipelineHandle
at the given index
-
basePipelineHandleAt
SetsbasePipelineHandle
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
basePipelineIndexAt
public int basePipelineIndexAt(long index) ReturnsbasePipelineIndex
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
basePipelineIndex
at the given index
-
basePipelineIndexAt
SetsbasePipelineIndex
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-