Class VkSemaphoreSubmitInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkSemaphoreSubmitInfo
- All Implemented Interfaces:
Addressable
Represents VkSemaphoreSubmitInfo.
Layout
struct VkSemaphoreSubmitInfo {
(int) VkStructureType sType;
const void* pNext;
(uint64_t) VkSemaphore semaphore;
uint64_t value;
((uint64_t) VkFlags64) VkPipelineStageFlags2 stageMask;
uint32_t deviceIndex;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkSemaphoreSubmitInfo.static final MemoryLayoutThe memory layout ofdeviceIndex.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofsemaphore.static final MemoryLayoutThe memory layout ofstageMask.static final MemoryLayoutThe memory layout ofsType.static final MemoryLayoutThe memory layout ofvalue.static final longThe byte offset ofdeviceIndex.static final longThe byte offset ofpNext.static final longThe byte offset ofsemaphore.static final longThe byte offset ofstageMask.static final longThe byte offset ofsType.static final longThe byte offset ofvalue.static final VarHandleTheVarHandleofdeviceIndexof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkSemaphoreSubmitInfo(MemorySegment segment, long elementCount) CreatesVkSemaphoreSubmitInfowith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSemaphoreSubmitInfoalloc(SegmentAllocator allocator) Allocates aVkSemaphoreSubmitInfowith the given segment allocator.static VkSemaphoreSubmitInfoalloc(SegmentAllocator allocator, long count) Allocates aVkSemaphoreSubmitInfowith the given segment allocator and count.asSlice(long index) Creates a slice ofVkSemaphoreSubmitInfo.asSlice(long index, long count) Creates a slice ofVkSemaphoreSubmitInfo.at(long index, Consumer<VkSemaphoreSubmitInfo> func) VisitsVkSemaphoreSubmitInfobuffer at the given index.Copies from the given source.intReturnsdeviceIndex.deviceIndex(int value) SetsdeviceIndexwith the given value.static intdeviceIndex(MemorySegment segment, long index) ReturnsdeviceIndexat the given index.static voiddeviceIndex(MemorySegment segment, long index, int value) SetsdeviceIndexwith the given value at the given index.intdeviceIndexAt(long index) ReturnsdeviceIndexat the given index.deviceIndexAt(long index, int value) SetsdeviceIndexwith the given value at the given index.static VkSemaphoreSubmitInfoof(MemorySegment segment) CreatesVkSemaphoreSubmitInfowith the given segment.static VkSemaphoreSubmitInfoofNative(MemorySegment segment) CreatesVkSemaphoreSubmitInfowith the given segment.static VkSemaphoreSubmitInfoofNative(MemorySegment segment, long count) CreatesVkSemaphoreSubmitInfowith 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.longReturnssemaphore.semaphore(long value) Setssemaphorewith the given value.static longsemaphore(MemorySegment segment, long index) Returnssemaphoreat the given index.static voidsemaphore(MemorySegment segment, long index, long value) Setssemaphorewith the given value at the given index.longsemaphoreAt(long index) Returnssemaphoreat the given index.semaphoreAt(long index, long value) Setssemaphorewith the given value at the given index.longReturnsstageMask.stageMask(long value) SetsstageMaskwith the given value.static longstageMask(MemorySegment segment, long index) ReturnsstageMaskat the given index.static voidstageMask(MemorySegment segment, long index, long value) SetsstageMaskwith the given value at the given index.longstageMaskAt(long index) ReturnsstageMaskat the given index.stageMaskAt(long index, long value) SetsstageMaskwith 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.longvalue()Returnsvalue.value(long value) Setsvaluewith the given value.static longvalue(MemorySegment segment, long index) Returnsvalueat the given index.static voidvalue(MemorySegment segment, long index, long value) Setsvaluewith the given value at the given index.longvalueAt(long index) Returnsvalueat the given index.valueAt(long index, long value) Setsvaluewith the given value at the given index.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkSemaphoreSubmitInfo. -
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_semaphore
public static final long OFFSET_semaphoreThe byte offset ofsemaphore. -
LAYOUT_semaphore
The memory layout ofsemaphore. -
VH_semaphore
-
OFFSET_value
public static final long OFFSET_valueThe byte offset ofvalue. -
LAYOUT_value
The memory layout ofvalue. -
VH_value
-
OFFSET_stageMask
public static final long OFFSET_stageMaskThe byte offset ofstageMask. -
LAYOUT_stageMask
The memory layout ofstageMask. -
VH_stageMask
-
OFFSET_deviceIndex
public static final long OFFSET_deviceIndexThe byte offset ofdeviceIndex. -
LAYOUT_deviceIndex
The memory layout ofdeviceIndex. -
VH_deviceIndex
-
-
Constructor Details
-
VkSemaphoreSubmitInfo
CreatesVkSemaphoreSubmitInfowith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkSemaphoreSubmitInfowith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkSemaphoreSubmitInfowith 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
VkSemaphoreSubmitInfowith 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 aVkSemaphoreSubmitInfowith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkSemaphoreSubmitInfo
-
alloc
Allocates aVkSemaphoreSubmitInfowith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkSemaphoreSubmitInfo
-
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
-
semaphore
Returnssemaphoreat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
semaphoreat the given index
-
semaphore
public long semaphore()Returnssemaphore.- Returns:
semaphore
-
semaphore
Setssemaphorewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
semaphore
Setssemaphorewith the given value.- Parameters:
value- the value- Returns:
this
-
value
Returnsvalueat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
valueat the given index
-
value
public long value()Returnsvalue.- Returns:
value
-
value
Setsvaluewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
value
Setsvaluewith the given value.- Parameters:
value- the value- Returns:
this
-
stageMask
ReturnsstageMaskat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
stageMaskat the given index
-
stageMask
public long stageMask()ReturnsstageMask.- Returns:
stageMask
-
stageMask
SetsstageMaskwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
stageMask
SetsstageMaskwith the given value.- Parameters:
value- the value- Returns:
this
-
deviceIndex
ReturnsdeviceIndexat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
deviceIndexat the given index
-
deviceIndex
public int deviceIndex()ReturnsdeviceIndex.- Returns:
deviceIndex
-
deviceIndex
SetsdeviceIndexwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
deviceIndex
SetsdeviceIndexwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkSemaphoreSubmitInfo.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkSemaphoreSubmitInfo
-
asSlice
Creates a slice ofVkSemaphoreSubmitInfo.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkSemaphoreSubmitInfo
-
at
VisitsVkSemaphoreSubmitInfobuffer 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
-
semaphoreAt
public long semaphoreAt(long index) Returnssemaphoreat the given index.- Parameters:
index- the index of the struct buffer- Returns:
semaphoreat the given index
-
semaphoreAt
Setssemaphorewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
valueAt
public long valueAt(long index) Returnsvalueat the given index.- Parameters:
index- the index of the struct buffer- Returns:
valueat the given index
-
valueAt
Setsvaluewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
stageMaskAt
public long stageMaskAt(long index) ReturnsstageMaskat the given index.- Parameters:
index- the index of the struct buffer- Returns:
stageMaskat the given index
-
stageMaskAt
SetsstageMaskwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
deviceIndexAt
public int deviceIndexAt(long index) ReturnsdeviceIndexat the given index.- Parameters:
index- the index of the struct buffer- Returns:
deviceIndexat the given index
-
deviceIndexAt
SetsdeviceIndexwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-