Record Class VkDebugUtilsMessengerCallbackDataEXT
- All Implemented Interfaces:
IPointer,IVkDebugUtilsMessengerCallbackDataEXT
Represents a pointer to a VkDebugUtilsMessengerCallbackDataEXT structure in native memory.
Structure
typedef struct VkDebugUtilsMessengerCallbackDataEXT {
VkStructureType sType;
void const* pNext; // optional
VkDebugUtilsMessengerCallbackDataFlagsEXT flags; // optional
char const* pMessageIdName; // optional
int32_t messageIdNumber;
char const* pMessage; // optional
uint32_t queueLabelCount; // optional
VkDebugUtilsLabelEXT const* pQueueLabels; // optional
uint32_t cmdBufLabelCount; // optional
VkDebugUtilsLabelEXT const* pCmdBufLabels; // optional
uint32_t objectCount; // optional
VkDebugUtilsObjectNameInfoEXT const* pObjects; // optional
} VkDebugUtilsMessengerCallbackDataEXT;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT
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 ofVkDebugUtilsMessengerCallbackDataEXTstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic 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 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 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 longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkDebugUtilsMessengerCallbackDataEXT(@NotNull MemorySegment segment) Creates an instance of aVkDebugUtilsMessengerCallbackDataEXTrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()clone(Arena arena, VkDebugUtilsMessengerCallbackDataEXT src) intcmdBufLabelCount(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.intmessageIdNumber(int value) intobjectCount(int value) @Nullable VkDebugUtilsLabelEXTpCmdBufLabels(int assumedCount) pCmdBufLabels(@Nullable IVkDebugUtilsLabelEXT value) @NotNull MemorySegmentvoidpCmdBufLabelsRaw(@NotNull MemorySegment value) @Nullable BytePtrpMessage()Note: the returnedBytePtrdoes not have correctBytePtr.size()property.@Nullable BytePtrNote: the returnedBytePtrdoes not have correctBytePtr.size()property.pMessageIdName(@Nullable BytePtr value) @NotNull MemorySegmentvoidpMessageIdNameRaw(@NotNull MemorySegment value) @NotNull MemorySegmentvoidpMessageRaw(@NotNull MemorySegment value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @Nullable VkDebugUtilsObjectNameInfoEXTpObjects()pObjects(int assumedCount) pObjects(@Nullable IVkDebugUtilsObjectNameInfoEXT value) @NotNull MemorySegmentvoidpObjectsRaw(@NotNull MemorySegment value) @Nullable VkDebugUtilsLabelEXTpQueueLabels(int assumedCount) pQueueLabels(@Nullable IVkDebugUtilsLabelEXT value) @NotNull MemorySegmentvoidpQueueLabelsRaw(@NotNull MemorySegment value) intqueueLabelCount(int value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsType()sType(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$flags
-
PATH$pMessageIdName
-
PATH$messageIdNumber
-
PATH$pMessage
-
PATH$queueLabelCount
-
PATH$pQueueLabels
-
PATH$cmdBufLabelCount
-
PATH$pCmdBufLabels
-
PATH$objectCount
-
PATH$pObjects
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$flags
-
LAYOUT$pMessageIdName
-
LAYOUT$messageIdNumber
-
LAYOUT$pMessage
-
LAYOUT$queueLabelCount
-
LAYOUT$pQueueLabels
-
LAYOUT$cmdBufLabelCount
-
LAYOUT$pCmdBufLabels
-
LAYOUT$objectCount
-
LAYOUT$pObjects
-
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$pMessageIdName
public static final long SIZE$pMessageIdName -
SIZE$messageIdNumber
public static final long SIZE$messageIdNumber -
SIZE$pMessage
public static final long SIZE$pMessage -
SIZE$queueLabelCount
public static final long SIZE$queueLabelCount -
SIZE$pQueueLabels
public static final long SIZE$pQueueLabels -
SIZE$cmdBufLabelCount
public static final long SIZE$cmdBufLabelCount -
SIZE$pCmdBufLabels
public static final long SIZE$pCmdBufLabels -
SIZE$objectCount
public static final long SIZE$objectCount -
SIZE$pObjects
public static final long SIZE$pObjects -
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$pMessageIdName
public static final long OFFSET$pMessageIdName -
OFFSET$messageIdNumber
public static final long OFFSET$messageIdNumber -
OFFSET$pMessage
public static final long OFFSET$pMessage -
OFFSET$queueLabelCount
public static final long OFFSET$queueLabelCount -
OFFSET$pQueueLabels
public static final long OFFSET$pQueueLabels -
OFFSET$cmdBufLabelCount
public static final long OFFSET$cmdBufLabelCount -
OFFSET$pCmdBufLabels
public static final long OFFSET$pCmdBufLabels -
OFFSET$objectCount
public static final long OFFSET$objectCount -
OFFSET$pObjects
public static final long OFFSET$pObjects
-
-
Constructor Details
-
VkDebugUtilsMessengerCallbackDataEXT
Creates an instance of aVkDebugUtilsMessengerCallbackDataEXTrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkDebugUtilsMessengerCallbackDataEXT clone(Arena arena, VkDebugUtilsMessengerCallbackDataEXT src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkDebugUtilsMessengerCallbackDataEXT pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
flags
-
flags
public VkDebugUtilsMessengerCallbackDataEXT flags(@Bitmask(VkDebugUtilsMessengerCallbackDataFlagsEXT.class) int value) -
pMessageIdName
Note: the returnedBytePtrdoes not have correctBytePtr.size()property. It's up to user to track the size of the buffer, and useBytePtr.reinterpret(long)to set the size before actually reading from or writing to the buffer. -
pMessageIdName
-
pMessageIdNameRaw
-
pMessageIdNameRaw
-
messageIdNumber
public int messageIdNumber() -
messageIdNumber
-
pMessage
Note: the returnedBytePtrdoes not have correctBytePtr.size()property. It's up to user to track the size of the buffer, and useBytePtr.reinterpret(long)to set the size before actually reading from or writing to the buffer. -
pMessage
-
pMessageRaw
-
pMessageRaw
-
queueLabelCount
-
queueLabelCount
-
pQueueLabels
public VkDebugUtilsMessengerCallbackDataEXT pQueueLabels(@Nullable @Nullable IVkDebugUtilsLabelEXT value) -
pQueueLabels
-
pQueueLabels
-
pQueueLabelsRaw
@Pointer(target=VkDebugUtilsLabelEXT.class) @NotNull public @NotNull MemorySegment pQueueLabelsRaw() -
pQueueLabelsRaw
public void pQueueLabelsRaw(@Pointer(target=VkDebugUtilsLabelEXT.class) @NotNull @NotNull MemorySegment value) -
cmdBufLabelCount
-
cmdBufLabelCount
-
pCmdBufLabels
public VkDebugUtilsMessengerCallbackDataEXT pCmdBufLabels(@Nullable @Nullable IVkDebugUtilsLabelEXT value) -
pCmdBufLabels
-
pCmdBufLabels
-
pCmdBufLabelsRaw
@Pointer(target=VkDebugUtilsLabelEXT.class) @NotNull public @NotNull MemorySegment pCmdBufLabelsRaw() -
pCmdBufLabelsRaw
public void pCmdBufLabelsRaw(@Pointer(target=VkDebugUtilsLabelEXT.class) @NotNull @NotNull MemorySegment value) -
objectCount
-
objectCount
-
pObjects
public VkDebugUtilsMessengerCallbackDataEXT pObjects(@Nullable @Nullable IVkDebugUtilsObjectNameInfoEXT value) -
pObjects
-
pObjects
-
pObjectsRaw
@Pointer(target=VkDebugUtilsObjectNameInfoEXT.class) @NotNull public @NotNull MemorySegment pObjectsRaw() -
pObjectsRaw
public void pObjectsRaw(@Pointer(target=VkDebugUtilsObjectNameInfoEXT.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.
-