Package org.lwjgl.ovr
Class OVRLayerEyeMatrix.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<OVRLayerEyeMatrix,OVRLayerEyeMatrix.Buffer>
-
- org.lwjgl.ovr.OVRLayerEyeMatrix.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- OVRLayerEyeMatrix
public static final class OVRLayerEyeMatrix.Buffer extends StructBuffer<OVRLayerEyeMatrix,OVRLayerEyeMatrix.Buffer>
An array ofOVRLayerEyeMatrix
structs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerEyeMatrix.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PointerBuffer
ColorTexture()
Returns aPointerBuffer
view of theColorTexture
field.long
ColorTexture(int index)
Returns the value at the specified index of theColorTexture
field.OVRLayerEyeMatrix.Buffer
ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexture
field.OVRLayerEyeMatrix.Buffer
ColorTexture(PointerBuffer value)
Copies the specifiedPointerBuffer
to theColorTexture
field.OVRLayerHeader
Header()
Returns aOVRLayerHeader
view of theHeader
field.OVRLayerEyeMatrix.Buffer
Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.OVRMatrix4f.Buffer
Matrix()
Returns aOVRMatrix4f
.Buffer view of theMatrix
field.OVRMatrix4f
Matrix(int index)
Returns aOVRMatrix4f
view of the struct at the specified index of theMatrix
field.OVRLayerEyeMatrix.Buffer
Matrix(int index, OVRMatrix4f value)
Copies the specifiedOVRMatrix4f
at the specified index of theMatrix
field.OVRLayerEyeMatrix.Buffer
Matrix(OVRMatrix4f.Buffer value)
Copies the specifiedOVRMatrix4f.Buffer
to theMatrix
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.OVRLayerEyeMatrix.Buffer
RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosef
at the specified index of theRenderPose
field.OVRLayerEyeMatrix.Buffer
RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Buffer
to theRenderPose
field.double
SensorSampleTime()
Returns the value of theSensorSampleTime
field.OVRLayerEyeMatrix.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.OVRLayerEyeMatrix.Buffer
Viewport(int index, OVRRecti value)
Copies the specifiedOVRRecti
at the specified index of theViewport
field.OVRLayerEyeMatrix.Buffer
Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Buffer
to theViewport
field.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerEyeMatrix.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 byOVRLayerEyeMatrix.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
Header
public OVRLayerHeader Header()
Returns aOVRLayerHeader
view of theHeader
field.
-
ColorTexture
public 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.
-
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.
-
Matrix
public OVRMatrix4f.Buffer Matrix()
Returns aOVRMatrix4f
.Buffer view of theMatrix
field.
-
Matrix
public OVRMatrix4f Matrix(int index)
Returns aOVRMatrix4f
view of the struct at the specified index of theMatrix
field.
-
SensorSampleTime
public double SensorSampleTime()
Returns the value of theSensorSampleTime
field.
-
Header
public OVRLayerEyeMatrix.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.
-
ColorTexture
public OVRLayerEyeMatrix.Buffer ColorTexture(PointerBuffer value)
Copies the specifiedPointerBuffer
to theColorTexture
field.
-
ColorTexture
public OVRLayerEyeMatrix.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexture
field.
-
Viewport
public OVRLayerEyeMatrix.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Buffer
to theViewport
field.
-
Viewport
public OVRLayerEyeMatrix.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRecti
at the specified index of theViewport
field.
-
RenderPose
public OVRLayerEyeMatrix.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Buffer
to theRenderPose
field.
-
RenderPose
public OVRLayerEyeMatrix.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosef
at the specified index of theRenderPose
field.
-
Matrix
public OVRLayerEyeMatrix.Buffer Matrix(OVRMatrix4f.Buffer value)
Copies the specifiedOVRMatrix4f.Buffer
to theMatrix
field.
-
Matrix
public OVRLayerEyeMatrix.Buffer Matrix(int index, OVRMatrix4f value)
Copies the specifiedOVRMatrix4f
at the specified index of theMatrix
field.
-
SensorSampleTime
public OVRLayerEyeMatrix.Buffer SensorSampleTime(double value)
Sets the specified value to theSensorSampleTime
field.
-
-