Package org.lwjgl.vulkan
Class VkDebugUtilsMessengerCallbackDataEXT.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkDebugUtilsMessengerCallbackDataEXT.Buffer>
org.lwjgl.system.StructBuffer<VkDebugUtilsMessengerCallbackDataEXT,VkDebugUtilsMessengerCallbackDataEXT.Buffer>
org.lwjgl.vulkan.VkDebugUtilsMessengerCallbackDataEXT.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<VkDebugUtilsMessengerCallbackDataEXT>
,NativeResource
,Pointer
- Enclosing class:
VkDebugUtilsMessengerCallbackDataEXT
public static class VkDebugUtilsMessengerCallbackDataEXT.Buffer
extends StructBuffer<VkDebugUtilsMessengerCallbackDataEXT,VkDebugUtilsMessengerCallbackDataEXT.Buffer>
implements NativeResource
An array of
VkDebugUtilsMessengerCallbackDataEXT
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
int
flags()
flags
(int value) Sets the specified value to theflags
field.int
messageIdNumber
(int value) Sets the specified value to themessageIdNumber
field.int
@Nullable VkDebugUtilsLabelEXT.Buffer
pCmdBufLabels
(@Nullable VkDebugUtilsLabelEXT.Buffer value) Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepCmdBufLabels
field.@Nullable ByteBuffer
pMessage()
pMessage
(@Nullable ByteBuffer value) Sets the address of the specified encoded string to thepMessage
field.@Nullable ByteBuffer
pMessageIdName
(@Nullable ByteBuffer value) Sets the address of the specified encoded string to thepMessageIdName
field.@Nullable String
@Nullable String
long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.Prepends the specifiedVkDeviceAddressBindingCallbackDataEXT
value to thepNext
chain.@Nullable VkDebugUtilsObjectNameInfoEXT.Buffer
pObjects()
pObjects
(@Nullable VkDebugUtilsObjectNameInfoEXT.Buffer value) Sets the address of the specifiedVkDebugUtilsObjectNameInfoEXT.Buffer
to thepObjects
field.@Nullable VkDebugUtilsLabelEXT.Buffer
pQueueLabels
(@Nullable VkDebugUtilsLabelEXT.Buffer value) Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepQueueLabels
field.int
int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT
value to thesType
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
VkDebugUtilsMessengerCallbackDataEXT.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
pMessageIdName
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by thepMessageIdName
field.
-
pMessageIdNameString
- Returns:
- the null-terminated string pointed to by the
pMessageIdName
field.
-
messageIdNumber
public int messageIdNumber()- Returns:
- the value of the
messageIdNumber
field.
-
pMessage
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by thepMessage
field.
-
pMessageString
- Returns:
- the null-terminated string pointed to by the
pMessage
field.
-
queueLabelCount
public int queueLabelCount()- Returns:
- the value of the
queueLabelCount
field.
-
pQueueLabels
- Returns:
- a
VkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepQueueLabels
field.
-
cmdBufLabelCount
public int cmdBufLabelCount()- Returns:
- the value of the
cmdBufLabelCount
field.
-
pCmdBufLabels
- Returns:
- a
VkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepCmdBufLabels
field.
-
objectCount
public int objectCount()- Returns:
- the value of the
objectCount
field.
-
pObjects
- Returns:
- a
VkDebugUtilsObjectNameInfoEXT.Buffer
view of the struct array pointed to by thepObjects
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
pNext
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pNext(VkDeviceAddressBindingCallbackDataEXT value) Prepends the specifiedVkDeviceAddressBindingCallbackDataEXT
value to thepNext
chain. -
flags
Sets the specified value to theflags
field. -
pMessageIdName
Sets the address of the specified encoded string to thepMessageIdName
field. -
messageIdNumber
Sets the specified value to themessageIdNumber
field. -
pMessage
Sets the address of the specified encoded string to thepMessage
field. -
pQueueLabels
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pQueueLabels(@Nullable VkDebugUtilsLabelEXT.Buffer value) Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepQueueLabels
field. -
pCmdBufLabels
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pCmdBufLabels(@Nullable VkDebugUtilsLabelEXT.Buffer value) Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepCmdBufLabels
field. -
pObjects
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pObjects(@Nullable VkDebugUtilsObjectNameInfoEXT.Buffer value) Sets the address of the specifiedVkDebugUtilsObjectNameInfoEXT.Buffer
to thepObjects
field.
-