Package org.lwjgl.ovr
Class OVRCameraExtrinsics.Buffer
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newOVRCameraExtrinsics.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and 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(OVRPosef value)Copies the specifiedOVRPosefto theRelativePosefield.intsizeof()Returns thesizeofa single element in the buffer.-
Methods inherited from class org.lwjgl.system.StructBuffer
forEach, get, get, get, get, iterator, parallelStream, put, put, spliterator, stream
-
Methods 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, toString
-
-
-
-
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.
-
-
Method Detail
-
sizeof
public int sizeof()
Description copied from class:org.lwjgl.system.CustomBufferReturns thesizeofa single element in the buffer.- Specified by:
sizeofin classorg.lwjgl.system.CustomBuffer<OVRCameraExtrinsics.Buffer>
-
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.
-
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.
-
-