Class VkExecutionGraphPipelineScratchSizeAMDX
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.amdx.struct.VkExecutionGraphPipelineScratchSizeAMDX
- All Implemented Interfaces:
Addressable
Represents VkExecutionGraphPipelineScratchSizeAMDX.
Layout
struct VkExecutionGraphPipelineScratchSizeAMDX {
(int) VkStructureType sType;
void* pNext;
(uint64_t) VkDeviceSize minSize;
(uint64_t) VkDeviceSize maxSize;
(uint64_t) VkDeviceSize sizeGranularity;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkExecutionGraphPipelineScratchSizeAMDX.static final MemoryLayoutThe memory layout ofmaxSize.static final MemoryLayoutThe memory layout ofminSize.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofsizeGranularity.static final MemoryLayoutThe memory layout ofsType.static final longThe byte offset ofmaxSize.static final longThe byte offset ofminSize.static final longThe byte offset ofpNext.static final longThe byte offset ofsizeGranularity.static final longThe byte offset ofsType.static final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandleTheVarHandleofsizeGranularityof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkExecutionGraphPipelineScratchSizeAMDX(MemorySegment segment, long elementCount) CreatesVkExecutionGraphPipelineScratchSizeAMDXwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkExecutionGraphPipelineScratchSizeAMDXwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkExecutionGraphPipelineScratchSizeAMDXwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkExecutionGraphPipelineScratchSizeAMDX.asSlice(long index, long count) Creates a slice ofVkExecutionGraphPipelineScratchSizeAMDX.at(long index, Consumer<VkExecutionGraphPipelineScratchSizeAMDX> func) VisitsVkExecutionGraphPipelineScratchSizeAMDXbuffer at the given index.Copies from the given source.longmaxSize()ReturnsmaxSize.maxSize(long value) SetsmaxSizewith the given value.static longmaxSize(MemorySegment segment, long index) ReturnsmaxSizeat the given index.static voidmaxSize(MemorySegment segment, long index, long value) SetsmaxSizewith the given value at the given index.longmaxSizeAt(long index) ReturnsmaxSizeat the given index.maxSizeAt(long index, long value) SetsmaxSizewith the given value at the given index.longminSize()ReturnsminSize.minSize(long value) SetsminSizewith the given value.static longminSize(MemorySegment segment, long index) ReturnsminSizeat the given index.static voidminSize(MemorySegment segment, long index, long value) SetsminSizewith the given value at the given index.longminSizeAt(long index) ReturnsminSizeat the given index.minSizeAt(long index, long value) SetsminSizewith the given value at the given index.of(MemorySegment segment) CreatesVkExecutionGraphPipelineScratchSizeAMDXwith the given segment.ofNative(MemorySegment segment) CreatesVkExecutionGraphPipelineScratchSizeAMDXwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkExecutionGraphPipelineScratchSizeAMDXwith 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.reinterpret(long count) Reinterprets this buffer with the given count.longReturnssizeGranularity.sizeGranularity(long value) SetssizeGranularitywith the given value.static longsizeGranularity(MemorySegment segment, long index) ReturnssizeGranularityat the given index.static voidsizeGranularity(MemorySegment segment, long index, long value) SetssizeGranularitywith the given value at the given index.longsizeGranularityAt(long index) ReturnssizeGranularityat the given index.sizeGranularityAt(long index, long value) SetssizeGranularitywith 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 ofVkExecutionGraphPipelineScratchSizeAMDX. -
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_minSize
public static final long OFFSET_minSizeThe byte offset ofminSize. -
LAYOUT_minSize
The memory layout ofminSize. -
VH_minSize
-
OFFSET_maxSize
public static final long OFFSET_maxSizeThe byte offset ofmaxSize. -
LAYOUT_maxSize
The memory layout ofmaxSize. -
VH_maxSize
-
OFFSET_sizeGranularity
public static final long OFFSET_sizeGranularityThe byte offset ofsizeGranularity. -
LAYOUT_sizeGranularity
The memory layout ofsizeGranularity. -
VH_sizeGranularity
-
-
Constructor Details
-
VkExecutionGraphPipelineScratchSizeAMDX
CreatesVkExecutionGraphPipelineScratchSizeAMDXwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkExecutionGraphPipelineScratchSizeAMDXwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkExecutionGraphPipelineScratchSizeAMDXwith 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
VkExecutionGraphPipelineScratchSizeAMDXwith 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 aVkExecutionGraphPipelineScratchSizeAMDXwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkExecutionGraphPipelineScratchSizeAMDX
-
alloc
Allocates aVkExecutionGraphPipelineScratchSizeAMDXwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkExecutionGraphPipelineScratchSizeAMDX
-
copyFrom
public VkExecutionGraphPipelineScratchSizeAMDX copyFrom(VkExecutionGraphPipelineScratchSizeAMDX src) 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
-
minSize
ReturnsminSizeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
minSizeat the given index
-
minSize
public long minSize()ReturnsminSize.- Returns:
minSize
-
minSize
SetsminSizewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
minSize
SetsminSizewith the given value.- Parameters:
value- the value- Returns:
this
-
maxSize
ReturnsmaxSizeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
maxSizeat the given index
-
maxSize
public long maxSize()ReturnsmaxSize.- Returns:
maxSize
-
maxSize
SetsmaxSizewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
maxSize
SetsmaxSizewith the given value.- Parameters:
value- the value- Returns:
this
-
sizeGranularity
ReturnssizeGranularityat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sizeGranularityat the given index
-
sizeGranularity
public long sizeGranularity()ReturnssizeGranularity.- Returns:
sizeGranularity
-
sizeGranularity
SetssizeGranularitywith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sizeGranularity
SetssizeGranularitywith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkExecutionGraphPipelineScratchSizeAMDX.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkExecutionGraphPipelineScratchSizeAMDX
-
asSlice
Creates a slice ofVkExecutionGraphPipelineScratchSizeAMDX.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkExecutionGraphPipelineScratchSizeAMDX
-
at
public VkExecutionGraphPipelineScratchSizeAMDX at(long index, Consumer<VkExecutionGraphPipelineScratchSizeAMDX> func) VisitsVkExecutionGraphPipelineScratchSizeAMDXbuffer 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
-
minSizeAt
public long minSizeAt(long index) ReturnsminSizeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
minSizeat the given index
-
minSizeAt
SetsminSizewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
maxSizeAt
public long maxSizeAt(long index) ReturnsmaxSizeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
maxSizeat the given index
-
maxSizeAt
SetsmaxSizewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
sizeGranularityAt
public long sizeGranularityAt(long index) ReturnssizeGranularityat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sizeGranularityat the given index
-
sizeGranularityAt
SetssizeGranularitywith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-