Package org.lwjgl.openxr
Class XrDebugUtilsLabelEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrDebugUtilsLabelEXT,XrDebugUtilsLabelEXT.Buffer>
-
- org.lwjgl.openxr.XrDebugUtilsLabelEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrDebugUtilsLabelEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrDebugUtilsLabelEXT
public static class XrDebugUtilsLabelEXT.Buffer extends org.lwjgl.system.StructBuffer<XrDebugUtilsLabelEXT,XrDebugUtilsLabelEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrDebugUtilsLabelEXTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBufferlabelName()XrDebugUtilsLabelEXT.BufferlabelName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theXrDebugUtilsLabelEXT.labelName()field.java.lang.StringlabelNameString()longnext()XrDebugUtilsLabelEXT.Buffernext(long value)Sets the specified value to theXrDebugUtilsLabelEXT.next()field.inttype()XrDebugUtilsLabelEXT.Buffertype(int value)Sets the specified value to theXrDebugUtilsLabelEXT.type()field.XrDebugUtilsLabelEXT.Buffertype$Default()Sets theTYPE_DEBUG_UTILS_LABEL_EXTvalue to theXrDebugUtilsLabelEXT.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrDebugUtilsLabelEXT.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 byXrDebugUtilsLabelEXT.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
XrDebugUtilsLabelEXT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrDebugUtilsLabelEXT.next()field.
-
labelName
public java.nio.ByteBuffer labelName()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theXrDebugUtilsLabelEXT.labelName()field.
-
labelNameString
public java.lang.String labelNameString()
- Returns:
- the null-terminated string pointed to by the
XrDebugUtilsLabelEXT.labelName()field.
-
type
public XrDebugUtilsLabelEXT.Buffer type(int value)
Sets the specified value to theXrDebugUtilsLabelEXT.type()field.
-
type$Default
public XrDebugUtilsLabelEXT.Buffer type$Default()
Sets theTYPE_DEBUG_UTILS_LABEL_EXTvalue to theXrDebugUtilsLabelEXT.type()field.
-
next
public XrDebugUtilsLabelEXT.Buffer next(long value)
Sets the specified value to theXrDebugUtilsLabelEXT.next()field.
-
labelName
public XrDebugUtilsLabelEXT.Buffer labelName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theXrDebugUtilsLabelEXT.labelName()field.
-
-