Package org.lwjgl.ovr
Class OVRCameraIntrinsics.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRCameraIntrinsics,OVRCameraIntrinsics.Buffer>
-
- org.lwjgl.ovr.OVRCameraIntrinsics.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OVRCameraIntrinsics>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OVRCameraIntrinsics
public static class OVRCameraIntrinsics.Buffer extends org.lwjgl.system.StructBuffer<OVRCameraIntrinsics,OVRCameraIntrinsics.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRCameraIntrinsicsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleExposureDurationSeconds()Returns the value of theExposureDurationSecondsfield.OVRCameraIntrinsics.BufferExposureDurationSeconds(double value)Sets the specified value to theExposureDurationSecondsfield.doubleExposurePeriodSeconds()Returns the value of theExposurePeriodSecondsfield.OVRCameraIntrinsics.BufferExposurePeriodSeconds(double value)Sets the specified value to theExposurePeriodSecondsfield.OVRFovPortFOVPort()Returns aOVRFovPortview of theFOVPortfield.OVRCameraIntrinsics.BufferFOVPort(java.util.function.Consumer<OVRFovPort> consumer)Passes theFOVPortfield to the specifiedConsumer.OVRCameraIntrinsics.BufferFOVPort(OVRFovPort value)Copies the specifiedOVRFovPortto theFOVPortfield.OVRSizeiImageSensorPixelResolution()Returns aOVRSizeiview of theImageSensorPixelResolutionfield.OVRCameraIntrinsics.BufferImageSensorPixelResolution(java.util.function.Consumer<OVRSizei> consumer)Passes theImageSensorPixelResolutionfield to the specifiedConsumer.OVRCameraIntrinsics.BufferImageSensorPixelResolution(OVRSizei value)Copies the specifiedOVRSizeito theImageSensorPixelResolutionfield.doubleLastChangedTime()Returns the value of theLastChangedTimefield.OVRCameraIntrinsics.BufferLastChangedTime(double value)Sets the specified value to theLastChangedTimefield.OVRMatrix4fLensDistortionMatrix()Returns aOVRMatrix4fview of theLensDistortionMatrixfield.OVRCameraIntrinsics.BufferLensDistortionMatrix(java.util.function.Consumer<OVRMatrix4f> consumer)Passes theLensDistortionMatrixfield to the specifiedConsumer.OVRCameraIntrinsics.BufferLensDistortionMatrix(OVRMatrix4f value)Copies the specifiedOVRMatrix4fto theLensDistortionMatrixfield.floatVirtualFarPlaneDistanceMeters()Returns the value of theVirtualFarPlaneDistanceMetersfield.OVRCameraIntrinsics.BufferVirtualFarPlaneDistanceMeters(float value)Sets the specified value to theVirtualFarPlaneDistanceMetersfield.floatVirtualNearPlaneDistanceMeters()Returns the value of theVirtualNearPlaneDistanceMetersfield.OVRCameraIntrinsics.BufferVirtualNearPlaneDistanceMeters(float value)Sets the specified value to theVirtualNearPlaneDistanceMetersfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRCameraIntrinsics.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 byOVRCameraIntrinsics.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
-
LastChangedTime
public double LastChangedTime()
Returns the value of theLastChangedTimefield.
-
FOVPort
public OVRFovPort FOVPort()
Returns aOVRFovPortview of theFOVPortfield.
-
VirtualNearPlaneDistanceMeters
public float VirtualNearPlaneDistanceMeters()
Returns the value of theVirtualNearPlaneDistanceMetersfield.
-
VirtualFarPlaneDistanceMeters
public float VirtualFarPlaneDistanceMeters()
Returns the value of theVirtualFarPlaneDistanceMetersfield.
-
ImageSensorPixelResolution
public OVRSizei ImageSensorPixelResolution()
Returns aOVRSizeiview of theImageSensorPixelResolutionfield.
-
LensDistortionMatrix
public OVRMatrix4f LensDistortionMatrix()
Returns aOVRMatrix4fview of theLensDistortionMatrixfield.
-
ExposurePeriodSeconds
public double ExposurePeriodSeconds()
Returns the value of theExposurePeriodSecondsfield.
-
ExposureDurationSeconds
public double ExposureDurationSeconds()
Returns the value of theExposureDurationSecondsfield.
-
LastChangedTime
public OVRCameraIntrinsics.Buffer LastChangedTime(double value)
Sets the specified value to theLastChangedTimefield.
-
FOVPort
public OVRCameraIntrinsics.Buffer FOVPort(OVRFovPort value)
Copies the specifiedOVRFovPortto theFOVPortfield.
-
FOVPort
public OVRCameraIntrinsics.Buffer FOVPort(java.util.function.Consumer<OVRFovPort> consumer)
Passes theFOVPortfield to the specifiedConsumer.
-
VirtualNearPlaneDistanceMeters
public OVRCameraIntrinsics.Buffer VirtualNearPlaneDistanceMeters(float value)
Sets the specified value to theVirtualNearPlaneDistanceMetersfield.
-
VirtualFarPlaneDistanceMeters
public OVRCameraIntrinsics.Buffer VirtualFarPlaneDistanceMeters(float value)
Sets the specified value to theVirtualFarPlaneDistanceMetersfield.
-
ImageSensorPixelResolution
public OVRCameraIntrinsics.Buffer ImageSensorPixelResolution(OVRSizei value)
Copies the specifiedOVRSizeito theImageSensorPixelResolutionfield.
-
ImageSensorPixelResolution
public OVRCameraIntrinsics.Buffer ImageSensorPixelResolution(java.util.function.Consumer<OVRSizei> consumer)
Passes theImageSensorPixelResolutionfield to the specifiedConsumer.
-
LensDistortionMatrix
public OVRCameraIntrinsics.Buffer LensDistortionMatrix(OVRMatrix4f value)
Copies the specifiedOVRMatrix4fto theLensDistortionMatrixfield.
-
LensDistortionMatrix
public OVRCameraIntrinsics.Buffer LensDistortionMatrix(java.util.function.Consumer<OVRMatrix4f> consumer)
Passes theLensDistortionMatrixfield to the specifiedConsumer.
-
ExposurePeriodSeconds
public OVRCameraIntrinsics.Buffer ExposurePeriodSeconds(double value)
Sets the specified value to theExposurePeriodSecondsfield.
-
ExposureDurationSeconds
public OVRCameraIntrinsics.Buffer ExposureDurationSeconds(double value)
Sets the specified value to theExposureDurationSecondsfield.
-
-