Package org.lwjgl.openxr
Class XrEventDataSessionStateChanged.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrEventDataSessionStateChanged,XrEventDataSessionStateChanged.Buffer>
-
- org.lwjgl.openxr.XrEventDataSessionStateChanged.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrEventDataSessionStateChanged>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrEventDataSessionStateChanged
public static class XrEventDataSessionStateChanged.Buffer extends org.lwjgl.system.StructBuffer<XrEventDataSessionStateChanged,XrEventDataSessionStateChanged.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrEventDataSessionStateChangedstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()XrEventDataSessionStateChanged.Buffernext(long value)Sets the specified value to theXrEventDataSessionStateChanged.next()field.longsession()XrEventDataSessionStateChanged.Buffersession(XrSession value)Sets the specified value to theXrEventDataSessionStateChanged.session()field.intstate()XrEventDataSessionStateChanged.Bufferstate(int value)Sets the specified value to theXrEventDataSessionStateChanged.state()field.longtime()XrEventDataSessionStateChanged.Buffertime(long value)Sets the specified value to theXrEventDataSessionStateChanged.time()field.inttype()XrEventDataSessionStateChanged.Buffertype(int value)Sets the specified value to theXrEventDataSessionStateChanged.type()field.XrEventDataSessionStateChanged.Buffertype$Default()Sets theTYPE_EVENT_DATA_SESSION_STATE_CHANGEDvalue to theXrEventDataSessionStateChanged.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrEventDataSessionStateChanged.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 byXrEventDataSessionStateChanged.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
XrEventDataSessionStateChanged.type()field.
-
next
public long next()
- Returns:
- the value of the
XrEventDataSessionStateChanged.next()field.
-
session
public long session()
- Returns:
- the value of the
XrEventDataSessionStateChanged.session()field.
-
state
public int state()
- Returns:
- the value of the
XrEventDataSessionStateChanged.state()field.
-
time
public long time()
- Returns:
- the value of the
XrEventDataSessionStateChanged.time()field.
-
type
public XrEventDataSessionStateChanged.Buffer type(int value)
Sets the specified value to theXrEventDataSessionStateChanged.type()field.
-
type$Default
public XrEventDataSessionStateChanged.Buffer type$Default()
Sets theTYPE_EVENT_DATA_SESSION_STATE_CHANGEDvalue to theXrEventDataSessionStateChanged.type()field.
-
next
public XrEventDataSessionStateChanged.Buffer next(long value)
Sets the specified value to theXrEventDataSessionStateChanged.next()field.
-
session
public XrEventDataSessionStateChanged.Buffer session(XrSession value)
Sets the specified value to theXrEventDataSessionStateChanged.session()field.
-
state
public XrEventDataSessionStateChanged.Buffer state(int value)
Sets the specified value to theXrEventDataSessionStateChanged.state()field.
-
time
public XrEventDataSessionStateChanged.Buffer time(long value)
Sets the specified value to theXrEventDataSessionStateChanged.time()field.
-
-