Package org.lwjgl.openxr
Class XrBoundSourcesForActionEnumerateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrBoundSourcesForActionEnumerateInfo,XrBoundSourcesForActionEnumerateInfo.Buffer>
-
- org.lwjgl.openxr.XrBoundSourcesForActionEnumerateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrBoundSourcesForActionEnumerateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrBoundSourcesForActionEnumerateInfo
public static class XrBoundSourcesForActionEnumerateInfo.Buffer extends org.lwjgl.system.StructBuffer<XrBoundSourcesForActionEnumerateInfo,XrBoundSourcesForActionEnumerateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrBoundSourcesForActionEnumerateInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaction()XrBoundSourcesForActionEnumerateInfo.Bufferaction(XrAction value)Sets the specified value to theXrBoundSourcesForActionEnumerateInfo.action()field.longnext()XrBoundSourcesForActionEnumerateInfo.Buffernext(long value)Sets the specified value to theXrBoundSourcesForActionEnumerateInfo.next()field.inttype()XrBoundSourcesForActionEnumerateInfo.Buffertype(int value)Sets the specified value to theXrBoundSourcesForActionEnumerateInfo.type()field.XrBoundSourcesForActionEnumerateInfo.Buffertype$Default()Sets theTYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFOvalue to theXrBoundSourcesForActionEnumerateInfo.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrBoundSourcesForActionEnumerateInfo.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 byXrBoundSourcesForActionEnumerateInfo.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
XrBoundSourcesForActionEnumerateInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrBoundSourcesForActionEnumerateInfo.next()field.
-
action
public long action()
- Returns:
- the value of the
XrBoundSourcesForActionEnumerateInfo.action()field.
-
type
public XrBoundSourcesForActionEnumerateInfo.Buffer type(int value)
Sets the specified value to theXrBoundSourcesForActionEnumerateInfo.type()field.
-
type$Default
public XrBoundSourcesForActionEnumerateInfo.Buffer type$Default()
Sets theTYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFOvalue to theXrBoundSourcesForActionEnumerateInfo.type()field.
-
next
public XrBoundSourcesForActionEnumerateInfo.Buffer next(long value)
Sets the specified value to theXrBoundSourcesForActionEnumerateInfo.next()field.
-
action
public XrBoundSourcesForActionEnumerateInfo.Buffer action(XrAction value)
Sets the specified value to theXrBoundSourcesForActionEnumerateInfo.action()field.
-
-