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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleAdditionalLatencySeconds()Returns the value of theAdditionalLatencySecondsfield.OVRCameraExtrinsics.BufferAdditionalLatencySeconds(double value)Sets the specified value to theAdditionalLatencySecondsfield.intAttachedToDevice()Returns the value of theAttachedToDevicefield.OVRCameraExtrinsics.BufferAttachedToDevice(int value)Sets the specified value to theAttachedToDevicefield.intCameraStatusFlags()Returns the value of theCameraStatusFlagsfield.OVRCameraExtrinsics.BufferCameraStatusFlags(int value)Sets the specified value to theCameraStatusFlagsfield.doubleExposureLatencySeconds()Returns the value of theExposureLatencySecondsfield.OVRCameraExtrinsics.BufferExposureLatencySeconds(double value)Sets the specified value to theExposureLatencySecondsfield.doubleLastChangedTimeSeconds()Returns the value of theLastChangedTimeSecondsfield.OVRCameraExtrinsics.BufferLastChangedTimeSeconds(double value)Sets the specified value to theLastChangedTimeSecondsfield.doubleLastExposureTimeSeconds()Returns the value of theLastExposureTimeSecondsfield.OVRCameraExtrinsics.BufferLastExposureTimeSeconds(double value)Sets the specified value to theLastExposureTimeSecondsfield.OVRPosefRelativePose()Returns aOVRPosefview of theRelativePosefield.OVRCameraExtrinsics.BufferRelativePose(java.util.function.Consumer<OVRPosef> consumer)Passes theRelativePosefield to the specifiedConsumer.OVRCameraExtrinsics.BufferRelativePose(OVRPosef value)Copies the specifiedOVRPosefto theRelativePosefield.
-
-
-
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 theLastChangedTimeSecondsfield.
-
CameraStatusFlags
public int CameraStatusFlags()
Returns the value of theCameraStatusFlagsfield.
-
AttachedToDevice
public int AttachedToDevice()
Returns the value of theAttachedToDevicefield.
-
LastExposureTimeSeconds
public double LastExposureTimeSeconds()
Returns the value of theLastExposureTimeSecondsfield.
-
ExposureLatencySeconds
public double ExposureLatencySeconds()
Returns the value of theExposureLatencySecondsfield.
-
AdditionalLatencySeconds
public double AdditionalLatencySeconds()
Returns the value of theAdditionalLatencySecondsfield.
-
LastChangedTimeSeconds
public OVRCameraExtrinsics.Buffer LastChangedTimeSeconds(double value)
Sets the specified value to theLastChangedTimeSecondsfield.
-
CameraStatusFlags
public OVRCameraExtrinsics.Buffer CameraStatusFlags(int value)
Sets the specified value to theCameraStatusFlagsfield.
-
AttachedToDevice
public OVRCameraExtrinsics.Buffer AttachedToDevice(int value)
Sets the specified value to theAttachedToDevicefield.
-
RelativePose
public OVRCameraExtrinsics.Buffer RelativePose(OVRPosef value)
Copies the specifiedOVRPosefto theRelativePosefield.
-
RelativePose
public OVRCameraExtrinsics.Buffer RelativePose(java.util.function.Consumer<OVRPosef> consumer)
Passes theRelativePosefield to the specifiedConsumer.
-
LastExposureTimeSeconds
public OVRCameraExtrinsics.Buffer LastExposureTimeSeconds(double value)
Sets the specified value to theLastExposureTimeSecondsfield.
-
ExposureLatencySeconds
public OVRCameraExtrinsics.Buffer ExposureLatencySeconds(double value)
Sets the specified value to theExposureLatencySecondsfield.
-
AdditionalLatencySeconds
public OVRCameraExtrinsics.Buffer AdditionalLatencySeconds(double value)
Sets the specified value to theAdditionalLatencySecondsfield.
-
-