Package org.lwjgl.openxr
Class XrFovf.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrFovf,XrFovf.Buffer>
-
- org.lwjgl.openxr.XrFovf.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrFovf>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrFovf
public static class XrFovf.Buffer extends org.lwjgl.system.StructBuffer<XrFovf,XrFovf.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrFovfstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatangleDown()XrFovf.BufferangleDown(float value)Sets the specified value to theXrFovf.angleDown()field.floatangleLeft()XrFovf.BufferangleLeft(float value)Sets the specified value to theXrFovf.angleLeft()field.floatangleRight()XrFovf.BufferangleRight(float value)Sets the specified value to theXrFovf.angleRight()field.floatangleUp()XrFovf.BufferangleUp(float value)Sets the specified value to theXrFovf.angleUp()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrFovf.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 byXrFovf.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
-
angleLeft
public float angleLeft()
- Returns:
- the value of the
XrFovf.angleLeft()field.
-
angleRight
public float angleRight()
- Returns:
- the value of the
XrFovf.angleRight()field.
-
angleUp
public float angleUp()
- Returns:
- the value of the
XrFovf.angleUp()field.
-
angleDown
public float angleDown()
- Returns:
- the value of the
XrFovf.angleDown()field.
-
angleLeft
public XrFovf.Buffer angleLeft(float value)
Sets the specified value to theXrFovf.angleLeft()field.
-
angleRight
public XrFovf.Buffer angleRight(float value)
Sets the specified value to theXrFovf.angleRight()field.
-
angleUp
public XrFovf.Buffer angleUp(float value)
Sets the specified value to theXrFovf.angleUp()field.
-
angleDown
public XrFovf.Buffer angleDown(float value)
Sets the specified value to theXrFovf.angleDown()field.
-
-