Package org.lwjgl.ovr
Class OVRLayerEyeFov.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SELF>
org.lwjgl.system.StructBuffer<OVRLayerEyeFov,OVRLayerEyeFov.Buffer>
org.lwjgl.ovr.OVRLayerEyeFov.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<OVRLayerEyeFov>
,NativeResource
,Pointer
- Enclosing class:
OVRLayerEyeFov
public static class OVRLayerEyeFov.Buffer
extends StructBuffer<OVRLayerEyeFov,OVRLayerEyeFov.Buffer>
implements NativeResource
An array of
OVRLayerEyeFov
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
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newOVRLayerEyeFov.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlong
ColorTexture
(int index) ColorTexture
(int index, long value) Sets the specified value at the specified index of theOVRLayerEyeFov.ColorTexture()
field.ColorTexture
(PointerBuffer value) Copies the specifiedPointerBuffer
to theOVRLayerEyeFov.ColorTexture()
field.Fov()
Fov
(int index) Fov
(int index, Consumer<OVRFovPort> consumer) Fov
(int index, OVRFovPort value) Copies the specifiedOVRFovPort
at 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.Buffer
to theOVRLayerEyeFov.Fov()
field.Header()
Header
(Consumer<OVRLayerHeader> consumer) Passes theOVRLayerEyeFov.Header()
field to the specifiedConsumer
.Header
(OVRLayerHeader value) Copies the specifiedOVRLayerHeader
to theOVRLayerEyeFov.Header()
field.RenderPose
(int index) RenderPose
(int index, Consumer<OVRPosef> consumer) RenderPose
(int index, OVRPosef value) Copies the specifiedOVRPosef
at 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.Buffer
to theOVRLayerEyeFov.RenderPose()
field.double
SensorSampleTime
(double value) Sets the specified value to theOVRLayerEyeFov.SensorSampleTime()
field.Viewport()
Viewport
(int index) Copies the specifiedOVRRecti
at 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.Buffer
to theOVRLayerEyeFov.Viewport()
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
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
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newOVRLayerEyeFov.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 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
OVRLayerHeader
view of theOVRLayerEyeFov.Header()
field.
-
ColorTexture
- Returns:
- a
PointerBuffer
view 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
OVRRecti
view of the struct at the specified index of theOVRLayerEyeFov.Viewport()
field.
-
Fov
- Returns:
- a
OVRFovPort
.Buffer view of theOVRLayerEyeFov.Fov()
field.
-
Fov
- Returns:
- a
OVRFovPort
view of the struct at the specified index of theOVRLayerEyeFov.Fov()
field.
-
RenderPose
- Returns:
- a
OVRPosef
.Buffer view of theOVRLayerEyeFov.RenderPose()
field.
-
RenderPose
- Returns:
- a
OVRPosef
view 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 specifiedOVRLayerHeader
to theOVRLayerEyeFov.Header()
field. -
Header
Passes theOVRLayerEyeFov.Header()
field to the specifiedConsumer
. -
ColorTexture
Copies the specifiedPointerBuffer
to theOVRLayerEyeFov.ColorTexture()
field. -
ColorTexture
Sets the specified value at the specified index of theOVRLayerEyeFov.ColorTexture()
field. -
Viewport
Copies the specifiedOVRRecti.Buffer
to theOVRLayerEyeFov.Viewport()
field. -
Viewport
Copies the specifiedOVRRecti
at the specified index of theOVRLayerEyeFov.Viewport()
field. -
Viewport
Passes theOVRLayerEyeFov.Viewport()
field to the specifiedConsumer
. -
Viewport
-
Fov
Copies the specifiedOVRFovPort.Buffer
to theOVRLayerEyeFov.Fov()
field. -
Fov
Copies the specifiedOVRFovPort
at the specified index of theOVRLayerEyeFov.Fov()
field. -
Fov
Passes theOVRLayerEyeFov.Fov()
field to the specifiedConsumer
. -
Fov
-
RenderPose
Copies the specifiedOVRPosef.Buffer
to theOVRLayerEyeFov.RenderPose()
field. -
RenderPose
Copies the specifiedOVRPosef
at 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.
-