Package org.lwjgl.ovr
Class OVRLayerEyeFov.Buffer
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description Buffer(long address, int cap)Buffer(java.nio.ByteBuffer container)Creates a newOVRLayerEyeFov.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBufferColorTexture()Returns aPointerBufferview of theColorTexturefield.longColorTexture(int index)Returns the value at the specified index of theColorTexturefield.OVRLayerEyeFov.BufferColorTexture(int index, long value)Sets the specified value at the specified index of theColorTexturefield.OVRLayerEyeFov.BufferColorTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theColorTexturefield.OVRFovPort.BufferFov()Returns aOVRFovPort.Buffer view of theFovfield.OVRFovPortFov(int index)Returns aOVRFovPortview of the struct at the specified index of theFovfield.OVRLayerEyeFov.BufferFov(int index, OVRFovPort value)Copies the specifiedOVRFovPortat the specified index of theFovfield.OVRLayerEyeFov.BufferFov(OVRFovPort.Buffer value)Copies the specifiedOVRFovPort.Bufferto theFovfield.OVRLayerHeaderHeader()Returns aOVRLayerHeaderview of theHeaderfield.OVRLayerEyeFov.BufferHeader(java.util.function.Consumer<OVRLayerHeader> consumer)Passes theHeaderfield to the specifiedConsumer.OVRLayerEyeFov.BufferHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theHeaderfield.OVRPosef.BufferRenderPose()Returns aOVRPosef.Buffer view of theRenderPosefield.OVRPosefRenderPose(int index)Returns aOVRPosefview of the struct at the specified index of theRenderPosefield.OVRLayerEyeFov.BufferRenderPose(int index, OVRPosef value)Copies the specifiedOVRPosefat the specified index of theRenderPosefield.OVRLayerEyeFov.BufferRenderPose(OVRPosef.Buffer value)Copies the specifiedOVRPosef.Bufferto theRenderPosefield.doubleSensorSampleTime()Returns the value of theSensorSampleTimefield.OVRLayerEyeFov.BufferSensorSampleTime(double value)Sets the specified value to theSensorSampleTimefield.intsizeof()OVRRecti.BufferViewport()Returns aOVRRecti.Buffer view of theViewportfield.OVRRectiViewport(int index)Returns aOVRRectiview of the struct at the specified index of theViewportfield.OVRLayerEyeFov.BufferViewport(int index, OVRRecti value)Copies the specifiedOVRRectiat the specified index of theViewportfield.OVRLayerEyeFov.BufferViewport(OVRRecti.Buffer value)Copies the specifiedOVRRecti.Bufferto theViewportfield.-
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
-
-
-
-
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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.CustomBuffer<OVRLayerEyeFov.Buffer>
-
Header
public OVRLayerHeader Header()
Returns aOVRLayerHeaderview of theHeaderfield.
-
Header
public OVRLayerEyeFov.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeaderfield to the specifiedConsumer.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()
Returns aPointerBufferview of theColorTexturefield.
-
ColorTexture
public long ColorTexture(int index)
Returns the value at the specified index of theColorTexturefield.
-
Viewport
public OVRRecti.Buffer Viewport()
Returns aOVRRecti.Buffer view of theViewportfield.
-
Viewport
public OVRRecti Viewport(int index)
Returns aOVRRectiview of the struct at the specified index of theViewportfield.
-
Fov
public OVRFovPort.Buffer Fov()
Returns aOVRFovPort.Buffer view of theFovfield.
-
Fov
public OVRFovPort Fov(int index)
Returns aOVRFovPortview of the struct at the specified index of theFovfield.
-
RenderPose
public OVRPosef.Buffer RenderPose()
Returns aOVRPosef.Buffer view of theRenderPosefield.
-
RenderPose
public OVRPosef RenderPose(int index)
Returns aOVRPosefview of the struct at the specified index of theRenderPosefield.
-
SensorSampleTime
public double SensorSampleTime()
Returns the value of theSensorSampleTimefield.
-
Header
public OVRLayerEyeFov.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theHeaderfield.
-
ColorTexture
public OVRLayerEyeFov.Buffer ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theColorTexturefield.
-
ColorTexture
public OVRLayerEyeFov.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexturefield.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theViewportfield.
-
Viewport
public OVRLayerEyeFov.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theViewportfield.
-
Fov
public OVRLayerEyeFov.Buffer Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Bufferto theFovfield.
-
Fov
public OVRLayerEyeFov.Buffer Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPortat the specified index of theFovfield.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theRenderPosefield.
-
RenderPose
public OVRLayerEyeFov.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theRenderPosefield.
-
SensorSampleTime
public OVRLayerEyeFov.Buffer SensorSampleTime(double value)
Sets the specified value to theSensorSampleTimefield.
-
-