Package org.lwjgl.ovr
Class OVRLayerEyeFov.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<OVRLayerEyeFov.Buffer>
org.lwjgl.system.StructBuffer<OVRLayerEyeFov,OVRLayerEyeFov.Buffer>
org.lwjgl.ovr.OVRLayerEyeFov.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
OVRLayerEyeFov 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 newOVRLayerEyeFov.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 theOVRLayerEyeFov.ColorTexture()field.ColorTexture(org.lwjgl.PointerBuffer value) Copies the specifiedPointerBufferto theOVRLayerEyeFov.ColorTexture()field.Fov()Fov(int index) Fov(int index, Consumer<OVRFovPort> consumer) Fov(int index, OVRFovPort value) Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFov.Fov()field.Fov(Consumer<OVRFovPort.Buffer> consumer) Passes theOVRLayerEyeFov.Fov()field to the specifiedConsumer.Fov(OVRFovPort.Buffer value) Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFov.Fov()field.Header()Header(Consumer<OVRLayerHeader> consumer) Passes theOVRLayerEyeFov.Header()field to the specifiedConsumer.Header(OVRLayerHeader value) Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFov.Header()field.RenderPose(int index) RenderPose(int index, Consumer<OVRPosef> consumer) RenderPose(int index, OVRPosef value) Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFov.RenderPose()field.RenderPose(Consumer<OVRPosef.Buffer> consumer) Passes theOVRLayerEyeFov.RenderPose()field to the specifiedConsumer.RenderPose(OVRPosef.Buffer value) Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFov.RenderPose()field.doubleSensorSampleTime(double value) Sets the specified value to theOVRLayerEyeFov.SensorSampleTime()field.Viewport()Viewport(int index) Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFov.Viewport()field.Viewport(Consumer<OVRRecti.Buffer> consumer) Passes theOVRLayerEyeFov.Viewport()field to the specifiedConsumer.Viewport(OVRRecti.Buffer value) Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFov.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 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 by
OVRLayerEyeFov.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 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
- Returns:
- a
OVRRecti.Buffer view of theOVRLayerEyeFov.Viewport()field.
-
Viewport
- Returns:
- a
OVRRectiview of the struct at the specified index of theOVRLayerEyeFov.Viewport()field.
-
Fov
- Returns:
- a
OVRFovPort.Buffer view of theOVRLayerEyeFov.Fov()field.
-
Fov
- Returns:
- a
OVRFovPortview of the struct at the specified index of theOVRLayerEyeFov.Fov()field.
-
RenderPose
- Returns:
- a
OVRPosef.Buffer view of theOVRLayerEyeFov.RenderPose()field.
-
RenderPose
- 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
Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFov.Header()field. -
Header
Passes theOVRLayerEyeFov.Header()field to the specifiedConsumer. -
ColorTexture
Copies the specifiedPointerBufferto theOVRLayerEyeFov.ColorTexture()field. -
ColorTexture
Sets the specified value at the specified index of theOVRLayerEyeFov.ColorTexture()field. -
Viewport
Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFov.Viewport()field. -
Viewport
Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFov.Viewport()field. -
Viewport
Passes theOVRLayerEyeFov.Viewport()field to the specifiedConsumer. -
Viewport
-
Fov
Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFov.Fov()field. -
Fov
Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFov.Fov()field. -
Fov
Passes theOVRLayerEyeFov.Fov()field to the specifiedConsumer. -
Fov
-
RenderPose
Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFov.RenderPose()field. -
RenderPose
Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFov.RenderPose()field. -
RenderPose
Passes theOVRLayerEyeFov.RenderPose()field to the specifiedConsumer. -
RenderPose
-
SensorSampleTime
Sets the specified value to theOVRLayerEyeFov.SensorSampleTime()field.
-