Package org.lwjgl.ovr
Class OVRCameraExtrinsics.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRCameraExtrinsics,OVRCameraExtrinsics.Buffer>
-
- org.lwjgl.ovr.OVRCameraExtrinsics.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OVRCameraExtrinsics>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OVRCameraExtrinsics
public static class OVRCameraExtrinsics.Buffer extends org.lwjgl.system.StructBuffer<OVRCameraExtrinsics,OVRCameraExtrinsics.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRCameraExtrinsicsstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRCameraExtrinsics.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 byOVRCameraExtrinsics.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
-
LastChangedTimeSeconds
public double LastChangedTimeSeconds()
- Returns:
- the value of the
OVRCameraExtrinsics.LastChangedTimeSeconds()field.
-
CameraStatusFlags
public int CameraStatusFlags()
- Returns:
- the value of the
OVRCameraExtrinsics.CameraStatusFlags()field.
-
AttachedToDevice
public int AttachedToDevice()
- Returns:
- the value of the
OVRCameraExtrinsics.AttachedToDevice()field.
-
RelativePose
public OVRPosef RelativePose()
- Returns:
- a
OVRPosefview of theOVRCameraExtrinsics.RelativePose()field.
-
LastExposureTimeSeconds
public double LastExposureTimeSeconds()
- Returns:
- the value of the
OVRCameraExtrinsics.LastExposureTimeSeconds()field.
-
ExposureLatencySeconds
public double ExposureLatencySeconds()
- Returns:
- the value of the
OVRCameraExtrinsics.ExposureLatencySeconds()field.
-
AdditionalLatencySeconds
public double AdditionalLatencySeconds()
- Returns:
- the value of the
OVRCameraExtrinsics.AdditionalLatencySeconds()field.
-
LastChangedTimeSeconds
public OVRCameraExtrinsics.Buffer LastChangedTimeSeconds(double value)
Sets the specified value to theOVRCameraExtrinsics.LastChangedTimeSeconds()field.
-
CameraStatusFlags
public OVRCameraExtrinsics.Buffer CameraStatusFlags(int value)
Sets the specified value to theOVRCameraExtrinsics.CameraStatusFlags()field.
-
AttachedToDevice
public OVRCameraExtrinsics.Buffer AttachedToDevice(int value)
Sets the specified value to theOVRCameraExtrinsics.AttachedToDevice()field.
-
RelativePose
public OVRCameraExtrinsics.Buffer RelativePose(OVRPosef value)
Copies the specifiedOVRPosefto theOVRCameraExtrinsics.RelativePose()field.
-
RelativePose
public OVRCameraExtrinsics.Buffer RelativePose(java.util.function.Consumer<OVRPosef> consumer)
Passes theOVRCameraExtrinsics.RelativePose()field to the specifiedConsumer.
-
LastExposureTimeSeconds
public OVRCameraExtrinsics.Buffer LastExposureTimeSeconds(double value)
Sets the specified value to theOVRCameraExtrinsics.LastExposureTimeSeconds()field.
-
ExposureLatencySeconds
public OVRCameraExtrinsics.Buffer ExposureLatencySeconds(double value)
Sets the specified value to theOVRCameraExtrinsics.ExposureLatencySeconds()field.
-
AdditionalLatencySeconds
public OVRCameraExtrinsics.Buffer AdditionalLatencySeconds(double value)
Sets the specified value to theOVRCameraExtrinsics.AdditionalLatencySeconds()field.
-
-