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 ofOVRLayerUnion
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OVRLayerCube
Cube()
Returns aOVRLayerCube
view of theCube
field.OVRLayerUnion.Buffer
Cube(java.util.function.Consumer<OVRLayerCube> consumer)
Passes theCube
field to the specifiedConsumer
.OVRLayerUnion.Buffer
Cube(OVRLayerCube value)
Copies the specifiedOVRLayerCube
to theCube
field.OVRLayerCylinder
Cylinder()
Returns aOVRLayerCylinder
view of theCylinder
field.OVRLayerUnion.Buffer
Cylinder(java.util.function.Consumer<OVRLayerCylinder> consumer)
Passes theCylinder
field to the specifiedConsumer
.OVRLayerUnion.Buffer
Cylinder(OVRLayerCylinder value)
Copies the specifiedOVRLayerCylinder
to theCylinder
field.OVRLayerEyeFov
EyeFov()
Returns aOVRLayerEyeFov
view of theEyeFov
field.OVRLayerUnion.Buffer
EyeFov(java.util.function.Consumer<OVRLayerEyeFov> consumer)
Passes theEyeFov
field to the specifiedConsumer
.OVRLayerUnion.Buffer
EyeFov(OVRLayerEyeFov value)
Copies the specifiedOVRLayerEyeFov
to theEyeFov
field.OVRLayerEyeFovDepth
EyeFovDepth()
Returns aOVRLayerEyeFovDepth
view of theEyeFovDepth
field.OVRLayerUnion.Buffer
EyeFovDepth(java.util.function.Consumer<OVRLayerEyeFovDepth> consumer)
Passes theEyeFovDepth
field to the specifiedConsumer
.OVRLayerUnion.Buffer
EyeFovDepth(OVRLayerEyeFovDepth value)
Copies the specifiedOVRLayerEyeFovDepth
to theEyeFovDepth
field.OVRLayerEyeMatrix
EyeMatrix()
Returns aOVRLayerEyeMatrix
view of theEyeMatrix
field.OVRLayerUnion.Buffer
EyeMatrix(java.util.function.Consumer<OVRLayerEyeMatrix> consumer)
Passes theEyeMatrix
field to the specifiedConsumer
.OVRLayerUnion.Buffer
EyeMatrix(OVRLayerEyeMatrix value)
Copies the specifiedOVRLayerEyeMatrix
to theEyeMatrix
field.OVRLayerHeader
Header()
Returns aOVRLayerHeader
view of theHeader
field.OVRLayerUnion.Buffer
Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeader
field to the specifiedConsumer
.OVRLayerUnion.Buffer
Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.OVRLayerEyeFovMultires
Multires()
Returns aOVRLayerEyeFovMultires
view of theMultires
field.OVRLayerUnion.Buffer
Multires(java.util.function.Consumer<OVRLayerEyeFovMultires> consumer)
Passes theMultires
field to the specifiedConsumer
.OVRLayerUnion.Buffer
Multires(OVRLayerEyeFovMultires value)
Copies the specifiedOVRLayerEyeFovMultires
to theMultires
field.OVRLayerQuad
Quad()
Returns aOVRLayerQuad
view of theQuad
field.OVRLayerUnion.Buffer
Quad(java.util.function.Consumer<OVRLayerQuad> consumer)
Passes theQuad
field to the specifiedConsumer
.OVRLayerUnion.Buffer
Quad(OVRLayerQuad value)
Copies the specifiedOVRLayerQuad
to theQuad
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerUnion.Buffer
instance 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 aOVRLayerHeader
view of theHeader
field.
-
EyeFov
public OVRLayerEyeFov EyeFov()
Returns aOVRLayerEyeFov
view of theEyeFov
field.
-
EyeFovDepth
public OVRLayerEyeFovDepth EyeFovDepth()
Returns aOVRLayerEyeFovDepth
view of theEyeFovDepth
field.
-
EyeMatrix
public OVRLayerEyeMatrix EyeMatrix()
Returns aOVRLayerEyeMatrix
view of theEyeMatrix
field.
-
Multires
public OVRLayerEyeFovMultires Multires()
Returns aOVRLayerEyeFovMultires
view of theMultires
field.
-
Cylinder
public OVRLayerCylinder Cylinder()
Returns aOVRLayerCylinder
view of theCylinder
field.
-
Cube
public OVRLayerCube Cube()
Returns aOVRLayerCube
view of theCube
field.
-
Quad
public OVRLayerQuad Quad()
Returns aOVRLayerQuad
view of theQuad
field.
-
Header
public OVRLayerUnion.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.
-
Header
public OVRLayerUnion.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeader
field to the specifiedConsumer
.
-
EyeFov
public OVRLayerUnion.Buffer EyeFov(OVRLayerEyeFov value)
Copies the specifiedOVRLayerEyeFov
to theEyeFov
field.
-
EyeFov
public OVRLayerUnion.Buffer EyeFov(java.util.function.Consumer<OVRLayerEyeFov> consumer)
Passes theEyeFov
field to the specifiedConsumer
.
-
EyeFovDepth
public OVRLayerUnion.Buffer EyeFovDepth(OVRLayerEyeFovDepth value)
Copies the specifiedOVRLayerEyeFovDepth
to theEyeFovDepth
field.
-
EyeFovDepth
public OVRLayerUnion.Buffer EyeFovDepth(java.util.function.Consumer<OVRLayerEyeFovDepth> consumer)
Passes theEyeFovDepth
field to the specifiedConsumer
.
-
EyeMatrix
public OVRLayerUnion.Buffer EyeMatrix(OVRLayerEyeMatrix value)
Copies the specifiedOVRLayerEyeMatrix
to theEyeMatrix
field.
-
EyeMatrix
public OVRLayerUnion.Buffer EyeMatrix(java.util.function.Consumer<OVRLayerEyeMatrix> consumer)
Passes theEyeMatrix
field to the specifiedConsumer
.
-
Multires
public OVRLayerUnion.Buffer Multires(OVRLayerEyeFovMultires value)
Copies the specifiedOVRLayerEyeFovMultires
to theMultires
field.
-
Multires
public OVRLayerUnion.Buffer Multires(java.util.function.Consumer<OVRLayerEyeFovMultires> consumer)
Passes theMultires
field to the specifiedConsumer
.
-
Cylinder
public OVRLayerUnion.Buffer Cylinder(OVRLayerCylinder value)
Copies the specifiedOVRLayerCylinder
to theCylinder
field.
-
Cylinder
public OVRLayerUnion.Buffer Cylinder(java.util.function.Consumer<OVRLayerCylinder> consumer)
Passes theCylinder
field to the specifiedConsumer
.
-
Cube
public OVRLayerUnion.Buffer Cube(OVRLayerCube value)
Copies the specifiedOVRLayerCube
to theCube
field.
-
Cube
public OVRLayerUnion.Buffer Cube(java.util.function.Consumer<OVRLayerCube> consumer)
Passes theCube
field to the specifiedConsumer
.
-
Quad
public OVRLayerUnion.Buffer Quad(OVRLayerQuad value)
Copies the specifiedOVRLayerQuad
to theQuad
field.
-
Quad
public OVRLayerUnion.Buffer Quad(java.util.function.Consumer<OVRLayerQuad> consumer)
Passes theQuad
field to the specifiedConsumer
.
-
-