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