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 _load_file_data : (string -> Unsigned.uint Ctypes_static.ptr -> Unsigned.uchar Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val _save_file_data : (string -> unit Ctypes_static.ptr -> int -> unit Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val _get_directory_files : (string -> int Ctypes_static.ptr -> string Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val _get_dropped_files : (int Ctypes_static.ptr -> string Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val _compress_data : (Unsigned.uchar Ctypes_static.ptr -> int -> int Ctypes_static.ptr -> Unsigned.uchar Ctypes_static.ptr Raylib_c.Raylib_c_generated_functions.return) Raylib_c.Raylib_c_generated_functions.result
val _decompress_data : (Unsigned.uchar Ctypes_static.ptr -> int -> int Ctypes_static.ptr -> Unsigned.uchar Ctypes_static.ptr 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
include module type of struct include Raylib_generated_constants end
val max_material_maps : int
val max_shader_locations : int
module CArray : sig ... end
val addr : ('a, 'b) Ctypes.structured -> ('a, 'b) Ctypes.structured Ctypes.ptr
val ptr_of_int : int -> int Ctypes.ptr
val ptr_of_uint : Unsigned.uint -> Unsigned.uint Ctypes.ptr
val void_ptr_of_int : int -> unit Ctypes.ptr
module Types = Raylib_functions.Types
module Constants = Raylib_generated_constants
module Vector2 : sig ... end
module Vector3 : sig ... end
module Vector4 : sig ... end
module Quaternion = Vector4
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 Camera3D : sig ... end
module Camera = Camera3D
module Camera2D : sig ... end
module Mesh = Types.Mesh
module Shader : sig ... end
module MaterialMap : sig ... end
module Material : sig ... end
module Transform : sig ... end
module BoneInfo = Types.BoneInfo
module Model : sig ... end
module ModelAnimation : sig ... end
module Ray : sig ... end
module RayHitInfo : sig ... end
module BoundingBox = Types.BoundingBox
module Wave = Types.Wave
module AudioStream = Types.AudioStream
module Sound = Types.Sound
module Music = Types.Music
val load_file_data : string -> Unsigned.uchar Ctypes.CArray.t
val save_file_data : string -> 'a Ctypes.CArray.t -> unit Raylib_c.Raylib_c_generated_functions.return
val get_directory_files : string -> string Ctypes.CArray.t
val get_dropped_files : unit -> string Ctypes.CArray.t
val compress_data : Unsigned.uchar Ctypes.CArray.t -> Unsigned.uchar Ctypes.CArray.t
val decompress_data : Unsigned.uchar Ctypes.CArray.t -> Unsigned.uchar Ctypes.CArray.t
val load_model_animations : string -> Raylib_functions.Types.ModelAnimation.t Ctypes.structure Ctypes.CArray.t
OCaml

Innovation. Community. Security.