Raylib.VrDeviceInfo
val t : t Ctypes.typ
val create : unit -> t
val h_resolution : t -> int
Horizontal resolution in pixels
val v_resolution : t -> int
Vertical resolution in pixels
val h_screen_size : t -> float
Horizontal size in meters
val v_screen_size : t -> float
Vertical size in meters
val v_screen_center : t -> float
Screen center in meters
val eye_to_screen_distance : t -> float
Distance between eye and display in meters
val lens_separation_distance : t -> float
Lens separation distance in meters
val interpupillary_distance : t -> float
IPD (distance between pupils) in meters
val lens_distortion_values : t -> float Ctypes_static.carray
Lens distortion constant parameters
val chroma_ab_correction : t -> float Ctypes_static.carray
Chromatic aberration correction parameters
val set_h_resolution : t -> int -> unit
val set_v_resolution : t -> int -> unit
val set_h_screen_size : t -> float -> unit
val set_v_screen_size : t -> float -> unit
val set_v_screen_center : t -> float -> unit
val set_eye_to_screen_distance : t -> float -> unit
val set_lens_separation_distance : t -> float -> unit
val set_interpupillary_distance : t -> float -> unit
val set_lens_distortion_values : t -> float -> float -> float -> float -> unit
val set_chroma_ab_correction : t -> float -> float -> float -> float -> unit