Package org.lwjgl.openxr
Class XrSceneObjectsMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSceneObjectsMSFT,XrSceneObjectsMSFT.Buffer>
-
- org.lwjgl.openxr.XrSceneObjectsMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSceneObjectsMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSceneObjectsMSFT
public static class XrSceneObjectsMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSceneObjectsMSFT,XrSceneObjectsMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSceneObjectsMSFTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()XrSceneObjectsMSFT.Buffernext(long value)Sets the specified value to theXrSceneObjectsMSFT.next()field.intsceneObjectCount()XrSceneObjectsMSFT.BuffersceneObjectCount(int value)Sets the specified value to theXrSceneObjectsMSFT.sceneObjectCount()field.XrSceneObjectMSFT.BuffersceneObjects()XrSceneObjectsMSFT.BuffersceneObjects(XrSceneObjectMSFT.Buffer value)Sets the address of the specifiedXrSceneObjectMSFT.Bufferto theXrSceneObjectsMSFT.sceneObjects()field.inttype()XrSceneObjectsMSFT.Buffertype(int value)Sets the specified value to theXrSceneObjectsMSFT.type()field.XrSceneObjectsMSFT.Buffertype$Default()Sets theTYPE_SCENE_OBJECTS_MSFTvalue to theXrSceneObjectsMSFT.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSceneObjectsMSFT.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 byXrSceneObjectsMSFT.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
XrSceneObjectsMSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSceneObjectsMSFT.next()field.
-
sceneObjectCount
public int sceneObjectCount()
- Returns:
- the value of the
XrSceneObjectsMSFT.sceneObjectCount()field.
-
sceneObjects
@Nullable public XrSceneObjectMSFT.Buffer sceneObjects()
- Returns:
- a
XrSceneObjectMSFT.Bufferview of the struct array pointed to by theXrSceneObjectsMSFT.sceneObjects()field.
-
type
public XrSceneObjectsMSFT.Buffer type(int value)
Sets the specified value to theXrSceneObjectsMSFT.type()field.
-
type$Default
public XrSceneObjectsMSFT.Buffer type$Default()
Sets theTYPE_SCENE_OBJECTS_MSFTvalue to theXrSceneObjectsMSFT.type()field.
-
next
public XrSceneObjectsMSFT.Buffer next(long value)
Sets the specified value to theXrSceneObjectsMSFT.next()field.
-
sceneObjectCount
public XrSceneObjectsMSFT.Buffer sceneObjectCount(int value)
Sets the specified value to theXrSceneObjectsMSFT.sceneObjectCount()field.
-
sceneObjects
public XrSceneObjectsMSFT.Buffer sceneObjects(@Nullable XrSceneObjectMSFT.Buffer value)
Sets the address of the specifiedXrSceneObjectMSFT.Bufferto theXrSceneObjectsMSFT.sceneObjects()field.
-
-