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 ofOVRCameraIntrinsics
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
ExposureDurationSeconds()
Returns the value of theExposureDurationSeconds
field.OVRCameraIntrinsics.Buffer
ExposureDurationSeconds(double value)
Sets the specified value to theExposureDurationSeconds
field.double
ExposurePeriodSeconds()
Returns the value of theExposurePeriodSeconds
field.OVRCameraIntrinsics.Buffer
ExposurePeriodSeconds(double value)
Sets the specified value to theExposurePeriodSeconds
field.OVRFovPort
FOVPort()
Returns aOVRFovPort
view of theFOVPort
field.OVRCameraIntrinsics.Buffer
FOVPort(java.util.function.Consumer<OVRFovPort> consumer)
Passes theFOVPort
field to the specifiedConsumer
.OVRCameraIntrinsics.Buffer
FOVPort(OVRFovPort value)
Copies the specifiedOVRFovPort
to theFOVPort
field.OVRSizei
ImageSensorPixelResolution()
Returns aOVRSizei
view of theImageSensorPixelResolution
field.OVRCameraIntrinsics.Buffer
ImageSensorPixelResolution(java.util.function.Consumer<OVRSizei> consumer)
Passes theImageSensorPixelResolution
field to the specifiedConsumer
.OVRCameraIntrinsics.Buffer
ImageSensorPixelResolution(OVRSizei value)
Copies the specifiedOVRSizei
to theImageSensorPixelResolution
field.double
LastChangedTime()
Returns the value of theLastChangedTime
field.OVRCameraIntrinsics.Buffer
LastChangedTime(double value)
Sets the specified value to theLastChangedTime
field.OVRMatrix4f
LensDistortionMatrix()
Returns aOVRMatrix4f
view of theLensDistortionMatrix
field.OVRCameraIntrinsics.Buffer
LensDistortionMatrix(java.util.function.Consumer<OVRMatrix4f> consumer)
Passes theLensDistortionMatrix
field to the specifiedConsumer
.OVRCameraIntrinsics.Buffer
LensDistortionMatrix(OVRMatrix4f value)
Copies the specifiedOVRMatrix4f
to theLensDistortionMatrix
field.float
VirtualFarPlaneDistanceMeters()
Returns the value of theVirtualFarPlaneDistanceMeters
field.OVRCameraIntrinsics.Buffer
VirtualFarPlaneDistanceMeters(float value)
Sets the specified value to theVirtualFarPlaneDistanceMeters
field.float
VirtualNearPlaneDistanceMeters()
Returns the value of theVirtualNearPlaneDistanceMeters
field.OVRCameraIntrinsics.Buffer
VirtualNearPlaneDistanceMeters(float value)
Sets the specified value to theVirtualNearPlaneDistanceMeters
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRCameraIntrinsics.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 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 theLastChangedTime
field.
-
FOVPort
public OVRFovPort FOVPort()
Returns aOVRFovPort
view of theFOVPort
field.
-
VirtualNearPlaneDistanceMeters
public float VirtualNearPlaneDistanceMeters()
Returns the value of theVirtualNearPlaneDistanceMeters
field.
-
VirtualFarPlaneDistanceMeters
public float VirtualFarPlaneDistanceMeters()
Returns the value of theVirtualFarPlaneDistanceMeters
field.
-
ImageSensorPixelResolution
public OVRSizei ImageSensorPixelResolution()
Returns aOVRSizei
view of theImageSensorPixelResolution
field.
-
LensDistortionMatrix
public OVRMatrix4f LensDistortionMatrix()
Returns aOVRMatrix4f
view of theLensDistortionMatrix
field.
-
ExposurePeriodSeconds
public double ExposurePeriodSeconds()
Returns the value of theExposurePeriodSeconds
field.
-
ExposureDurationSeconds
public double ExposureDurationSeconds()
Returns the value of theExposureDurationSeconds
field.
-
LastChangedTime
public OVRCameraIntrinsics.Buffer LastChangedTime(double value)
Sets the specified value to theLastChangedTime
field.
-
FOVPort
public OVRCameraIntrinsics.Buffer FOVPort(OVRFovPort value)
Copies the specifiedOVRFovPort
to theFOVPort
field.
-
FOVPort
public OVRCameraIntrinsics.Buffer FOVPort(java.util.function.Consumer<OVRFovPort> consumer)
Passes theFOVPort
field to the specifiedConsumer
.
-
VirtualNearPlaneDistanceMeters
public OVRCameraIntrinsics.Buffer VirtualNearPlaneDistanceMeters(float value)
Sets the specified value to theVirtualNearPlaneDistanceMeters
field.
-
VirtualFarPlaneDistanceMeters
public OVRCameraIntrinsics.Buffer VirtualFarPlaneDistanceMeters(float value)
Sets the specified value to theVirtualFarPlaneDistanceMeters
field.
-
ImageSensorPixelResolution
public OVRCameraIntrinsics.Buffer ImageSensorPixelResolution(OVRSizei value)
Copies the specifiedOVRSizei
to theImageSensorPixelResolution
field.
-
ImageSensorPixelResolution
public OVRCameraIntrinsics.Buffer ImageSensorPixelResolution(java.util.function.Consumer<OVRSizei> consumer)
Passes theImageSensorPixelResolution
field to the specifiedConsumer
.
-
LensDistortionMatrix
public OVRCameraIntrinsics.Buffer LensDistortionMatrix(OVRMatrix4f value)
Copies the specifiedOVRMatrix4f
to theLensDistortionMatrix
field.
-
LensDistortionMatrix
public OVRCameraIntrinsics.Buffer LensDistortionMatrix(java.util.function.Consumer<OVRMatrix4f> consumer)
Passes theLensDistortionMatrix
field to the specifiedConsumer
.
-
ExposurePeriodSeconds
public OVRCameraIntrinsics.Buffer ExposurePeriodSeconds(double value)
Sets the specified value to theExposurePeriodSeconds
field.
-
ExposureDurationSeconds
public OVRCameraIntrinsics.Buffer ExposureDurationSeconds(double value)
Sets the specified value to theExposureDurationSeconds
field.
-
-