Package org.lwjgl.ovr
Class OVRLayerUnion.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRLayerUnion,OVRLayerUnion.Buffer>
-
- org.lwjgl.ovr.OVRLayerUnion.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OVRLayerUnion>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OVRLayerUnion
public static class OVRLayerUnion.Buffer extends org.lwjgl.system.StructBuffer<OVRLayerUnion,OVRLayerUnion.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRLayerUnionstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OVRLayerCubeCube()Returns aOVRLayerCubeview of theCubefield.OVRLayerUnion.BufferCube(java.util.function.Consumer<OVRLayerCube> consumer)Passes theCubefield to the specifiedConsumer.OVRLayerUnion.BufferCube(OVRLayerCube value)Copies the specifiedOVRLayerCubeto theCubefield.OVRLayerCylinderCylinder()Returns aOVRLayerCylinderview of theCylinderfield.OVRLayerUnion.BufferCylinder(java.util.function.Consumer<OVRLayerCylinder> consumer)Passes theCylinderfield to the specifiedConsumer.OVRLayerUnion.BufferCylinder(OVRLayerCylinder value)Copies the specifiedOVRLayerCylinderto theCylinderfield.OVRLayerEyeFovEyeFov()Returns aOVRLayerEyeFovview of theEyeFovfield.OVRLayerUnion.BufferEyeFov(java.util.function.Consumer<OVRLayerEyeFov> consumer)Passes theEyeFovfield to the specifiedConsumer.OVRLayerUnion.BufferEyeFov(OVRLayerEyeFov value)Copies the specifiedOVRLayerEyeFovto theEyeFovfield.OVRLayerEyeFovDepthEyeFovDepth()Returns aOVRLayerEyeFovDepthview of theEyeFovDepthfield.OVRLayerUnion.BufferEyeFovDepth(java.util.function.Consumer<OVRLayerEyeFovDepth> consumer)Passes theEyeFovDepthfield to the specifiedConsumer.OVRLayerUnion.BufferEyeFovDepth(OVRLayerEyeFovDepth value)Copies the specifiedOVRLayerEyeFovDepthto theEyeFovDepthfield.OVRLayerEyeMatrixEyeMatrix()Returns aOVRLayerEyeMatrixview of theEyeMatrixfield.OVRLayerUnion.BufferEyeMatrix(java.util.function.Consumer<OVRLayerEyeMatrix> consumer)Passes theEyeMatrixfield to the specifiedConsumer.OVRLayerUnion.BufferEyeMatrix(OVRLayerEyeMatrix value)Copies the specifiedOVRLayerEyeMatrixto theEyeMatrixfield.OVRLayerHeaderHeader()Returns aOVRLayerHeaderview of theHeaderfield.OVRLayerUnion.BufferHeader(java.util.function.Consumer<OVRLayerHeader> consumer)Passes theHeaderfield to the specifiedConsumer.OVRLayerUnion.BufferHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theHeaderfield.OVRLayerEyeFovMultiresMultires()Returns aOVRLayerEyeFovMultiresview of theMultiresfield.OVRLayerUnion.BufferMultires(java.util.function.Consumer<OVRLayerEyeFovMultires> consumer)Passes theMultiresfield to the specifiedConsumer.OVRLayerUnion.BufferMultires(OVRLayerEyeFovMultires value)Copies the specifiedOVRLayerEyeFovMultiresto theMultiresfield.OVRLayerQuadQuad()Returns aOVRLayerQuadview of theQuadfield.OVRLayerUnion.BufferQuad(java.util.function.Consumer<OVRLayerQuad> consumer)Passes theQuadfield to the specifiedConsumer.OVRLayerUnion.BufferQuad(OVRLayerQuad value)Copies the specifiedOVRLayerQuadto theQuadfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerUnion.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 byOVRLayerUnion.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
-
Header
public OVRLayerHeader Header()
Returns aOVRLayerHeaderview of theHeaderfield.
-
EyeFov
public OVRLayerEyeFov EyeFov()
Returns aOVRLayerEyeFovview of theEyeFovfield.
-
EyeFovDepth
public OVRLayerEyeFovDepth EyeFovDepth()
Returns aOVRLayerEyeFovDepthview of theEyeFovDepthfield.
-
EyeMatrix
public OVRLayerEyeMatrix EyeMatrix()
Returns aOVRLayerEyeMatrixview of theEyeMatrixfield.
-
Multires
public OVRLayerEyeFovMultires Multires()
Returns aOVRLayerEyeFovMultiresview of theMultiresfield.
-
Cylinder
public OVRLayerCylinder Cylinder()
Returns aOVRLayerCylinderview of theCylinderfield.
-
Cube
public OVRLayerCube Cube()
Returns aOVRLayerCubeview of theCubefield.
-
Quad
public OVRLayerQuad Quad()
Returns aOVRLayerQuadview of theQuadfield.
-
Header
public OVRLayerUnion.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theHeaderfield.
-
Header
public OVRLayerUnion.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeaderfield to the specifiedConsumer.
-
EyeFov
public OVRLayerUnion.Buffer EyeFov(OVRLayerEyeFov value)
Copies the specifiedOVRLayerEyeFovto theEyeFovfield.
-
EyeFov
public OVRLayerUnion.Buffer EyeFov(java.util.function.Consumer<OVRLayerEyeFov> consumer)
Passes theEyeFovfield to the specifiedConsumer.
-
EyeFovDepth
public OVRLayerUnion.Buffer EyeFovDepth(OVRLayerEyeFovDepth value)
Copies the specifiedOVRLayerEyeFovDepthto theEyeFovDepthfield.
-
EyeFovDepth
public OVRLayerUnion.Buffer EyeFovDepth(java.util.function.Consumer<OVRLayerEyeFovDepth> consumer)
Passes theEyeFovDepthfield to the specifiedConsumer.
-
EyeMatrix
public OVRLayerUnion.Buffer EyeMatrix(OVRLayerEyeMatrix value)
Copies the specifiedOVRLayerEyeMatrixto theEyeMatrixfield.
-
EyeMatrix
public OVRLayerUnion.Buffer EyeMatrix(java.util.function.Consumer<OVRLayerEyeMatrix> consumer)
Passes theEyeMatrixfield to the specifiedConsumer.
-
Multires
public OVRLayerUnion.Buffer Multires(OVRLayerEyeFovMultires value)
Copies the specifiedOVRLayerEyeFovMultiresto theMultiresfield.
-
Multires
public OVRLayerUnion.Buffer Multires(java.util.function.Consumer<OVRLayerEyeFovMultires> consumer)
Passes theMultiresfield to the specifiedConsumer.
-
Cylinder
public OVRLayerUnion.Buffer Cylinder(OVRLayerCylinder value)
Copies the specifiedOVRLayerCylinderto theCylinderfield.
-
Cylinder
public OVRLayerUnion.Buffer Cylinder(java.util.function.Consumer<OVRLayerCylinder> consumer)
Passes theCylinderfield to the specifiedConsumer.
-
Cube
public OVRLayerUnion.Buffer Cube(OVRLayerCube value)
Copies the specifiedOVRLayerCubeto theCubefield.
-
Cube
public OVRLayerUnion.Buffer Cube(java.util.function.Consumer<OVRLayerCube> consumer)
Passes theCubefield to the specifiedConsumer.
-
Quad
public OVRLayerUnion.Buffer Quad(OVRLayerQuad value)
Copies the specifiedOVRLayerQuadto theQuadfield.
-
Quad
public OVRLayerUnion.Buffer Quad(java.util.function.Consumer<OVRLayerQuad> consumer)
Passes theQuadfield to the specifiedConsumer.
-
-