Package org.lwjgl.ovr

Class OVRCameraIntrinsics.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new OVRCameraIntrinsics.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 by OVRCameraIntrinsics.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 the LastChangedTime field.
      • VirtualNearPlaneDistanceMeters

        public float VirtualNearPlaneDistanceMeters()
        Returns the value of the VirtualNearPlaneDistanceMeters field.
      • VirtualFarPlaneDistanceMeters

        public float VirtualFarPlaneDistanceMeters()
        Returns the value of the VirtualFarPlaneDistanceMeters field.
      • ImageSensorPixelResolution

        public OVRSizei ImageSensorPixelResolution()
        Returns a OVRSizei view of the ImageSensorPixelResolution field.
      • ImageSensorPixelResolution

        public OVRCameraIntrinsics.Buffer ImageSensorPixelResolution​(java.util.function.Consumer<OVRSizei> consumer)
        Passes the ImageSensorPixelResolution field to the specified Consumer.
      • LensDistortionMatrix

        public OVRMatrix4f LensDistortionMatrix()
        Returns a OVRMatrix4f view of the LensDistortionMatrix field.
      • LensDistortionMatrix

        public OVRCameraIntrinsics.Buffer LensDistortionMatrix​(java.util.function.Consumer<OVRMatrix4f> consumer)
        Passes the LensDistortionMatrix field to the specified Consumer.
      • ExposurePeriodSeconds

        public double ExposurePeriodSeconds()
        Returns the value of the ExposurePeriodSeconds field.
      • ExposureDurationSeconds

        public double ExposureDurationSeconds()
        Returns the value of the ExposureDurationSeconds field.
      • LastChangedTime

        public OVRCameraIntrinsics.Buffer LastChangedTime​(double value)
        Sets the specified value to the LastChangedTime field.
      • VirtualNearPlaneDistanceMeters

        public OVRCameraIntrinsics.Buffer VirtualNearPlaneDistanceMeters​(float value)
        Sets the specified value to the VirtualNearPlaneDistanceMeters field.
      • VirtualFarPlaneDistanceMeters

        public OVRCameraIntrinsics.Buffer VirtualFarPlaneDistanceMeters​(float value)
        Sets the specified value to the VirtualFarPlaneDistanceMeters field.
      • ExposurePeriodSeconds

        public OVRCameraIntrinsics.Buffer ExposurePeriodSeconds​(double value)
        Sets the specified value to the ExposurePeriodSeconds field.
      • ExposureDurationSeconds

        public OVRCameraIntrinsics.Buffer ExposureDurationSeconds​(double value)
        Sets the specified value to the ExposureDurationSeconds field.