Package org.lwjgl.ovr
Class OVRLayerEyeFovMultires.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<OVRLayerEyeFovMultires.Buffer>
org.lwjgl.system.StructBuffer<OVRLayerEyeFovMultires,OVRLayerEyeFovMultires.Buffer>
org.lwjgl.ovr.OVRLayerEyeFovMultires.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
OVRLayerEyeFovMultires 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 newOVRLayerEyeFovMultires.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 theOVRLayerEyeFovMultires.ColorTexture()field.ColorTexture(org.lwjgl.PointerBuffer value) Copies the specifiedPointerBufferto theOVRLayerEyeFovMultires.ColorTexture()field.Fov()Fov(int index) Fov(int index, Consumer<OVRFovPort> consumer) Fov(int index, OVRFovPort value) Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFovMultires.Fov()field.Fov(Consumer<OVRFovPort.Buffer> consumer) Passes theOVRLayerEyeFovMultires.Fov()field to the specifiedConsumer.Fov(OVRFovPort.Buffer value) Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFovMultires.Fov()field.Header()Header(Consumer<OVRLayerHeader> consumer) Passes theOVRLayerEyeFovMultires.Header()field to the specifiedConsumer.Header(OVRLayerHeader value) Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFovMultires.Header()field.RenderPose(int index) RenderPose(int index, Consumer<OVRPosef> consumer) Passes the element atindexof theOVRLayerEyeFovMultires.RenderPose()field to the specifiedConsumer.RenderPose(int index, OVRPosef value) Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFovMultires.RenderPose()field.RenderPose(Consumer<OVRPosef.Buffer> consumer) Passes theOVRLayerEyeFovMultires.RenderPose()field to the specifiedConsumer.RenderPose(OVRPosef.Buffer value) Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFovMultires.RenderPose()field.doubleSensorSampleTime(double value) Sets the specified value to theOVRLayerEyeFovMultires.SensorSampleTime()field.intTextureLayout(int value) Sets the specified value to theOVRLayerEyeFovMultires.TextureLayout()field.TextureLayoutDesc(Consumer<OVRTextureLayoutDescUnion> consumer) Passes theOVRLayerEyeFovMultires.TextureLayoutDesc()field to the specifiedConsumer.Copies the specifiedOVRTextureLayoutDescUnionto theOVRLayerEyeFovMultires.TextureLayoutDesc()field.Viewport()Viewport(int index) Passes the element atindexof theOVRLayerEyeFovMultires.Viewport()field to the specifiedConsumer.Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFovMultires.Viewport()field.Viewport(Consumer<OVRRecti.Buffer> consumer) Passes theOVRLayerEyeFovMultires.Viewport()field to the specifiedConsumer.Viewport(OVRRecti.Buffer value) Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFovMultires.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 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 by
OVRLayerEyeFovMultires.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 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
- Returns:
- a
OVRRecti.Buffer view of theOVRLayerEyeFovMultires.Viewport()field.
-
Viewport
- Returns:
- a
OVRRectiview of the struct at the specified index of theOVRLayerEyeFovMultires.Viewport()field.
-
Fov
- Returns:
- a
OVRFovPort.Buffer view of theOVRLayerEyeFovMultires.Fov()field.
-
Fov
- Returns:
- a
OVRFovPortview of the struct at the specified index of theOVRLayerEyeFovMultires.Fov()field.
-
RenderPose
- Returns:
- a
OVRPosef.Buffer view of theOVRLayerEyeFovMultires.RenderPose()field.
-
RenderPose
- 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
- Returns:
- a
OVRTextureLayoutDescUnionview of theOVRLayerEyeFovMultires.TextureLayoutDesc()field.
-
Header
Copies the specifiedOVRLayerHeaderto theOVRLayerEyeFovMultires.Header()field. -
Header
Passes theOVRLayerEyeFovMultires.Header()field to the specifiedConsumer. -
ColorTexture
Copies the specifiedPointerBufferto theOVRLayerEyeFovMultires.ColorTexture()field. -
ColorTexture
Sets the specified value at the specified index of theOVRLayerEyeFovMultires.ColorTexture()field. -
Viewport
Copies the specifiedOVRRecti.Bufferto theOVRLayerEyeFovMultires.Viewport()field. -
Viewport
Copies the specifiedOVRRectiat the specified index of theOVRLayerEyeFovMultires.Viewport()field. -
Viewport
Passes theOVRLayerEyeFovMultires.Viewport()field to the specifiedConsumer. -
Viewport
Passes the element atindexof theOVRLayerEyeFovMultires.Viewport()field to the specifiedConsumer. -
Fov
Copies the specifiedOVRFovPort.Bufferto theOVRLayerEyeFovMultires.Fov()field. -
Fov
Copies the specifiedOVRFovPortat the specified index of theOVRLayerEyeFovMultires.Fov()field. -
Fov
Passes theOVRLayerEyeFovMultires.Fov()field to the specifiedConsumer. -
Fov
-
RenderPose
Copies the specifiedOVRPosef.Bufferto theOVRLayerEyeFovMultires.RenderPose()field. -
RenderPose
Copies the specifiedOVRPosefat the specified index of theOVRLayerEyeFovMultires.RenderPose()field. -
RenderPose
Passes theOVRLayerEyeFovMultires.RenderPose()field to the specifiedConsumer. -
RenderPose
Passes the element atindexof theOVRLayerEyeFovMultires.RenderPose()field to the specifiedConsumer. -
SensorSampleTime
Sets the specified value to theOVRLayerEyeFovMultires.SensorSampleTime()field. -
TextureLayout
Sets the specified value to theOVRLayerEyeFovMultires.TextureLayout()field. -
TextureLayoutDesc
Copies the specifiedOVRTextureLayoutDescUnionto theOVRLayerEyeFovMultires.TextureLayoutDesc()field. -
TextureLayoutDesc
public OVRLayerEyeFovMultires.Buffer TextureLayoutDesc(Consumer<OVRTextureLayoutDescUnion> consumer) Passes theOVRLayerEyeFovMultires.TextureLayoutDesc()field to the specifiedConsumer.
-