package raylib

  1. Overview
  2. Docs
include sig ... end
val get_window_handle : (unit -> unit Ctypes_static.ptr option Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val begin_scissor_mode : (int -> int -> int -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val set_camera_move_controls : (int -> int -> int -> int -> int -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_circle_sector : (Raylib_functions.Types.Vector2.t Ctypes.structure -> float -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_circle_sector_lines : (Raylib_functions.Types.Vector2.t Ctypes.structure -> float -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_circle_gradient : (int -> int -> float -> Raylib_functions.Types.Color.t Ctypes.structure -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_ellipse : (int -> int -> float -> float -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_ellipse_lines : (int -> int -> float -> float -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_ring : (Raylib_functions.Types.Vector2.t Ctypes.structure -> float -> float -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_ring_lines : (Raylib_functions.Types.Vector2.t Ctypes.structure -> float -> float -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_rectangle_gradient_v : (int -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_rectangle_gradient_h : (int -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_rectangle_lines : (int -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_rectangle_rounded_lines : (Raylib_functions.Types.Rectangle.t Ctypes.structure -> float -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_triangle_strip : (Raylib_functions.Types.Vector2.t Ctypes.structure Ctypes_static.ptr -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val load_image_pro : (unit Ctypes_static.ptr -> int -> int -> int -> Raylib_functions.Types.Image.t Ctypes.structure Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val load_image_raw : (string -> int -> int -> int -> int -> Raylib_functions.Types.Image.t Ctypes.structure Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val gen_image_perlin_noise : (int -> int -> int -> int -> float -> Raylib_functions.Types.Image.t Ctypes.structure Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_alpha_clear : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> Raylib_functions.Types.Color.t Ctypes.structure -> float -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_alpha_crop : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> float -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_resize : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_resize_n_n : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_resize_canvas : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_dither : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> int -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_color_contrast : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> float -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_color_brightness : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_pixel : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_line : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_circle : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_circle_v : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> Raylib_functions.Types.Vector2.t Ctypes.structure -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_rectangle : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> int -> int -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_rectangle_lines : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> Raylib_functions.Types.Rectangle.t Ctypes.structure -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_text : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> Raylib_functions.Types.Vector2.t Ctypes.structure -> string -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val image_draw_text_ex : (Raylib_functions.Types.Image.t Ctypes.structure Ctypes_static.ptr -> Raylib_functions.Types.Vector2.t Ctypes.structure -> Raylib_functions.Types.Font.t Ctypes.structure -> string -> float -> float -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val load_font_ex : (string -> int -> int Ctypes_static.ptr -> int -> Raylib_functions.Types.Font.t Ctypes.structure Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val load_font_data : (string -> int -> int Ctypes_static.ptr -> int -> int -> Raylib_functions.Types.CharInfo.t Ctypes.structure Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_text_rec : (Raylib_functions.Types.Font.t Ctypes.structure -> string -> Raylib_functions.Types.Rectangle.t Ctypes.structure -> float -> float -> bool -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_text_rec_ex : (Raylib_functions.Types.Font.t Ctypes.structure -> string -> Raylib_functions.Types.Rectangle.t Ctypes.structure -> float -> float -> bool -> Raylib_functions.Types.Color.t Ctypes.structure -> int -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val text_replace : (string -> string -> string -> string Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val text_append : (string -> string -> int Ctypes_static.ptr -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val text_to_utf8 : (int Ctypes_static.ptr -> int -> string Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val get_codepoints : (string -> int Ctypes_static.ptr -> int Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val get_next_codepoint : (string -> int Ctypes_static.ptr -> int Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val codepoint_to_utf8 : (int -> int Ctypes_static.ptr -> string Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_cylinder : (Raylib_functions.Types.Vector3.t Ctypes.structure -> float -> float -> float -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val draw_cylinder_wires : (Raylib_functions.Types.Vector3.t Ctypes.structure -> float -> float -> float -> int -> Raylib_functions.Types.Color.t Ctypes.structure -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val load_meshes : (string -> int Ctypes_static.ptr -> Raylib_functions.Types.Mesh.t Ctypes.structure Ctypes_static.ptr option Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val load_materials : (string -> int Ctypes_static.ptr -> Raylib_functions.Types.Material.t Ctypes.structure Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val set_model_mesh_material : (Raylib_functions.Types.Model.t Ctypes.structure Ctypes_static.ptr -> int -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val load_model_animations : (string -> int Ctypes_static.ptr -> Raylib_functions.Types.ModelAnimation.t Ctypes.structure Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val check_collision_ray_sphere_ex : (Raylib_functions.Types.Ray.t Ctypes.structure -> Raylib_functions.Types.Vector3.t Ctypes.structure -> float -> Raylib_functions.Types.Vector3.t Ctypes.structure Ctypes_static.ptr -> bool Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val update_sound : (Raylib_functions.Types.Sound.t Ctypes.structure -> unit Ctypes_static.ptr -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val wave_format : (Raylib_functions.Types.Wave.t Ctypes.structure Ctypes_static.ptr -> int -> int -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val update_audio_stream : (Raylib_functions.Types.AudioStream.t Ctypes.structure -> unit Ctypes_static.ptr -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
module Types = Raylib_functions.Types
module Constants = Raylib_generated_constants
module Vector2 : sig ... end
module Vector3 : sig ... end
module Vector4 : sig ... end
module Matrix : sig ... end
module Color : sig ... end
module Rectangle : sig ... end
module Image : sig ... end
module Texture2D : sig ... end
module RenderTexture2D : sig ... end
module NPatchInfo : sig ... end
module CharInfo : sig ... end
module Font : sig ... end
module CameraType = Types.CameraType
module Camera3D : sig ... end
module Camera2D : sig ... end
module Mesh = Types.Mesh
module Shader = Types.Shader
module MaterialMap = Types.MaterialMap
module Material = Types.Material
module Transform = Types.Transform
module BoneInfo = Types.BoneInfo
module Model = Types.Model
module ModelAnimation = Types.ModelAnimation
module Ray : sig ... end
module RayHitInfo : sig ... end
module Wave = Types.Wave
module AudioStream = Types.AudioStream
module Sound = Types.Sound
module Music = Types.Music
module ConfigFlag = Types.ConfigFlag
OCaml

Innovation. Community. Security.