Package org.lwjgl.ovr
Class OVRLayerEyeFovDepth.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRLayerEyeFovDepth,OVRLayerEyeFovDepth.Buffer>
-
- org.lwjgl.ovr.OVRLayerEyeFovDepth.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.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 ofOVRLayerEyeFovDepthstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byOVRLayerEyeFovDepth.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 Detail
-
Header
public OVRLayerHeader 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
public OVRRecti.Buffer Viewport()
- Returns:
- a
OVRRecti.Buffer view of theOVRLayerEyeFovDepth.Viewport()field.
-
Viewport
public OVRRecti Viewport(int index)
- Returns:
- a
OVRRectiview of the struct at the specified index of theOVRLayerEyeFovDepth.Viewport()field.
-
Fov
public OVRFovPort.Buffer Fov()
- Returns:
- a
OVRFovPort.Buffer view of theOVRLayerEyeFovDepth.Fov()field.
-
Fov
public OVRFovPort Fov(int index)
- Returns:
- a
OVRFovPortview of the struct at the specified index of theOVRLayerEyeFovDepth.Fov()field.
-
RenderPose
public OVRPosef.Buffer RenderPose()
- Returns:
- a
OVRPosef.Buffer view of theOVRLayerEyeFovDepth.RenderPose()field.
-
RenderPose
public OVRPosef RenderPose(int index)
- 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
public OVRTimewarpProjectionDesc ProjectionDesc()
- Returns:
- a
OVRTimewarpProjectionDescview of theOVRLayerEyeFovDepth.ProjectionDesc()field.
-
Header
public OVRLayerEyeFovDepth.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFovDepth.Header()field.
-
Header
public OVRLayerEyeFovDepth.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theOVRLayerEyeFovDepth.Header()field to the specifiedConsumer.
-
ColorTexture
public OVRLayerEyeFovDepth.Buffer ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theOVRLayerEyeFovDepth.ColorTexture()field.
-
ColorTexture
public OVRLayerEyeFovDepth.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theOVRLayerEyeFovDepth.ColorTexture()field.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFovDepth.Viewport()field.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFovDepth.Viewport()field.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theOVRLayerEyeFovDepth.Viewport()field to the specifiedConsumer.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFovDepth.Fov()field.
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFovDepth.Fov()field.
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theOVRLayerEyeFovDepth.Fov()field to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFovDepth.RenderPose()field.
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFovDepth.RenderPose()field.
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theOVRLayerEyeFovDepth.RenderPose()field to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindexof theOVRLayerEyeFovDepth.RenderPose()field to the specifiedConsumer.
-
SensorSampleTime
public OVRLayerEyeFovDepth.Buffer SensorSampleTime(double value)
Sets the specified value to theOVRLayerEyeFovDepth.SensorSampleTime()field.
-
DepthTexture
public OVRLayerEyeFovDepth.Buffer DepthTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theOVRLayerEyeFovDepth.DepthTexture()field.
-
DepthTexture
public OVRLayerEyeFovDepth.Buffer DepthTexture(int index, long value)
Sets the specified value at the specified index of theOVRLayerEyeFovDepth.DepthTexture()field.
-
ProjectionDesc
public OVRLayerEyeFovDepth.Buffer ProjectionDesc(OVRTimewarpProjectionDesc value)
Copies the specifiedOVRTimewarpProjectionDescto theOVRLayerEyeFovDepth.ProjectionDesc()field.
-
-