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
;
uint32_t cmdBufLabelCount
; // optional
VkDebugUtilsLabelEXT
const* pCmdBufLabels
;
uint32_t objectCount
; // optional
VkDebugUtilsObjectNameInfoEXT
const* pObjects
;
} 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 record
Represents a pointer to / an array ofVkDebugUtilsMessengerCallbackDataEXT
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 ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
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 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 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
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkDebugUtilsMessengerCallbackDataEXT
(@NotNull MemorySegment segment) Creates an instance of aVkDebugUtilsMessengerCallbackDataEXT
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkDebugUtilsMessengerCallbackDataEXT src) int
cmdBufLabelCount
(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.int
messageIdNumber
(int value) int
objectCount
(int value) @Nullable VkDebugUtilsLabelEXT
pCmdBufLabels
(int assumedCount) pCmdBufLabels
(@Nullable IVkDebugUtilsLabelEXT value) void
pCmdBufLabelsRaw
(MemorySegment value) @Nullable BytePtr
pMessage()
Note: the returnedBytePtr
does not have correctBytePtr.size()
property.@Nullable BytePtr
Note: the returnedBytePtr
does not have correctBytePtr.size()
property.pMessageIdName
(@Nullable BytePtr value) void
pMessageIdNameRaw
(MemorySegment value) void
pMessageRaw
(MemorySegment value) pNext()
void
pNext
(MemorySegment value) @Nullable VkDebugUtilsObjectNameInfoEXT
pObjects()
pObjects
(int assumedCount) pObjects
(@Nullable IVkDebugUtilsObjectNameInfoEXT value) void
pObjectsRaw
(MemorySegment value) @Nullable VkDebugUtilsLabelEXT
pQueueLabels
(int assumedCount) pQueueLabels
(@Nullable IVkDebugUtilsLabelEXT value) void
pQueueLabelsRaw
(MemorySegment value) int
queueLabelCount
(int value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) final String
toString()
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 aVkDebugUtilsMessengerCallbackDataEXT
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkDebugUtilsMessengerCallbackDataEXT clone(Arena arena, VkDebugUtilsMessengerCallbackDataEXT src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
flags
-
flags
public VkDebugUtilsMessengerCallbackDataEXT flags(@EnumType(VkDebugUtilsMessengerCallbackDataFlagsEXT.class) int value) -
pMessageIdName
Note: the returnedBytePtr
does 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 returnedBytePtr
does 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
-
pQueueLabelsRaw
-
cmdBufLabelCount
-
cmdBufLabelCount
-
pCmdBufLabels
public VkDebugUtilsMessengerCallbackDataEXT pCmdBufLabels(@Nullable @Nullable IVkDebugUtilsLabelEXT value) -
pCmdBufLabels
-
pCmdBufLabels
-
pCmdBufLabelsRaw
-
pCmdBufLabelsRaw
-
objectCount
-
objectCount
-
pObjects
public VkDebugUtilsMessengerCallbackDataEXT pObjects(@Nullable @Nullable IVkDebugUtilsObjectNameInfoEXT value) -
pObjects
-
pObjects
-
pObjectsRaw
-
pObjectsRaw
-
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.
-