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 recordRepresents a pointer to / an array ofVkSubmitInfo2structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkSubmitInfo2(@NotNull MemorySegment segment) Creates an instance of aVkSubmitInfo2record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubmitInfo2static VkSubmitInfo2.PtrvoidautoInit()static VkSubmitInfo2clone(Arena arena, VkSubmitInfo2 src) intcommandBufferInfoCount(int value) final booleanIndicates whether some other object is "equal to" this one.intflags()flags(int value) final inthashCode()Returns a hash code value for this object.@Nullable VkCommandBufferSubmitInfopCommandBufferInfos(int assumedCount) pCommandBufferInfos(@Nullable IVkCommandBufferSubmitInfo value) @NotNull MemorySegmentvoidpCommandBufferInfosRaw(@NotNull MemorySegment value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @Nullable VkSemaphoreSubmitInfopSignalSemaphoreInfos(int assumedCount) pSignalSemaphoreInfos(@Nullable IVkSemaphoreSubmitInfo value) @NotNull MemorySegmentvoidpSignalSemaphoreInfosRaw(@NotNull MemorySegment value) @Nullable VkSemaphoreSubmitInfopWaitSemaphoreInfos(int assumedCount) pWaitSemaphoreInfos(@Nullable IVkSemaphoreSubmitInfo value) @NotNull MemorySegmentvoidpWaitSemaphoreInfosRaw(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsignalSemaphoreInfoCount(int value) intsType()sType(int value) final StringtoString()Returns a string representation of this record class.intwaitSemaphoreInfoCount(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
-
VkSubmitInfo2
Creates an instance of aVkSubmitInfo2record class.- Parameters:
segment- the value for thesegmentrecord component
-
-
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 thesegmentrecord component.
-