Package org.lwjgl.vulkan
Class VkDebugUtilsMessengerCallbackDataEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkDebugUtilsMessengerCallbackDataEXT,VkDebugUtilsMessengerCallbackDataEXT.Buffer>
-
- org.lwjgl.vulkan.VkDebugUtilsMessengerCallbackDataEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkDebugUtilsMessengerCallbackDataEXT>
,NativeResource
,Pointer
- Enclosing class:
- VkDebugUtilsMessengerCallbackDataEXT
public static class VkDebugUtilsMessengerCallbackDataEXT.Buffer extends StructBuffer<VkDebugUtilsMessengerCallbackDataEXT,VkDebugUtilsMessengerCallbackDataEXT.Buffer> implements NativeResource
An array ofVkDebugUtilsMessengerCallbackDataEXT
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, POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor Description Buffer(long address, int cap)
Buffer(java.nio.ByteBuffer container)
Creates a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cmdBufLabelCount()
Returns the value of thecmdBufLabelCount
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
cmdBufLabelCount(int value)
Sets the specified value to thecmdBufLabelCount
field.int
flags()
Returns the value of theflags
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
flags(int value)
Sets the specified value to theflags
field.int
messageIdNumber()
Returns the value of themessageIdNumber
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
messageIdNumber(int value)
Sets the specified value to themessageIdNumber
field.int
objectCount()
Returns the value of theobjectCount
field.VkDebugUtilsLabelEXT.Buffer
pCmdBufLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepCmdBufLabels
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
pCmdBufLabels(VkDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepCmdBufLabels
field.java.nio.ByteBuffer
pMessage()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessage
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
pMessage(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessage
field.java.nio.ByteBuffer
pMessageIdName()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessageIdName
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
pMessageIdName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessageIdName
field.java.lang.String
pMessageIdNameString()
Decodes the null-terminated string pointed to by thepMessageIdName
field.java.lang.String
pMessageString()
Decodes the null-terminated string pointed to by thepMessage
field.long
pNext()
Returns the value of thepNext
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
pNext(long value)
Sets the specified value to thepNext
field.VkDebugUtilsObjectNameInfoEXT.Buffer
pObjects()
Returns aVkDebugUtilsObjectNameInfoEXT.Buffer
view of the struct array pointed to by thepObjects
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
pObjects(VkDebugUtilsObjectNameInfoEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsObjectNameInfoEXT.Buffer
to thepObjects
field.VkDebugUtilsLabelEXT.Buffer
pQueueLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepQueueLabels
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
pQueueLabels(VkDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepQueueLabels
field.int
queueLabelCount()
Returns the value of thequeueLabelCount
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
queueLabelCount(int value)
Sets the specified value to thequeueLabelCount
field.int
sizeof()
Returns thesizeof
a single element in the buffer.int
sType()
Returns the value of thesType
field.VkDebugUtilsMessengerCallbackDataEXT.Buffer
sType(int value)
Sets the specified value to thesType
field.-
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 interface org.lwjgl.system.NativeResource
close, free
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class org.lwjgl.system.StructBuffer
forEach, get, get, get, get, iterator, parallelStream, put, put, spliterator, stream
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byVkDebugUtilsMessengerCallbackDataEXT.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 Detail
-
sizeof
public int sizeof()
Description copied from class:CustomBuffer
Returns thesizeof
a single element in the buffer.- Specified by:
sizeof
in classCustomBuffer<VkDebugUtilsMessengerCallbackDataEXT.Buffer>
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
pMessageIdName
@Nullable public java.nio.ByteBuffer pMessageIdName()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessageIdName
field.
-
pMessageIdNameString
@Nullable public java.lang.String pMessageIdNameString()
Decodes the null-terminated string pointed to by thepMessageIdName
field.
-
messageIdNumber
public int messageIdNumber()
Returns the value of themessageIdNumber
field.
-
pMessage
public java.nio.ByteBuffer pMessage()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessage
field.
-
pMessageString
public java.lang.String pMessageString()
Decodes the null-terminated string pointed to by thepMessage
field.
-
queueLabelCount
public int queueLabelCount()
Returns the value of thequeueLabelCount
field.
-
pQueueLabels
@Nullable public VkDebugUtilsLabelEXT.Buffer pQueueLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepQueueLabels
field.
-
cmdBufLabelCount
public int cmdBufLabelCount()
Returns the value of thecmdBufLabelCount
field.
-
pCmdBufLabels
@Nullable public VkDebugUtilsLabelEXT.Buffer pCmdBufLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepCmdBufLabels
field.
-
objectCount
public int objectCount()
Returns the value of theobjectCount
field.
-
pObjects
public VkDebugUtilsObjectNameInfoEXT.Buffer pObjects()
Returns aVkDebugUtilsObjectNameInfoEXT.Buffer
view of the struct array pointed to by thepObjects
field.
-
sType
public VkDebugUtilsMessengerCallbackDataEXT.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkDebugUtilsMessengerCallbackDataEXT.Buffer flags(int value)
Sets the specified value to theflags
field.
-
pMessageIdName
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pMessageIdName(@Nullable java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessageIdName
field.
-
messageIdNumber
public VkDebugUtilsMessengerCallbackDataEXT.Buffer messageIdNumber(int value)
Sets the specified value to themessageIdNumber
field.
-
pMessage
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pMessage(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessage
field.
-
queueLabelCount
public VkDebugUtilsMessengerCallbackDataEXT.Buffer queueLabelCount(int value)
Sets the specified value to thequeueLabelCount
field.
-
pQueueLabels
public VkDebugUtilsMessengerCallbackDataEXT.Buffer pQueueLabels(@Nullable VkDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepQueueLabels
field.
-
cmdBufLabelCount
public VkDebugUtilsMessengerCallbackDataEXT.Buffer cmdBufLabelCount(int value)
Sets the specified value to thecmdBufLabelCount
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(VkDebugUtilsObjectNameInfoEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsObjectNameInfoEXT.Buffer
to thepObjects
field.
-
-