Package org.lwjgl.openxr
Class XrSceneBoundsMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSceneBoundsMSFT,XrSceneBoundsMSFT.Buffer>
-
- org.lwjgl.openxr.XrSceneBoundsMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSceneBoundsMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSceneBoundsMSFT
public static class XrSceneBoundsMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSceneBoundsMSFT,XrSceneBoundsMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSceneBoundsMSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSceneBoundsMSFT.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 byXrSceneBoundsMSFT.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
-
space
public long space()
- Returns:
- the value of the
XrSceneBoundsMSFT.space()field.
-
time
public long time()
- Returns:
- the value of the
XrSceneBoundsMSFT.time()field.
-
sphereCount
public int sphereCount()
- Returns:
- the value of the
XrSceneBoundsMSFT.sphereCount()field.
-
spheres
@Nullable public XrSceneSphereBoundMSFT.Buffer spheres()
- Returns:
- a
XrSceneSphereBoundMSFT.Bufferview of the struct array pointed to by theXrSceneBoundsMSFT.spheres()field.
-
boxCount
public int boxCount()
- Returns:
- the value of the
XrSceneBoundsMSFT.boxCount()field.
-
boxes
@Nullable public XrSceneOrientedBoxBoundMSFT.Buffer boxes()
- Returns:
- a
XrSceneOrientedBoxBoundMSFT.Bufferview of the struct array pointed to by theXrSceneBoundsMSFT.boxes()field.
-
frustumCount
public int frustumCount()
- Returns:
- the value of the
XrSceneBoundsMSFT.frustumCount()field.
-
frustums
@Nullable public XrSceneFrustumBoundMSFT.Buffer frustums()
- Returns:
- a
XrSceneFrustumBoundMSFT.Bufferview of the struct array pointed to by theXrSceneBoundsMSFT.frustums()field.
-
space
public XrSceneBoundsMSFT.Buffer space(XrSpace value)
Sets the specified value to theXrSceneBoundsMSFT.space()field.
-
time
public XrSceneBoundsMSFT.Buffer time(long value)
Sets the specified value to theXrSceneBoundsMSFT.time()field.
-
sphereCount
public XrSceneBoundsMSFT.Buffer sphereCount(int value)
Sets the specified value to theXrSceneBoundsMSFT.sphereCount()field.
-
spheres
public XrSceneBoundsMSFT.Buffer spheres(@Nullable XrSceneSphereBoundMSFT.Buffer value)
Sets the address of the specifiedXrSceneSphereBoundMSFT.Bufferto theXrSceneBoundsMSFT.spheres()field.
-
boxCount
public XrSceneBoundsMSFT.Buffer boxCount(int value)
Sets the specified value to theXrSceneBoundsMSFT.boxCount()field.
-
boxes
public XrSceneBoundsMSFT.Buffer boxes(@Nullable XrSceneOrientedBoxBoundMSFT.Buffer value)
Sets the address of the specifiedXrSceneOrientedBoxBoundMSFT.Bufferto theXrSceneBoundsMSFT.boxes()field.
-
frustumCount
public XrSceneBoundsMSFT.Buffer frustumCount(int value)
Sets the specified value to theXrSceneBoundsMSFT.frustumCount()field.
-
frustums
public XrSceneBoundsMSFT.Buffer frustums(@Nullable XrSceneFrustumBoundMSFT.Buffer value)
Sets the address of the specifiedXrSceneFrustumBoundMSFT.Bufferto theXrSceneBoundsMSFT.frustums()field.
-
-