Package org.lwjgl.openxr
Class XrSceneFrustumBoundMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSceneFrustumBoundMSFT,XrSceneFrustumBoundMSFT.Buffer>
-
- org.lwjgl.openxr.XrSceneFrustumBoundMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSceneFrustumBoundMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSceneFrustumBoundMSFT
public static class XrSceneFrustumBoundMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSceneFrustumBoundMSFT,XrSceneFrustumBoundMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSceneFrustumBoundMSFTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatfarDistance()XrSceneFrustumBoundMSFT.BufferfarDistance(float value)Sets the specified value to theXrSceneFrustumBoundMSFT.farDistance()field.XrFovffov()XrSceneFrustumBoundMSFT.Bufferfov(java.util.function.Consumer<XrFovf> consumer)Passes theXrSceneFrustumBoundMSFT.fov()field to the specifiedConsumer.XrSceneFrustumBoundMSFT.Bufferfov(XrFovf value)Copies the specifiedXrFovfto theXrSceneFrustumBoundMSFT.fov()field.XrPosefpose()XrSceneFrustumBoundMSFT.Bufferpose(java.util.function.Consumer<XrPosef> consumer)Passes theXrSceneFrustumBoundMSFT.pose()field to the specifiedConsumer.XrSceneFrustumBoundMSFT.Bufferpose(XrPosef value)Copies the specifiedXrPosefto theXrSceneFrustumBoundMSFT.pose()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSceneFrustumBoundMSFT.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 byXrSceneFrustumBoundMSFT.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
-
pose
public XrPosef pose()
- Returns:
- a
XrPosefview of theXrSceneFrustumBoundMSFT.pose()field.
-
fov
public XrFovf fov()
- Returns:
- a
XrFovfview of theXrSceneFrustumBoundMSFT.fov()field.
-
farDistance
public float farDistance()
- Returns:
- the value of the
XrSceneFrustumBoundMSFT.farDistance()field.
-
pose
public XrSceneFrustumBoundMSFT.Buffer pose(XrPosef value)
Copies the specifiedXrPosefto theXrSceneFrustumBoundMSFT.pose()field.
-
pose
public XrSceneFrustumBoundMSFT.Buffer pose(java.util.function.Consumer<XrPosef> consumer)
Passes theXrSceneFrustumBoundMSFT.pose()field to the specifiedConsumer.
-
fov
public XrSceneFrustumBoundMSFT.Buffer fov(XrFovf value)
Copies the specifiedXrFovfto theXrSceneFrustumBoundMSFT.fov()field.
-
fov
public XrSceneFrustumBoundMSFT.Buffer fov(java.util.function.Consumer<XrFovf> consumer)
Passes theXrSceneFrustumBoundMSFT.fov()field to the specifiedConsumer.
-
farDistance
public XrSceneFrustumBoundMSFT.Buffer farDistance(float value)
Sets the specified value to theXrSceneFrustumBoundMSFT.farDistance()field.
-
-