module RayLib
Defined in:
raylib/binding/binding.crraylib/binding/extra.cr
raylib/converters.cr
raylib/handler/texture_atlas.cr
raylib/methods.cr
raylib/structs.cr
raylib/version.cr
Constant Summary
-
VERSION =
"2.5.0"
Class Method Summary
-
.any_key_pressed? : Bool
Check if any key is pressed NOTE: We limit keys check to keys between 32 (KEY_SPACE) and 126
- .begin_blend_mode(mode : Int32) : Void
- .begin_drawing : Void
- .begin_mode2_d(camera : Camera2D) : Void
- .begin_mode3_d(camera : Camera3D) : Void
- .begin_scissor_mode(x : Int32, y : Int32, width : Int32, height : Int32) : Void
- .begin_shader_mode(shader : Shader) : Void
- .begin_texture_mode(target : RenderTexture) : Void
- .begin_vr_drawing : Void
- .change_directory(dir : String) : Bool
- .check_collision_box_sphere(box : BoundingBox, center : Vector3, radius : Float32) : Bool
- .check_collision_boxes(box1 : BoundingBox, box2 : BoundingBox) : Bool
- .check_collision_circle_rec(center : Vector2, radius : Float32, rec : Rectangle) : Bool
- .check_collision_circles(center1 : Vector2, radius1 : Float32, center2 : Vector2, radius2 : Float32) : Bool
- .check_collision_lines(start_pos1 : Vector2, end_pos1 : Vector2, start_pos2 : Vector2, end_pos2 : Vector2, collision_point : Pointer(Vector2)) : Bool
- .check_collision_point_circle(point : Vector2, center : Vector2, radius : Float32) : Bool
- .check_collision_point_rec(point : Vector2, rec : Rectangle) : Bool
- .check_collision_point_triangle(point : Vector2, p1 : Vector2, p2 : Vector2, p3 : Vector2) : Bool
- .check_collision_ray_box(ray : Ray, box : BoundingBox) : Bool
- .check_collision_ray_sphere(ray : Ray, center : Vector3, radius : Float32) : Bool
- .check_collision_ray_sphere_ex(ray : Ray, center : Vector3, radius : Float32, collision_point : Pointer(Vector3)) : Bool
- .check_collision_recs(rec1 : Rectangle, rec2 : Rectangle) : Bool
- .check_collision_spheres(center1 : Vector3, radius1 : Float32, center2 : Vector3, radius2 : Float32) : Bool
- .clear_background(color : Binding::Color) : Void
- .clear_directory_files : Void
- .clear_dropped_files : Void
- .clear_window_state(flags : UInt32) : Void
- .close_audio_device : Void
- .close_audio_stream(stream : AudioStream) : Void
- .close_vr_simulator : Void
- .close_window : Void
- .codepoint_to_utf8(codepoint : Int32, byte_length : Pointer(Int32)) : String
- .color_alpha(color : Binding::Color, alpha : Float32) : Binding::Color
- .color_alpha_blend(dst : Binding::Color, src : Binding::Color, tint : Binding::Color) : Binding::Color
- .color_from_hsv(hue : Float32, saturation : Float32, value : Float32) : Binding::Color
- .color_from_normalized(normalized : Vector4) : Binding::Color
- .color_normalize(color : Binding::Color) : Vector4
- .color_to_hsv(color : Binding::Color) : Vector3
- .color_to_int(color : Binding::Color) : Int32
- .compress_data(data : Pointer(UInt8), data_length : Int32, comp_data_length : Pointer(Int32)) : Pointer(UInt8)
- .decompress_data(comp_data : Pointer(UInt8), comp_data_length : Int32, data_length : Pointer(Int32)) : Pointer(UInt8)
- .directory_exists(dir_path : String) : Bool
- .disable_cursor : Void
- .draw_billboard(camera : Camera3D, texture : Texture2D, center : Vector3, size : Float32, tint : Binding::Color) : Void
- .draw_billboard_rec(camera : Camera3D, texture : Texture2D, source : Rectangle, center : Vector3, size : Float32, tint : Binding::Color) : Void
- .draw_bounding_box(box : BoundingBox, color : Binding::Color) : Void
- .draw_circle(center_x : Int32, center_y : Int32, radius : Float32, color : Binding::Color) : Void
- .draw_circle3_d(center : Vector3, radius : Float32, rotation_axis : Vector3, rotation_angle : Float32, color : Binding::Color) : Void
- .draw_circle_gradient(center_x : Int32, center_y : Int32, radius : Float32, color1 : Binding::Color, color2 : Binding::Color) : Void
- .draw_circle_lines(center_x : Int32, center_y : Int32, radius : Float32, color : Binding::Color) : Void
- .draw_circle_sector(center : Vector2, radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
- .draw_circle_sector_lines(center : Vector2, radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
- .draw_circle_v(center : Vector2, radius : Float32, color : Binding::Color) : Void
- .draw_cube(position : Vector3, width : Float32, height : Float32, length : Float32, color : Binding::Color) : Void
- .draw_cube_texture(texture : Texture2D, position : Vector3, width : Float32, height : Float32, length : Float32, color : Binding::Color) : Void
- .draw_cube_v(position : Vector3, size : Vector3, color : Binding::Color) : Void
- .draw_cube_wires(position : Vector3, width : Float32, height : Float32, length : Float32, color : Binding::Color) : Void
- .draw_cube_wires_v(position : Vector3, size : Vector3, color : Binding::Color) : Void
- .draw_cylinder(position : Vector3, radius_top : Float32, radius_bottom : Float32, height : Float32, slices : Int32, color : Binding::Color) : Void
- .draw_cylinder_wires(position : Vector3, radius_top : Float32, radius_bottom : Float32, height : Float32, slices : Int32, color : Binding::Color) : Void
- .draw_ellipse(center_x : Int32, center_y : Int32, radius_h : Float32, radius_v : Float32, color : Binding::Color) : Void
- .draw_ellipse_lines(center_x : Int32, center_y : Int32, radius_h : Float32, radius_v : Float32, color : Binding::Color) : Void
- .draw_fps(pos_x : Int32, pos_y : Int32) : Void
- .draw_gizmo(position : Vector3) : Void
- .draw_grid(slices : Int32, spacing : Float32) : Void
- .draw_line(start_pos_x : Int32, start_pos_y : Int32, end_pos_x : Int32, end_pos_y : Int32, color : Binding::Color) : Void
- .draw_line3_d(start_pos : Vector3, end_pos : Vector3, color : Binding::Color) : Void
- .draw_line_bezier(start_pos : Vector2, end_pos : Vector2, thick : Float32, color : Binding::Color) : Void
- .draw_line_bezier_quad(start_pos : Vector2, end_pos : Vector2, control_pos : Vector2, thick : Float32, color : Binding::Color) : Void
- .draw_line_ex(start_pos : Vector2, end_pos : Vector2, thick : Float32, color : Binding::Color) : Void
- .draw_line_strip(points : Pointer(Vector2), points_count : Int32, color : Binding::Color) : Void
- .draw_line_v(start_pos : Vector2, end_pos : Vector2, color : Binding::Color) : Void
- .draw_model(model : Model, position : Vector3, scale : Float32, tint : Binding::Color) : Void
- .draw_model_ex(model : Model, position : Vector3, rotation_axis : Vector3, rotation_angle : Float32, scale : Vector3, tint : Binding::Color) : Void
- .draw_model_wires(model : Model, position : Vector3, scale : Float32, tint : Binding::Color) : Void
- .draw_model_wires_ex(model : Model, position : Vector3, rotation_axis : Vector3, rotation_angle : Float32, scale : Vector3, tint : Binding::Color) : Void
- .draw_pixel(pos_x : Int32, pos_y : Int32, color : Binding::Color) : Void
- .draw_pixel_v(position : Vector2, color : Binding::Color) : Void
- .draw_plane(center_pos : Vector3, size : Vector2, color : Binding::Color) : Void
- .draw_point3_d(position : Vector3, color : Binding::Color) : Void
- .draw_poly(center : Vector2, sides : Int32, radius : Float32, rotation : Float32, color : Binding::Color) : Void
- .draw_poly_lines(center : Vector2, sides : Int32, radius : Float32, rotation : Float32, color : Binding::Color) : Void
- .draw_ray(ray : Ray, color : Binding::Color) : Void
- .draw_rectangle(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color : Binding::Color) : Void
- .draw_rectangle_gradient_ex(rec : Rectangle, col1 : Binding::Color, col2 : Binding::Color, col3 : Binding::Color, col4 : Binding::Color) : Void
- .draw_rectangle_gradient_h(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color1 : Binding::Color, color2 : Binding::Color) : Void
- .draw_rectangle_gradient_v(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color1 : Binding::Color, color2 : Binding::Color) : Void
- .draw_rectangle_lines(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color : Binding::Color) : Void
- .draw_rectangle_lines_ex(rec : Rectangle, line_thick : Int32, color : Binding::Color) : Void
- .draw_rectangle_pro(rec : Rectangle, origin : Vector2, rotation : Float32, color : Binding::Color) : Void
- .draw_rectangle_rec(rec : Rectangle, color : Binding::Color) : Void
- .draw_rectangle_rounded(rec : Rectangle, roundness : Float32, segments : Int32, color : Binding::Color) : Void
- .draw_rectangle_rounded_lines(rec : Rectangle, roundness : Float32, segments : Int32, line_thick : Int32, color : Binding::Color) : Void
- .draw_rectangle_v(position : Vector2, size : Vector2, color : Binding::Color) : Void
- .draw_ring(center : Vector2, inner_radius : Float32, outer_radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
- .draw_ring_lines(center : Vector2, inner_radius : Float32, outer_radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
- .draw_sphere(center_pos : Vector3, radius : Float32, color : Binding::Color) : Void
- .draw_sphere_ex(center_pos : Vector3, radius : Float32, rings : Int32, slices : Int32, color : Binding::Color) : Void
- .draw_sphere_wires(center_pos : Vector3, radius : Float32, rings : Int32, slices : Int32, color : Binding::Color) : Void
- .draw_text(text : String, pos_x : Int32, pos_y : Int32, font_size : Int32, color : Binding::Color) : Void
- .draw_text_codepoint(font : Font, codepoint : Int32, position : Vector2, font_size : Float32, tint : Binding::Color) : Void
- .draw_text_ex(font : Font, text : String, position : Vector2, font_size : Float32, spacing : Float32, tint : Binding::Color) : Void
- .draw_text_rec(font : Font, text : String, rec : Rectangle, font_size : Float32, spacing : Float32, word_wrap : Bool, tint : Binding::Color) : Void
- .draw_text_rec_ex(font : Font, text : String, rec : Rectangle, font_size : Float32, spacing : Float32, word_wrap : Bool, tint : Binding::Color, select_start : Int32, select_length : Int32, select_tint : Binding::Color, select_back_tint : Binding::Color) : Void
- .draw_texture(texture : Texture2D, pos_x : Int32, pos_y : Int32, tint : Binding::Color) : Void
- .draw_texture_ex(texture : Texture2D, position : Vector2, rotation : Float32, scale : Float32, tint : Binding::Color) : Void
- .draw_texture_n_patch(texture : Texture2D, n_patch_info : NPatchInfo, dest : Rectangle, origin : Vector2, rotation : Float32, tint : Binding::Color) : Void
- .draw_texture_pro(texture : Texture2D, source : Rectangle, dest : Rectangle, origin : Vector2, rotation : Float32, tint : Binding::Color) : Void
- .draw_texture_quad(texture : Texture2D, tiling : Vector2, offset : Vector2, quad : Rectangle, tint : Binding::Color) : Void
- .draw_texture_rec(texture : Texture2D, source : Rectangle, position : Vector2, tint : Binding::Color) : Void
- .draw_texture_tiled(texture : Texture2D, source : Rectangle, dest : Rectangle, origin : Vector2, rotation : Float32, scale : Float32, tint : Binding::Color) : Void
- .draw_texture_v(texture : Texture2D, position : Vector2, tint : Binding::Color) : Void
- .draw_triangle(v1 : Vector2, v2 : Vector2, v3 : Vector2, color : Binding::Color) : Void
- .draw_triangle3_d(v1 : Vector3, v2 : Vector3, v3 : Vector3, color : Binding::Color) : Void
- .draw_triangle_fan(points : Pointer(Vector2), points_count : Int32, color : Binding::Color) : Void
- .draw_triangle_lines(v1 : Vector2, v2 : Vector2, v3 : Vector2, color : Binding::Color) : Void
- .draw_triangle_strip(points : Pointer(Vector2), points_count : Int32, color : Binding::Color) : Void
- .draw_triangle_strip3_d(points : Pointer(Vector3), points_count : Int32, color : Binding::Color) : Void
- .enable_cursor : Void
- .end_blend_mode : Void
- .end_drawing : Void
- .end_mode2_d : Void
- .end_mode3_d : Void
- .end_scissor_mode : Void
- .end_shader_mode : Void
- .end_texture_mode : Void
- .end_vr_drawing : Void
- .export_image(image : Image, file_name : String) : Bool
- .export_image_as_code(image : Image, file_name : String) : Bool
- .export_mesh(mesh : Mesh, file_name : String) : Bool
- .export_wave(wave : Wave, file_name : String) : Bool
- .export_wave_as_code(wave : Wave, file_name : String) : Bool
- .fade(color : Binding::Color, alpha : Float32) : Binding::Color
- .file_exists(file_name : String) : Bool
- .gen_image_cellular(width : Int32, height : Int32, tile_size : Int32) : Image
- .gen_image_checked(width : Int32, height : Int32, checks_x : Int32, checks_y : Int32, col1 : Binding::Color, col2 : Binding::Color) : Image
- .gen_image_color(width : Int32, height : Int32, color : Binding::Color) : Image
- .gen_image_font_atlas(chars : Pointer(CharInfo), recs : Pointer(Pointer(Rectangle)), chars_count : Int32, font_size : Int32, padding : Int32, pack_method : Int32) : Image
- .gen_image_gradient_h(width : Int32, height : Int32, left : Binding::Color, right : Binding::Color) : Image
- .gen_image_gradient_radial(width : Int32, height : Int32, density : Float32, inner : Binding::Color, outer : Binding::Color) : Image
- .gen_image_gradient_v(width : Int32, height : Int32, top : Binding::Color, bottom : Binding::Color) : Image
- .gen_image_perlin_noise(width : Int32, height : Int32, offset_x : Int32, offset_y : Int32, scale : Float32) : Image
- .gen_image_white_noise(width : Int32, height : Int32, factor : Float32) : Image
- .gen_mesh_cube(width : Float32, height : Float32, length : Float32) : Mesh
- .gen_mesh_cubicmap(cubicmap : Image, cube_size : Vector3) : Mesh
- .gen_mesh_cylinder(radius : Float32, height : Float32, slices : Int32) : Mesh
- .gen_mesh_heightmap(heightmap : Image, size : Vector3) : Mesh
- .gen_mesh_hemi_sphere(radius : Float32, rings : Int32, slices : Int32) : Mesh
- .gen_mesh_knot(radius : Float32, size : Float32, rad_seg : Int32, sides : Int32) : Mesh
- .gen_mesh_plane(width : Float32, length : Float32, res_x : Int32, res_z : Int32) : Mesh
- .gen_mesh_poly(sides : Int32, radius : Float32) : Mesh
- .gen_mesh_sphere(radius : Float32, rings : Int32, slices : Int32) : Mesh
- .gen_mesh_torus(radius : Float32, size : Float32, rad_seg : Int32, sides : Int32) : Mesh
- .gen_texture_brdf(shader : Shader, size : Int32) : Texture2D
- .gen_texture_cubemap(shader : Shader, panorama : Texture2D, size : Int32, format : Int32) : Pointer(Binding::TextureCubemap)
- .gen_texture_irradiance(shader : Shader, cubemap : Pointer(Binding::TextureCubemap), size : Int32) : Pointer(Binding::TextureCubemap)
- .gen_texture_mipmaps(texture : Pointer(Texture2D)) : Void
- .gen_texture_prefilter(shader : Shader, cubemap : Pointer(Binding::TextureCubemap), size : Int32) : Pointer(Binding::TextureCubemap)
- .get_camera_matrix(camera : Camera3D) : Matrix
- .get_camera_matrix2_d(camera : Camera2D) : Matrix
- .get_char_pressed : Int32
- .get_clipboard_text : String
- .get_codepoints(text : String, count : Pointer(Int32)) : Pointer(Int32)
- .get_codepoints_count(text : String) : Int32
- .get_collision_ray_ground(ray : Ray, ground_height : Float32) : RayHitInfo
- .get_collision_ray_mesh(ray : Ray, mesh : Mesh, transform : Matrix) : RayHitInfo
- .get_collision_ray_model(ray : Ray, model : Model) : RayHitInfo
- .get_collision_ray_triangle(ray : Ray, p1 : Vector3, p2 : Vector3, p3 : Vector3) : RayHitInfo
- .get_collision_rec(rec1 : Rectangle, rec2 : Rectangle) : Rectangle
- .get_color(hex_value : Int32) : Binding::Color
- .get_current_monitor : Int32
- .get_directory_files(dir_path : String, count : Pointer(Int32)) : Pointer(String)
- .get_directory_path(file_path : String) : String
- .get_dropped_files(count : Pointer(Int32)) : Pointer(String)
- .get_file_extension(file_name : String) : String
- .get_file_mod_time(file_name : String) : LibC::Long
- .get_file_name(file_path : String) : String
- .get_file_name_without_ext(file_path : String) : String
- .get_font_default : Font
- .get_fps : Int32
- .get_frame_time : Float32
- .get_gamepad_axis_count(gamepad : Int32) : Int32
- .get_gamepad_axis_movement(gamepad : Int32, axis : Int32) : Float32
- .get_gamepad_button_pressed : Int32
- .get_gamepad_name(gamepad : Int32) : String
- .get_gesture_detected : Int32
- .get_gesture_drag_angle : Float32
- .get_gesture_drag_vector : Vector2
- .get_gesture_hold_duration : Float32
- .get_gesture_pinch_angle : Float32
- .get_gesture_pinch_vector : Vector2
- .get_glyph_index(font : Font, codepoint : Int32) : Int32
- .get_image_alpha_border(image : Image, threshold : Float32) : Rectangle
- .get_key_pressed : Int32
-
.get_key_pressed?
Get latest key pressed
- .get_matrix_modelview : Matrix
- .get_matrix_projection : Matrix
- .get_monitor_count : Int32
- .get_monitor_height(monitor : Int32) : Int32
- .get_monitor_name(monitor : Int32) : String
- .get_monitor_physical_height(monitor : Int32) : Int32
- .get_monitor_physical_width(monitor : Int32) : Int32
- .get_monitor_position(monitor : Int32) : Vector2
- .get_monitor_refresh_rate(monitor : Int32) : Int32
- .get_monitor_width(monitor : Int32) : Int32
- .get_mouse_cursor : Int32
- .get_mouse_position : Vector2
- .get_mouse_ray(mouse_position : Vector2, camera : Camera3D) : Ray
- .get_mouse_wheel_move : Float32
- .get_mouse_x : Int32
- .get_mouse_y : Int32
- .get_music_time_length(music : Pointer(Binding::Music)) : Float32
- .get_music_time_played(music : Pointer(Binding::Music)) : Float32
- .get_next_codepoint(text : String, bytes_processed : Pointer(Int32)) : Int32
- .get_pixel_color(src_ptr : Pointer(Void), format : Int32) : Binding::Color
- .get_pixel_data_size(width : Int32, height : Int32, format : Int32) : Int32
- .get_prev_directory_path(dir_path : String) : String
- .get_random_value(min : Int32, max : Int32) : Int32
- .get_screen_data : Image
- .get_screen_height : Int32
- .get_screen_to_world2_d(position : Vector2, camera : Camera2D) : Vector2
- .get_screen_width : Int32
- .get_shader_default : Shader
- .get_shader_location(shader : Shader, uniform_name : String) : Int32
- .get_shader_location_attrib(shader : Shader, attrib_name : String) : Int32
- .get_shapes_texture : Texture2D
- .get_shapes_texture_rec : Rectangle
- .get_sounds_playing : Int32
- .get_texture_data(texture : Texture2D) : Image
- .get_texture_default : Texture2D
- .get_time : Float64
- .get_touch_points_count : Int32
- .get_touch_position(index : Int32) : Vector2
- .get_touch_x : Int32
- .get_touch_y : Int32
- .get_window_handle : Pointer(Void)
- .get_window_position : Vector2
- .get_window_scale_dpi : Vector2
- .get_working_directory : String
- .get_world_to_screen(position : Vector3, camera : Camera3D) : Vector2
- .get_world_to_screen2_d(position : Vector2, camera : Camera2D) : Vector2
- .get_world_to_screen_ex(position : Vector3, camera : Camera3D, width : Int32, height : Int32) : Vector2
- .hide_cursor : Void
- .image_alpha_clear(image : Pointer(Image), color : Binding::Color, threshold : Float32) : Void
- .image_alpha_crop(image : Pointer(Image), threshold : Float32) : Void
- .image_alpha_mask(image : Pointer(Image), alpha_mask : Image) : Void
- .image_alpha_premultiply(image : Pointer(Image)) : Void
- .image_clear_background(dst : Pointer(Image), color : Binding::Color) : Void
- .image_color_brightness(image : Pointer(Image), brightness : Int32) : Void
- .image_color_contrast(image : Pointer(Image), contrast : Float32) : Void
- .image_color_grayscale(image : Pointer(Image)) : Void
- .image_color_invert(image : Pointer(Image)) : Void
- .image_color_replace(image : Pointer(Image), color : Binding::Color, replace : Binding::Color) : Void
- .image_color_tint(image : Pointer(Image), color : Binding::Color) : Void
- .image_copy(image : Image) : Image
- .image_crop(image : Pointer(Image), crop : Rectangle) : Void
- .image_dither(image : Pointer(Image), r_bpp : Int32, g_bpp : Int32, b_bpp : Int32, a_bpp : Int32) : Void
- .image_draw(dst : Pointer(Image), src : Image, src_rec : Rectangle, dst_rec : Rectangle, tint : Binding::Color) : Void
- .image_draw_circle(dst : Pointer(Image), center_x : Int32, center_y : Int32, radius : Int32, color : Binding::Color) : Void
- .image_draw_circle_v(dst : Pointer(Image), center : Vector2, radius : Int32, color : Binding::Color) : Void
- .image_draw_line(dst : Pointer(Image), start_pos_x : Int32, start_pos_y : Int32, end_pos_x : Int32, end_pos_y : Int32, color : Binding::Color) : Void
- .image_draw_line_v(dst : Pointer(Image), start : Vector2, end_ : Vector2, color : Binding::Color) : Void
- .image_draw_pixel(dst : Pointer(Image), pos_x : Int32, pos_y : Int32, color : Binding::Color) : Void
- .image_draw_pixel_v(dst : Pointer(Image), position : Vector2, color : Binding::Color) : Void
- .image_draw_rectangle(dst : Pointer(Image), pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color : Binding::Color) : Void
- .image_draw_rectangle_lines(dst : Pointer(Image), rec : Rectangle, thick : Int32, color : Binding::Color) : Void
- .image_draw_rectangle_rec(dst : Pointer(Image), rec : Rectangle, color : Binding::Color) : Void
- .image_draw_rectangle_v(dst : Pointer(Image), position : Vector2, size : Vector2, color : Binding::Color) : Void
- .image_draw_text(dst : Pointer(Image), text : String, pos_x : Int32, pos_y : Int32, font_size : Int32, color : Binding::Color) : Void
- .image_draw_text_ex(dst : Pointer(Image), font : Font, text : String, position : Vector2, font_size : Float32, spacing : Float32, tint : Binding::Color) : Void
- .image_flip_horizontal(image : Pointer(Image)) : Void
- .image_flip_vertical(image : Pointer(Image)) : Void
- .image_format(image : Pointer(Image), new_format : Int32) : Void
- .image_from_image(image : Image, rec : Rectangle) : Image
- .image_mipmaps(image : Pointer(Image)) : Void
- .image_resize(image : Pointer(Image), new_width : Int32, new_height : Int32) : Void
- .image_resize_canvas(image : Pointer(Image), new_width : Int32, new_height : Int32, offset_x : Int32, offset_y : Int32, fill : Binding::Color) : Void
- .image_resize_nn(image : Pointer(Image), new_width : Int32, new_height : Int32) : Void
- .image_rotate_ccw(image : Pointer(Image)) : Void
- .image_rotate_cw(image : Pointer(Image)) : Void
- .image_text(text : String, font_size : Int32, color : Binding::Color) : Image
- .image_text_ex(font : Font, text : String, font_size : Float32, spacing : Float32, tint : Binding::Color) : Image
- .image_to_pot(image : Pointer(Image), fill : Binding::Color) : Void
- .init_audio_device : Void
- .init_audio_stream(sample_rate : UInt32, sample_size : UInt32, channels : UInt32) : AudioStream
- .init_vr_simulator : Void
- .init_window(width : Int32, height : Int32, title : String) : Void
- .is_audio_device_ready : Bool
- .is_audio_stream_playing(stream : AudioStream) : Bool
- .is_audio_stream_processed(stream : AudioStream) : Bool
- .is_cursor_hidden : Bool
- .is_cursor_on_screen : Bool
- .is_file_dropped : Bool
- .is_file_extension(file_name : String, ext : String) : Bool
- .is_gamepad_available(gamepad : Int32) : Bool
- .is_gamepad_button_down(gamepad : Int32, button : Int32) : Bool
- .is_gamepad_button_pressed(gamepad : Int32, button : Int32) : Bool
- .is_gamepad_button_released(gamepad : Int32, button : Int32) : Bool
- .is_gamepad_button_up(gamepad : Int32, button : Int32) : Bool
- .is_gamepad_name(gamepad : Int32, name : String) : Bool
- .is_gesture_detected(gesture : Int32) : Bool
- .is_key_down(key : Int32) : Bool
- .is_key_pressed(key : Int32) : Bool
- .is_key_released(key : Int32) : Bool
- .is_key_up(key : Int32) : Bool
- .is_model_animation_valid(model : Model, anim : ModelAnimation) : Bool
- .is_mouse_button_down(button : Int32) : Bool
- .is_mouse_button_pressed(button : Int32) : Bool
- .is_mouse_button_released(button : Int32) : Bool
- .is_mouse_button_up(button : Int32) : Bool
- .is_music_playing(music : Pointer(Binding::Music)) : Bool
- .is_sound_playing(sound : Sound) : Bool
- .is_vr_simulator_ready : Bool
- .is_window_focused : Bool
- .is_window_fullscreen : Bool
- .is_window_hidden : Bool
- .is_window_maximized : Bool
- .is_window_minimized : Bool
- .is_window_ready : Bool
- .is_window_resized : Bool
- .is_window_state(flag : UInt32) : Bool
- .key_down?(key : RayLib::Enum::Key)
- .key_pressed?(key : RayLib::Enum::Key)
- .key_released?(key : RayLib::Enum::Key)
- .key_up?(key : RayLib::Enum::Key)
- .load_file_data(file_name : String, bytes_read : Pointer(UInt32)) : Pointer(UInt8)
- .load_file_text(file_name : String) : String
- .load_font(file_name : String) : Font
- .load_font_data(file_data : Pointer(UInt8), data_size : Int32, font_size : Int32, font_chars : Pointer(Int32), chars_count : Int32, type : Int32) : Pointer(CharInfo)
- .load_font_ex(file_name : String, font_size : Int32, font_chars : Pointer(Int32), chars_count : Int32) : Font
- .load_font_from_image(image : Image, key : Binding::Color, first_char : Int32) : Font
- .load_font_from_memory(file_type : String, file_data : Pointer(UInt8), data_size : Int32, font_size : Int32, font_chars : Pointer(Int32), chars_count : Int32) : Font
- .load_image(file_name : String) : Image
- .load_image_anim(file_name : String, frames : Pointer(Int32)) : Image
- .load_image_colors(image : Image) : Pointer(Binding::Color)
- .load_image_from_memory(file_type : String, file_data : Pointer(UInt8), data_size : Int32) : Image
- .load_image_palette(image : Image, max_palette_size : Int32, colors_count : Pointer(Int32)) : Pointer(Binding::Color)
- .load_image_raw(file_name : String, width : Int32, height : Int32, format : Int32, header_size : Int32) : Image
- .load_material_default : Material
- .load_materials(file_name : String, material_count : Pointer(Int32)) : Pointer(Material)
- .load_meshes(file_name : String, mesh_count : Pointer(Int32)) : Pointer(Mesh)
- .load_model(file_name : String) : Model
- .load_model_animations(file_name : String, anims_count : Pointer(Int32)) : Pointer(ModelAnimation)
- .load_model_from_mesh(mesh : Mesh) : Model
- .load_music_stream(file_name : String) : Pointer(Binding::Music)
- .load_render_texture(width : Int32, height : Int32) : RenderTexture
- .load_shader(vs_file_name : String, fs_file_name : String) : Shader
- .load_shader_code(vs_code : String, fs_code : String) : Shader
- .load_sound(file_name : String) : Sound
- .load_sound_from_wave(wave : Wave) : Sound
- .load_storage_value(position : UInt32) : Int32
- .load_texture(file_name : String) : Texture2D
- .load_texture_cubemap(image : Image, layout_type : Int32) : Pointer(Binding::TextureCubemap)
- .load_texture_from_image(image : Image) : Texture2D
- .load_wave(file_name : String) : Wave
- .load_wave_from_memory(file_type : String, file_data : Pointer(UInt8), data_size : Int32) : Wave
- .load_wave_samples(wave : Wave) : Pointer(Float32)
- .maximize_window : Void
- .measure_text(text : String, font_size : Int32) : Int32
- .measure_text_ex(font : Font, text : String, font_size : Float32, spacing : Float32) : Vector2
- .mem_alloc(size : Int32) : Pointer(Void)
- .mem_free(ptr : Pointer(Void)) : Void
- .mesh_binormals(mesh : Pointer(Mesh)) : Void
- .mesh_bounding_box(mesh : Mesh) : BoundingBox
- .mesh_normals_smooth(mesh : Pointer(Mesh)) : Void
- .mesh_tangents(mesh : Pointer(Mesh)) : Void
- .minimize_window : Void
- .open_url(url : String) : Void
- .pause_audio_stream(stream : AudioStream) : Void
- .pause_music_stream(music : Pointer(Binding::Music)) : Void
- .pause_sound(sound : Sound) : Void
- .play_audio_stream(stream : AudioStream) : Void
- .play_music_stream(music : Pointer(Binding::Music)) : Void
- .play_sound(sound : Sound) : Void
- .play_sound_multi(sound : Sound) : Void
- .restore_window : Void
- .resume_audio_stream(stream : AudioStream) : Void
- .resume_music_stream(music : Pointer(Binding::Music)) : Void
- .resume_sound(sound : Sound) : Void
- .save_file_data(file_name : String, data : Pointer(Void), bytes_to_write : UInt32) : Bool
- .save_file_text(file_name : String, text : String) : Bool
- .save_storage_value(position : UInt32, value : Int32) : Bool
- .set_audio_stream_buffer_size_default(size : Int32) : Void
- .set_audio_stream_pitch(stream : AudioStream, pitch : Float32) : Void
- .set_audio_stream_volume(stream : AudioStream, volume : Float32) : Void
- .set_camera_alt_control(key_alt : Int32) : Void
- .set_camera_mode(camera : Camera3D, mode : Int32) : Void
- .set_camera_move_controls(key_front : Int32, key_back : Int32, key_right : Int32, key_left : Int32, key_up : Int32, key_down : Int32) : Void
- .set_camera_pan_control(key_pan : Int32) : Void
- .set_camera_smooth_zoom_control(key_smooth_zoom : Int32) : Void
- .set_clipboard_text(text : String) : Void
- .set_config_flags(flags : UInt32) : Void
- .set_exit_key(key : Int32) : Void
- .set_gestures_enabled(gesture_flags : UInt32) : Void
- .set_master_volume(volume : Float32) : Void
- .set_material_texture(material : Pointer(Material), map_type : Int32, texture : Texture2D) : Void
- .set_matrix_modelview(view : Matrix) : Void
- .set_matrix_projection(proj : Matrix) : Void
- .set_model_mesh_material(model : Pointer(Model), mesh_id : Int32, material_id : Int32) : Void
- .set_mouse_cursor(cursor : Int32) : Void
- .set_mouse_offset(offset_x : Int32, offset_y : Int32) : Void
- .set_mouse_position(x : Int32, y : Int32) : Void
- .set_mouse_scale(scale_x : Float32, scale_y : Float32) : Void
- .set_music_pitch(music : Pointer(Binding::Music), pitch : Float32) : Void
- .set_music_volume(music : Pointer(Binding::Music), volume : Float32) : Void
- .set_pixel_color(dst_ptr : Pointer(Void), color : Binding::Color, format : Int32) : Void
- .set_shader_value(shader : Shader, uniform_loc : Int32, value : Pointer(Void), uniform_type : Int32) : Void
- .set_shader_value_matrix(shader : Shader, uniform_loc : Int32, mat : Matrix) : Void
- .set_shader_value_texture(shader : Shader, uniform_loc : Int32, texture : Texture2D) : Void
- .set_shader_value_v(shader : Shader, uniform_loc : Int32, value : Pointer(Void), uniform_type : Int32, count : Int32) : Void
- .set_shapes_texture(texture : Texture2D, source : Rectangle) : Void
- .set_sound_pitch(sound : Sound, pitch : Float32) : Void
- .set_sound_volume(sound : Sound, volume : Float32) : Void
- .set_target_fps(fps : Int32) : Void
- .set_texture_filter(texture : Texture2D, filter_mode : Int32) : Void
- .set_texture_wrap(texture : Texture2D, wrap_mode : Int32) : Void
- .set_trace_log_exit(log_type : Int32) : Void
- .set_trace_log_level(log_type : Int32) : Void
- .set_vr_configuration(info : VrDeviceInfo, distortion : Shader) : Void
- .set_window_icon(image : Image) : Void
- .set_window_min_size(width : Int32, height : Int32) : Void
- .set_window_monitor(monitor : Int32) : Void
- .set_window_position(x : Int32, y : Int32) : Void
- .set_window_size(width : Int32, height : Int32) : Void
- .set_window_state(flags : UInt32) : Void
- .set_window_title(title : String) : Void
- .show_cursor : Void
- .stop_audio_stream(stream : AudioStream) : Void
- .stop_music_stream(music : Pointer(Binding::Music)) : Void
- .stop_sound(sound : Sound) : Void
- .stop_sound_multi : Void
- .take_screenshot(file_name : String) : Void
- .text_append(text : String, append : String, position : Pointer(Int32)) : Void
- .text_copy(dst : String, src : String) : Int32
- .text_find_index(text : String, find : String) : Int32
- .text_format(text : String, *va_args) : String
- .text_insert(text : String, insert : String, position : Int32) : String
- .text_is_equal(text1 : String, text2 : String) : Bool
- .text_join(text_list : Pointer(String), count : Int32, delimiter : String) : String
- .text_length(text : String) : UInt32
- .text_replace(text : String, replace : String, by : String) : String
- .text_split(text : String, delimiter : UInt8, count : Pointer(Int32)) : Pointer(String)
- .text_subtext(text : String, position : Int32, length : Int32) : String
- .text_to_integer(text : String) : Int32
- .text_to_lower(text : String) : String
- .text_to_pascal(text : String) : String
- .text_to_upper(text : String) : String
- .text_to_utf8(codepoints : Pointer(Int32), length : Int32) : String
- .toggle_fullscreen : Void
- .toggle_vr_mode : Void
- .trace_log(log_type : UInt32, text : String)
- .trace_log(log_type : RayLib::Enum::TraceLog, text : String)
- .trace_log(log_type : Int32, text : String, *va_args) : Void
- .unload_file_data(data : Pointer(UInt8)) : Void
- .unload_file_text(text : Pointer(UInt8)) : Void
- .unload_font(font : Font) : Void
- .unload_font_data(chars : Pointer(CharInfo), chars_count : Int32) : Void
- .unload_image(image : Image) : Void
- .unload_image_colors(colors : Pointer(Binding::Color)) : Void
- .unload_image_palette(colors : Pointer(Binding::Color)) : Void
- .unload_material(material : Material) : Void
- .unload_mesh(mesh : Mesh) : Void
- .unload_model(model : Model) : Void
- .unload_model_animation(anim : ModelAnimation) : Void
- .unload_model_keep_meshes(model : Model) : Void
- .unload_music_stream(music : Pointer(Binding::Music)) : Void
- .unload_render_texture(target : RenderTexture) : Void
- .unload_shader(shader : Shader) : Void
- .unload_sound(sound : Sound) : Void
- .unload_texture(texture : Texture2D) : Void
- .unload_wave(wave : Wave) : Void
- .unload_wave_samples(samples : Pointer(Float32)) : Void
- .update_audio_stream(stream : AudioStream, data : Pointer(Void), samples_count : Int32) : Void
- .update_camera(camera : Pointer(Camera3D)) : Void
- .update_model_animation(model : Model, anim : ModelAnimation, frame : Int32) : Void
- .update_music_stream(music : Pointer(Binding::Music)) : Void
- .update_sound(sound : Sound, data : Pointer(Void), samples_count : Int32) : Void
- .update_texture(texture : Texture2D, pixels : Pointer(Void)) : Void
- .update_texture_rec(texture : Texture2D, rec : Rectangle, pixels : Pointer(Void)) : Void
- .update_vr_tracking(camera : Pointer(Camera3D)) : Void
- .wave_copy(wave : Wave) : Wave
- .wave_crop(wave : Pointer(Wave), init_sample : Int32, final_sample : Int32) : Void
- .wave_format(wave : Pointer(Wave), sample_rate : Int32, sample_size : Int32, channels : Int32) : Void
- .window_should_close : Bool
Class Method Detail
def self.any_key_pressed? : Bool
#
Check if any key is pressed
NOTE We limit keys check to keys between 32 (KEY_SPACE) and 126
def self.begin_scissor_mode(x : Int32, y : Int32, width : Int32, height : Int32) : Void
#
def self.check_collision_circles(center1 : Vector2, radius1 : Float32, center2 : Vector2, radius2 : Float32) : Bool
#
def self.check_collision_lines(start_pos1 : Vector2, end_pos1 : Vector2, start_pos2 : Vector2, end_pos2 : Vector2, collision_point : Pointer(Vector2)) : Bool
#
def self.check_collision_point_triangle(point : Vector2, p1 : Vector2, p2 : Vector2, p3 : Vector2) : Bool
#
def self.check_collision_ray_sphere_ex(ray : Ray, center : Vector3, radius : Float32, collision_point : Pointer(Vector3)) : Bool
#
def self.check_collision_spheres(center1 : Vector3, radius1 : Float32, center2 : Vector3, radius2 : Float32) : Bool
#
def self.codepoint_to_utf8(codepoint : Int32, byte_length : Pointer(Int32)) : String
#
def self.color_alpha_blend(dst : Binding::Color, src : Binding::Color, tint : Binding::Color) : Binding::Color
#
def self.color_from_hsv(hue : Float32, saturation : Float32, value : Float32) : Binding::Color
#
def self.compress_data(data : Pointer(UInt8), data_length : Int32, comp_data_length : Pointer(Int32)) : Pointer(UInt8)
#
def self.decompress_data(comp_data : Pointer(UInt8), comp_data_length : Int32, data_length : Pointer(Int32)) : Pointer(UInt8)
#
def self.draw_billboard(camera : Camera3D, texture : Texture2D, center : Vector3, size : Float32, tint : Binding::Color) : Void
#
def self.draw_billboard_rec(camera : Camera3D, texture : Texture2D, source : Rectangle, center : Vector3, size : Float32, tint : Binding::Color) : Void
#
def self.draw_circle(center_x : Int32, center_y : Int32, radius : Float32, color : Binding::Color) : Void
#
def self.draw_circle3_d(center : Vector3, radius : Float32, rotation_axis : Vector3, rotation_angle : Float32, color : Binding::Color) : Void
#
def self.draw_circle_gradient(center_x : Int32, center_y : Int32, radius : Float32, color1 : Binding::Color, color2 : Binding::Color) : Void
#
def self.draw_circle_lines(center_x : Int32, center_y : Int32, radius : Float32, color : Binding::Color) : Void
#
def self.draw_circle_sector(center : Vector2, radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
#
def self.draw_circle_sector_lines(center : Vector2, radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
#
def self.draw_cube(position : Vector3, width : Float32, height : Float32, length : Float32, color : Binding::Color) : Void
#
def self.draw_cube_texture(texture : Texture2D, position : Vector3, width : Float32, height : Float32, length : Float32, color : Binding::Color) : Void
#
def self.draw_cube_wires(position : Vector3, width : Float32, height : Float32, length : Float32, color : Binding::Color) : Void
#
def self.draw_cylinder(position : Vector3, radius_top : Float32, radius_bottom : Float32, height : Float32, slices : Int32, color : Binding::Color) : Void
#
def self.draw_cylinder_wires(position : Vector3, radius_top : Float32, radius_bottom : Float32, height : Float32, slices : Int32, color : Binding::Color) : Void
#
def self.draw_ellipse(center_x : Int32, center_y : Int32, radius_h : Float32, radius_v : Float32, color : Binding::Color) : Void
#
def self.draw_ellipse_lines(center_x : Int32, center_y : Int32, radius_h : Float32, radius_v : Float32, color : Binding::Color) : Void
#
def self.draw_line(start_pos_x : Int32, start_pos_y : Int32, end_pos_x : Int32, end_pos_y : Int32, color : Binding::Color) : Void
#
def self.draw_line_bezier(start_pos : Vector2, end_pos : Vector2, thick : Float32, color : Binding::Color) : Void
#
def self.draw_line_bezier_quad(start_pos : Vector2, end_pos : Vector2, control_pos : Vector2, thick : Float32, color : Binding::Color) : Void
#
def self.draw_line_ex(start_pos : Vector2, end_pos : Vector2, thick : Float32, color : Binding::Color) : Void
#
def self.draw_line_strip(points : Pointer(Vector2), points_count : Int32, color : Binding::Color) : Void
#
def self.draw_model(model : Model, position : Vector3, scale : Float32, tint : Binding::Color) : Void
#
def self.draw_model_ex(model : Model, position : Vector3, rotation_axis : Vector3, rotation_angle : Float32, scale : Vector3, tint : Binding::Color) : Void
#
def self.draw_model_wires(model : Model, position : Vector3, scale : Float32, tint : Binding::Color) : Void
#
def self.draw_model_wires_ex(model : Model, position : Vector3, rotation_axis : Vector3, rotation_angle : Float32, scale : Vector3, tint : Binding::Color) : Void
#
def self.draw_poly(center : Vector2, sides : Int32, radius : Float32, rotation : Float32, color : Binding::Color) : Void
#
def self.draw_poly_lines(center : Vector2, sides : Int32, radius : Float32, rotation : Float32, color : Binding::Color) : Void
#
def self.draw_rectangle(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color : Binding::Color) : Void
#
def self.draw_rectangle_gradient_ex(rec : Rectangle, col1 : Binding::Color, col2 : Binding::Color, col3 : Binding::Color, col4 : Binding::Color) : Void
#
def self.draw_rectangle_gradient_h(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color1 : Binding::Color, color2 : Binding::Color) : Void
#
def self.draw_rectangle_gradient_v(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color1 : Binding::Color, color2 : Binding::Color) : Void
#
def self.draw_rectangle_lines(pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color : Binding::Color) : Void
#
def self.draw_rectangle_lines_ex(rec : Rectangle, line_thick : Int32, color : Binding::Color) : Void
#
def self.draw_rectangle_pro(rec : Rectangle, origin : Vector2, rotation : Float32, color : Binding::Color) : Void
#
def self.draw_rectangle_rounded(rec : Rectangle, roundness : Float32, segments : Int32, color : Binding::Color) : Void
#
def self.draw_rectangle_rounded_lines(rec : Rectangle, roundness : Float32, segments : Int32, line_thick : Int32, color : Binding::Color) : Void
#
def self.draw_ring(center : Vector2, inner_radius : Float32, outer_radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
#
def self.draw_ring_lines(center : Vector2, inner_radius : Float32, outer_radius : Float32, start_angle : Int32, end_angle : Int32, segments : Int32, color : Binding::Color) : Void
#
def self.draw_sphere_ex(center_pos : Vector3, radius : Float32, rings : Int32, slices : Int32, color : Binding::Color) : Void
#
def self.draw_sphere_wires(center_pos : Vector3, radius : Float32, rings : Int32, slices : Int32, color : Binding::Color) : Void
#
def self.draw_text(text : String, pos_x : Int32, pos_y : Int32, font_size : Int32, color : Binding::Color) : Void
#
def self.draw_text_codepoint(font : Font, codepoint : Int32, position : Vector2, font_size : Float32, tint : Binding::Color) : Void
#
def self.draw_text_ex(font : Font, text : String, position : Vector2, font_size : Float32, spacing : Float32, tint : Binding::Color) : Void
#
def self.draw_text_rec(font : Font, text : String, rec : Rectangle, font_size : Float32, spacing : Float32, word_wrap : Bool, tint : Binding::Color) : Void
#
def self.draw_text_rec_ex(font : Font, text : String, rec : Rectangle, font_size : Float32, spacing : Float32, word_wrap : Bool, tint : Binding::Color, select_start : Int32, select_length : Int32, select_tint : Binding::Color, select_back_tint : Binding::Color) : Void
#
def self.draw_texture(texture : Texture2D, pos_x : Int32, pos_y : Int32, tint : Binding::Color) : Void
#
def self.draw_texture_ex(texture : Texture2D, position : Vector2, rotation : Float32, scale : Float32, tint : Binding::Color) : Void
#
def self.draw_texture_n_patch(texture : Texture2D, n_patch_info : NPatchInfo, dest : Rectangle, origin : Vector2, rotation : Float32, tint : Binding::Color) : Void
#
def self.draw_texture_pro(texture : Texture2D, source : Rectangle, dest : Rectangle, origin : Vector2, rotation : Float32, tint : Binding::Color) : Void
#
def self.draw_texture_quad(texture : Texture2D, tiling : Vector2, offset : Vector2, quad : Rectangle, tint : Binding::Color) : Void
#
def self.draw_texture_rec(texture : Texture2D, source : Rectangle, position : Vector2, tint : Binding::Color) : Void
#
def self.draw_texture_tiled(texture : Texture2D, source : Rectangle, dest : Rectangle, origin : Vector2, rotation : Float32, scale : Float32, tint : Binding::Color) : Void
#
def self.draw_triangle3_d(v1 : Vector3, v2 : Vector3, v3 : Vector3, color : Binding::Color) : Void
#
def self.draw_triangle_fan(points : Pointer(Vector2), points_count : Int32, color : Binding::Color) : Void
#
def self.draw_triangle_lines(v1 : Vector2, v2 : Vector2, v3 : Vector2, color : Binding::Color) : Void
#
def self.draw_triangle_strip(points : Pointer(Vector2), points_count : Int32, color : Binding::Color) : Void
#
def self.draw_triangle_strip3_d(points : Pointer(Vector3), points_count : Int32, color : Binding::Color) : Void
#
def self.gen_image_checked(width : Int32, height : Int32, checks_x : Int32, checks_y : Int32, col1 : Binding::Color, col2 : Binding::Color) : Image
#
def self.gen_image_font_atlas(chars : Pointer(CharInfo), recs : Pointer(Pointer(Rectangle)), chars_count : Int32, font_size : Int32, padding : Int32, pack_method : Int32) : Image
#
def self.gen_image_gradient_h(width : Int32, height : Int32, left : Binding::Color, right : Binding::Color) : Image
#
def self.gen_image_gradient_radial(width : Int32, height : Int32, density : Float32, inner : Binding::Color, outer : Binding::Color) : Image
#
def self.gen_image_gradient_v(width : Int32, height : Int32, top : Binding::Color, bottom : Binding::Color) : Image
#
def self.gen_image_perlin_noise(width : Int32, height : Int32, offset_x : Int32, offset_y : Int32, scale : Float32) : Image
#
def self.gen_texture_cubemap(shader : Shader, panorama : Texture2D, size : Int32, format : Int32) : Pointer(Binding::TextureCubemap)
#
def self.gen_texture_irradiance(shader : Shader, cubemap : Pointer(Binding::TextureCubemap), size : Int32) : Pointer(Binding::TextureCubemap)
#
def self.gen_texture_prefilter(shader : Shader, cubemap : Pointer(Binding::TextureCubemap), size : Int32) : Pointer(Binding::TextureCubemap)
#
def self.get_collision_ray_triangle(ray : Ray, p1 : Vector3, p2 : Vector3, p3 : Vector3) : RayHitInfo
#
def self.get_directory_files(dir_path : String, count : Pointer(Int32)) : Pointer(String)
#
def self.get_next_codepoint(text : String, bytes_processed : Pointer(Int32)) : Int32
#
def self.get_world_to_screen_ex(position : Vector3, camera : Camera3D, width : Int32, height : Int32) : Vector2
#
def self.image_alpha_clear(image : Pointer(Image), color : Binding::Color, threshold : Float32) : Void
#
def self.image_color_replace(image : Pointer(Image), color : Binding::Color, replace : Binding::Color) : Void
#
def self.image_dither(image : Pointer(Image), r_bpp : Int32, g_bpp : Int32, b_bpp : Int32, a_bpp : Int32) : Void
#
def self.image_draw(dst : Pointer(Image), src : Image, src_rec : Rectangle, dst_rec : Rectangle, tint : Binding::Color) : Void
#
def self.image_draw_circle(dst : Pointer(Image), center_x : Int32, center_y : Int32, radius : Int32, color : Binding::Color) : Void
#
def self.image_draw_circle_v(dst : Pointer(Image), center : Vector2, radius : Int32, color : Binding::Color) : Void
#
def self.image_draw_line(dst : Pointer(Image), start_pos_x : Int32, start_pos_y : Int32, end_pos_x : Int32, end_pos_y : Int32, color : Binding::Color) : Void
#
def self.image_draw_line_v(dst : Pointer(Image), start : Vector2, end_ : Vector2, color : Binding::Color) : Void
#
def self.image_draw_pixel(dst : Pointer(Image), pos_x : Int32, pos_y : Int32, color : Binding::Color) : Void
#
def self.image_draw_pixel_v(dst : Pointer(Image), position : Vector2, color : Binding::Color) : Void
#
def self.image_draw_rectangle(dst : Pointer(Image), pos_x : Int32, pos_y : Int32, width : Int32, height : Int32, color : Binding::Color) : Void
#
def self.image_draw_rectangle_lines(dst : Pointer(Image), rec : Rectangle, thick : Int32, color : Binding::Color) : Void
#
def self.image_draw_rectangle_rec(dst : Pointer(Image), rec : Rectangle, color : Binding::Color) : Void
#
def self.image_draw_rectangle_v(dst : Pointer(Image), position : Vector2, size : Vector2, color : Binding::Color) : Void
#
def self.image_draw_text(dst : Pointer(Image), text : String, pos_x : Int32, pos_y : Int32, font_size : Int32, color : Binding::Color) : Void
#
def self.image_draw_text_ex(dst : Pointer(Image), font : Font, text : String, position : Vector2, font_size : Float32, spacing : Float32, tint : Binding::Color) : Void
#
def self.image_resize_canvas(image : Pointer(Image), new_width : Int32, new_height : Int32, offset_x : Int32, offset_y : Int32, fill : Binding::Color) : Void
#
def self.image_text_ex(font : Font, text : String, font_size : Float32, spacing : Float32, tint : Binding::Color) : Image
#
def self.init_audio_stream(sample_rate : UInt32, sample_size : UInt32, channels : UInt32) : AudioStream
#
def self.load_file_data(file_name : String, bytes_read : Pointer(UInt32)) : Pointer(UInt8)
#
def self.load_font_data(file_data : Pointer(UInt8), data_size : Int32, font_size : Int32, font_chars : Pointer(Int32), chars_count : Int32, type : Int32) : Pointer(CharInfo)
#
def self.load_font_ex(file_name : String, font_size : Int32, font_chars : Pointer(Int32), chars_count : Int32) : Font
#
def self.load_font_from_memory(file_type : String, file_data : Pointer(UInt8), data_size : Int32, font_size : Int32, font_chars : Pointer(Int32), chars_count : Int32) : Font
#
def self.load_image_from_memory(file_type : String, file_data : Pointer(UInt8), data_size : Int32) : Image
#
def self.load_image_palette(image : Image, max_palette_size : Int32, colors_count : Pointer(Int32)) : Pointer(Binding::Color)
#
def self.load_image_raw(file_name : String, width : Int32, height : Int32, format : Int32, header_size : Int32) : Image
#
def self.load_model_animations(file_name : String, anims_count : Pointer(Int32)) : Pointer(ModelAnimation)
#
def self.load_texture_cubemap(image : Image, layout_type : Int32) : Pointer(Binding::TextureCubemap)
#
def self.load_wave_from_memory(file_type : String, file_data : Pointer(UInt8), data_size : Int32) : Wave
#
def self.measure_text_ex(font : Font, text : String, font_size : Float32, spacing : Float32) : Vector2
#
def self.save_file_data(file_name : String, data : Pointer(Void), bytes_to_write : UInt32) : Bool
#
def self.set_camera_move_controls(key_front : Int32, key_back : Int32, key_right : Int32, key_left : Int32, key_up : Int32, key_down : Int32) : Void
#
def self.set_material_texture(material : Pointer(Material), map_type : Int32, texture : Texture2D) : Void
#
def self.set_model_mesh_material(model : Pointer(Model), mesh_id : Int32, material_id : Int32) : Void
#
def self.set_pixel_color(dst_ptr : Pointer(Void), color : Binding::Color, format : Int32) : Void
#
def self.set_shader_value(shader : Shader, uniform_loc : Int32, value : Pointer(Void), uniform_type : Int32) : Void
#
def self.set_shader_value_texture(shader : Shader, uniform_loc : Int32, texture : Texture2D) : Void
#
def self.set_shader_value_v(shader : Shader, uniform_loc : Int32, value : Pointer(Void), uniform_type : Int32, count : Int32) : Void
#
def self.text_append(text : String, append : String, position : Pointer(Int32)) : Void
#
def self.text_join(text_list : Pointer(String), count : Int32, delimiter : String) : String
#
def self.text_split(text : String, delimiter : UInt8, count : Pointer(Int32)) : Pointer(String)
#
def self.update_audio_stream(stream : AudioStream, data : Pointer(Void), samples_count : Int32) : Void
#