Package org.lwjgl.ovr
Class OVRLayerEyeMatrix.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<OVRLayerEyeMatrix.Buffer>
org.lwjgl.system.StructBuffer<OVRLayerEyeMatrix,OVRLayerEyeMatrix.Buffer>
org.lwjgl.ovr.OVRLayerEyeMatrix.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
OVRLayerEyeMatrix structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newOVRLayerEyeMatrix.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionorg.lwjgl.PointerBufferlongColorTexture(int index) ColorTexture(int index, long value) Sets the specified value at the specified index of theOVRLayerEyeMatrix.ColorTexture()field.ColorTexture(org.lwjgl.PointerBuffer value) Copies the specifiedPointerBufferto theOVRLayerEyeMatrix.ColorTexture()field.Header()Header(Consumer<OVRLayerHeader> consumer) Passes theOVRLayerEyeMatrix.Header()field to the specifiedConsumer.Header(OVRLayerHeader value) Copies the specifiedOVRLayerHeaderto theOVRLayerEyeMatrix.Header()field.Matrix()Matrix(int index) Matrix(int index, Consumer<OVRMatrix4f> consumer) Matrix(int index, OVRMatrix4f value) Copies the specifiedOVRMatrix4fat the specified index of theOVRLayerEyeMatrix.Matrix()field.Matrix(Consumer<OVRMatrix4f.Buffer> consumer) Passes theOVRLayerEyeMatrix.Matrix()field to the specifiedConsumer.Matrix(OVRMatrix4f.Buffer value) Copies the specifiedOVRMatrix4f.Bufferto theOVRLayerEyeMatrix.Matrix()field.RenderPose(int index) RenderPose(int index, Consumer<OVRPosef> consumer) RenderPose(int index, OVRPosef value) Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeMatrix.RenderPose()field.RenderPose(Consumer<OVRPosef.Buffer> consumer) Passes theOVRLayerEyeMatrix.RenderPose()field to the specifiedConsumer.RenderPose(OVRPosef.Buffer value) Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeMatrix.RenderPose()field.doubleSensorSampleTime(double value) Sets the specified value to theOVRLayerEyeMatrix.SensorSampleTime()field.Viewport()Viewport(int index) Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeMatrix.Viewport()field.Viewport(Consumer<OVRRecti.Buffer> consumer) Passes theOVRLayerEyeMatrix.Viewport()field to the specifiedConsumer.Viewport(OVRRecti.Buffer value) Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeMatrix.Viewport()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
OVRLayerEyeMatrix.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 Details
-
Header
- Returns:
- a
OVRLayerHeaderview of theOVRLayerEyeMatrix.Header()field.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()- Returns:
- a
PointerBufferview of theOVRLayerEyeMatrix.ColorTexture()field.
-
ColorTexture
public long ColorTexture(int index) - Returns:
- the value at the specified index of the
OVRLayerEyeMatrix.ColorTexture()field.
-
Viewport
- Returns:
- a
OVRRecti.Buffer view of theOVRLayerEyeMatrix.Viewport()field.
-
Viewport
- Returns:
- a
OVRRectiview of the struct at the specified index of theOVRLayerEyeMatrix.Viewport()field.
-
RenderPose
- Returns:
- a
OVRPosef.Buffer view of theOVRLayerEyeMatrix.RenderPose()field.
-
RenderPose
- Returns:
- a
OVRPosefview of the struct at the specified index of theOVRLayerEyeMatrix.RenderPose()field.
-
Matrix
- Returns:
- a
OVRMatrix4f.Buffer view of theOVRLayerEyeMatrix.Matrix()field.
-
Matrix
- Returns:
- a
OVRMatrix4fview of the struct at the specified index of theOVRLayerEyeMatrix.Matrix()field.
-
SensorSampleTime
public double SensorSampleTime()- Returns:
- the value of the
OVRLayerEyeMatrix.SensorSampleTime()field.
-
Header
Copies the specifiedOVRLayerHeaderto theOVRLayerEyeMatrix.Header()field. -
Header
Passes theOVRLayerEyeMatrix.Header()field to the specifiedConsumer. -
ColorTexture
Copies the specifiedPointerBufferto theOVRLayerEyeMatrix.ColorTexture()field. -
ColorTexture
Sets the specified value at the specified index of theOVRLayerEyeMatrix.ColorTexture()field. -
Viewport
Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeMatrix.Viewport()field. -
Viewport
Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeMatrix.Viewport()field. -
Viewport
Passes theOVRLayerEyeMatrix.Viewport()field to the specifiedConsumer. -
Viewport
-
RenderPose
Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeMatrix.RenderPose()field. -
RenderPose
Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeMatrix.RenderPose()field. -
RenderPose
Passes theOVRLayerEyeMatrix.RenderPose()field to the specifiedConsumer. -
RenderPose
-
Matrix
Copies the specifiedOVRMatrix4f.Bufferto theOVRLayerEyeMatrix.Matrix()field. -
Matrix
Copies the specifiedOVRMatrix4fat the specified index of theOVRLayerEyeMatrix.Matrix()field. -
Matrix
Passes theOVRLayerEyeMatrix.Matrix()field to the specifiedConsumer. -
Matrix
-
SensorSampleTime
Sets the specified value to theOVRLayerEyeMatrix.SensorSampleTime()field.
-