package raylib
OCaml bindings for raylib
Install
Dune Dependency
Authors
Maintainers
Sources
raylib-ocaml-0.2.2.tar.gz
md5=808dd05ea36d9adb18e0e02b5cf3c8d8
sha512=92f142a52d8c4c85bb54e4c91987a8de0df500b68091703b72f5ec8690c4752c9b2f7f310b15cb56b0baf0f5bcc780d294f78d526f583a98d824e1c01ffeb49f
doc/raylib.functions/Raylib_functions/Description/index.html
Module Raylib_functions.Description
Source
Parameters
module F : Ctypes.FOREIGN
Signature
Source
val get_mouse_ray :
(Types.Vector2.t Ctypes.structure ->
Types.Camera3D.t Ctypes.structure ->
Types.Ray.t Ctypes.structure F.return)
F.result
Source
val get_camera_matrix :
(Types.Camera3D.t Ctypes.structure ->
Types.Matrix.t Ctypes.structure F.return)
F.result
Source
val get_camera_matrix_2d :
(Types.Camera2D.t Ctypes.structure ->
Types.Matrix.t Ctypes.structure F.return)
F.result
Source
val get_world_to_screen :
(Types.Vector3.t Ctypes.structure ->
Types.Camera3D.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure F.return)
F.result
Source
val get_world_to_screen_ex :
(Types.Vector3.t Ctypes.structure ->
Types.Camera3D.t Ctypes.structure ->
int ->
int ->
Types.Vector2.t Ctypes.structure F.return)
F.result
Source
val get_world_to_screen_2d :
(Types.Vector2.t Ctypes.structure ->
Types.Camera2D.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure F.return)
F.result
Source
val get_screen_to_world_2d :
(Types.Vector2.t Ctypes.structure ->
Types.Camera2D.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure F.return)
F.result
Source
val color_normalize :
(Types.Color.t Ctypes.structure ->
Types.Vector4.t Ctypes.structure F.return)
F.result
Source
val color_from_normalized :
(Types.Vector4.t Ctypes.structure ->
Types.Color.t Ctypes.structure F.return)
F.result
Source
val color_to_hsv :
(Types.Color.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure F.return)
F.result
Source
val color_from_hsv :
(Types.Vector3.t Ctypes.structure ->
Types.Color.t Ctypes.structure F.return)
F.result
Source
val fade :
(Types.Color.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure F.return)
F.result
Source
val _load_file_data :
(string ->
Unsigned.uint Ctypes_static.ptr ->
Unsigned.uchar Ctypes_static.ptr F.return)
F.result
Source
val _get_directory_files :
(string ->
int Ctypes_static.ptr ->
string Ctypes_static.ptr F.return)
F.result
Source
val _get_dropped_files :
(int Ctypes_static.ptr -> string Ctypes_static.ptr F.return) F.result
Source
val _compress_data :
(Unsigned.uchar Ctypes_static.ptr ->
int ->
int Ctypes_static.ptr ->
Unsigned.uchar Ctypes_static.ptr F.return)
F.result
Source
val _decompress_data :
(Unsigned.uchar Ctypes_static.ptr ->
int ->
int Ctypes_static.ptr ->
Unsigned.uchar Ctypes_static.ptr F.return)
F.result
Source
val is_gamepad_button_pressed :
(Constants.GamepadNumber.t ->
Constants.GamepadButton.t ->
bool F.return)
F.result
Source
val is_gamepad_button_down :
(Constants.GamepadNumber.t ->
Constants.GamepadButton.t ->
bool F.return)
F.result
Source
val is_gamepad_button_released :
(Constants.GamepadNumber.t ->
Constants.GamepadButton.t ->
bool F.return)
F.result
Source
val is_gamepad_button_up :
(Constants.GamepadNumber.t ->
Constants.GamepadButton.t ->
bool F.return)
F.result
Source
val get_gamepad_axis_movement :
(Constants.GamepadNumber.t ->
Constants.GamepadAxis.t ->
float F.return)
F.result
Source
val set_camera_mode :
(Types.Camera3D.t Ctypes.structure ->
Constants.CameraMode.t ->
unit F.return)
F.result
Source
val update_camera :
(Types.Camera3D.t Ctypes.structure Ctypes_static.ptr ->
unit F.return)
F.result
Source
val draw_pixel_v :
(Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_line :
(int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_line_v :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_line_ex :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_line_bezier :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_line_strip :
(Types.Vector2.t Ctypes.structure Ctypes_static.ptr ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_circle :
(int ->
int ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_circle_sector :
(Types.Vector2.t Ctypes.structure ->
float ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_circle_sector_lines :
(Types.Vector2.t Ctypes.structure ->
float ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_circle_gradient :
(int ->
int ->
float ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_circle_v :
(Types.Vector2.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_circle_lines :
(int ->
int ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_ellipse :
(int ->
int ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_ellipse_lines :
(int ->
int ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_ring :
(Types.Vector2.t Ctypes.structure ->
float ->
float ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_ring_lines :
(Types.Vector2.t Ctypes.structure ->
float ->
float ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle :
(int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_v :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_rec :
(Types.Rectangle.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_pro :
(Types.Rectangle.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_gradient_v :
(int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_gradient_h :
(int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_gradient_ex :
(Types.Rectangle.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_lines :
(int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_lines_ex :
(Types.Rectangle.t Ctypes.structure ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_rounded :
(Types.Rectangle.t Ctypes.structure ->
float ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_rectangle_rounded_lines :
(Types.Rectangle.t Ctypes.structure ->
float ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_triangle :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_triangle_lines :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_triangle_fan :
(Types.Vector2.t Ctypes.structure Ctypes_static.ptr ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_triangle_strip :
(Types.Vector2.t Ctypes.structure Ctypes_static.ptr ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_poly :
(Types.Vector2.t Ctypes.structure ->
int ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_poly_lines :
(Types.Vector2.t Ctypes.structure ->
int ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val check_collision_recs :
(Types.Rectangle.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
bool F.return)
F.result
Source
val check_collision_circles :
(Types.Vector2.t Ctypes.structure ->
float ->
Types.Vector2.t Ctypes.structure ->
float ->
bool F.return)
F.result
Source
val check_collision_circle_rec :
(Types.Vector2.t Ctypes.structure ->
float ->
Types.Rectangle.t Ctypes.structure ->
bool F.return)
F.result
Source
val get_collision_rec :
(Types.Rectangle.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure F.return)
F.result
Source
val check_collision_point_rec :
(Types.Vector2.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
bool F.return)
F.result
Source
val check_collision_point_circle :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
float ->
bool F.return)
F.result
Source
val check_collision_point_triangle :
(Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
bool F.return)
F.result
Source
val load_image_ex :
(Types.Color.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val load_image_pro :
(unit Ctypes_static.ptr ->
int ->
int ->
int ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val load_image_raw :
(string ->
int ->
int ->
int ->
int ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val export_image_as_code :
(Types.Image.t Ctypes.structure -> string -> unit F.return) F.result
Source
val gen_image_color :
(int ->
int ->
Types.Color.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val gen_image_gradient_v :
(int ->
int ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val gen_image_gradient_h :
(int ->
int ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val gen_image_gradient_radial :
(int ->
int ->
float ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val gen_image_checked :
(int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val gen_image_white_noise :
(int -> int -> float -> Types.Image.t Ctypes.structure F.return) F.result
Source
val gen_image_perlin_noise :
(int ->
int ->
int ->
int ->
float ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val gen_image_cellular :
(int -> int -> int -> Types.Image.t Ctypes.structure F.return) F.result
Source
val image_copy :
(Types.Image.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val image_from_image :
(Types.Image.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val image_text :
(string ->
int ->
Types.Color.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val image_text_ex :
(Types.Font.t Ctypes.structure ->
string ->
float ->
float ->
Types.Color.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val image_to_p_o_t :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_format :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
unit F.return)
F.result
Source
val image_alpha_mask :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Image.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_alpha_clear :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Color.t Ctypes.structure ->
float ->
unit F.return)
F.result
Source
val image_alpha_crop :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
float ->
unit F.return)
F.result
Source
val image_alpha_premultiply :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_crop :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Rectangle.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_resize :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
unit F.return)
F.result
Source
val image_resize_n_n :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
unit F.return)
F.result
Source
val image_resize_canvas :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_mipmaps :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_dither :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
int ->
int ->
unit F.return)
F.result
Source
val image_flip_vertical :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_flip_horizontal :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_rotate_c_w :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_rotate_c_c_w :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_color_tint :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_color_invert :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_color_grayscale :
(Types.Image.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val image_color_contrast :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
float ->
unit F.return)
F.result
Source
val image_color_brightness :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
unit F.return)
F.result
Source
val image_color_replace :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val get_image_alpha_border :
(Types.Image.t Ctypes.structure ->
float ->
Types.Rectangle.t Ctypes.structure F.return)
F.result
Source
val image_clear_background :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_pixel :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_pixel_v :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_line :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_line_v :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_circle :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_circle_v :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Vector2.t Ctypes.structure ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_rectangle :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_rectangle_v :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_rectangle_rec :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Rectangle.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_rectangle_lines :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Rectangle.t Ctypes.structure ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Image.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_text :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Vector2.t Ctypes.structure ->
string ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val image_draw_text_ex :
(Types.Image.t Ctypes.structure Ctypes_static.ptr ->
Types.Vector2.t Ctypes.structure ->
Types.Font.t Ctypes.structure ->
string ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val load_texture_from_image :
(Types.Image.t Ctypes.structure ->
Types.Texture2D.t Ctypes.structure F.return)
F.result
Source
val load_texture_cubemap :
(Types.Image.t Ctypes.structure ->
int ->
Types.Texture2D.t Ctypes.structure F.return)
F.result
Source
val load_render_texture :
(int -> int -> Types.RenderTexture2D.t Ctypes.structure F.return) F.result
Source
val unload_render_texture :
(Types.RenderTexture2D.t Ctypes.structure -> unit F.return) F.result
Source
val update_texture :
(Types.Texture2D.t Ctypes.structure ->
unit Ctypes_static.ptr ->
unit F.return)
F.result
Source
val get_texture_data :
(Types.Texture2D.t Ctypes.structure ->
Types.Image.t Ctypes.structure F.return)
F.result
Source
val gen_texture_mipmaps :
(Types.Texture2D.t Ctypes.structure Ctypes_static.ptr ->
unit F.return)
F.result
Source
val set_texture_filter :
(Types.Texture2D.t Ctypes.structure ->
Constants.TextureFilterMode.t ->
unit F.return)
F.result
Source
val set_texture_wrap :
(Types.Texture2D.t Ctypes.structure ->
Constants.TextureWrapMode.t ->
unit F.return)
F.result
Source
val draw_texture :
(Types.Texture2D.t Ctypes.structure ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_texture_v :
(Types.Texture2D.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_texture_ex :
(Types.Texture2D.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_texture_rec :
(Types.Texture2D.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_texture_quad :
(Types.Texture2D.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_texture_pro :
(Types.Texture2D.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val load_font_ex :
(string ->
int ->
int Ctypes_static.ptr ->
int ->
Types.Font.t Ctypes.structure F.return)
F.result
Source
val load_font_from_image :
(Types.Image.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
int ->
Types.Font.t Ctypes.structure F.return)
F.result
Source
val load_font_data :
(string ->
int ->
int Ctypes_static.ptr ->
int ->
int ->
Types.CharInfo.t Ctypes.structure Ctypes_static.ptr F.return)
F.result
Source
val draw_text :
(string ->
int ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_text_ex :
(Types.Font.t Ctypes.structure ->
string ->
Types.Vector2.t Ctypes.structure ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_text_rec :
(Types.Font.t Ctypes.structure ->
string ->
Types.Rectangle.t Ctypes.structure ->
float ->
float ->
bool ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_text_rec_ex :
(Types.Font.t Ctypes.structure ->
string ->
Types.Rectangle.t Ctypes.structure ->
float ->
float ->
bool ->
Types.Color.t Ctypes.structure ->
int ->
int ->
Types.Color.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_text_codepoint :
(Types.Font.t Ctypes.structure ->
int ->
Types.Vector2.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val measure_text_ex :
(Types.Font.t Ctypes.structure ->
string ->
float ->
float ->
Types.Vector2.t Ctypes.structure F.return)
F.result
Source
val get_codepoints :
(string -> int Ctypes_static.ptr -> int Ctypes_static.ptr F.return) F.result
Source
val draw_line_3d :
(Types.Vector3.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_point_3d :
(Types.Vector3.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_circle_3d :
(Types.Vector3.t Ctypes.structure ->
float ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_cube :
(Types.Vector3.t Ctypes.structure ->
float ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_cube_v :
(Types.Vector3.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_cube_wires :
(Types.Vector3.t Ctypes.structure ->
float ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_cube_wires_v :
(Types.Vector3.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_cube_texture :
(Types.Texture2D.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
float ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_sphere :
(Types.Vector3.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_sphere_ex :
(Types.Vector3.t Ctypes.structure ->
float ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_sphere_wires :
(Types.Vector3.t Ctypes.structure ->
float ->
int ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_cylinder :
(Types.Vector3.t Ctypes.structure ->
float ->
float ->
float ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_cylinder_wires :
(Types.Vector3.t Ctypes.structure ->
float ->
float ->
float ->
int ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_plane :
(Types.Vector3.t Ctypes.structure ->
Types.Vector2.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val load_model_from_mesh :
(Types.Mesh.t Ctypes.structure ->
Types.Model.t Ctypes.structure F.return)
F.result
Source
val load_meshes :
(string ->
int Ctypes_static.ptr ->
Types.Mesh.t Ctypes.structure Ctypes_static.ptr option F.return)
F.result
Source
val load_materials :
(string ->
int Ctypes_static.ptr ->
Types.Material.t Ctypes.structure Ctypes_static.ptr F.return)
F.result
Source
val set_material_texture :
(Types.Material.t Ctypes.structure Ctypes_static.ptr ->
Constants.MaterialMapType.t ->
Types.Texture2D.t Ctypes.structure ->
unit F.return)
F.result
Source
val set_model_mesh_material :
(Types.Model.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
unit F.return)
F.result
Source
val _load_model_animations :
(string ->
int Ctypes_static.ptr ->
Types.ModelAnimation.t Ctypes.structure Ctypes_static.ptr F.return)
F.result
Source
val update_model_animation :
(Types.Model.t Ctypes.structure ->
Types.ModelAnimation.t Ctypes.structure ->
int ->
unit F.return)
F.result
Source
val unload_model_animation :
(Types.ModelAnimation.t Ctypes.structure -> unit F.return) F.result
Source
val is_model_animation_valid :
(Types.Model.t Ctypes.structure ->
Types.ModelAnimation.t Ctypes.structure ->
bool F.return)
F.result
Source
val gen_mesh_plane :
(float ->
float ->
int ->
int ->
Types.Mesh.t Ctypes.structure F.return)
F.result
Source
val gen_mesh_cube :
(float -> float -> float -> Types.Mesh.t Ctypes.structure F.return) F.result
Source
val gen_mesh_sphere :
(float -> int -> int -> Types.Mesh.t Ctypes.structure F.return) F.result
Source
val gen_mesh_hemi_sphere :
(float -> int -> int -> Types.Mesh.t Ctypes.structure F.return) F.result
Source
val gen_mesh_cylinder :
(float -> float -> int -> Types.Mesh.t Ctypes.structure F.return) F.result
Source
val gen_mesh_torus :
(float ->
float ->
int ->
int ->
Types.Mesh.t Ctypes.structure F.return)
F.result
Source
val gen_mesh_knot :
(float ->
float ->
int ->
int ->
Types.Mesh.t Ctypes.structure F.return)
F.result
Source
val gen_mesh_heightmap :
(Types.Image.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Mesh.t Ctypes.structure F.return)
F.result
Source
val gen_mesh_cubicmap :
(Types.Image.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Mesh.t Ctypes.structure F.return)
F.result
Source
val mesh_bounding_box :
(Types.Mesh.t Ctypes.structure ->
Types.BoundingBox.t Ctypes.structure F.return)
F.result
Source
val mesh_tangents :
(Types.Mesh.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val mesh_binormals :
(Types.Mesh.t Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
Source
val draw_model :
(Types.Model.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_model_ex :
(Types.Model.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Vector3.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_model_wires :
(Types.Model.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_model_wires_ex :
(Types.Model.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Vector3.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_bounding_box :
(Types.BoundingBox.t Ctypes.structure ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_billboard :
(Types.Camera3D.t Ctypes.structure ->
Types.Texture2D.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val draw_billboard_rec :
(Types.Camera3D.t Ctypes.structure ->
Types.Texture2D.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Color.t Ctypes.structure ->
unit F.return)
F.result
Source
val check_collision_spheres :
(Types.Vector3.t Ctypes.structure ->
float ->
Types.Vector3.t Ctypes.structure ->
float ->
bool F.return)
F.result
Source
val check_collision_boxes :
(Types.BoundingBox.t Ctypes.structure ->
Types.BoundingBox.t Ctypes.structure ->
bool F.return)
F.result
Source
val check_collision_box_sphere :
(Types.BoundingBox.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
bool F.return)
F.result
Source
val check_collision_ray_sphere :
(Types.Ray.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
bool F.return)
F.result
Source
val check_collision_ray_sphere_ex :
(Types.Ray.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
float ->
Types.Vector3.t Ctypes.structure Ctypes_static.ptr ->
bool F.return)
F.result
Source
val check_collision_ray_box :
(Types.Ray.t Ctypes.structure ->
Types.BoundingBox.t Ctypes.structure ->
bool F.return)
F.result
Source
val get_collision_ray_model :
(Types.Ray.t Ctypes.structure ->
Types.Model.t Ctypes.structure ->
Types.RayHitInfo.t Ctypes.structure F.return)
F.result
Source
val get_collision_ray_triangle :
(Types.Ray.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.Vector3.t Ctypes.structure ->
Types.RayHitInfo.t Ctypes.structure F.return)
F.result
Source
val get_collision_ray_ground :
(Types.Ray.t Ctypes.structure ->
float ->
Types.RayHitInfo.t Ctypes.structure F.return)
F.result
Source
val load_shader_code :
(string -> string -> Types.Shader.t Ctypes.structure F.return) F.result
Source
val set_shapes_texture :
(Types.Texture2D.t Ctypes.structure ->
Types.Rectangle.t Ctypes.structure ->
unit F.return)
F.result
Source
val get_shader_location :
(Types.Shader.t Ctypes.structure ->
string ->
Constants.ShaderLocationIndex.t F.return)
F.result
Source
val set_shader_value :
(Types.Shader.t Ctypes.structure ->
Constants.ShaderLocationIndex.t ->
unit Ctypes_static.ptr ->
Constants.ShaderUniformDataType.t ->
unit F.return)
F.result
Source
val set_shader_value_v :
(Types.Shader.t Ctypes.structure ->
Constants.ShaderLocationIndex.t ->
unit Ctypes_static.ptr ->
Constants.ShaderUniformDataType.t ->
int ->
unit F.return)
F.result
Source
val set_shader_value_matrix :
(Types.Shader.t Ctypes.structure ->
Constants.ShaderLocationIndex.t ->
Types.Matrix.t Ctypes.structure ->
unit F.return)
F.result
Source
val set_shader_value_texture :
(Types.Shader.t Ctypes.structure ->
Constants.ShaderLocationIndex.t ->
Types.Texture2D.t Ctypes.structure ->
unit F.return)
F.result
Source
val gen_texture_cubemap :
(Types.Shader.t Ctypes.structure ->
Types.Texture2D.t Ctypes.structure ->
int ->
Types.Texture2D.t Ctypes.structure F.return)
F.result
Source
val gen_texture_irradiance :
(Types.Shader.t Ctypes.structure ->
Types.Texture2D.t Ctypes.structure ->
int ->
Types.Texture2D.t Ctypes.structure F.return)
F.result
Source
val gen_texture_prefilter :
(Types.Shader.t Ctypes.structure ->
Types.Texture2D.t Ctypes.structure ->
int ->
Types.Texture2D.t Ctypes.structure F.return)
F.result
Source
val gen_texture_b_r_d_f :
(Types.Shader.t Ctypes.structure ->
int ->
Types.Texture2D.t Ctypes.structure F.return)
F.result
Source
val update_vr_tracking :
(Types.Camera3D.t Ctypes.structure Ctypes_static.ptr ->
unit F.return)
F.result
Source
val load_sound_from_wave :
(Types.Wave.t Ctypes.structure ->
Types.Sound.t Ctypes.structure F.return)
F.result
Source
val update_sound :
(Types.Sound.t Ctypes.structure ->
unit Ctypes_static.ptr ->
int ->
unit F.return)
F.result
Source
val wave_format :
(Types.Wave.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
int ->
unit F.return)
F.result
Source
val wave_copy :
(Types.Wave.t Ctypes.structure ->
Types.Wave.t Ctypes.structure F.return)
F.result
Source
val wave_crop :
(Types.Wave.t Ctypes.structure Ctypes_static.ptr ->
int ->
int ->
unit F.return)
F.result
Source
val get_wave_data :
(Types.Wave.t Ctypes.structure -> float Ctypes_static.ptr F.return) F.result
Source
val init_audio_stream :
(int -> int -> int -> Types.AudioStream.t Ctypes.structure F.return) F.result
Source
val update_audio_stream :
(Types.AudioStream.t Ctypes.structure ->
unit Ctypes_static.ptr ->
int ->
unit F.return)
F.result
Source
val is_audio_stream_processed :
(Types.AudioStream.t Ctypes.structure -> bool F.return) F.result
Source
val is_audio_stream_playing :
(Types.AudioStream.t Ctypes.structure -> bool F.return) F.result
Source
val set_audio_stream_volume :
(Types.AudioStream.t Ctypes.structure -> float -> unit F.return) F.result
Source
val set_audio_stream_pitch :
(Types.AudioStream.t Ctypes.structure -> float -> unit F.return) F.result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page