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 ofOVRLayerEyeFovstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBufferColorTexture()longColorTexture(int index)OVRLayerEyeFov.BufferColorTexture(int index, long value)Sets the specified value at the specified index of theOVRLayerEyeFov.ColorTexture()field.OVRLayerEyeFov.BufferColorTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theOVRLayerEyeFov.ColorTexture()field.OVRFovPort.BufferFov()OVRFovPortFov(int index)OVRLayerEyeFov.BufferFov(int index, java.util.function.Consumer<OVRFovPort> consumer)OVRLayerEyeFov.BufferFov(int index, OVRFovPort value)Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFov.Fov()field.OVRLayerEyeFov.BufferFov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)Passes theOVRLayerEyeFov.Fov()field to the specifiedConsumer.OVRLayerEyeFov.BufferFov(OVRFovPort.Buffer value)Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFov.Fov()field.OVRLayerHeaderHeader()OVRLayerEyeFov.BufferHeader(java.util.function.Consumer<OVRLayerHeader> consumer)Passes theOVRLayerEyeFov.Header()field to the specifiedConsumer.OVRLayerEyeFov.BufferHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFov.Header()field.OVRPosef.BufferRenderPose()OVRPosefRenderPose(int index)OVRLayerEyeFov.BufferRenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)OVRLayerEyeFov.BufferRenderPose(int index, OVRPosef value)Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFov.RenderPose()field.OVRLayerEyeFov.BufferRenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)Passes theOVRLayerEyeFov.RenderPose()field to the specifiedConsumer.OVRLayerEyeFov.BufferRenderPose(OVRPosef.Buffer value)Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFov.RenderPose()field.doubleSensorSampleTime()OVRLayerEyeFov.BufferSensorSampleTime(double value)Sets the specified value to theOVRLayerEyeFov.SensorSampleTime()field.OVRRecti.BufferViewport()OVRRectiViewport(int index)OVRLayerEyeFov.BufferViewport(int index, java.util.function.Consumer<OVRRecti> consumer)OVRLayerEyeFov.BufferViewport(int index, OVRRecti value)Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFov.Viewport()field.OVRLayerEyeFov.BufferViewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)Passes theOVRLayerEyeFov.Viewport()field to the specifiedConsumer.OVRLayerEyeFov.BufferViewport(OVRRecti.Buffer value)Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFov.Viewport()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerEyeFov.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 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:
- a
OVRLayerHeaderview of theOVRLayerEyeFov.Header()field.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()
- Returns:
- a
PointerBufferview of theOVRLayerEyeFov.ColorTexture()field.
-
ColorTexture
public long ColorTexture(int index)
- Returns:
- the value at the specified index of the
OVRLayerEyeFov.ColorTexture()field.
-
Viewport
public OVRRecti.Buffer Viewport()
- Returns:
- a
OVRRecti.Buffer view of theOVRLayerEyeFov.Viewport()field.
-
Viewport
public OVRRecti Viewport(int index)
- Returns:
- a
OVRRectiview of the struct at the specified index of theOVRLayerEyeFov.Viewport()field.
-
Fov
public OVRFovPort.Buffer Fov()
- Returns:
- a
OVRFovPort.Buffer view of theOVRLayerEyeFov.Fov()field.
-
Fov
public OVRFovPort Fov(int index)
- Returns:
- a
OVRFovPortview of the struct at the specified index of theOVRLayerEyeFov.Fov()field.
-
RenderPose
public OVRPosef.Buffer RenderPose()
- Returns:
- a
OVRPosef.Buffer view of theOVRLayerEyeFov.RenderPose()field.
-
RenderPose
public OVRPosef RenderPose(int index)
- Returns:
- a
OVRPosefview of the struct at the specified index of theOVRLayerEyeFov.RenderPose()field.
-
SensorSampleTime
public double SensorSampleTime()
- Returns:
- the value of the
OVRLayerEyeFov.SensorSampleTime()field.
-
Header
public OVRLayerEyeFov.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFov.Header()field.
-
Header
public OVRLayerEyeFov.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theOVRLayerEyeFov.Header()field to the specifiedConsumer.
-
ColorTexture
public OVRLayerEyeFov.Buffer ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theOVRLayerEyeFov.ColorTexture()field.
-
ColorTexture
public OVRLayerEyeFov.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theOVRLayerEyeFov.ColorTexture()field.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFov.Viewport()field.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFov.Viewport()field.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theOVRLayerEyeFov.Viewport()field to the specifiedConsumer.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
-
Fov
public OVRLayerEyeFov.Buffer Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFov.Fov()field.
-
Fov
public OVRLayerEyeFov.Buffer Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFov.Fov()field.
-
Fov
public OVRLayerEyeFov.Buffer Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theOVRLayerEyeFov.Fov()field to the specifiedConsumer.
-
Fov
public OVRLayerEyeFov.Buffer Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFov.RenderPose()field.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFov.RenderPose()field.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theOVRLayerEyeFov.RenderPose()field to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
-
SensorSampleTime
public OVRLayerEyeFov.Buffer SensorSampleTime(double value)
Sets the specified value to theOVRLayerEyeFov.SensorSampleTime()field.
-
-