Package org.lwjgl.openxr
Class XrSceneComponentsLocateInfoMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSceneComponentsLocateInfoMSFT,XrSceneComponentsLocateInfoMSFT.Buffer>
-
- org.lwjgl.openxr.XrSceneComponentsLocateInfoMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSceneComponentsLocateInfoMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSceneComponentsLocateInfoMSFT
public static class XrSceneComponentsLocateInfoMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSceneComponentsLocateInfoMSFT,XrSceneComponentsLocateInfoMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSceneComponentsLocateInfoMSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSceneComponentsLocateInfoMSFT.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 byXrSceneComponentsLocateInfoMSFT.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
XrSceneComponentsLocateInfoMSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSceneComponentsLocateInfoMSFT.next()field.
-
baseSpace
public long baseSpace()
- Returns:
- the value of the
XrSceneComponentsLocateInfoMSFT.baseSpace()field.
-
time
public long time()
- Returns:
- the value of the
XrSceneComponentsLocateInfoMSFT.time()field.
-
componentIdCount
public int componentIdCount()
- Returns:
- the value of the
XrSceneComponentsLocateInfoMSFT.componentIdCount()field.
-
componentIds
@Nullable public XrUuidMSFT.Buffer componentIds()
- Returns:
- a
XrUuidMSFT.Bufferview of the struct array pointed to by theXrSceneComponentsLocateInfoMSFT.componentIds()field.
-
type
public XrSceneComponentsLocateInfoMSFT.Buffer type(int value)
Sets the specified value to theXrSceneComponentsLocateInfoMSFT.type()field.
-
type$Default
public XrSceneComponentsLocateInfoMSFT.Buffer type$Default()
Sets theTYPE_SCENE_COMPONENTS_LOCATE_INFO_MSFTvalue to theXrSceneComponentsLocateInfoMSFT.type()field.
-
next
public XrSceneComponentsLocateInfoMSFT.Buffer next(long value)
Sets the specified value to theXrSceneComponentsLocateInfoMSFT.next()field.
-
baseSpace
public XrSceneComponentsLocateInfoMSFT.Buffer baseSpace(XrSpace value)
Sets the specified value to theXrSceneComponentsLocateInfoMSFT.baseSpace()field.
-
time
public XrSceneComponentsLocateInfoMSFT.Buffer time(long value)
Sets the specified value to theXrSceneComponentsLocateInfoMSFT.time()field.
-
componentIdCount
public XrSceneComponentsLocateInfoMSFT.Buffer componentIdCount(int value)
Sets the specified value to theXrSceneComponentsLocateInfoMSFT.componentIdCount()field.
-
componentIds
public XrSceneComponentsLocateInfoMSFT.Buffer componentIds(@Nullable XrUuidMSFT.Buffer value)
Sets the address of the specifiedXrUuidMSFT.Bufferto theXrSceneComponentsLocateInfoMSFT.componentIds()field.
-
-