Package org.lwjgl.openxr
Class XrInputSourceLocalizedNameGetInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrInputSourceLocalizedNameGetInfo,XrInputSourceLocalizedNameGetInfo.Buffer>
-
- org.lwjgl.openxr.XrInputSourceLocalizedNameGetInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrInputSourceLocalizedNameGetInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrInputSourceLocalizedNameGetInfo
public static class XrInputSourceLocalizedNameGetInfo.Buffer extends org.lwjgl.system.StructBuffer<XrInputSourceLocalizedNameGetInfo,XrInputSourceLocalizedNameGetInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrInputSourceLocalizedNameGetInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()XrInputSourceLocalizedNameGetInfo.Buffernext(long value)Sets the specified value to theXrInputSourceLocalizedNameGetInfo.next()field.longsourcePath()XrInputSourceLocalizedNameGetInfo.BuffersourcePath(long value)Sets the specified value to thesourcePathfield.inttype()XrInputSourceLocalizedNameGetInfo.Buffertype(int value)Sets the specified value to theXrInputSourceLocalizedNameGetInfo.type()field.XrInputSourceLocalizedNameGetInfo.Buffertype$Default()Sets theTYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFOvalue to theXrInputSourceLocalizedNameGetInfo.type()field.longwhichComponents()XrInputSourceLocalizedNameGetInfo.BufferwhichComponents(long value)Sets the specified value to theXrInputSourceLocalizedNameGetInfo.whichComponents()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrInputSourceLocalizedNameGetInfo.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 byXrInputSourceLocalizedNameGetInfo.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
XrInputSourceLocalizedNameGetInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrInputSourceLocalizedNameGetInfo.next()field.
-
sourcePath
public long sourcePath()
- Returns:
- the value of the
sourcePathfield.
-
whichComponents
public long whichComponents()
- Returns:
- the value of the
XrInputSourceLocalizedNameGetInfo.whichComponents()field.
-
type
public XrInputSourceLocalizedNameGetInfo.Buffer type(int value)
Sets the specified value to theXrInputSourceLocalizedNameGetInfo.type()field.
-
type$Default
public XrInputSourceLocalizedNameGetInfo.Buffer type$Default()
Sets theTYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFOvalue to theXrInputSourceLocalizedNameGetInfo.type()field.
-
next
public XrInputSourceLocalizedNameGetInfo.Buffer next(long value)
Sets the specified value to theXrInputSourceLocalizedNameGetInfo.next()field.
-
sourcePath
public XrInputSourceLocalizedNameGetInfo.Buffer sourcePath(long value)
Sets the specified value to thesourcePathfield.
-
whichComponents
public XrInputSourceLocalizedNameGetInfo.Buffer whichComponents(long value)
Sets the specified value to theXrInputSourceLocalizedNameGetInfo.whichComponents()field.
-
-