Package org.lwjgl.openxr
Class XrDebugUtilsObjectNameInfoEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrDebugUtilsObjectNameInfoEXT,XrDebugUtilsObjectNameInfoEXT.Buffer>
-
- org.lwjgl.openxr.XrDebugUtilsObjectNameInfoEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrDebugUtilsObjectNameInfoEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrDebugUtilsObjectNameInfoEXT
public static class XrDebugUtilsObjectNameInfoEXT.Buffer extends org.lwjgl.system.StructBuffer<XrDebugUtilsObjectNameInfoEXT,XrDebugUtilsObjectNameInfoEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrDebugUtilsObjectNameInfoEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrDebugUtilsObjectNameInfoEXT.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 byXrDebugUtilsObjectNameInfoEXT.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
XrDebugUtilsObjectNameInfoEXT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrDebugUtilsObjectNameInfoEXT.next()field.
-
objectType
public int objectType()
- Returns:
- the value of the
XrDebugUtilsObjectNameInfoEXT.objectType()field.
-
objectHandle
public long objectHandle()
- Returns:
- the value of the
XrDebugUtilsObjectNameInfoEXT.objectHandle()field.
-
objectName
@Nullable public java.nio.ByteBuffer objectName()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theXrDebugUtilsObjectNameInfoEXT.objectName()field.
-
objectNameString
@Nullable public java.lang.String objectNameString()
- Returns:
- the null-terminated string pointed to by the
XrDebugUtilsObjectNameInfoEXT.objectName()field.
-
type
public XrDebugUtilsObjectNameInfoEXT.Buffer type(int value)
Sets the specified value to theXrDebugUtilsObjectNameInfoEXT.type()field.
-
type$Default
public XrDebugUtilsObjectNameInfoEXT.Buffer type$Default()
Sets theTYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXTvalue to theXrDebugUtilsObjectNameInfoEXT.type()field.
-
next
public XrDebugUtilsObjectNameInfoEXT.Buffer next(long value)
Sets the specified value to theXrDebugUtilsObjectNameInfoEXT.next()field.
-
objectType
public XrDebugUtilsObjectNameInfoEXT.Buffer objectType(int value)
Sets the specified value to theXrDebugUtilsObjectNameInfoEXT.objectType()field.
-
objectHandle
public XrDebugUtilsObjectNameInfoEXT.Buffer objectHandle(long value)
Sets the specified value to theXrDebugUtilsObjectNameInfoEXT.objectHandle()field.
-
objectName
public XrDebugUtilsObjectNameInfoEXT.Buffer objectName(@Nullable java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theXrDebugUtilsObjectNameInfoEXT.objectName()field.
-
-