Package org.lwjgl.openxr
Class XrDebugUtilsMessengerCallbackDataEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrDebugUtilsMessengerCallbackDataEXT,XrDebugUtilsMessengerCallbackDataEXT.Buffer>
-
- org.lwjgl.openxr.XrDebugUtilsMessengerCallbackDataEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrDebugUtilsMessengerCallbackDataEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrDebugUtilsMessengerCallbackDataEXT
public static class XrDebugUtilsMessengerCallbackDataEXT.Buffer extends org.lwjgl.system.StructBuffer<XrDebugUtilsMessengerCallbackDataEXT,XrDebugUtilsMessengerCallbackDataEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrDebugUtilsMessengerCallbackDataEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrDebugUtilsMessengerCallbackDataEXT.Bufferinstance 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 byXrDebugUtilsMessengerCallbackDataEXT.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
-
type
public int type()
- Returns:
- the value of the
XrDebugUtilsMessengerCallbackDataEXT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrDebugUtilsMessengerCallbackDataEXT.next()field.
-
messageId
public java.nio.ByteBuffer messageId()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theXrDebugUtilsMessengerCallbackDataEXT.messageId()field.
-
messageIdString
public java.lang.String messageIdString()
- Returns:
- the null-terminated string pointed to by the
XrDebugUtilsMessengerCallbackDataEXT.messageId()field.
-
functionName
public java.nio.ByteBuffer functionName()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theXrDebugUtilsMessengerCallbackDataEXT.functionName()field.
-
functionNameString
public java.lang.String functionNameString()
- Returns:
- the null-terminated string pointed to by the
XrDebugUtilsMessengerCallbackDataEXT.functionName()field.
-
message
public java.nio.ByteBuffer message()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theXrDebugUtilsMessengerCallbackDataEXT.message()field.
-
messageString
public java.lang.String messageString()
- Returns:
- the null-terminated string pointed to by the
XrDebugUtilsMessengerCallbackDataEXT.message()field.
-
objectCount
public int objectCount()
- Returns:
- the value of the
XrDebugUtilsMessengerCallbackDataEXT.objectCount()field.
-
objects
@Nullable public XrDebugUtilsObjectNameInfoEXT.Buffer objects()
- Returns:
- a
XrDebugUtilsObjectNameInfoEXT.Bufferview of the struct array pointed to by theXrDebugUtilsMessengerCallbackDataEXT.objects()field.
-
sessionLabelCount
public int sessionLabelCount()
- Returns:
- the value of the
XrDebugUtilsMessengerCallbackDataEXT.sessionLabelCount()field.
-
sessionLabels
@Nullable public XrDebugUtilsLabelEXT.Buffer sessionLabels()
- Returns:
- a
XrDebugUtilsLabelEXT.Bufferview of the struct array pointed to by theXrDebugUtilsMessengerCallbackDataEXT.sessionLabels()field.
-
type
public XrDebugUtilsMessengerCallbackDataEXT.Buffer type(int value)
Sets the specified value to theXrDebugUtilsMessengerCallbackDataEXT.type()field.
-
type$Default
public XrDebugUtilsMessengerCallbackDataEXT.Buffer type$Default()
Sets theTYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXTvalue to theXrDebugUtilsMessengerCallbackDataEXT.type()field.
-
next
public XrDebugUtilsMessengerCallbackDataEXT.Buffer next(long value)
Sets the specified value to theXrDebugUtilsMessengerCallbackDataEXT.next()field.
-
messageId
public XrDebugUtilsMessengerCallbackDataEXT.Buffer messageId(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theXrDebugUtilsMessengerCallbackDataEXT.messageId()field.
-
functionName
public XrDebugUtilsMessengerCallbackDataEXT.Buffer functionName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theXrDebugUtilsMessengerCallbackDataEXT.functionName()field.
-
message
public XrDebugUtilsMessengerCallbackDataEXT.Buffer message(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theXrDebugUtilsMessengerCallbackDataEXT.message()field.
-
objectCount
public XrDebugUtilsMessengerCallbackDataEXT.Buffer objectCount(int value)
Sets the specified value to theXrDebugUtilsMessengerCallbackDataEXT.objectCount()field.
-
objects
public XrDebugUtilsMessengerCallbackDataEXT.Buffer objects(@Nullable XrDebugUtilsObjectNameInfoEXT.Buffer value)
Sets the address of the specifiedXrDebugUtilsObjectNameInfoEXT.Bufferto theXrDebugUtilsMessengerCallbackDataEXT.objects()field.
-
sessionLabelCount
public XrDebugUtilsMessengerCallbackDataEXT.Buffer sessionLabelCount(int value)
Sets the specified value to theXrDebugUtilsMessengerCallbackDataEXT.sessionLabelCount()field.
-
sessionLabels
public XrDebugUtilsMessengerCallbackDataEXT.Buffer sessionLabels(@Nullable XrDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedXrDebugUtilsLabelEXT.Bufferto theXrDebugUtilsMessengerCallbackDataEXT.sessionLabels()field.
-
-