Package org.lwjgl.ovr
Class OVRLayerEyeFovDepth.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<OVRLayerEyeFovDepth.Buffer>
org.lwjgl.system.StructBuffer<OVRLayerEyeFovDepth,OVRLayerEyeFovDepth.Buffer>
org.lwjgl.ovr.OVRLayerEyeFovDepth.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<OVRLayerEyeFovDepth>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
OVRLayerEyeFovDepth
public static class OVRLayerEyeFovDepth.Buffer
extends org.lwjgl.system.StructBuffer<OVRLayerEyeFovDepth,OVRLayerEyeFovDepth.Buffer>
implements org.lwjgl.system.NativeResource
An array of
OVRLayerEyeFovDepth 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 newOVRLayerEyeFovDepth.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 theOVRLayerEyeFovDepth.ColorTexture()field.ColorTexture(org.lwjgl.PointerBuffer value) Copies the specifiedPointerBufferto theOVRLayerEyeFovDepth.ColorTexture()field.org.lwjgl.PointerBufferlongDepthTexture(int index) DepthTexture(int index, long value) Sets the specified value at the specified index of theOVRLayerEyeFovDepth.DepthTexture()field.DepthTexture(org.lwjgl.PointerBuffer value) Copies the specifiedPointerBufferto theOVRLayerEyeFovDepth.DepthTexture()field.Fov()Fov(int index) Fov(int index, Consumer<OVRFovPort> consumer) Fov(int index, OVRFovPort value) Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFovDepth.Fov()field.Fov(Consumer<OVRFovPort.Buffer> consumer) Passes theOVRLayerEyeFovDepth.Fov()field to the specifiedConsumer.Fov(OVRFovPort.Buffer value) Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFovDepth.Fov()field.Header()Header(Consumer<OVRLayerHeader> consumer) Passes theOVRLayerEyeFovDepth.Header()field to the specifiedConsumer.Header(OVRLayerHeader value) Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFovDepth.Header()field.Copies the specifiedOVRTimewarpProjectionDescto theOVRLayerEyeFovDepth.ProjectionDesc()field.RenderPose(int index) RenderPose(int index, Consumer<OVRPosef> consumer) Passes the element atindexof theOVRLayerEyeFovDepth.RenderPose()field to the specifiedConsumer.RenderPose(int index, OVRPosef value) Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFovDepth.RenderPose()field.RenderPose(Consumer<OVRPosef.Buffer> consumer) Passes theOVRLayerEyeFovDepth.RenderPose()field to the specifiedConsumer.RenderPose(OVRPosef.Buffer value) Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFovDepth.RenderPose()field.doubleSensorSampleTime(double value) Sets the specified value to theOVRLayerEyeFovDepth.SensorSampleTime()field.Viewport()Viewport(int index) Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFovDepth.Viewport()field.Viewport(Consumer<OVRRecti.Buffer> consumer) Passes theOVRLayerEyeFovDepth.Viewport()field to the specifiedConsumer.Viewport(OVRRecti.Buffer value) Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFovDepth.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 newOVRLayerEyeFovDepth.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
OVRLayerEyeFovDepth.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 theOVRLayerEyeFovDepth.Header()field.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()- Returns:
- a
PointerBufferview of theOVRLayerEyeFovDepth.ColorTexture()field.
-
ColorTexture
public long ColorTexture(int index) - Returns:
- the value at the specified index of the
OVRLayerEyeFovDepth.ColorTexture()field.
-
Viewport
- Returns:
- a
OVRRecti.Buffer view of theOVRLayerEyeFovDepth.Viewport()field.
-
Viewport
- Returns:
- a
OVRRectiview of the struct at the specified index of theOVRLayerEyeFovDepth.Viewport()field.
-
Fov
- Returns:
- a
OVRFovPort.Buffer view of theOVRLayerEyeFovDepth.Fov()field.
-
Fov
- Returns:
- a
OVRFovPortview of the struct at the specified index of theOVRLayerEyeFovDepth.Fov()field.
-
RenderPose
- Returns:
- a
OVRPosef.Buffer view of theOVRLayerEyeFovDepth.RenderPose()field.
-
RenderPose
- Returns:
- a
OVRPosefview of the struct at the specified index of theOVRLayerEyeFovDepth.RenderPose()field.
-
SensorSampleTime
public double SensorSampleTime()- Returns:
- the value of the
OVRLayerEyeFovDepth.SensorSampleTime()field.
-
DepthTexture
public org.lwjgl.PointerBuffer DepthTexture()- Returns:
- a
PointerBufferview of theOVRLayerEyeFovDepth.DepthTexture()field.
-
DepthTexture
public long DepthTexture(int index) - Returns:
- the value at the specified index of the
OVRLayerEyeFovDepth.DepthTexture()field.
-
ProjectionDesc
- Returns:
- a
OVRTimewarpProjectionDescview of theOVRLayerEyeFovDepth.ProjectionDesc()field.
-
Header
Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFovDepth.Header()field. -
Header
Passes theOVRLayerEyeFovDepth.Header()field to the specifiedConsumer. -
ColorTexture
Copies the specifiedPointerBufferto theOVRLayerEyeFovDepth.ColorTexture()field. -
ColorTexture
Sets the specified value at the specified index of theOVRLayerEyeFovDepth.ColorTexture()field. -
Viewport
Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFovDepth.Viewport()field. -
Viewport
Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFovDepth.Viewport()field. -
Viewport
Passes theOVRLayerEyeFovDepth.Viewport()field to the specifiedConsumer. -
Viewport
-
Fov
Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFovDepth.Fov()field. -
Fov
Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFovDepth.Fov()field. -
Fov
Passes theOVRLayerEyeFovDepth.Fov()field to the specifiedConsumer. -
Fov
-
RenderPose
Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFovDepth.RenderPose()field. -
RenderPose
Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFovDepth.RenderPose()field. -
RenderPose
Passes theOVRLayerEyeFovDepth.RenderPose()field to the specifiedConsumer. -
RenderPose
Passes the element atindexof theOVRLayerEyeFovDepth.RenderPose()field to the specifiedConsumer. -
SensorSampleTime
Sets the specified value to theOVRLayerEyeFovDepth.SensorSampleTime()field. -
DepthTexture
Copies the specifiedPointerBufferto theOVRLayerEyeFovDepth.DepthTexture()field. -
DepthTexture
Sets the specified value at the specified index of theOVRLayerEyeFovDepth.DepthTexture()field. -
ProjectionDesc
Copies the specifiedOVRTimewarpProjectionDescto theOVRLayerEyeFovDepth.ProjectionDesc()field.
-