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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBufferColorTexture()Returns aPointerBufferview of theColorTexturefield.longColorTexture(int index)Returns the value at the specified index of theColorTexturefield.OVRLayerEyeFovDepth.BufferColorTexture(int index, long value)Sets the specified value at the specified index of theColorTexturefield.OVRLayerEyeFovDepth.BufferColorTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theColorTexturefield.org.lwjgl.PointerBufferDepthTexture()Returns aPointerBufferview of theDepthTexturefield.longDepthTexture(int index)Returns the value at the specified index of theDepthTexturefield.OVRLayerEyeFovDepth.BufferDepthTexture(int index, long value)Sets the specified value at the specified index of theDepthTexturefield.OVRLayerEyeFovDepth.BufferDepthTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theDepthTexturefield.OVRFovPort.BufferFov()Returns aOVRFovPort.Buffer view of theFovfield.OVRFovPortFov(int index)Returns aOVRFovPortview of the struct at the specified index of theFovfield.OVRLayerEyeFovDepth.BufferFov(int index, java.util.function.Consumer<OVRFovPort> consumer)Passes the element atindexof theFovfield to the specifiedConsumer.OVRLayerEyeFovDepth.BufferFov(int index, OVRFovPort value)Copies the specifiedOVRFovPortat the specified index of theFovfield.OVRLayerEyeFovDepth.BufferFov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)Passes theFovfield to the specifiedConsumer.OVRLayerEyeFovDepth.BufferFov(OVRFovPort.Buffer value)Copies the specifiedOVRFovPort.Bufferto theFovfield.OVRLayerHeaderHeader()Returns aOVRLayerHeaderview of theHeaderfield.OVRLayerEyeFovDepth.BufferHeader(java.util.function.Consumer<OVRLayerHeader> consumer)Passes theHeaderfield to the specifiedConsumer.OVRLayerEyeFovDepth.BufferHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theHeaderfield.OVRTimewarpProjectionDescProjectionDesc()Returns aOVRTimewarpProjectionDescview of theProjectionDescfield.OVRLayerEyeFovDepth.BufferProjectionDesc(OVRTimewarpProjectionDesc value)Copies the specifiedOVRTimewarpProjectionDescto theProjectionDescfield.OVRPosef.BufferRenderPose()Returns aOVRPosef.Buffer view of theRenderPosefield.OVRPosefRenderPose(int index)Returns aOVRPosefview of the struct at the specified index of theRenderPosefield.OVRLayerEyeFovDepth.BufferRenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)Passes the element atindexof theRenderPosefield to the specifiedConsumer.OVRLayerEyeFovDepth.BufferRenderPose(int index, OVRPosef value)Copies the specifiedOVRPosefat the specified index of theRenderPosefield.OVRLayerEyeFovDepth.BufferRenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)Passes theRenderPosefield to the specifiedConsumer.OVRLayerEyeFovDepth.BufferRenderPose(OVRPosef.Buffer value)Copies the specifiedOVRPosef.Bufferto theRenderPosefield.doubleSensorSampleTime()Returns the value of theSensorSampleTimefield.OVRLayerEyeFovDepth.BufferSensorSampleTime(double value)Sets the specified value to theSensorSampleTimefield.OVRRecti.BufferViewport()Returns aOVRRecti.Buffer view of theViewportfield.OVRRectiViewport(int index)Returns aOVRRectiview of the struct at the specified index of theViewportfield.OVRLayerEyeFovDepth.BufferViewport(int index, java.util.function.Consumer<OVRRecti> consumer)Passes the element atindexof theViewportfield to the specifiedConsumer.OVRLayerEyeFovDepth.BufferViewport(int index, OVRRecti value)Copies the specifiedOVRRectiat the specified index of theViewportfield.OVRLayerEyeFovDepth.BufferViewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)Passes theViewportfield to the specifiedConsumer.OVRLayerEyeFovDepth.BufferViewport(OVRRecti.Buffer value)Copies the specifiedOVRRecti.Bufferto theViewportfield.
-
-
-
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 aOVRLayerHeaderview of theHeaderfield.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()
Returns aPointerBufferview of theColorTexturefield.
-
ColorTexture
public long ColorTexture(int index)
Returns the value at the specified index of theColorTexturefield.
-
Viewport
public OVRRecti.Buffer Viewport()
Returns aOVRRecti.Buffer view of theViewportfield.
-
Viewport
public OVRRecti Viewport(int index)
Returns aOVRRectiview of the struct at the specified index of theViewportfield.
-
Fov
public OVRFovPort.Buffer Fov()
Returns aOVRFovPort.Buffer view of theFovfield.
-
Fov
public OVRFovPort Fov(int index)
Returns aOVRFovPortview of the struct at the specified index of theFovfield.
-
RenderPose
public OVRPosef.Buffer RenderPose()
Returns aOVRPosef.Buffer view of theRenderPosefield.
-
RenderPose
public OVRPosef RenderPose(int index)
Returns aOVRPosefview of the struct at the specified index of theRenderPosefield.
-
SensorSampleTime
public double SensorSampleTime()
Returns the value of theSensorSampleTimefield.
-
DepthTexture
public org.lwjgl.PointerBuffer DepthTexture()
Returns aPointerBufferview of theDepthTexturefield.
-
DepthTexture
public long DepthTexture(int index)
Returns the value at the specified index of theDepthTexturefield.
-
ProjectionDesc
public OVRTimewarpProjectionDesc ProjectionDesc()
Returns aOVRTimewarpProjectionDescview of theProjectionDescfield.
-
Header
public OVRLayerEyeFovDepth.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theHeaderfield.
-
Header
public OVRLayerEyeFovDepth.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeaderfield to the specifiedConsumer.
-
ColorTexture
public OVRLayerEyeFovDepth.Buffer ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theColorTexturefield.
-
ColorTexture
public OVRLayerEyeFovDepth.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexturefield.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theViewportfield.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theViewportfield.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewportfield to the specifiedConsumer.
-
Viewport
public OVRLayerEyeFovDepth.Buffer Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindexof theViewportfield to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Bufferto theFovfield.
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPortat the specified index of theFovfield.
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theFovfield to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovDepth.Buffer Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
Passes the element atindexof theFovfield to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theRenderPosefield.
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theRenderPosefield.
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPosefield to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFovDepth.Buffer RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindexof theRenderPosefield to the specifiedConsumer.
-
SensorSampleTime
public OVRLayerEyeFovDepth.Buffer SensorSampleTime(double value)
Sets the specified value to theSensorSampleTimefield.
-
DepthTexture
public OVRLayerEyeFovDepth.Buffer DepthTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theDepthTexturefield.
-
DepthTexture
public OVRLayerEyeFovDepth.Buffer DepthTexture(int index, long value)
Sets the specified value at the specified index of theDepthTexturefield.
-
ProjectionDesc
public OVRLayerEyeFovDepth.Buffer ProjectionDesc(OVRTimewarpProjectionDesc value)
Copies the specifiedOVRTimewarpProjectionDescto theProjectionDescfield.
-
-