Package org.lwjgl.ovr
Class OVRLayerEyeFov.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRLayerEyeFov,OVRLayerEyeFov.Buffer>
-
- org.lwjgl.ovr.OVRLayerEyeFov.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<OVRLayerEyeFov>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- OVRLayerEyeFov
public static class OVRLayerEyeFov.Buffer extends org.lwjgl.system.StructBuffer<OVRLayerEyeFov,OVRLayerEyeFov.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRLayerEyeFov
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBuffer
ColorTexture()
Returns aPointerBuffer
view of theColorTexture
field.long
ColorTexture(int index)
Returns the value at the specified index of theColorTexture
field.OVRLayerEyeFov.Buffer
ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexture
field.OVRLayerEyeFov.Buffer
ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to theColorTexture
field.OVRFovPort.Buffer
Fov()
Returns aOVRFovPort
.Buffer view of theFov
field.OVRFovPort
Fov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theFov
field.OVRLayerEyeFov.Buffer
Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
Passes the element atindex
of theFov
field to the specifiedConsumer
.OVRLayerEyeFov.Buffer
Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPort
at the specified index of theFov
field.OVRLayerEyeFov.Buffer
Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theFov
field to the specifiedConsumer
.OVRLayerEyeFov.Buffer
Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Buffer
to theFov
field.OVRLayerHeader
Header()
Returns aOVRLayerHeader
view of theHeader
field.OVRLayerEyeFov.Buffer
Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeader
field to the specifiedConsumer
.OVRLayerEyeFov.Buffer
Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.OVRPosef.Buffer
RenderPose()
Returns aOVRPosef
.Buffer view of theRenderPose
field.OVRPosef
RenderPose(int index)
Returns aOVRPosef
view of the struct at the specified index of theRenderPose
field.OVRLayerEyeFov.Buffer
RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindex
of theRenderPose
field to the specifiedConsumer
.OVRLayerEyeFov.Buffer
RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosef
at the specified index of theRenderPose
field.OVRLayerEyeFov.Buffer
RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPose
field to the specifiedConsumer
.OVRLayerEyeFov.Buffer
RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Buffer
to theRenderPose
field.double
SensorSampleTime()
Returns the value of theSensorSampleTime
field.OVRLayerEyeFov.Buffer
SensorSampleTime(double value)
Sets the specified value to theSensorSampleTime
field.OVRRecti.Buffer
Viewport()
Returns aOVRRecti
.Buffer view of theViewport
field.OVRRecti
Viewport(int index)
Returns aOVRRecti
view of the struct at the specified index of theViewport
field.OVRLayerEyeFov.Buffer
Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindex
of theViewport
field to the specifiedConsumer
.OVRLayerEyeFov.Buffer
Viewport(int index, OVRRecti value)
Copies the specifiedOVRRecti
at the specified index of theViewport
field.OVRLayerEyeFov.Buffer
Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewport
field to the specifiedConsumer
.OVRLayerEyeFov.Buffer
Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Buffer
to theViewport
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerEyeFov.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 byOVRLayerEyeFov.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.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()
Returns aPointerBuffer
view of theColorTexture
field.
-
ColorTexture
public long ColorTexture(int index)
Returns the value at the specified index of theColorTexture
field.
-
Viewport
public OVRRecti.Buffer Viewport()
Returns aOVRRecti
.Buffer view of theViewport
field.
-
Viewport
public OVRRecti Viewport(int index)
Returns aOVRRecti
view of the struct at the specified index of theViewport
field.
-
Fov
public OVRFovPort.Buffer Fov()
Returns aOVRFovPort
.Buffer view of theFov
field.
-
Fov
public OVRFovPort Fov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theFov
field.
-
RenderPose
public OVRPosef.Buffer RenderPose()
Returns aOVRPosef
.Buffer view of theRenderPose
field.
-
RenderPose
public OVRPosef RenderPose(int index)
Returns aOVRPosef
view of the struct at the specified index of theRenderPose
field.
-
SensorSampleTime
public double SensorSampleTime()
Returns the value of theSensorSampleTime
field.
-
Header
public OVRLayerEyeFov.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.
-
Header
public OVRLayerEyeFov.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeader
field to the specifiedConsumer
.
-
ColorTexture
public OVRLayerEyeFov.Buffer ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to theColorTexture
field.
-
ColorTexture
public OVRLayerEyeFov.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexture
field.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Buffer
to theViewport
field.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRecti
at the specified index of theViewport
field.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewport
field to the specifiedConsumer
.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindex
of theViewport
field to the specifiedConsumer
.
-
Fov
public OVRLayerEyeFov.Buffer Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Buffer
to theFov
field.
-
Fov
public OVRLayerEyeFov.Buffer Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPort
at the specified index of theFov
field.
-
Fov
public OVRLayerEyeFov.Buffer Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theFov
field to the specifiedConsumer
.
-
Fov
public OVRLayerEyeFov.Buffer Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
Passes the element atindex
of theFov
field to the specifiedConsumer
.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Buffer
to theRenderPose
field.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosef
at the specified index of theRenderPose
field.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPose
field to the specifiedConsumer
.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindex
of theRenderPose
field to the specifiedConsumer
.
-
SensorSampleTime
public OVRLayerEyeFov.Buffer SensorSampleTime(double value)
Sets the specified value to theSensorSampleTime
field.
-
-