Package org.lwjgl.ovr
Class OVRLayerEyeMatrix.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRLayerEyeMatrix,OVRLayerEyeMatrix.Buffer>
-
- org.lwjgl.ovr.OVRLayerEyeMatrix.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OVRLayerEyeMatrix>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OVRLayerEyeMatrix
public static class OVRLayerEyeMatrix.Buffer extends org.lwjgl.system.StructBuffer<OVRLayerEyeMatrix,OVRLayerEyeMatrix.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRLayerEyeMatrixstructs.
-
-
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.OVRLayerEyeMatrix.BufferColorTexture(int index, long value)Sets the specified value at the specified index of theColorTexturefield.OVRLayerEyeMatrix.BufferColorTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theColorTexturefield.OVRLayerHeaderHeader()Returns aOVRLayerHeaderview of theHeaderfield.OVRLayerEyeMatrix.BufferHeader(java.util.function.Consumer<OVRLayerHeader> consumer)Passes theHeaderfield to the specifiedConsumer.OVRLayerEyeMatrix.BufferHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theHeaderfield.OVRMatrix4f.BufferMatrix()Returns aOVRMatrix4f.Buffer view of theMatrixfield.OVRMatrix4fMatrix(int index)Returns aOVRMatrix4fview of the struct at the specified index of theMatrixfield.OVRLayerEyeMatrix.BufferMatrix(int index, java.util.function.Consumer<OVRMatrix4f> consumer)Passes the element atindexof theMatrixfield to the specifiedConsumer.OVRLayerEyeMatrix.BufferMatrix(int index, OVRMatrix4f value)Copies the specifiedOVRMatrix4fat the specified index of theMatrixfield.OVRLayerEyeMatrix.BufferMatrix(java.util.function.Consumer<OVRMatrix4f.Buffer> consumer)Passes theMatrixfield to the specifiedConsumer.OVRLayerEyeMatrix.BufferMatrix(OVRMatrix4f.Buffer value)Copies the specifiedOVRMatrix4f.Bufferto theMatrixfield.OVRPosef.BufferRenderPose()Returns aOVRPosef.Buffer view of theRenderPosefield.OVRPosefRenderPose(int index)Returns aOVRPosefview of the struct at the specified index of theRenderPosefield.OVRLayerEyeMatrix.BufferRenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)Passes the element atindexof theRenderPosefield to the specifiedConsumer.OVRLayerEyeMatrix.BufferRenderPose(int index, OVRPosef value)Copies the specifiedOVRPosefat the specified index of theRenderPosefield.OVRLayerEyeMatrix.BufferRenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)Passes theRenderPosefield to the specifiedConsumer.OVRLayerEyeMatrix.BufferRenderPose(OVRPosef.Buffer value)Copies the specifiedOVRPosef.Bufferto theRenderPosefield.doubleSensorSampleTime()Returns the value of theSensorSampleTimefield.OVRLayerEyeMatrix.BufferSensorSampleTime(double value)Sets the specified value to theSensorSampleTimefield.OVRRecti.BufferViewport()Returns aOVRRecti.Buffer view of theViewportfield.OVRRectiViewport(int index)Returns aOVRRectiview of the struct at the specified index of theViewportfield.OVRLayerEyeMatrix.BufferViewport(int index, java.util.function.Consumer<OVRRecti> consumer)Passes the element atindexof theViewportfield to the specifiedConsumer.OVRLayerEyeMatrix.BufferViewport(int index, OVRRecti value)Copies the specifiedOVRRectiat the specified index of theViewportfield.OVRLayerEyeMatrix.BufferViewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)Passes theViewportfield to the specifiedConsumer.OVRLayerEyeMatrix.BufferViewport(OVRRecti.Buffer value)Copies the specifiedOVRRecti.Bufferto theViewportfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerEyeMatrix.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 byOVRLayerEyeMatrix.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.
-
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.
-
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.
-
Matrix
public OVRMatrix4f.Buffer Matrix()
Returns aOVRMatrix4f.Buffer view of theMatrixfield.
-
Matrix
public OVRMatrix4f Matrix(int index)
Returns aOVRMatrix4fview of the struct at the specified index of theMatrixfield.
-
SensorSampleTime
public double SensorSampleTime()
Returns the value of theSensorSampleTimefield.
-
Header
public OVRLayerEyeMatrix.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theHeaderfield.
-
Header
public OVRLayerEyeMatrix.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeaderfield to the specifiedConsumer.
-
ColorTexture
public OVRLayerEyeMatrix.Buffer ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theColorTexturefield.
-
ColorTexture
public OVRLayerEyeMatrix.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexturefield.
-
Viewport
public OVRLayerEyeMatrix.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theViewportfield.
-
Viewport
public OVRLayerEyeMatrix.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theViewportfield.
-
Viewport
public OVRLayerEyeMatrix.Buffer Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewportfield to the specifiedConsumer.
-
Viewport
public OVRLayerEyeMatrix.Buffer Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindexof theViewportfield to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeMatrix.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theRenderPosefield.
-
RenderPose
public OVRLayerEyeMatrix.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theRenderPosefield.
-
RenderPose
public OVRLayerEyeMatrix.Buffer RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPosefield to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeMatrix.Buffer RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindexof theRenderPosefield to the specifiedConsumer.
-
Matrix
public OVRLayerEyeMatrix.Buffer Matrix(OVRMatrix4f.Buffer value)
Copies the specifiedOVRMatrix4f.Bufferto theMatrixfield.
-
Matrix
public OVRLayerEyeMatrix.Buffer Matrix(int index, OVRMatrix4f value)
Copies the specifiedOVRMatrix4fat the specified index of theMatrixfield.
-
Matrix
public OVRLayerEyeMatrix.Buffer Matrix(java.util.function.Consumer<OVRMatrix4f.Buffer> consumer)
Passes theMatrixfield to the specifiedConsumer.
-
Matrix
public OVRLayerEyeMatrix.Buffer Matrix(int index, java.util.function.Consumer<OVRMatrix4f> consumer)
Passes the element atindexof theMatrixfield to the specifiedConsumer.
-
SensorSampleTime
public OVRLayerEyeMatrix.Buffer SensorSampleTime(double value)
Sets the specified value to theSensorSampleTimefield.
-
-