- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- LAYOUT
- BYTES
- PATH$sType
- PATH$pNext
- PATH$flags
- PATH$waitSemaphoreInfoCount
- PATH$pWaitSemaphoreInfos
- PATH$commandBufferInfoCount
- PATH$pCommandBufferInfos
- PATH$signalSemaphoreInfoCount
- PATH$pSignalSemaphoreInfos
- LAYOUT$sType
- LAYOUT$pNext
- LAYOUT$flags
- LAYOUT$waitSemaphoreInfoCount
- LAYOUT$pWaitSemaphoreInfos
- LAYOUT$commandBufferInfoCount
- LAYOUT$pCommandBufferInfos
- LAYOUT$signalSemaphoreInfoCount
- LAYOUT$pSignalSemaphoreInfos
- SIZE$sType
- SIZE$pNext
- SIZE$flags
- SIZE$waitSemaphoreInfoCount
- SIZE$pWaitSemaphoreInfos
- SIZE$commandBufferInfoCount
- SIZE$pCommandBufferInfos
- SIZE$signalSemaphoreInfoCount
- SIZE$pSignalSemaphoreInfos
- OFFSET$sType
- OFFSET$pNext
- OFFSET$flags
- OFFSET$waitSemaphoreInfoCount
- OFFSET$pWaitSemaphoreInfos
- OFFSET$commandBufferInfoCount
- OFFSET$pCommandBufferInfos
- OFFSET$signalSemaphoreInfoCount
- OFFSET$pSignalSemaphoreInfos
- Constructor Details
- Method Details
- allocate(Arena)
- allocate(Arena, long)
- clone(Arena, VkSubmitInfo2)
- autoInit()
- sType()
- sType(int)
- pNext()
- pNext(MemorySegment)
- pNext(IPointer)
- flags()
- flags(int)
- waitSemaphoreInfoCount()
- waitSemaphoreInfoCount(int)
- pWaitSemaphoreInfos(IVkSemaphoreSubmitInfo)
- pWaitSemaphoreInfos(int)
- pWaitSemaphoreInfos()
- pWaitSemaphoreInfosRaw()
- pWaitSemaphoreInfosRaw(MemorySegment)
- commandBufferInfoCount()
- commandBufferInfoCount(int)
- pCommandBufferInfos(IVkCommandBufferSubmitInfo)
- pCommandBufferInfos(int)
- pCommandBufferInfos()
- pCommandBufferInfosRaw()
- pCommandBufferInfosRaw(MemorySegment)
- signalSemaphoreInfoCount()
- signalSemaphoreInfoCount(int)
- pSignalSemaphoreInfos(IVkSemaphoreSubmitInfo)
- pSignalSemaphoreInfos(int)
- pSignalSemaphoreInfos()
- pSignalSemaphoreInfosRaw()
- pSignalSemaphoreInfosRaw(MemorySegment)
- toString()
- hashCode()
- equals(Object)
- segment()
Record Class VkSubmitInfo2
- All Implemented Interfaces:
IPointer
,IVkSubmitInfo2
Represents a pointer to a VkSubmitInfo2
structure in native memory.
Structure 
typedef struct VkSubmitInfo2 {
VkStructureType
sType
;
void const* pNext
; // optional
VkSubmitFlags
flags
; // optional
uint32_t waitSemaphoreInfoCount
; // optional
VkSemaphoreSubmitInfo
const* pWaitSemaphoreInfos
; // optional
uint32_t commandBufferInfoCount
; // optional
VkCommandBufferSubmitInfo
const* pCommandBufferInfos
; // optional
uint32_t signalSemaphoreInfoCount
; // optional
VkSemaphoreSubmitInfo
const* pSignalSemaphoreInfos
; // optional
} VkSubmitInfo2;
Auto initialization 
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_SUBMIT_INFO_2
The allocate
(allocate(Arena)
, allocate(Arena, long)
)
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts 
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkSubmitInfo2
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkSubmitInfo2
(@NotNull MemorySegment segment) Creates an instance of aVkSubmitInfo2
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubmitInfo2
static VkSubmitInfo2.Ptr
void
autoInit()
static VkSubmitInfo2
clone
(Arena arena, VkSubmitInfo2 src) int
commandBufferInfoCount
(int value) final boolean
Indicates whether some other object is "equal to" this one.int
flags()
flags
(int value) final int
hashCode()
Returns a hash code value for this object.@Nullable VkCommandBufferSubmitInfo
pCommandBufferInfos
(int assumedCount) pCommandBufferInfos
(@Nullable IVkCommandBufferSubmitInfo value) @NotNull MemorySegment
void
pCommandBufferInfosRaw
(@NotNull MemorySegment value) @NotNull MemorySegment
pNext()
pNext
(@NotNull MemorySegment value) @Nullable VkSemaphoreSubmitInfo
pSignalSemaphoreInfos
(int assumedCount) pSignalSemaphoreInfos
(@Nullable IVkSemaphoreSubmitInfo value) @NotNull MemorySegment
void
pSignalSemaphoreInfosRaw
(@NotNull MemorySegment value) @Nullable VkSemaphoreSubmitInfo
pWaitSemaphoreInfos
(int assumedCount) pWaitSemaphoreInfos
(@Nullable IVkSemaphoreSubmitInfo value) @NotNull MemorySegment
void
pWaitSemaphoreInfosRaw
(@NotNull MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
signalSemaphoreInfoCount
(int value) int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.int
waitSemaphoreInfoCount
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$flags
-
PATH$waitSemaphoreInfoCount
-
PATH$pWaitSemaphoreInfos
-
PATH$commandBufferInfoCount
-
PATH$pCommandBufferInfos
-
PATH$signalSemaphoreInfoCount
-
PATH$pSignalSemaphoreInfos
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$flags
-
LAYOUT$waitSemaphoreInfoCount
-
LAYOUT$pWaitSemaphoreInfos
-
LAYOUT$commandBufferInfoCount
-
LAYOUT$pCommandBufferInfos
-
LAYOUT$signalSemaphoreInfoCount
-
LAYOUT$pSignalSemaphoreInfos
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$flags
public static final long SIZE$flags -
SIZE$waitSemaphoreInfoCount
public static final long SIZE$waitSemaphoreInfoCount -
SIZE$pWaitSemaphoreInfos
public static final long SIZE$pWaitSemaphoreInfos -
SIZE$commandBufferInfoCount
public static final long SIZE$commandBufferInfoCount -
SIZE$pCommandBufferInfos
public static final long SIZE$pCommandBufferInfos -
SIZE$signalSemaphoreInfoCount
public static final long SIZE$signalSemaphoreInfoCount -
SIZE$pSignalSemaphoreInfos
public static final long SIZE$pSignalSemaphoreInfos -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$waitSemaphoreInfoCount
public static final long OFFSET$waitSemaphoreInfoCount -
OFFSET$pWaitSemaphoreInfos
public static final long OFFSET$pWaitSemaphoreInfos -
OFFSET$commandBufferInfoCount
public static final long OFFSET$commandBufferInfoCount -
OFFSET$pCommandBufferInfos
public static final long OFFSET$pCommandBufferInfos -
OFFSET$signalSemaphoreInfoCount
public static final long OFFSET$signalSemaphoreInfoCount -
OFFSET$pSignalSemaphoreInfos
public static final long OFFSET$pSignalSemaphoreInfos
-
-
Constructor Details
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
flags
-
flags
-
waitSemaphoreInfoCount
-
waitSemaphoreInfoCount
-
pWaitSemaphoreInfos
-
pWaitSemaphoreInfos
-
pWaitSemaphoreInfos
-
pWaitSemaphoreInfosRaw
@Pointer(target=VkSemaphoreSubmitInfo.class) @NotNull public @NotNull MemorySegment pWaitSemaphoreInfosRaw() -
pWaitSemaphoreInfosRaw
public void pWaitSemaphoreInfosRaw(@Pointer(target=VkSemaphoreSubmitInfo.class) @NotNull @NotNull MemorySegment value) -
commandBufferInfoCount
-
commandBufferInfoCount
-
pCommandBufferInfos
-
pCommandBufferInfos
-
pCommandBufferInfos
-
pCommandBufferInfosRaw
@Pointer(target=VkCommandBufferSubmitInfo.class) @NotNull public @NotNull MemorySegment pCommandBufferInfosRaw() -
pCommandBufferInfosRaw
public void pCommandBufferInfosRaw(@Pointer(target=VkCommandBufferSubmitInfo.class) @NotNull @NotNull MemorySegment value) -
signalSemaphoreInfoCount
-
signalSemaphoreInfoCount
-
pSignalSemaphoreInfos
-
pSignalSemaphoreInfos
-
pSignalSemaphoreInfos
-
pSignalSemaphoreInfosRaw
@Pointer(target=VkSemaphoreSubmitInfo.class) @NotNull public @NotNull MemorySegment pSignalSemaphoreInfosRaw() -
pSignalSemaphoreInfosRaw
public void pSignalSemaphoreInfosRaw(@Pointer(target=VkSemaphoreSubmitInfo.class) @NotNull @NotNull MemorySegment value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-