Class VkClusterAccelerationStructureMoveObjectsInputNV.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.nv.struct.VkClusterAccelerationStructureMoveObjectsInputNV
overrungl.vulkan.nv.struct.VkClusterAccelerationStructureMoveObjectsInputNV.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkClusterAccelerationStructureMoveObjectsInputNV
public static final class VkClusterAccelerationStructureMoveObjectsInputNV.Buffer
extends VkClusterAccelerationStructureMoveObjectsInputNV
A buffer of
VkClusterAccelerationStructureMoveObjectsInputNV
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.nv.struct.VkClusterAccelerationStructureMoveObjectsInputNV
VkClusterAccelerationStructureMoveObjectsInputNV.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.nv.struct.VkClusterAccelerationStructureMoveObjectsInputNV
LAYOUT, LAYOUT_maxMovedBytes, LAYOUT_noMoveOverlap, LAYOUT_pNext, LAYOUT_sType, LAYOUT_type, OFFSET_maxMovedBytes, OFFSET_noMoveOverlap, OFFSET_pNext, OFFSET_sType, OFFSET_type, VH_maxMovedBytes, VH_noMoveOverlap, VH_pNext, VH_sType, VH_type
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkClusterAccelerationStructureMoveObjectsInputNV.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkClusterAccelerationStructureMoveObjectsInputNV
.asSlice
(long index, long count) Creates a slice ofVkClusterAccelerationStructureMoveObjectsInputNV
.long
Estimates the element count of this group type buffer.long
maxMovedBytesAt
(long index) ReturnsmaxMovedBytes
at the given index.maxMovedBytesAt
(long index, long value) SetsmaxMovedBytes
with the given value at the given index.int
noMoveOverlapAt
(long index) ReturnsnoMoveOverlap
at the given index.noMoveOverlapAt
(long index, int value) SetsnoMoveOverlap
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.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.int
typeAt
(long index) Returnstype
at the given index.typeAt
(long index, int value) Setstype
with the given value at the given index.Methods inherited from class overrungl.vulkan.nv.struct.VkClusterAccelerationStructureMoveObjectsInputNV
alloc, alloc, allocInit, allocInit, allocInit, allocInit, allocInit, asBuffer, copyFrom, maxMovedBytes, maxMovedBytes, maxMovedBytes, maxMovedBytes, noMoveOverlap, noMoveOverlap, noMoveOverlap, noMoveOverlap, of, ofNative, ofNative, pNext, pNext, pNext, pNext, sType, sType, sType, sType, type, type, type, type
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkClusterAccelerationStructureMoveObjectsInputNV.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 ofVkClusterAccelerationStructureMoveObjectsInputNV
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkClusterAccelerationStructureMoveObjectsInputNV
-
asSlice
Creates a slice ofVkClusterAccelerationStructureMoveObjectsInputNV
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkClusterAccelerationStructureMoveObjectsInputNV
-
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
public VkClusterAccelerationStructureMoveObjectsInputNV.Buffer pNextAt(long index, MemorySegment value) SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
typeAt
public int typeAt(long index) Returnstype
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
type
at the given index
-
typeAt
Setstype
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
noMoveOverlapAt
public int noMoveOverlapAt(long index) ReturnsnoMoveOverlap
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
noMoveOverlap
at the given index
-
noMoveOverlapAt
public VkClusterAccelerationStructureMoveObjectsInputNV.Buffer noMoveOverlapAt(long index, int value) SetsnoMoveOverlap
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
maxMovedBytesAt
public long maxMovedBytesAt(long index) ReturnsmaxMovedBytes
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
maxMovedBytes
at the given index
-
maxMovedBytesAt
public VkClusterAccelerationStructureMoveObjectsInputNV.Buffer maxMovedBytesAt(long index, long value) SetsmaxMovedBytes
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-