Package org.lwjgl.ovr

Class OVRCameraExtrinsics.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new OVRCameraExtrinsics.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 OVRCameraExtrinsics.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 the LastChangedTimeSeconds field.
      • CameraStatusFlags

        public int CameraStatusFlags()
        Returns the value of the CameraStatusFlags field.
      • AttachedToDevice

        public int AttachedToDevice()
        Returns the value of the AttachedToDevice field.
      • RelativePose

        public OVRPosef RelativePose()
        Returns a OVRPosef view of the RelativePose field.
      • RelativePose

        public OVRCameraExtrinsics.Buffer RelativePose​(java.util.function.Consumer<OVRPosef> consumer)
        Passes the RelativePose field to the specified Consumer.
      • LastExposureTimeSeconds

        public double LastExposureTimeSeconds()
        Returns the value of the LastExposureTimeSeconds field.
      • ExposureLatencySeconds

        public double ExposureLatencySeconds()
        Returns the value of the ExposureLatencySeconds field.
      • AdditionalLatencySeconds

        public double AdditionalLatencySeconds()
        Returns the value of the AdditionalLatencySeconds field.
      • LastChangedTimeSeconds

        public OVRCameraExtrinsics.Buffer LastChangedTimeSeconds​(double value)
        Sets the specified value to the LastChangedTimeSeconds field.
      • CameraStatusFlags

        public OVRCameraExtrinsics.Buffer CameraStatusFlags​(int value)
        Sets the specified value to the CameraStatusFlags field.
      • AttachedToDevice

        public OVRCameraExtrinsics.Buffer AttachedToDevice​(int value)
        Sets the specified value to the AttachedToDevice field.
      • LastExposureTimeSeconds

        public OVRCameraExtrinsics.Buffer LastExposureTimeSeconds​(double value)
        Sets the specified value to the LastExposureTimeSeconds field.
      • ExposureLatencySeconds

        public OVRCameraExtrinsics.Buffer ExposureLatencySeconds​(double value)
        Sets the specified value to the ExposureLatencySeconds field.
      • AdditionalLatencySeconds

        public OVRCameraExtrinsics.Buffer AdditionalLatencySeconds​(double value)
        Sets the specified value to the AdditionalLatencySeconds field.