Package org.lwjgl.ovr
Class OVRLayerEyeFovMultires.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRLayerEyeFovMultires,OVRLayerEyeFovMultires.Buffer>
-
- org.lwjgl.ovr.OVRLayerEyeFovMultires.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OVRLayerEyeFovMultires>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OVRLayerEyeFovMultires
public static class OVRLayerEyeFovMultires.Buffer extends org.lwjgl.system.StructBuffer<OVRLayerEyeFovMultires,OVRLayerEyeFovMultires.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRLayerEyeFovMultiresstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerEyeFovMultires.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 byOVRLayerEyeFovMultires.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 theOVRLayerEyeFovMultires.Header()field.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()
- Returns:
- a
PointerBufferview of theOVRLayerEyeFovMultires.ColorTexture()field.
-
ColorTexture
public long ColorTexture(int index)
- Returns:
- the value at the specified index of the
OVRLayerEyeFovMultires.ColorTexture()field.
-
Viewport
public OVRRecti.Buffer Viewport()
- Returns:
- a
OVRRecti.Buffer view of theOVRLayerEyeFovMultires.Viewport()field.
-
Viewport
public OVRRecti Viewport(int index)
- Returns:
- a
OVRRectiview of the struct at the specified index of theOVRLayerEyeFovMultires.Viewport()field.
-
Fov
public OVRFovPort.Buffer Fov()
- Returns:
- a
OVRFovPort.Buffer view of theOVRLayerEyeFovMultires.Fov()field.
-
Fov
public OVRFovPort Fov(int index)
- Returns:
- a
OVRFovPortview of the struct at the specified index of theOVRLayerEyeFovMultires.Fov()field.
-
RenderPose
public OVRPosef.Buffer RenderPose()
- Returns:
- a
OVRPosef.Buffer view of theOVRLayerEyeFovMultires.RenderPose()field.
-
RenderPose
public OVRPosef RenderPose(int index)
- Returns:
- a
OVRPosefview of the struct at the specified index of theOVRLayerEyeFovMultires.RenderPose()field.
-
SensorSampleTime
public double SensorSampleTime()
- Returns:
- the value of the
OVRLayerEyeFovMultires.SensorSampleTime()field.
-
TextureLayout
public int TextureLayout()
- Returns:
- the value of the
OVRLayerEyeFovMultires.TextureLayout()field.
-
TextureLayoutDesc
public OVRTextureLayoutDescUnion TextureLayoutDesc()
- Returns:
- a
OVRTextureLayoutDescUnionview of theOVRLayerEyeFovMultires.TextureLayoutDesc()field.
-
Header
public OVRLayerEyeFovMultires.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFovMultires.Header()field.
-
Header
public OVRLayerEyeFovMultires.Buffer Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theOVRLayerEyeFovMultires.Header()field to the specifiedConsumer.
-
ColorTexture
public OVRLayerEyeFovMultires.Buffer ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theOVRLayerEyeFovMultires.ColorTexture()field.
-
ColorTexture
public OVRLayerEyeFovMultires.Buffer ColorTexture(int index, long value)
Sets the specified value at the specified index of theOVRLayerEyeFovMultires.ColorTexture()field.
-
Viewport
public OVRLayerEyeFovMultires.Buffer Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFovMultires.Viewport()field.
-
Viewport
public OVRLayerEyeFovMultires.Buffer Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFovMultires.Viewport()field.
-
Viewport
public OVRLayerEyeFovMultires.Buffer Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theOVRLayerEyeFovMultires.Viewport()field to the specifiedConsumer.
-
Viewport
public OVRLayerEyeFovMultires.Buffer Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindexof theOVRLayerEyeFovMultires.Viewport()field to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovMultires.Buffer Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFovMultires.Fov()field.
-
Fov
public OVRLayerEyeFovMultires.Buffer Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFovMultires.Fov()field.
-
Fov
public OVRLayerEyeFovMultires.Buffer Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theOVRLayerEyeFovMultires.Fov()field to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovMultires.Buffer Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
-
RenderPose
public OVRLayerEyeFovMultires.Buffer RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFovMultires.RenderPose()field.
-
RenderPose
public OVRLayerEyeFovMultires.Buffer RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFovMultires.RenderPose()field.
-
RenderPose
public OVRLayerEyeFovMultires.Buffer RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theOVRLayerEyeFovMultires.RenderPose()field to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFovMultires.Buffer RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindexof theOVRLayerEyeFovMultires.RenderPose()field to the specifiedConsumer.
-
SensorSampleTime
public OVRLayerEyeFovMultires.Buffer SensorSampleTime(double value)
Sets the specified value to theOVRLayerEyeFovMultires.SensorSampleTime()field.
-
TextureLayout
public OVRLayerEyeFovMultires.Buffer TextureLayout(int value)
Sets the specified value to theOVRLayerEyeFovMultires.TextureLayout()field.
-
TextureLayoutDesc
public OVRLayerEyeFovMultires.Buffer TextureLayoutDesc(OVRTextureLayoutDescUnion value)
Copies the specifiedOVRTextureLayoutDescUnionto theOVRLayerEyeFovMultires.TextureLayoutDesc()field.
-
TextureLayoutDesc
public OVRLayerEyeFovMultires.Buffer TextureLayoutDesc(java.util.function.Consumer<OVRTextureLayoutDescUnion> consumer)
Passes theOVRLayerEyeFovMultires.TextureLayoutDesc()field to the specifiedConsumer.
-
-