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 ofOVRCameraExtrinsics
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
AdditionalLatencySeconds()
Returns the value of theAdditionalLatencySeconds
field.OVRCameraExtrinsics.Buffer
AdditionalLatencySeconds(double value)
Sets the specified value to theAdditionalLatencySeconds
field.int
AttachedToDevice()
Returns the value of theAttachedToDevice
field.OVRCameraExtrinsics.Buffer
AttachedToDevice(int value)
Sets the specified value to theAttachedToDevice
field.int
CameraStatusFlags()
Returns the value of theCameraStatusFlags
field.OVRCameraExtrinsics.Buffer
CameraStatusFlags(int value)
Sets the specified value to theCameraStatusFlags
field.double
ExposureLatencySeconds()
Returns the value of theExposureLatencySeconds
field.OVRCameraExtrinsics.Buffer
ExposureLatencySeconds(double value)
Sets the specified value to theExposureLatencySeconds
field.double
LastChangedTimeSeconds()
Returns the value of theLastChangedTimeSeconds
field.OVRCameraExtrinsics.Buffer
LastChangedTimeSeconds(double value)
Sets the specified value to theLastChangedTimeSeconds
field.double
LastExposureTimeSeconds()
Returns the value of theLastExposureTimeSeconds
field.OVRCameraExtrinsics.Buffer
LastExposureTimeSeconds(double value)
Sets the specified value to theLastExposureTimeSeconds
field.OVRPosef
RelativePose()
Returns aOVRPosef
view of theRelativePose
field.OVRCameraExtrinsics.Buffer
RelativePose(java.util.function.Consumer<OVRPosef> consumer)
Passes theRelativePose
field to the specifiedConsumer
.OVRCameraExtrinsics.Buffer
RelativePose(OVRPosef value)
Copies the specifiedOVRPosef
to theRelativePose
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRCameraExtrinsics.Buffer
instance 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 theLastChangedTimeSeconds
field.
-
CameraStatusFlags
public int CameraStatusFlags()
Returns the value of theCameraStatusFlags
field.
-
AttachedToDevice
public int AttachedToDevice()
Returns the value of theAttachedToDevice
field.
-
LastExposureTimeSeconds
public double LastExposureTimeSeconds()
Returns the value of theLastExposureTimeSeconds
field.
-
ExposureLatencySeconds
public double ExposureLatencySeconds()
Returns the value of theExposureLatencySeconds
field.
-
AdditionalLatencySeconds
public double AdditionalLatencySeconds()
Returns the value of theAdditionalLatencySeconds
field.
-
LastChangedTimeSeconds
public OVRCameraExtrinsics.Buffer LastChangedTimeSeconds(double value)
Sets the specified value to theLastChangedTimeSeconds
field.
-
CameraStatusFlags
public OVRCameraExtrinsics.Buffer CameraStatusFlags(int value)
Sets the specified value to theCameraStatusFlags
field.
-
AttachedToDevice
public OVRCameraExtrinsics.Buffer AttachedToDevice(int value)
Sets the specified value to theAttachedToDevice
field.
-
RelativePose
public OVRCameraExtrinsics.Buffer RelativePose(OVRPosef value)
Copies the specifiedOVRPosef
to theRelativePose
field.
-
RelativePose
public OVRCameraExtrinsics.Buffer RelativePose(java.util.function.Consumer<OVRPosef> consumer)
Passes theRelativePose
field to the specifiedConsumer
.
-
LastExposureTimeSeconds
public OVRCameraExtrinsics.Buffer LastExposureTimeSeconds(double value)
Sets the specified value to theLastExposureTimeSeconds
field.
-
ExposureLatencySeconds
public OVRCameraExtrinsics.Buffer ExposureLatencySeconds(double value)
Sets the specified value to theExposureLatencySeconds
field.
-
AdditionalLatencySeconds
public OVRCameraExtrinsics.Buffer AdditionalLatencySeconds(double value)
Sets the specified value to theAdditionalLatencySeconds
field.
-
-