Package org.lwjgl.openxr
Class XrEventDataVisibilityMaskChangedKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrEventDataVisibilityMaskChangedKHR,XrEventDataVisibilityMaskChangedKHR.Buffer>
-
- org.lwjgl.openxr.XrEventDataVisibilityMaskChangedKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrEventDataVisibilityMaskChangedKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrEventDataVisibilityMaskChangedKHR
public static class XrEventDataVisibilityMaskChangedKHR.Buffer extends org.lwjgl.system.StructBuffer<XrEventDataVisibilityMaskChangedKHR,XrEventDataVisibilityMaskChangedKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrEventDataVisibilityMaskChangedKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrEventDataVisibilityMaskChangedKHR.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 byXrEventDataVisibilityMaskChangedKHR.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
XrEventDataVisibilityMaskChangedKHR.type()field.
-
next
public long next()
- Returns:
- the value of the
XrEventDataVisibilityMaskChangedKHR.next()field.
-
session
public long session()
- Returns:
- the value of the
XrEventDataVisibilityMaskChangedKHR.session()field.
-
viewConfigurationType
public int viewConfigurationType()
- Returns:
- the value of the
XrEventDataVisibilityMaskChangedKHR.viewConfigurationType()field.
-
viewIndex
public int viewIndex()
- Returns:
- the value of the
XrEventDataVisibilityMaskChangedKHR.viewIndex()field.
-
type
public XrEventDataVisibilityMaskChangedKHR.Buffer type(int value)
Sets the specified value to theXrEventDataVisibilityMaskChangedKHR.type()field.
-
type$Default
public XrEventDataVisibilityMaskChangedKHR.Buffer type$Default()
Sets theTYPE_EVENT_DATA_VISIBILITY_MASK_CHANGED_KHRvalue to theXrEventDataVisibilityMaskChangedKHR.type()field.
-
next
public XrEventDataVisibilityMaskChangedKHR.Buffer next(long value)
Sets the specified value to theXrEventDataVisibilityMaskChangedKHR.next()field.
-
session
public XrEventDataVisibilityMaskChangedKHR.Buffer session(XrSession value)
Sets the specified value to theXrEventDataVisibilityMaskChangedKHR.session()field.
-
viewConfigurationType
public XrEventDataVisibilityMaskChangedKHR.Buffer viewConfigurationType(int value)
Sets the specified value to theXrEventDataVisibilityMaskChangedKHR.viewConfigurationType()field.
-
viewIndex
public XrEventDataVisibilityMaskChangedKHR.Buffer viewIndex(int value)
Sets the specified value to theXrEventDataVisibilityMaskChangedKHR.viewIndex()field.
-
-