Package org.lwjgl.openxr
Class XrEventDataMainSessionVisibilityChangedEXTX.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrEventDataMainSessionVisibilityChangedEXTX,XrEventDataMainSessionVisibilityChangedEXTX.Buffer>
-
- org.lwjgl.openxr.XrEventDataMainSessionVisibilityChangedEXTX.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrEventDataMainSessionVisibilityChangedEXTX>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrEventDataMainSessionVisibilityChangedEXTX
public static class XrEventDataMainSessionVisibilityChangedEXTX.Buffer extends org.lwjgl.system.StructBuffer<XrEventDataMainSessionVisibilityChangedEXTX,XrEventDataMainSessionVisibilityChangedEXTX.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrEventDataMainSessionVisibilityChangedEXTXstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longflags()XrEventDataMainSessionVisibilityChangedEXTX.Bufferflags(long value)Sets the specified value to theflagsfield.longnext()XrEventDataMainSessionVisibilityChangedEXTX.Buffernext(long value)Sets the specified value to thenextfield.inttype()XrEventDataMainSessionVisibilityChangedEXTX.Buffertype(int value)Sets the specified value to thetypefield.XrEventDataMainSessionVisibilityChangedEXTX.Buffertype$Default()Sets theTYPE_EVENT_DATA_MAIN_SESSION_VISIBILITY_CHANGED_EXTXvalue to thetypefield.booleanvisible()XrEventDataMainSessionVisibilityChangedEXTX.Buffervisible(boolean value)Sets the specified value to thevisiblefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrEventDataMainSessionVisibilityChangedEXTX.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 byXrEventDataMainSessionVisibilityChangedEXTX.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
typefield.
-
next
public long next()
- Returns:
- the value of the
nextfield.
-
visible
public boolean visible()
- Returns:
- the value of the
visiblefield.
-
flags
public long flags()
- Returns:
- the value of the
flagsfield.
-
type
public XrEventDataMainSessionVisibilityChangedEXTX.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrEventDataMainSessionVisibilityChangedEXTX.Buffer type$Default()
Sets theTYPE_EVENT_DATA_MAIN_SESSION_VISIBILITY_CHANGED_EXTXvalue to thetypefield.
-
next
public XrEventDataMainSessionVisibilityChangedEXTX.Buffer next(long value)
Sets the specified value to thenextfield.
-
visible
public XrEventDataMainSessionVisibilityChangedEXTX.Buffer visible(boolean value)
Sets the specified value to thevisiblefield.
-
flags
public XrEventDataMainSessionVisibilityChangedEXTX.Buffer flags(long value)
Sets the specified value to theflagsfield.
-
-