From 171177618bc1ed5149c72287834e8e897df8f772 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 3 May 2025 19:03:36 +0100 Subject: [PATCH] deprecate Physac, see #165 --- create_stub_pyray.py | 9 +- create_stub_static.py | 10 +- docs/pyray.html | 2409 +++++++++++--------- docs/raylib.html | 2409 +++++++++++--------- dynamic/raylib/__init__.pyi | 4309 ++++++++++++++++++----------------- pyray/__init__.pyi | 4309 ++++++++++++++++++----------------- raylib/__init__.pyi | 4309 ++++++++++++++++++----------------- 7 files changed, 9179 insertions(+), 8585 deletions(-) diff --git a/create_stub_pyray.py b/create_stub_pyray.py index 6d597fd..e800125 100644 --- a/create_stub_pyray.py +++ b/create_stub_pyray.py @@ -79,7 +79,7 @@ def ctype_to_python_type(t): print("""from typing import Any - +from warnings import deprecated import _cffi_backend # type: ignore ffi: _cffi_backend.FFI @@ -119,8 +119,11 @@ for name, attr in getmembers(rl): if 'description' in json_object: description = json_object['description'] - print( - f'def {uname}({sig}) -> {ctype_to_python_type(return_type)}:\n """{description}"""\n ...') + if 'physics' in uname: + print('@deprecated("Raylib no longer recommends the use of Physac library")') + print(f'def {uname}({sig}) -> {ctype_to_python_type(return_type)}:') + print(f' """{description}."""') + print(f' ...') elif str(type(attr)) == "": return_type = ffi.typeof(attr).result.cname diff --git a/create_stub_static.py b/create_stub_static.py index 8134912..5968924 100644 --- a/create_stub_static.py +++ b/create_stub_static.py @@ -69,7 +69,7 @@ def ctype_to_python_type(t): print("""from typing import Any - +from warnings import deprecated import _cffi_backend # type: ignore ffi: _cffi_backend.FFI @@ -114,8 +114,12 @@ for name, attr in getmembers(rl): if 'description' in json_object: description = json_object['description'] - print( - f'def {uname}({sig}) -> {ctype_to_python_type(return_type)}:\n """{description}"""\n ...') + if 'Physics' in uname: + print('@deprecated("Raylib no longer recommends the use of Physac library")') + print(f'def {uname}({sig}) -> {ctype_to_python_type(return_type)}:') + print(f' """{description}."""') + print(f' ...') + elif str(type(attr)) == "": return_type = ffi.typeof(attr).result.cname diff --git a/docs/pyray.html b/docs/pyray.html index 206f487..c3ba7ba 100644 --- a/docs/pyray.html +++ b/docs/pyray.html @@ -7411,1032 +7411,1033 @@
pyray.attach_audio_mixed_processor(processor: Any) None
-

Attach audio stream processor to the entire audio pipeline, receives the samples as ‘float’

+

Attach audio stream processor to the entire audio pipeline, receives the samples as ‘float’.

pyray.attach_audio_stream_processor(stream: AudioStream | list | tuple, processor: Any) None
-

Attach audio stream processor to stream, receives the samples as ‘float’

+

Attach audio stream processor to stream, receives the samples as ‘float’.

pyray.begin_blend_mode(mode: int) None
-

Begin blending mode (alpha, additive, multiplied, subtract, custom)

+

Begin blending mode (alpha, additive, multiplied, subtract, custom).

pyray.begin_drawing() None
-

Setup canvas (framebuffer) to start drawing

+

Setup canvas (framebuffer) to start drawing.

pyray.begin_mode_2d(camera: Camera2D | list | tuple) None
-

Begin 2D mode with custom camera (2D)

+

Begin 2D mode with custom camera (2D).

pyray.begin_mode_3d(camera: Camera3D | list | tuple) None
-

Begin 3D mode with custom camera (3D)

+

Begin 3D mode with custom camera (3D).

pyray.begin_scissor_mode(x: int, y: int, width: int, height: int) None
-

Begin scissor mode (define screen area for following drawing)

+

Begin scissor mode (define screen area for following drawing).

pyray.begin_shader_mode(shader: Shader | list | tuple) None
-

Begin custom shader drawing

+

Begin custom shader drawing.

pyray.begin_texture_mode(target: RenderTexture | list | tuple) None
-

Begin drawing to render texture

+

Begin drawing to render texture.

pyray.begin_vr_stereo_mode(config: VrStereoConfig | list | tuple) None
-

Begin stereo rendering (requires VR simulator)

+

Begin stereo rendering (requires VR simulator).

pyray.change_directory(dir: str) bool
-

Change working directory, return true on success

+

Change working directory, return true on success.

pyray.check_collision_box_sphere(box: BoundingBox | list | tuple, center: Vector3 | list | tuple, radius: float) bool
-

Check collision between box and sphere

+

Check collision between box and sphere.

pyray.check_collision_boxes(box1: BoundingBox | list | tuple, box2: BoundingBox | list | tuple) bool
-

Check collision between two bounding boxes

+

Check collision between two bounding boxes.

pyray.check_collision_circle_line(center: Vector2 | list | tuple, radius: float, p1: Vector2 | list | tuple, p2: Vector2 | list | tuple) bool
-

Check if circle collides with a line created betweeen two points [p1] and [p2]

+

Check if circle collides with a line created betweeen two points [p1] and [p2].

pyray.check_collision_circle_rec(center: Vector2 | list | tuple, radius: float, rec: Rectangle | list | tuple) bool
-

Check collision between circle and rectangle

+

Check collision between circle and rectangle.

pyray.check_collision_circles(center1: Vector2 | list | tuple, radius1: float, center2: Vector2 | list | tuple, radius2: float) bool
-

Check collision between two circles

+

Check collision between two circles.

pyray.check_collision_lines(startPos1: Vector2 | list | tuple, endPos1: Vector2 | list | tuple, startPos2: Vector2 | list | tuple, endPos2: Vector2 | list | tuple, collisionPoint: Any | list | tuple) bool
-

Check the collision between two lines defined by two points each, returns collision point by reference

+

Check the collision between two lines defined by two points each, returns collision point by reference.

pyray.check_collision_point_circle(point: Vector2 | list | tuple, center: Vector2 | list | tuple, radius: float) bool
-

Check if point is inside circle

+

Check if point is inside circle.

pyray.check_collision_point_line(point: Vector2 | list | tuple, p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, threshold: int) bool
-

Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]

+

Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold].

pyray.check_collision_point_poly(point: Vector2 | list | tuple, points: Any | list | tuple, pointCount: int) bool
-

Check if point is within a polygon described by array of vertices

+

Check if point is within a polygon described by array of vertices.

pyray.check_collision_point_rec(point: Vector2 | list | tuple, rec: Rectangle | list | tuple) bool
-

Check if point is inside rectangle

+

Check if point is inside rectangle.

pyray.check_collision_point_triangle(point: Vector2 | list | tuple, p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple) bool
-

Check if point is inside a triangle

+

Check if point is inside a triangle.

pyray.check_collision_recs(rec1: Rectangle | list | tuple, rec2: Rectangle | list | tuple) bool
-

Check collision between two rectangles

+

Check collision between two rectangles.

pyray.check_collision_spheres(center1: Vector3 | list | tuple, radius1: float, center2: Vector3 | list | tuple, radius2: float) bool
-

Check collision between two spheres

+

Check collision between two spheres.

pyray.clamp(value: float, min_1: float, max_2: float) float
-
+

.

+
pyray.clear_background(color: Color | list | tuple) None
-

Set background color (framebuffer clear color)

+

Set background color (framebuffer clear color).

pyray.clear_window_state(flags: int) None
-

Clear window configuration state flags

+

Clear window configuration state flags.

pyray.close_audio_device() None
-

Close the audio device and context

+

Close the audio device and context.

pyray.close_physics() None
-

Close physics system and unload used memory

+

Close physics system and unload used memory.

pyray.close_window() None
-

Close window and unload OpenGL context

+

Close window and unload OpenGL context.

pyray.codepoint_to_utf8(codepoint: int, utf8Size: Any) str
-

Encode one codepoint into UTF-8 byte array (array length returned as parameter)

+

Encode one codepoint into UTF-8 byte array (array length returned as parameter).

pyray.color_alpha(color: Color | list | tuple, alpha: float) Color
-

Get color with alpha applied, alpha goes from 0.0f to 1.0f

+

Get color with alpha applied, alpha goes from 0.0f to 1.0f.

pyray.color_alpha_blend(dst: Color | list | tuple, src: Color | list | tuple, tint: Color | list | tuple) Color
-

Get src alpha-blended into dst color with tint

+

Get src alpha-blended into dst color with tint.

pyray.color_brightness(color: Color | list | tuple, factor: float) Color
-

Get color with brightness correction, brightness factor goes from -1.0f to 1.0f

+

Get color with brightness correction, brightness factor goes from -1.0f to 1.0f.

pyray.color_contrast(color: Color | list | tuple, contrast: float) Color
-

Get color with contrast correction, contrast values between -1.0f and 1.0f

+

Get color with contrast correction, contrast values between -1.0f and 1.0f.

pyray.color_from_hsv(hue: float, saturation: float, value: float) Color
-

Get a Color from HSV values, hue [0..360], saturation/value [0..1]

+

Get a Color from HSV values, hue [0..360], saturation/value [0..1].

pyray.color_from_normalized(normalized: Vector4 | list | tuple) Color
-

Get Color from normalized values [0..1]

+

Get Color from normalized values [0..1].

pyray.color_is_equal(col1: Color | list | tuple, col2: Color | list | tuple) bool
-

Check if two colors are equal

+

Check if two colors are equal.

pyray.color_lerp(color1: Color | list | tuple, color2: Color | list | tuple, factor: float) Color
-

Get color lerp interpolation between two colors, factor [0.0f..1.0f]

+

Get color lerp interpolation between two colors, factor [0.0f..1.0f].

pyray.color_normalize(color: Color | list | tuple) Vector4
-

Get Color normalized as float [0..1]

+

Get Color normalized as float [0..1].

pyray.color_tint(color: Color | list | tuple, tint: Color | list | tuple) Color
-

Get color multiplied with another color

+

Get color multiplied with another color.

pyray.color_to_hsv(color: Color | list | tuple) Vector3
-

Get HSV values for a Color, hue [0..360], saturation/value [0..1]

+

Get HSV values for a Color, hue [0..360], saturation/value [0..1].

pyray.color_to_int(color: Color | list | tuple) int
-

Get hexadecimal value for a Color (0xRRGGBBAA)

+

Get hexadecimal value for a Color (0xRRGGBBAA).

pyray.compress_data(data: str, dataSize: int, compDataSize: Any) str
-

Compress data (DEFLATE algorithm), memory must be MemFree()

+

Compress data (DEFLATE algorithm), memory must be MemFree().

pyray.compute_crc32(data: str, dataSize: int) int
-

Compute CRC32 hash code

+

Compute CRC32 hash code.

pyray.compute_md5(data: str, dataSize: int) Any
-

Compute MD5 hash code, returns static int[4] (16 bytes)

+

Compute MD5 hash code, returns static int[4] (16 bytes).

pyray.compute_sha1(data: str, dataSize: int) Any
-

Compute SHA1 hash code, returns static int[5] (20 bytes)

+

Compute SHA1 hash code, returns static int[5] (20 bytes).

pyray.create_physics_body_circle(pos: Vector2 | list | tuple, radius: float, density: float) Any
-

Creates a new circle physics body with generic parameters

+

Creates a new circle physics body with generic parameters.

pyray.create_physics_body_polygon(pos: Vector2 | list | tuple, radius: float, sides: int, density: float) Any
-

Creates a new polygon physics body with generic parameters

+

Creates a new polygon physics body with generic parameters.

pyray.create_physics_body_rectangle(pos: Vector2 | list | tuple, width: float, height: float, density: float) Any
-

Creates a new rectangle physics body with generic parameters

+

Creates a new rectangle physics body with generic parameters.

pyray.decode_data_base64(data: str, outputSize: Any) str
-

Decode Base64 string data, memory must be MemFree()

+

Decode Base64 string data, memory must be MemFree().

pyray.decompress_data(compData: str, compDataSize: int, dataSize: Any) str
-

Decompress data (DEFLATE algorithm), memory must be MemFree()

+

Decompress data (DEFLATE algorithm), memory must be MemFree().

pyray.destroy_physics_body(body: Any | list | tuple) None
-

Destroy a physics body

+

Destroy a physics body.

pyray.detach_audio_mixed_processor(processor: Any) None
-

Detach audio stream processor from the entire audio pipeline

+

Detach audio stream processor from the entire audio pipeline.

pyray.detach_audio_stream_processor(stream: AudioStream | list | tuple, processor: Any) None
-

Detach audio stream processor from stream

+

Detach audio stream processor from stream.

pyray.directory_exists(dirPath: str) bool
-

Check if a directory path exists

+

Check if a directory path exists.

pyray.disable_cursor() None
-

Disables cursor (lock cursor)

+

Disables cursor (lock cursor).

pyray.disable_event_waiting() None
-

Disable waiting for events on EndDrawing(), automatic events polling

+

Disable waiting for events on EndDrawing(), automatic events polling.

pyray.draw_billboard(camera: Camera3D | list | tuple, texture: Texture | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a billboard texture

+

Draw a billboard texture.

pyray.draw_billboard_pro(camera: Camera3D | list | tuple, texture: Texture | list | tuple, source: Rectangle | list | tuple, position: Vector3 | list | tuple, up: Vector3 | list | tuple, size: Vector2 | list | tuple, origin: Vector2 | list | tuple, rotation: float, tint: Color | list | tuple) None
-

Draw a billboard texture defined by source and rotation

+

Draw a billboard texture defined by source and rotation.

pyray.draw_billboard_rec(camera: Camera3D | list | tuple, texture: Texture | list | tuple, source: Rectangle | list | tuple, position: Vector3 | list | tuple, size: Vector2 | list | tuple, tint: Color | list | tuple) None
-

Draw a billboard texture defined by source

+

Draw a billboard texture defined by source.

pyray.draw_bounding_box(box: BoundingBox | list | tuple, color: Color | list | tuple) None
-

Draw bounding box (wires)

+

Draw bounding box (wires).

pyray.draw_capsule(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, radius: float, slices: int, rings: int, color: Color | list | tuple) None
-

Draw a capsule with the center of its sphere caps at startPos and endPos

+

Draw a capsule with the center of its sphere caps at startPos and endPos.

pyray.draw_capsule_wires(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, radius: float, slices: int, rings: int, color: Color | list | tuple) None
-

Draw capsule wireframe with the center of its sphere caps at startPos and endPos

+

Draw capsule wireframe with the center of its sphere caps at startPos and endPos.

pyray.draw_circle(centerX: int, centerY: int, radius: float, color: Color | list | tuple) None
-

Draw a color-filled circle

+

Draw a color-filled circle.

pyray.draw_circle_3d(center: Vector3 | list | tuple, radius: float, rotationAxis: Vector3 | list | tuple, rotationAngle: float, color: Color | list | tuple) None
-

Draw a circle in 3D world space

+

Draw a circle in 3D world space.

pyray.draw_circle_gradient(centerX: int, centerY: int, radius: float, inner: Color | list | tuple, outer: Color | list | tuple) None
-

Draw a gradient-filled circle

+

Draw a gradient-filled circle.

pyray.draw_circle_lines(centerX: int, centerY: int, radius: float, color: Color | list | tuple) None
-

Draw circle outline

+

Draw circle outline.

pyray.draw_circle_lines_v(center: Vector2 | list | tuple, radius: float, color: Color | list | tuple) None
-

Draw circle outline (Vector version)

+

Draw circle outline (Vector version).

pyray.draw_circle_sector(center: Vector2 | list | tuple, radius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw a piece of a circle

+

Draw a piece of a circle.

pyray.draw_circle_sector_lines(center: Vector2 | list | tuple, radius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw circle sector outline

+

Draw circle sector outline.

pyray.draw_circle_v(center: Vector2 | list | tuple, radius: float, color: Color | list | tuple) None
-

Draw a color-filled circle (Vector version)

+

Draw a color-filled circle (Vector version).

pyray.draw_cube(position: Vector3 | list | tuple, width: float, height: float, length: float, color: Color | list | tuple) None
-

Draw cube

+

Draw cube.

pyray.draw_cube_v(position: Vector3 | list | tuple, size: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw cube (Vector version)

+

Draw cube (Vector version).

pyray.draw_cube_wires(position: Vector3 | list | tuple, width: float, height: float, length: float, color: Color | list | tuple) None
-

Draw cube wires

+

Draw cube wires.

pyray.draw_cube_wires_v(position: Vector3 | list | tuple, size: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw cube wires (Vector version)

+

Draw cube wires (Vector version).

pyray.draw_cylinder(position: Vector3 | list | tuple, radiusTop: float, radiusBottom: float, height: float, slices: int, color: Color | list | tuple) None
-

Draw a cylinder/cone

+

Draw a cylinder/cone.

pyray.draw_cylinder_ex(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, startRadius: float, endRadius: float, sides: int, color: Color | list | tuple) None
-

Draw a cylinder with base at startPos and top at endPos

+

Draw a cylinder with base at startPos and top at endPos.

pyray.draw_cylinder_wires(position: Vector3 | list | tuple, radiusTop: float, radiusBottom: float, height: float, slices: int, color: Color | list | tuple) None
-

Draw a cylinder/cone wires

+

Draw a cylinder/cone wires.

pyray.draw_cylinder_wires_ex(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, startRadius: float, endRadius: float, sides: int, color: Color | list | tuple) None
-

Draw a cylinder wires with base at startPos and top at endPos

+

Draw a cylinder wires with base at startPos and top at endPos.

pyray.draw_ellipse(centerX: int, centerY: int, radiusH: float, radiusV: float, color: Color | list | tuple) None
-

Draw ellipse

+

Draw ellipse.

pyray.draw_ellipse_lines(centerX: int, centerY: int, radiusH: float, radiusV: float, color: Color | list | tuple) None
-

Draw ellipse outline

+

Draw ellipse outline.

pyray.draw_fps(posX: int, posY: int) None
-

Draw current FPS

+

Draw current FPS.

pyray.draw_grid(slices: int, spacing: float) None
-

Draw a grid (centered at (0, 0, 0))

+

Draw a grid (centered at (0, 0, 0)).

pyray.draw_line(startPosX: int, startPosY: int, endPosX: int, endPosY: int, color: Color | list | tuple) None
-

Draw a line

+

Draw a line.

pyray.draw_line_3d(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw a line in 3D world space

+

Draw a line in 3D world space.

pyray.draw_line_bezier(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw line segment cubic-bezier in-out interpolation

+

Draw line segment cubic-bezier in-out interpolation.

pyray.draw_line_ex(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw a line (using triangles/quads)

+

Draw a line (using triangles/quads).

pyray.draw_line_strip(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw lines sequence (using gl lines)

+

Draw lines sequence (using gl lines).

pyray.draw_line_v(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a line (using gl lines)

+

Draw a line (using gl lines).

pyray.draw_mesh(mesh: Mesh | list | tuple, material: Material | list | tuple, transform: Matrix | list | tuple) None
-

Draw a 3d mesh with material and transform

+

Draw a 3d mesh with material and transform.

pyray.draw_mesh_instanced(mesh: Mesh | list | tuple, material: Material | list | tuple, transforms: Any | list | tuple, instances: int) None
-

Draw multiple mesh instances with material and different transforms

+

Draw multiple mesh instances with material and different transforms.

pyray.draw_model(model: Model | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a model (with texture if set)

+

Draw a model (with texture if set).

pyray.draw_model_ex(model: Model | list | tuple, position: Vector3 | list | tuple, rotationAxis: Vector3 | list | tuple, rotationAngle: float, scale: Vector3 | list | tuple, tint: Color | list | tuple) None
-

Draw a model with extended parameters

+

Draw a model with extended parameters.

pyray.draw_model_points(model: Model | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a model as points

+

Draw a model as points.

pyray.draw_model_points_ex(model: Model | list | tuple, position: Vector3 | list | tuple, rotationAxis: Vector3 | list | tuple, rotationAngle: float, scale: Vector3 | list | tuple, tint: Color | list | tuple) None
-

Draw a model as points with extended parameters

+

Draw a model as points with extended parameters.

pyray.draw_model_wires(model: Model | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a model wires (with texture if set)

+

Draw a model wires (with texture if set).

pyray.draw_model_wires_ex(model: Model | list | tuple, position: Vector3 | list | tuple, rotationAxis: Vector3 | list | tuple, rotationAngle: float, scale: Vector3 | list | tuple, tint: Color | list | tuple) None
-

Draw a model wires (with texture if set) with extended parameters

+

Draw a model wires (with texture if set) with extended parameters.

pyray.draw_pixel(posX: int, posY: int, color: Color | list | tuple) None
-

Draw a pixel using geometry [Can be slow, use with care]

+

Draw a pixel using geometry [Can be slow, use with care].

pyray.draw_pixel_v(position: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a pixel using geometry (Vector version) [Can be slow, use with care]

+

Draw a pixel using geometry (Vector version) [Can be slow, use with care].

pyray.draw_plane(centerPos: Vector3 | list | tuple, size: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a plane XZ

+

Draw a plane XZ.

pyray.draw_point_3d(position: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw a point in 3D space, actually a small line

+

Draw a point in 3D space, actually a small line.

pyray.draw_poly(center: Vector2 | list | tuple, sides: int, radius: float, rotation: float, color: Color | list | tuple) None
-

Draw a regular polygon (Vector version)

+

Draw a regular polygon (Vector version).

pyray.draw_poly_lines(center: Vector2 | list | tuple, sides: int, radius: float, rotation: float, color: Color | list | tuple) None
-

Draw a polygon outline of n sides

+

Draw a polygon outline of n sides.

pyray.draw_poly_lines_ex(center: Vector2 | list | tuple, sides: int, radius: float, rotation: float, lineThick: float, color: Color | list | tuple) None
-

Draw a polygon outline of n sides with extended parameters

+

Draw a polygon outline of n sides with extended parameters.

pyray.draw_ray(ray: Ray | list | tuple, color: Color | list | tuple) None
-

Draw a ray line

+

Draw a ray line.

pyray.draw_rectangle(posX: int, posY: int, width: int, height: int, color: Color | list | tuple) None
-

Draw a color-filled rectangle

+

Draw a color-filled rectangle.

pyray.draw_rectangle_gradient_ex(rec: Rectangle | list | tuple, topLeft: Color | list | tuple, bottomLeft: Color | list | tuple, topRight: Color | list | tuple, bottomRight: Color | list | tuple) None
-

Draw a gradient-filled rectangle with custom vertex colors

+

Draw a gradient-filled rectangle with custom vertex colors.

pyray.draw_rectangle_gradient_h(posX: int, posY: int, width: int, height: int, left: Color | list | tuple, right: Color | list | tuple) None
-

Draw a horizontal-gradient-filled rectangle

+

Draw a horizontal-gradient-filled rectangle.

pyray.draw_rectangle_gradient_v(posX: int, posY: int, width: int, height: int, top: Color | list | tuple, bottom: Color | list | tuple) None
-

Draw a vertical-gradient-filled rectangle

+

Draw a vertical-gradient-filled rectangle.

pyray.draw_rectangle_lines(posX: int, posY: int, width: int, height: int, color: Color | list | tuple) None
-

Draw rectangle outline

+

Draw rectangle outline.

pyray.draw_rectangle_lines_ex(rec: Rectangle | list | tuple, lineThick: float, color: Color | list | tuple) None
-

Draw rectangle outline with extended parameters

+

Draw rectangle outline with extended parameters.

pyray.draw_rectangle_pro(rec: Rectangle | list | tuple, origin: Vector2 | list | tuple, rotation: float, color: Color | list | tuple) None
-

Draw a color-filled rectangle with pro parameters

+

Draw a color-filled rectangle with pro parameters.

pyray.draw_rectangle_rec(rec: Rectangle | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled rectangle

+

Draw a color-filled rectangle.

pyray.draw_rectangle_rounded(rec: Rectangle | list | tuple, roundness: float, segments: int, color: Color | list | tuple) None
-

Draw rectangle with rounded edges

+

Draw rectangle with rounded edges.

pyray.draw_rectangle_rounded_lines(rec: Rectangle | list | tuple, roundness: float, segments: int, color: Color | list | tuple) None
-

Draw rectangle lines with rounded edges

+

Draw rectangle lines with rounded edges.

pyray.draw_rectangle_rounded_lines_ex(rec: Rectangle | list | tuple, roundness: float, segments: int, lineThick: float, color: Color | list | tuple) None
-

Draw rectangle with rounded edges outline

+

Draw rectangle with rounded edges outline.

pyray.draw_rectangle_v(position: Vector2 | list | tuple, size: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled rectangle (Vector version)

+

Draw a color-filled rectangle (Vector version).

pyray.draw_ring(center: Vector2 | list | tuple, innerRadius: float, outerRadius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw ring

+

Draw ring.

pyray.draw_ring_lines(center: Vector2 | list | tuple, innerRadius: float, outerRadius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw ring outline

+

Draw ring outline.

pyray.draw_sphere(centerPos: Vector3 | list | tuple, radius: float, color: Color | list | tuple) None
-

Draw sphere

+

Draw sphere.

pyray.draw_sphere_ex(centerPos: Vector3 | list | tuple, radius: float, rings: int, slices: int, color: Color | list | tuple) None
-

Draw sphere with extended parameters

+

Draw sphere with extended parameters.

pyray.draw_sphere_wires(centerPos: Vector3 | list | tuple, radius: float, rings: int, slices: int, color: Color | list | tuple) None
-

Draw sphere wires

+

Draw sphere wires.

pyray.draw_spline_basis(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: B-Spline, minimum 4 points

+

Draw spline: B-Spline, minimum 4 points.

pyray.draw_spline_bezier_cubic(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6…]

+

Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6…].

pyray.draw_spline_bezier_quadratic(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4…]

+

Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4…].

pyray.draw_spline_catmull_rom(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Catmull-Rom, minimum 4 points

+

Draw spline: Catmull-Rom, minimum 4 points.

pyray.draw_spline_linear(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Linear, minimum 2 points

+

Draw spline: Linear, minimum 2 points.

pyray.draw_spline_segment_basis(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: B-Spline, 4 points

+

Draw spline segment: B-Spline, 4 points.

pyray.draw_spline_segment_bezier_cubic(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, c3: Vector2 | list | tuple, p4: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Cubic Bezier, 2 points, 2 control points

+

Draw spline segment: Cubic Bezier, 2 points, 2 control points.

pyray.draw_spline_segment_bezier_quadratic(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, p3: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Quadratic Bezier, 2 points, 1 control point

+

Draw spline segment: Quadratic Bezier, 2 points, 1 control point.

pyray.draw_spline_segment_catmull_rom(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Catmull-Rom, 4 points

+

Draw spline segment: Catmull-Rom, 4 points.

pyray.draw_spline_segment_linear(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Linear, 2 points

+

Draw spline segment: Linear, 2 points.

pyray.draw_text(text: str, posX: int, posY: int, fontSize: int, color: Color | list | tuple) None
-

Draw text (using default font)

+

Draw text (using default font).

pyray.draw_text_codepoint(font: Font | list | tuple, codepoint: int, position: Vector2 | list | tuple, fontSize: float, tint: Color | list | tuple) None
-

Draw one character (codepoint)

+

Draw one character (codepoint).

pyray.draw_text_codepoints(font: Font | list | tuple, codepoints: Any, codepointCount: int, position: Vector2 | list | tuple, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw multiple character (codepoint)

+

Draw multiple character (codepoint).

pyray.draw_text_ex(font: Font | list | tuple, text: str, position: Vector2 | list | tuple, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw text using font and additional parameters

+

Draw text using font and additional parameters.

pyray.draw_text_pro(font: Font | list | tuple, text: str, position: Vector2 | list | tuple, origin: Vector2 | list | tuple, rotation: float, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw text using Font and pro parameters (rotation)

+

Draw text using Font and pro parameters (rotation).

pyray.draw_texture(texture: Texture | list | tuple, posX: int, posY: int, tint: Color | list | tuple) None
-

Draw a Texture2D

+

Draw a Texture2D.

pyray.draw_texture_ex(texture: Texture | list | tuple, position: Vector2 | list | tuple, rotation: float, scale: float, tint: Color | list | tuple) None
-

Draw a Texture2D with extended parameters

+

Draw a Texture2D with extended parameters.

pyray.draw_texture_n_patch(texture: Texture | list | tuple, nPatchInfo: NPatchInfo | list | tuple, dest: Rectangle | list | tuple, origin: Vector2 | list | tuple, rotation: float, tint: Color | list | tuple) None
-

Draws a texture (or part of it) that stretches or shrinks nicely

+

Draws a texture (or part of it) that stretches or shrinks nicely.

pyray.draw_texture_pro(texture: Texture | list | tuple, source: Rectangle | list | tuple, dest: Rectangle | list | tuple, origin: Vector2 | list | tuple, rotation: float, tint: Color | list | tuple) None
-

Draw a part of a texture defined by a rectangle with ‘pro’ parameters

+

Draw a part of a texture defined by a rectangle with ‘pro’ parameters.

pyray.draw_texture_rec(texture: Texture | list | tuple, source: Rectangle | list | tuple, position: Vector2 | list | tuple, tint: Color | list | tuple) None
-

Draw a part of a texture defined by a rectangle

+

Draw a part of a texture defined by a rectangle.

pyray.draw_texture_v(texture: Texture | list | tuple, position: Vector2 | list | tuple, tint: Color | list | tuple) None
-

Draw a Texture2D with position defined as Vector2

+

Draw a Texture2D with position defined as Vector2.

pyray.draw_triangle(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled triangle (vertex in counter-clockwise order!)

+

Draw a color-filled triangle (vertex in counter-clockwise order!).

pyray.draw_triangle_3d(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple, v3: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled triangle (vertex in counter-clockwise order!)

+

Draw a color-filled triangle (vertex in counter-clockwise order!).

pyray.draw_triangle_fan(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle fan defined by points (first vertex is the center)

+

Draw a triangle fan defined by points (first vertex is the center).

pyray.draw_triangle_lines(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw triangle outline (vertex in counter-clockwise order!)

+

Draw triangle outline (vertex in counter-clockwise order!).

pyray.draw_triangle_strip(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle strip defined by points

+

Draw a triangle strip defined by points.

pyray.draw_triangle_strip_3d(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle strip defined by points

+

Draw a triangle strip defined by points.

pyray.enable_cursor() None
-

Enables cursor (unlock cursor)

+

Enables cursor (unlock cursor).

pyray.enable_event_waiting() None
-

Enable waiting for events on EndDrawing(), no automatic event polling

+

Enable waiting for events on EndDrawing(), no automatic event polling.

pyray.encode_data_base64(data: str, dataSize: int, outputSize: Any) str
-

Encode data to Base64 string, memory must be MemFree()

+

Encode data to Base64 string, memory must be MemFree().

pyray.end_blend_mode() None
-

End blending mode (reset to default: alpha blending)

+

End blending mode (reset to default: alpha blending).

pyray.end_drawing() None
-

End canvas drawing and swap buffers (double buffering)

+

End canvas drawing and swap buffers (double buffering).

pyray.end_mode_2d() None
-

Ends 2D mode with custom camera

+

Ends 2D mode with custom camera.

pyray.end_mode_3d() None
-

Ends 3D mode and returns to default 2D orthographic mode

+

Ends 3D mode and returns to default 2D orthographic mode.

pyray.end_scissor_mode() None
-

End scissor mode

+

End scissor mode.

pyray.end_shader_mode() None
-

End custom shader drawing (use default shader)

+

End custom shader drawing (use default shader).

pyray.end_texture_mode() None
-

Ends drawing to render texture

+

Ends drawing to render texture.

pyray.end_vr_stereo_mode() None
-

End stereo rendering (requires VR simulator)

+

End stereo rendering (requires VR simulator).

pyray.export_automation_event_list(list_0: AutomationEventList | list | tuple, fileName: str) bool
-

Export automation events list as text file

+

Export automation events list as text file.

pyray.export_data_as_code(data: str, dataSize: int, fileName: str) bool
-

Export data to code (.h), returns true on success

+

Export data to code (.h), returns true on success.

pyray.export_font_as_code(font: Font | list | tuple, fileName: str) bool
-

Export font as code file, returns true on success

+

Export font as code file, returns true on success.

pyray.export_image(image: Image | list | tuple, fileName: str) bool
-

Export image data to file, returns true on success

+

Export image data to file, returns true on success.

pyray.export_image_as_code(image: Image | list | tuple, fileName: str) bool
-

Export image as code file defining an array of bytes, returns true on success

+

Export image as code file defining an array of bytes, returns true on success.

pyray.export_image_to_memory(image: Image | list | tuple, fileType: str, fileSize: Any) str
-

Export image to memory buffer

+

Export image to memory buffer.

pyray.export_mesh(mesh: Mesh | list | tuple, fileName: str) bool
-

Export mesh data to file, returns true on success

+

Export mesh data to file, returns true on success.

pyray.export_mesh_as_code(mesh: Mesh | list | tuple, fileName: str) bool
-

Export mesh as code file (.h) defining multiple arrays of vertex attributes

+

Export mesh as code file (.h) defining multiple arrays of vertex attributes.

pyray.export_wave(wave: Wave | list | tuple, fileName: str) bool
-

Export wave data to file, returns true on success

+

Export wave data to file, returns true on success.

pyray.export_wave_as_code(wave: Wave | list | tuple, fileName: str) bool
-

Export wave sample data to code (.h), returns true on success

+

Export wave sample data to code (.h), returns true on success.

pyray.fade(color: Color | list | tuple, alpha: float) Color
-

Get color with alpha applied, alpha goes from 0.0f to 1.0f

+

Get color with alpha applied, alpha goes from 0.0f to 1.0f.

@@ -8447,7 +8448,7 @@
pyray.file_exists(fileName: str) bool
-

Check if file exists

+

Check if file exists.

@@ -8475,2957 +8476,3127 @@
pyray.float_equals(x: float, y: float) int
-
+

.

+
pyray.gen_image_cellular(width: int, height: int, tileSize: int) Image
-

Generate image: cellular algorithm, bigger tileSize means bigger cells

+

Generate image: cellular algorithm, bigger tileSize means bigger cells.

pyray.gen_image_checked(width: int, height: int, checksX: int, checksY: int, col1: Color | list | tuple, col2: Color | list | tuple) Image
-

Generate image: checked

+

Generate image: checked.

pyray.gen_image_color(width: int, height: int, color: Color | list | tuple) Image
-

Generate image: plain color

+

Generate image: plain color.

pyray.gen_image_font_atlas(glyphs: Any | list | tuple, glyphRecs: Any | list | tuple, glyphCount: int, fontSize: int, padding: int, packMethod: int) Image
-

Generate image font atlas using chars info

+

Generate image font atlas using chars info.

pyray.gen_image_gradient_linear(width: int, height: int, direction: int, start: Color | list | tuple, end: Color | list | tuple) Image
-

Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient

+

Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient.

pyray.gen_image_gradient_radial(width: int, height: int, density: float, inner: Color | list | tuple, outer: Color | list | tuple) Image
-

Generate image: radial gradient

+

Generate image: radial gradient.

pyray.gen_image_gradient_square(width: int, height: int, density: float, inner: Color | list | tuple, outer: Color | list | tuple) Image
-

Generate image: square gradient

+

Generate image: square gradient.

pyray.gen_image_perlin_noise(width: int, height: int, offsetX: int, offsetY: int, scale: float) Image
-

Generate image: perlin noise

+

Generate image: perlin noise.

pyray.gen_image_text(width: int, height: int, text: str) Image
-

Generate image: grayscale image from text data

+

Generate image: grayscale image from text data.

pyray.gen_image_white_noise(width: int, height: int, factor: float) Image
-

Generate image: white noise

+

Generate image: white noise.

pyray.gen_mesh_cone(radius: float, height: float, slices: int) Mesh
-

Generate cone/pyramid mesh

+

Generate cone/pyramid mesh.

pyray.gen_mesh_cube(width: float, height: float, length: float) Mesh
-

Generate cuboid mesh

+

Generate cuboid mesh.

pyray.gen_mesh_cubicmap(cubicmap: Image | list | tuple, cubeSize: Vector3 | list | tuple) Mesh
-

Generate cubes-based map mesh from image data

+

Generate cubes-based map mesh from image data.

pyray.gen_mesh_cylinder(radius: float, height: float, slices: int) Mesh
-

Generate cylinder mesh

+

Generate cylinder mesh.

pyray.gen_mesh_heightmap(heightmap: Image | list | tuple, size: Vector3 | list | tuple) Mesh
-

Generate heightmap mesh from image data

+

Generate heightmap mesh from image data.

pyray.gen_mesh_hemi_sphere(radius: float, rings: int, slices: int) Mesh
-

Generate half-sphere mesh (no bottom cap)

+

Generate half-sphere mesh (no bottom cap).

pyray.gen_mesh_knot(radius: float, size: float, radSeg: int, sides: int) Mesh
-

Generate trefoil knot mesh

+

Generate trefoil knot mesh.

pyray.gen_mesh_plane(width: float, length: float, resX: int, resZ: int) Mesh
-

Generate plane mesh (with subdivisions)

+

Generate plane mesh (with subdivisions).

pyray.gen_mesh_poly(sides: int, radius: float) Mesh
-

Generate polygonal mesh

+

Generate polygonal mesh.

pyray.gen_mesh_sphere(radius: float, rings: int, slices: int) Mesh
-

Generate sphere mesh (standard sphere)

+

Generate sphere mesh (standard sphere).

pyray.gen_mesh_tangents(mesh: Any | list | tuple) None
-

Compute mesh tangents

+

Compute mesh tangents.

pyray.gen_mesh_torus(radius: float, size: float, radSeg: int, sides: int) Mesh
-

Generate torus mesh

+

Generate torus mesh.

pyray.gen_texture_mipmaps(texture: Any | list | tuple) None
-

Generate GPU mipmaps for a texture

+

Generate GPU mipmaps for a texture.

pyray.get_application_directory() str
-

Get the directory of the running application (uses static string)

+

Get the directory of the running application (uses static string).

pyray.get_camera_matrix(camera: Camera3D | list | tuple) Matrix
-

Get camera transform matrix (view matrix)

+

Get camera transform matrix (view matrix).

pyray.get_camera_matrix_2d(camera: Camera2D | list | tuple) Matrix
-

Get camera 2d transform matrix

+

Get camera 2d transform matrix.

pyray.get_char_pressed() int
-

Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty

+

Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty.

pyray.get_clipboard_image() Image
-

Get clipboard image content

+

Get clipboard image content.

pyray.get_clipboard_text() str
-

Get clipboard text content

+

Get clipboard text content.

pyray.get_codepoint(text: str, codepointSize: Any) int
-

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure

+

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure.

pyray.get_codepoint_count(text: str) int
-

Get total number of codepoints in a UTF-8 encoded string

+

Get total number of codepoints in a UTF-8 encoded string.

pyray.get_codepoint_next(text: str, codepointSize: Any) int
-

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure

+

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure.

pyray.get_codepoint_previous(text: str, codepointSize: Any) int
-

Get previous codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure

+

Get previous codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure.

pyray.get_collision_rec(rec1: Rectangle | list | tuple, rec2: Rectangle | list | tuple) Rectangle
-

Get collision rectangle for two rectangles collision

+

Get collision rectangle for two rectangles collision.

pyray.get_color(hexValue: int) Color
-

Get Color structure from hexadecimal value

+

Get Color structure from hexadecimal value.

pyray.get_current_monitor() int
-

Get current monitor where window is placed

+

Get current monitor where window is placed.

pyray.get_directory_path(filePath: str) str
-

Get full path for a given fileName with path (uses static string)

+

Get full path for a given fileName with path (uses static string).

pyray.get_file_extension(fileName: str) str
-

Get pointer to extension for a filename string (includes dot: ‘.png’)

+

Get pointer to extension for a filename string (includes dot: ‘.png’).

pyray.get_file_length(fileName: str) int
-

Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)

+

Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h).

pyray.get_file_mod_time(fileName: str) int
-

Get file modification time (last write time)

+

Get file modification time (last write time).

pyray.get_file_name(filePath: str) str
-

Get pointer to filename for a path string

+

Get pointer to filename for a path string.

pyray.get_file_name_without_ext(filePath: str) str
-

Get filename string without extension (uses static string)

+

Get filename string without extension (uses static string).

pyray.get_font_default() Font
-

Get the default Font

+

Get the default Font.

pyray.get_fps() int
-

Get current FPS

+

Get current FPS.

pyray.get_frame_time() float
-

Get time in seconds for last frame drawn (delta time)

+

Get time in seconds for last frame drawn (delta time).

pyray.get_gamepad_axis_count(gamepad: int) int
-

Get gamepad axis count for a gamepad

+

Get gamepad axis count for a gamepad.

pyray.get_gamepad_axis_movement(gamepad: int, axis: int) float
-

Get axis movement value for a gamepad axis

+

Get axis movement value for a gamepad axis.

pyray.get_gamepad_button_pressed() int
-

Get the last gamepad button pressed

+

Get the last gamepad button pressed.

pyray.get_gamepad_name(gamepad: int) str
-

Get gamepad internal name id

+

Get gamepad internal name id.

pyray.get_gesture_detected() int
-

Get latest detected gesture

+

Get latest detected gesture.

pyray.get_gesture_drag_angle() float
-

Get gesture drag angle

+

Get gesture drag angle.

pyray.get_gesture_drag_vector() Vector2
-

Get gesture drag vector

+

Get gesture drag vector.

pyray.get_gesture_hold_duration() float
-

Get gesture hold time in seconds

+

Get gesture hold time in seconds.

pyray.get_gesture_pinch_angle() float
-

Get gesture pinch angle

+

Get gesture pinch angle.

pyray.get_gesture_pinch_vector() Vector2
-

Get gesture pinch delta

+

Get gesture pinch delta.

pyray.get_glyph_atlas_rec(font: Font | list | tuple, codepoint: int) Rectangle
-

Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to ‘?’ if not found

+

Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to ‘?’ if not found.

pyray.get_glyph_index(font: Font | list | tuple, codepoint: int) int
-

Get glyph index position in font for a codepoint (unicode character), fallback to ‘?’ if not found

+

Get glyph index position in font for a codepoint (unicode character), fallback to ‘?’ if not found.

pyray.get_glyph_info(font: Font | list | tuple, codepoint: int) GlyphInfo
-

Get glyph font info data for a codepoint (unicode character), fallback to ‘?’ if not found

+

Get glyph font info data for a codepoint (unicode character), fallback to ‘?’ if not found.

pyray.get_image_alpha_border(image: Image | list | tuple, threshold: float) Rectangle
-

Get image alpha border rectangle

+

Get image alpha border rectangle.

pyray.get_image_color(image: Image | list | tuple, x: int, y: int) Color
-

Get image pixel color at (x, y) position

+

Get image pixel color at (x, y) position.

pyray.get_key_pressed() int
-

Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty

+

Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty.

pyray.get_master_volume() float
-

Get master volume (listener)

+

Get master volume (listener).

pyray.get_mesh_bounding_box(mesh: Mesh | list | tuple) BoundingBox
-

Compute mesh bounding box limits

+

Compute mesh bounding box limits.

pyray.get_model_bounding_box(model: Model | list | tuple) BoundingBox
-

Compute model bounding box limits (considers all meshes)

+

Compute model bounding box limits (considers all meshes).

pyray.get_monitor_count() int
-

Get number of connected monitors

+

Get number of connected monitors.

pyray.get_monitor_height(monitor: int) int
-

Get specified monitor height (current video mode used by monitor)

+

Get specified monitor height (current video mode used by monitor).

pyray.get_monitor_name(monitor: int) str
-

Get the human-readable, UTF-8 encoded name of the specified monitor

+

Get the human-readable, UTF-8 encoded name of the specified monitor.

pyray.get_monitor_physical_height(monitor: int) int
-

Get specified monitor physical height in millimetres

+

Get specified monitor physical height in millimetres.

pyray.get_monitor_physical_width(monitor: int) int
-

Get specified monitor physical width in millimetres

+

Get specified monitor physical width in millimetres.

pyray.get_monitor_position(monitor: int) Vector2
-

Get specified monitor position

+

Get specified monitor position.

pyray.get_monitor_refresh_rate(monitor: int) int
-

Get specified monitor refresh rate

+

Get specified monitor refresh rate.

pyray.get_monitor_width(monitor: int) int
-

Get specified monitor width (current video mode used by monitor)

+

Get specified monitor width (current video mode used by monitor).

pyray.get_mouse_delta() Vector2
-

Get mouse delta between frames

+

Get mouse delta between frames.

pyray.get_mouse_position() Vector2
-

Get mouse position XY

+

Get mouse position XY.

pyray.get_mouse_wheel_move() float
-

Get mouse wheel movement for X or Y, whichever is larger

+

Get mouse wheel movement for X or Y, whichever is larger.

pyray.get_mouse_wheel_move_v() Vector2
-

Get mouse wheel movement for both X and Y

+

Get mouse wheel movement for both X and Y.

pyray.get_mouse_x() int
-

Get mouse position X

+

Get mouse position X.

pyray.get_mouse_y() int
-

Get mouse position Y

+

Get mouse position Y.

pyray.get_music_time_length(music: Music | list | tuple) float
-

Get music time length (in seconds)

+

Get music time length (in seconds).

pyray.get_music_time_played(music: Music | list | tuple) float
-

Get current music time played (in seconds)

+

Get current music time played (in seconds).

pyray.get_physics_bodies_count() int
-

Returns the current amount of created physics bodies

+

Returns the current amount of created physics bodies.

pyray.get_physics_body(index: int) Any
-

Returns a physics body of the bodies pool at a specific index

+

Returns a physics body of the bodies pool at a specific index.

pyray.get_physics_shape_type(index: int) int
-

Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)

+

Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON).

pyray.get_physics_shape_vertex(body: Any | list | tuple, vertex: int) Vector2
-

Returns transformed position of a body shape (body position + vertex transformed position)

+

Returns transformed position of a body shape (body position + vertex transformed position).

pyray.get_physics_shape_vertices_count(index: int) int
-

Returns the amount of vertices of a physics body shape

+

Returns the amount of vertices of a physics body shape.

pyray.get_pixel_color(srcPtr: Any, format: int) Color
-

Get Color from a source pixel pointer of certain format

+

Get Color from a source pixel pointer of certain format.

pyray.get_pixel_data_size(width: int, height: int, format: int) int
-

Get pixel data size in bytes for certain format

+

Get pixel data size in bytes for certain format.

pyray.get_prev_directory_path(dirPath: str) str
-

Get previous directory path for a given path (uses static string)

+

Get previous directory path for a given path (uses static string).

pyray.get_random_value(min_0: int, max_1: int) int
-

Get a random value between min and max (both included)

+

Get a random value between min and max (both included).

pyray.get_ray_collision_box(ray: Ray | list | tuple, box: BoundingBox | list | tuple) RayCollision
-

Get collision info between ray and box

+

Get collision info between ray and box.

pyray.get_ray_collision_mesh(ray: Ray | list | tuple, mesh: Mesh | list | tuple, transform: Matrix | list | tuple) RayCollision
-

Get collision info between ray and mesh

+

Get collision info between ray and mesh.

pyray.get_ray_collision_quad(ray: Ray | list | tuple, p1: Vector3 | list | tuple, p2: Vector3 | list | tuple, p3: Vector3 | list | tuple, p4: Vector3 | list | tuple) RayCollision
-

Get collision info between ray and quad

+

Get collision info between ray and quad.

pyray.get_ray_collision_sphere(ray: Ray | list | tuple, center: Vector3 | list | tuple, radius: float) RayCollision
-

Get collision info between ray and sphere

+

Get collision info between ray and sphere.

pyray.get_ray_collision_triangle(ray: Ray | list | tuple, p1: Vector3 | list | tuple, p2: Vector3 | list | tuple, p3: Vector3 | list | tuple) RayCollision
-

Get collision info between ray and triangle

+

Get collision info between ray and triangle.

pyray.get_render_height() int
-

Get current render height (it considers HiDPI)

+

Get current render height (it considers HiDPI).

pyray.get_render_width() int
-

Get current render width (it considers HiDPI)

+

Get current render width (it considers HiDPI).

pyray.get_screen_height() int
-

Get current screen height

+

Get current screen height.

pyray.get_screen_to_world_2d(position: Vector2 | list | tuple, camera: Camera2D | list | tuple) Vector2
-

Get the world space position for a 2d camera screen space position

+

Get the world space position for a 2d camera screen space position.

pyray.get_screen_to_world_ray(position: Vector2 | list | tuple, camera: Camera3D | list | tuple) Ray
-

Get a ray trace from screen position (i.e mouse)

+

Get a ray trace from screen position (i.e mouse).

pyray.get_screen_to_world_ray_ex(position: Vector2 | list | tuple, camera: Camera3D | list | tuple, width: int, height: int) Ray
-

Get a ray trace from screen position (i.e mouse) in a viewport

+

Get a ray trace from screen position (i.e mouse) in a viewport.

pyray.get_screen_width() int
-

Get current screen width

+

Get current screen width.

pyray.get_shader_location(shader: Shader | list | tuple, uniformName: str) int
-

Get shader uniform location

+

Get shader uniform location.

pyray.get_shader_location_attrib(shader: Shader | list | tuple, attribName: str) int
-

Get shader attribute location

+

Get shader attribute location.

pyray.get_shapes_texture() Texture
-

Get texture that is used for shapes drawing

+

Get texture that is used for shapes drawing.

pyray.get_shapes_texture_rectangle() Rectangle
-

Get texture source rectangle that is used for shapes drawing

+

Get texture source rectangle that is used for shapes drawing.

pyray.get_spline_point_basis(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: B-Spline

+

Get (evaluate) spline point: B-Spline.

pyray.get_spline_point_bezier_cubic(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, c3: Vector2 | list | tuple, p4: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Cubic Bezier

+

Get (evaluate) spline point: Cubic Bezier.

pyray.get_spline_point_bezier_quad(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, p3: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Quadratic Bezier

+

Get (evaluate) spline point: Quadratic Bezier.

pyray.get_spline_point_catmull_rom(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Catmull-Rom

+

Get (evaluate) spline point: Catmull-Rom.

pyray.get_spline_point_linear(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Linear

+

Get (evaluate) spline point: Linear.

pyray.get_time() float
-

Get elapsed time in seconds since InitWindow()

+

Get elapsed time in seconds since InitWindow().

pyray.get_touch_point_count() int
-

Get number of touch points

+

Get number of touch points.

pyray.get_touch_point_id(index: int) int
-

Get touch point identifier for given index

+

Get touch point identifier for given index.

pyray.get_touch_position(index: int) Vector2
-

Get touch position XY for a touch point index (relative to screen size)

+

Get touch position XY for a touch point index (relative to screen size).

pyray.get_touch_x() int
-

Get touch position X for touch point 0 (relative to screen size)

+

Get touch position X for touch point 0 (relative to screen size).

pyray.get_touch_y() int
-

Get touch position Y for touch point 0 (relative to screen size)

+

Get touch position Y for touch point 0 (relative to screen size).

pyray.get_window_handle() Any
-

Get native window handle

+

Get native window handle.

pyray.get_window_position() Vector2
-

Get window position XY on monitor

+

Get window position XY on monitor.

pyray.get_window_scale_dpi() Vector2
-

Get window scale DPI factor

+

Get window scale DPI factor.

pyray.get_working_directory() str
-

Get current working directory (uses static string)

+

Get current working directory (uses static string).

pyray.get_world_to_screen(position: Vector3 | list | tuple, camera: Camera3D | list | tuple) Vector2
-

Get the screen space position for a 3d world space position

+

Get the screen space position for a 3d world space position.

pyray.get_world_to_screen_2d(position: Vector2 | list | tuple, camera: Camera2D | list | tuple) Vector2
-

Get the screen space position for a 2d camera world space position

+

Get the screen space position for a 2d camera world space position.

pyray.get_world_to_screen_ex(position: Vector3 | list | tuple, camera: Camera3D | list | tuple, width: int, height: int) Vector2
-

Get size position for a 3d world space position

+

Get size position for a 3d world space position.

pyray.glfw_create_cursor(image: Any | list | tuple, xhot: int, yhot: int) Any
-
+

.

+
pyray.glfw_create_standard_cursor(shape: int) Any
-
+

.

+
pyray.glfw_create_window(width: int, height: int, title: str, monitor: Any | list | tuple, share: Any | list | tuple) Any
-
+

.

+
pyray.glfw_default_window_hints() None
-
+

.

+
pyray.glfw_destroy_cursor(cursor: Any | list | tuple) None
-
+

.

+
pyray.glfw_destroy_window(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_extension_supported(extension: str) int
-
+

.

+
pyray.glfw_focus_window(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_get_clipboard_string(window: Any | list | tuple) str
-
+

.

+
pyray.glfw_get_current_context() Any
-
+

.

+
pyray.glfw_get_cursor_pos(window: Any | list | tuple, xpos: Any, ypos: Any) None
-
+

.

+
pyray.glfw_get_error(description: list[str]) int
-
+

.

+
pyray.glfw_get_framebuffer_size(window: Any | list | tuple, width: Any, height: Any) None
-
+

.

+
pyray.glfw_get_gamepad_name(jid: int) str
-
+

.

+
pyray.glfw_get_gamepad_state(jid: int, state: Any | list | tuple) int
-
+

.

+
pyray.glfw_get_gamma_ramp(monitor: Any | list | tuple) Any
-
+

.

+
pyray.glfw_get_input_mode(window: Any | list | tuple, mode: int) int
-
+

.

+
pyray.glfw_get_joystick_axes(jid: int, count: Any) Any
-
+

.

+
pyray.glfw_get_joystick_buttons(jid: int, count: Any) str
-
+

.

+
pyray.glfw_get_joystick_guid(jid: int) str
-
+

.

+
pyray.glfw_get_joystick_hats(jid: int, count: Any) str
-
+

.

+
pyray.glfw_get_joystick_name(jid: int) str
-
+

.

+
pyray.glfw_get_joystick_user_pointer(jid: int) Any
-
+

.

+
pyray.glfw_get_key(window: Any | list | tuple, key: int) int
-
+

.

+
pyray.glfw_get_key_name(key: int, scancode: int) str
-
+

.

+
pyray.glfw_get_key_scancode(key: int) int
-
+

.

+
pyray.glfw_get_monitor_content_scale(monitor: Any | list | tuple, xscale: Any, yscale: Any) None
-
+

.

+
pyray.glfw_get_monitor_name(monitor: Any | list | tuple) str
-
+

.

+
pyray.glfw_get_monitor_physical_size(monitor: Any | list | tuple, widthMM: Any, heightMM: Any) None
-
+

.

+
pyray.glfw_get_monitor_pos(monitor: Any | list | tuple, xpos: Any, ypos: Any) None
-
+

.

+
pyray.glfw_get_monitor_user_pointer(monitor: Any | list | tuple) Any
-
+

.

+
pyray.glfw_get_monitor_workarea(monitor: Any | list | tuple, xpos: Any, ypos: Any, width: Any, height: Any) None
-
+

.

+
pyray.glfw_get_monitors(count: Any) Any
-
+

.

+
pyray.glfw_get_mouse_button(window: Any | list | tuple, button: int) int
-
+

.

+
pyray.glfw_get_platform() int
-
+

.

+
pyray.glfw_get_primary_monitor() Any
-
+

.

+
pyray.glfw_get_proc_address(procname: str) Any
-
+

.

+
pyray.glfw_get_required_instance_extensions(count: Any) list[str]
-
+

.

+
pyray.glfw_get_time() float
-
+

.

+
pyray.glfw_get_timer_frequency() int
-
+

.

+
pyray.glfw_get_timer_value() int
-
+

.

+
pyray.glfw_get_version(major: Any, minor: Any, rev: Any) None
-
+

.

+
pyray.glfw_get_version_string() str
-
+

.

+
pyray.glfw_get_video_mode(monitor: Any | list | tuple) Any
-
+

.

+
pyray.glfw_get_video_modes(monitor: Any | list | tuple, count: Any) Any
-
+

.

+
pyray.glfw_get_window_attrib(window: Any | list | tuple, attrib: int) int
-
+

.

+
pyray.glfw_get_window_content_scale(window: Any | list | tuple, xscale: Any, yscale: Any) None
-
+

.

+
pyray.glfw_get_window_frame_size(window: Any | list | tuple, left: Any, top: Any, right: Any, bottom: Any) None
-
+

.

+
pyray.glfw_get_window_monitor(window: Any | list | tuple) Any
-
+

.

+
pyray.glfw_get_window_opacity(window: Any | list | tuple) float
-
+

.

+
pyray.glfw_get_window_pos(window: Any | list | tuple, xpos: Any, ypos: Any) None
-
+

.

+
pyray.glfw_get_window_size(window: Any | list | tuple, width: Any, height: Any) None
-
+

.

+
pyray.glfw_get_window_title(window: Any | list | tuple) str
-
+

.

+
pyray.glfw_get_window_user_pointer(window: Any | list | tuple) Any
-
+

.

+
pyray.glfw_hide_window(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_iconify_window(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_init() int
-
+

.

+
pyray.glfw_init_allocator(allocator: Any | list | tuple) None
-
+

.

+
pyray.glfw_init_hint(hint: int, value: int) None
-
+

.

+
pyray.glfw_joystick_is_gamepad(jid: int) int
-
+

.

+
pyray.glfw_joystick_present(jid: int) int
-
+

.

+
pyray.glfw_make_context_current(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_maximize_window(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_platform_supported(platform: int) int
-
+

.

+
pyray.glfw_poll_events() None
-
+

.

+
pyray.glfw_post_empty_event() None
-
+

.

+
pyray.glfw_raw_mouse_motion_supported() int
-
+

.

+
pyray.glfw_request_window_attention(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_restore_window(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_set_char_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_char_mods_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_clipboard_string(window: Any | list | tuple, string: str) None
-
+

.

+
pyray.glfw_set_cursor(window: Any | list | tuple, cursor: Any | list | tuple) None
-
+

.

+
pyray.glfw_set_cursor_enter_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_cursor_pos(window: Any | list | tuple, xpos: float, ypos: float) None
-
+

.

+
pyray.glfw_set_cursor_pos_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_drop_callback(window: Any | list | tuple, callback: list[str] | list | tuple) list[str]
-
+

.

+
pyray.glfw_set_error_callback(callback: str) str
-
+

.

+
pyray.glfw_set_framebuffer_size_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_gamma(monitor: Any | list | tuple, gamma: float) None
-
+

.

+
pyray.glfw_set_gamma_ramp(monitor: Any | list | tuple, ramp: Any | list | tuple) None
-
+

.

+
pyray.glfw_set_input_mode(window: Any | list | tuple, mode: int, value: int) None
-
+

.

+
pyray.glfw_set_joystick_callback(callback: Any) Any
-
+

.

+
pyray.glfw_set_joystick_user_pointer(jid: int, pointer: Any) None
-
+

.

+
pyray.glfw_set_key_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_monitor_callback(callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_monitor_user_pointer(monitor: Any | list | tuple, pointer: Any) None
-
+

.

+
pyray.glfw_set_mouse_button_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_scroll_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_time(time: float) None
-
+

.

+
pyray.glfw_set_window_aspect_ratio(window: Any | list | tuple, numer: int, denom: int) None
-
+

.

+
pyray.glfw_set_window_attrib(window: Any | list | tuple, attrib: int, value: int) None
-
+

.

+
pyray.glfw_set_window_close_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_content_scale_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_focus_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_icon(window: Any | list | tuple, count: int, images: Any | list | tuple) None
-
+

.

+
pyray.glfw_set_window_iconify_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_maximize_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_monitor(window: Any | list | tuple, monitor: Any | list | tuple, xpos: int, ypos: int, width: int, height: int, refreshRate: int) None
-
+

.

+
pyray.glfw_set_window_opacity(window: Any | list | tuple, opacity: float) None
-
+

.

+
pyray.glfw_set_window_pos(window: Any | list | tuple, xpos: int, ypos: int) None
-
+

.

+
pyray.glfw_set_window_pos_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_refresh_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_should_close(window: Any | list | tuple, value: int) None
-
+

.

+
pyray.glfw_set_window_size(window: Any | list | tuple, width: int, height: int) None
-
+

.

+
pyray.glfw_set_window_size_callback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
pyray.glfw_set_window_size_limits(window: Any | list | tuple, minwidth: int, minheight: int, maxwidth: int, maxheight: int) None
-
+

.

+
pyray.glfw_set_window_title(window: Any | list | tuple, title: str) None
-
+

.

+
pyray.glfw_set_window_user_pointer(window: Any | list | tuple, pointer: Any) None
-
+

.

+
pyray.glfw_show_window(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_swap_buffers(window: Any | list | tuple) None
-
+

.

+
pyray.glfw_swap_interval(interval: int) None
-
+

.

+
pyray.glfw_terminate() None
-
+

.

+
pyray.glfw_update_gamepad_mappings(string: str) int
-
+

.

+
pyray.glfw_vulkan_supported() int
-
+

.

+
pyray.glfw_wait_events() None
-
+

.

+
pyray.glfw_wait_events_timeout(timeout: float) None
-
+

.

+
pyray.glfw_window_hint(hint: int, value: int) None
-
+

.

+
pyray.glfw_window_hint_string(hint: int, value: str) None
-
+

.

+
pyray.glfw_window_should_close(window: Any | list | tuple) int
-
+

.

+
pyray.gui_button(bounds: Rectangle | list | tuple, text: str) int
-

Button control, returns true when clicked

+

Button control, returns true when clicked.

pyray.gui_check_box(bounds: Rectangle | list | tuple, text: str, checked: Any) int
-

Check Box control, returns true when active

+

Check Box control, returns true when active.

pyray.gui_color_bar_alpha(bounds: Rectangle | list | tuple, text: str, alpha: Any) int
-

Color Bar Alpha control

+

Color Bar Alpha control.

pyray.gui_color_bar_hue(bounds: Rectangle | list | tuple, text: str, value: Any) int
-

Color Bar Hue control

+

Color Bar Hue control.

pyray.gui_color_panel(bounds: Rectangle | list | tuple, text: str, color: Any | list | tuple) int
-

Color Panel control

+

Color Panel control.

pyray.gui_color_panel_hsv(bounds: Rectangle | list | tuple, text: str, colorHsv: Any | list | tuple) int
-

Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()

+

Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV().

pyray.gui_color_picker(bounds: Rectangle | list | tuple, text: str, color: Any | list | tuple) int
-

Color Picker control (multiple color controls)

+

Color Picker control (multiple color controls).

pyray.gui_color_picker_hsv(bounds: Rectangle | list | tuple, text: str, colorHsv: Any | list | tuple) int
-

Color Picker control that avoids conversion to RGB on each call (multiple color controls)

+

Color Picker control that avoids conversion to RGB on each call (multiple color controls).

pyray.gui_combo_box(bounds: Rectangle | list | tuple, text: str, active: Any) int
-

Combo Box control

+

Combo Box control.

pyray.gui_disable() None
-

Disable gui controls (global state)

+

Disable gui controls (global state).

pyray.gui_disable_tooltip() None
-

Disable gui tooltips (global state)

+

Disable gui tooltips (global state).

pyray.gui_draw_icon(iconId: int, posX: int, posY: int, pixelSize: int, color: Color | list | tuple) None
-

Draw icon using pixel size at specified position

+

Draw icon using pixel size at specified position.

pyray.gui_dropdown_box(bounds: Rectangle | list | tuple, text: str, active: Any, editMode: bool) int
-

Dropdown Box control

+

Dropdown Box control.

pyray.gui_dummy_rec(bounds: Rectangle | list | tuple, text: str) int
-

Dummy control for placeholders

+

Dummy control for placeholders.

pyray.gui_enable() None
-

Enable gui controls (global state)

+

Enable gui controls (global state).

pyray.gui_enable_tooltip() None
-

Enable gui tooltips (global state)

+

Enable gui tooltips (global state).

pyray.gui_get_font() Font
-

Get gui custom font (global state)

+

Get gui custom font (global state).

pyray.gui_get_icons() Any
-

Get raygui icons data pointer

+

Get raygui icons data pointer.

pyray.gui_get_state() int
-

Get gui state (global state)

+

Get gui state (global state).

pyray.gui_get_style(control: int, property: int) int
-

Get one style property

+

Get one style property.

pyray.gui_grid(bounds: Rectangle | list | tuple, text: str, spacing: float, subdivs: int, mouseCell: Any | list | tuple) int
-

Grid control

+

Grid control.

pyray.gui_group_box(bounds: Rectangle | list | tuple, text: str) int
-

Group Box control with text name

+

Group Box control with text name.

pyray.gui_icon_text(iconId: int, text: str) str
-

Get text with icon id prepended (if supported)

+

Get text with icon id prepended (if supported).

pyray.gui_is_locked() bool
-

Check if gui is locked (global state)

+

Check if gui is locked (global state).

pyray.gui_label(bounds: Rectangle | list | tuple, text: str) int
-

Label control

+

Label control.

pyray.gui_label_button(bounds: Rectangle | list | tuple, text: str) int
-

Label button control, returns true when clicked

+

Label button control, returns true when clicked.

pyray.gui_line(bounds: Rectangle | list | tuple, text: str) int
-

Line separator control, could contain text

+

Line separator control, could contain text.

pyray.gui_list_view(bounds: Rectangle | list | tuple, text: str, scrollIndex: Any, active: Any) int
-

List View control

+

List View control.

pyray.gui_list_view_ex(bounds: Rectangle | list | tuple, text: list[str], count: int, scrollIndex: Any, active: Any, focus: Any) int
-

List View with extended parameters

+

List View with extended parameters.

pyray.gui_load_icons(fileName: str, loadIconsName: bool) list[str]
-

Load raygui icons file (.rgi) into internal icons data

+

Load raygui icons file (.rgi) into internal icons data.

pyray.gui_load_style(fileName: str) None
-

Load style file over global style variable (.rgs)

+

Load style file over global style variable (.rgs).

pyray.gui_load_style_default() None
-

Load style default over global style

+

Load style default over global style.

pyray.gui_lock() None
-

Lock gui controls (global state)

+

Lock gui controls (global state).

pyray.gui_message_box(bounds: Rectangle | list | tuple, title: str, message: str, buttons: str) int
-

Message Box control, displays a message

+

Message Box control, displays a message.

pyray.gui_panel(bounds: Rectangle | list | tuple, text: str) int
-

Panel control, useful to group controls

+

Panel control, useful to group controls.

pyray.gui_progress_bar(bounds: Rectangle | list | tuple, textLeft: str, textRight: str, value: Any, minValue: float, maxValue: float) int
-

Progress Bar control

+

Progress Bar control.

pyray.gui_scroll_panel(bounds: Rectangle | list | tuple, text: str, content: Rectangle | list | tuple, scroll: Any | list | tuple, view: Any | list | tuple) int
-

Scroll Panel control

+

Scroll Panel control.

pyray.gui_set_alpha(alpha: float) None
-

Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f

+

Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f.

pyray.gui_set_font(font: Font | list | tuple) None
-

Set gui custom font (global state)

+

Set gui custom font (global state).

pyray.gui_set_icon_scale(scale: int) None
-

Set default icon drawing size

+

Set default icon drawing size.

pyray.gui_set_state(state: int) None
-

Set gui state (global state)

+

Set gui state (global state).

pyray.gui_set_style(control: int, property: int, value: int) None
-

Set one style property

+

Set one style property.

pyray.gui_set_tooltip(tooltip: str) None
-

Set tooltip string

+

Set tooltip string.

pyray.gui_slider(bounds: Rectangle | list | tuple, textLeft: str, textRight: str, value: Any, minValue: float, maxValue: float) int
-

Slider control

+

Slider control.

pyray.gui_slider_bar(bounds: Rectangle | list | tuple, textLeft: str, textRight: str, value: Any, minValue: float, maxValue: float) int
-

Slider Bar control

+

Slider Bar control.

pyray.gui_spinner(bounds: Rectangle | list | tuple, text: str, value: Any, minValue: int, maxValue: int, editMode: bool) int
-

Spinner control

+

Spinner control.

pyray.gui_status_bar(bounds: Rectangle | list | tuple, text: str) int
-

Status Bar control, shows info text

+

Status Bar control, shows info text.

pyray.gui_tab_bar(bounds: Rectangle | list | tuple, text: list[str], count: int, active: Any) int
-

Tab Bar control, returns TAB to be closed or -1

+

Tab Bar control, returns TAB to be closed or -1.

pyray.gui_text_box(bounds: Rectangle | list | tuple, text: str, textSize: int, editMode: bool) int
-

Text Box control, updates input text

+

Text Box control, updates input text.

pyray.gui_text_input_box(bounds: Rectangle | list | tuple, title: str, message: str, buttons: str, text: str, textMaxSize: int, secretViewActive: Any) int
-

Text Input Box control, ask for text, supports secret

+

Text Input Box control, ask for text, supports secret.

pyray.gui_toggle(bounds: Rectangle | list | tuple, text: str, active: Any) int
-

Toggle Button control

+

Toggle Button control.

pyray.gui_toggle_group(bounds: Rectangle | list | tuple, text: str, active: Any) int
-

Toggle Group control

+

Toggle Group control.

pyray.gui_toggle_slider(bounds: Rectangle | list | tuple, text: str, active: Any) int
-

Toggle Slider control

+

Toggle Slider control.

pyray.gui_unlock() None
-

Unlock gui controls (global state)

+

Unlock gui controls (global state).

pyray.gui_value_box(bounds: Rectangle | list | tuple, text: str, value: Any, minValue: int, maxValue: int, editMode: bool) int
-

Value Box control, updates input text with numbers

+

Value Box control, updates input text with numbers.

pyray.gui_value_box_float(bounds: Rectangle | list | tuple, text: str, textValue: str, value: Any, editMode: bool) int
-

Value box control for float values

+

Value box control for float values.

pyray.gui_window_box(bounds: Rectangle | list | tuple, title: str) int
-

Window Box control, shows a window that can be closed

+

Window Box control, shows a window that can be closed.

pyray.hide_cursor() None
-

Hides cursor

+

Hides cursor.

pyray.image_alpha_clear(image: Any | list | tuple, color: Color | list | tuple, threshold: float) None
-

Clear alpha channel to desired color

+

Clear alpha channel to desired color.

pyray.image_alpha_crop(image: Any | list | tuple, threshold: float) None
-

Crop image depending on alpha value

+

Crop image depending on alpha value.

pyray.image_alpha_mask(image: Any | list | tuple, alphaMask: Image | list | tuple) None
-

Apply alpha mask to image

+

Apply alpha mask to image.

pyray.image_alpha_premultiply(image: Any | list | tuple) None
-

Premultiply alpha channel

+

Premultiply alpha channel.

pyray.image_blur_gaussian(image: Any | list | tuple, blurSize: int) None
-

Apply Gaussian blur using a box blur approximation

+

Apply Gaussian blur using a box blur approximation.

pyray.image_clear_background(dst: Any | list | tuple, color: Color | list | tuple) None
-

Clear image background with given color

+

Clear image background with given color.

pyray.image_color_brightness(image: Any | list | tuple, brightness: int) None
-

Modify image color: brightness (-255 to 255)

+

Modify image color: brightness (-255 to 255).

pyray.image_color_contrast(image: Any | list | tuple, contrast: float) None
-

Modify image color: contrast (-100 to 100)

+

Modify image color: contrast (-100 to 100).

pyray.image_color_grayscale(image: Any | list | tuple) None
-

Modify image color: grayscale

+

Modify image color: grayscale.

pyray.image_color_invert(image: Any | list | tuple) None
-

Modify image color: invert

+

Modify image color: invert.

pyray.image_color_replace(image: Any | list | tuple, color: Color | list | tuple, replace: Color | list | tuple) None
-

Modify image color: replace color

+

Modify image color: replace color.

pyray.image_color_tint(image: Any | list | tuple, color: Color | list | tuple) None
-

Modify image color: tint

+

Modify image color: tint.

pyray.image_copy(image: Image | list | tuple) Image
-

Create an image duplicate (useful for transformations)

+

Create an image duplicate (useful for transformations).

pyray.image_crop(image: Any | list | tuple, crop: Rectangle | list | tuple) None
-

Crop an image to a defined rectangle

+

Crop an image to a defined rectangle.

pyray.image_dither(image: Any | list | tuple, rBpp: int, gBpp: int, bBpp: int, aBpp: int) None
-

Dither image data to 16bpp or lower (Floyd-Steinberg dithering)

+

Dither image data to 16bpp or lower (Floyd-Steinberg dithering).

pyray.image_draw(dst: Any | list | tuple, src: Image | list | tuple, srcRec: Rectangle | list | tuple, dstRec: Rectangle | list | tuple, tint: Color | list | tuple) None
-

Draw a source image within a destination image (tint applied to source)

+

Draw a source image within a destination image (tint applied to source).

pyray.image_draw_circle(dst: Any | list | tuple, centerX: int, centerY: int, radius: int, color: Color | list | tuple) None
-

Draw a filled circle within an image

+

Draw a filled circle within an image.

pyray.image_draw_circle_lines(dst: Any | list | tuple, centerX: int, centerY: int, radius: int, color: Color | list | tuple) None
-

Draw circle outline within an image

+

Draw circle outline within an image.

pyray.image_draw_circle_lines_v(dst: Any | list | tuple, center: Vector2 | list | tuple, radius: int, color: Color | list | tuple) None
-

Draw circle outline within an image (Vector version)

+

Draw circle outline within an image (Vector version).

pyray.image_draw_circle_v(dst: Any | list | tuple, center: Vector2 | list | tuple, radius: int, color: Color | list | tuple) None
-

Draw a filled circle within an image (Vector version)

+

Draw a filled circle within an image (Vector version).

pyray.image_draw_line(dst: Any | list | tuple, startPosX: int, startPosY: int, endPosX: int, endPosY: int, color: Color | list | tuple) None
-

Draw line within an image

+

Draw line within an image.

pyray.image_draw_line_ex(dst: Any | list | tuple, start: Vector2 | list | tuple, end: Vector2 | list | tuple, thick: int, color: Color | list | tuple) None
-

Draw a line defining thickness within an image

+

Draw a line defining thickness within an image.

pyray.image_draw_line_v(dst: Any | list | tuple, start: Vector2 | list | tuple, end: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw line within an image (Vector version)

+

Draw line within an image (Vector version).

pyray.image_draw_pixel(dst: Any | list | tuple, posX: int, posY: int, color: Color | list | tuple) None
-

Draw pixel within an image

+

Draw pixel within an image.

pyray.image_draw_pixel_v(dst: Any | list | tuple, position: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw pixel within an image (Vector version)

+

Draw pixel within an image (Vector version).

pyray.image_draw_rectangle(dst: Any | list | tuple, posX: int, posY: int, width: int, height: int, color: Color | list | tuple) None
-

Draw rectangle within an image

+

Draw rectangle within an image.

pyray.image_draw_rectangle_lines(dst: Any | list | tuple, rec: Rectangle | list | tuple, thick: int, color: Color | list | tuple) None
-

Draw rectangle lines within an image

+

Draw rectangle lines within an image.

pyray.image_draw_rectangle_rec(dst: Any | list | tuple, rec: Rectangle | list | tuple, color: Color | list | tuple) None
-

Draw rectangle within an image

+

Draw rectangle within an image.

pyray.image_draw_rectangle_v(dst: Any | list | tuple, position: Vector2 | list | tuple, size: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw rectangle within an image (Vector version)

+

Draw rectangle within an image (Vector version).

pyray.image_draw_text(dst: Any | list | tuple, text: str, posX: int, posY: int, fontSize: int, color: Color | list | tuple) None
-

Draw text (using default font) within an image (destination)

+

Draw text (using default font) within an image (destination).

pyray.image_draw_text_ex(dst: Any | list | tuple, font: Font | list | tuple, text: str, position: Vector2 | list | tuple, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw text (custom sprite font) within an image (destination)

+

Draw text (custom sprite font) within an image (destination).

pyray.image_draw_triangle(dst: Any | list | tuple, v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw triangle within an image

+

Draw triangle within an image.

pyray.image_draw_triangle_ex(dst: Any | list | tuple, v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, c1: Color | list | tuple, c2: Color | list | tuple, c3: Color | list | tuple) None
-

Draw triangle with interpolated colors within an image

+

Draw triangle with interpolated colors within an image.

pyray.image_draw_triangle_fan(dst: Any | list | tuple, points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle fan defined by points within an image (first vertex is the center)

+

Draw a triangle fan defined by points within an image (first vertex is the center).

pyray.image_draw_triangle_lines(dst: Any | list | tuple, v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw triangle outline within an image

+

Draw triangle outline within an image.

pyray.image_draw_triangle_strip(dst: Any | list | tuple, points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle strip defined by points within an image

+

Draw a triangle strip defined by points within an image.

pyray.image_flip_horizontal(image: Any | list | tuple) None
-

Flip image horizontally

+

Flip image horizontally.

pyray.image_flip_vertical(image: Any | list | tuple) None
-

Flip image vertically

+

Flip image vertically.

pyray.image_format(image: Any | list | tuple, newFormat: int) None
-

Convert image data to desired format

+

Convert image data to desired format.

pyray.image_from_channel(image: Image | list | tuple, selectedChannel: int) Image
-

Create an image from a selected channel of another image (GRAYSCALE)

+

Create an image from a selected channel of another image (GRAYSCALE).

pyray.image_from_image(image: Image | list | tuple, rec: Rectangle | list | tuple) Image
-

Create an image from another image piece

+

Create an image from another image piece.

pyray.image_kernel_convolution(image: Any | list | tuple, kernel: Any, kernelSize: int) None
-

Apply custom square convolution kernel to image

+

Apply custom square convolution kernel to image.

pyray.image_mipmaps(image: Any | list | tuple) None
-

Compute all mipmap levels for a provided image

+

Compute all mipmap levels for a provided image.

pyray.image_resize(image: Any | list | tuple, newWidth: int, newHeight: int) None
-

Resize image (Bicubic scaling algorithm)

+

Resize image (Bicubic scaling algorithm).

pyray.image_resize_canvas(image: Any | list | tuple, newWidth: int, newHeight: int, offsetX: int, offsetY: int, fill: Color | list | tuple) None
-

Resize canvas and fill with color

+

Resize canvas and fill with color.

pyray.image_resize_nn(image: Any | list | tuple, newWidth: int, newHeight: int) None
-

Resize image (Nearest-Neighbor scaling algorithm)

+

Resize image (Nearest-Neighbor scaling algorithm).

pyray.image_rotate(image: Any | list | tuple, degrees: int) None
-

Rotate image by input angle in degrees (-359 to 359)

+

Rotate image by input angle in degrees (-359 to 359).

pyray.image_rotate_ccw(image: Any | list | tuple) None
-

Rotate image counter-clockwise 90deg

+

Rotate image counter-clockwise 90deg.

pyray.image_rotate_cw(image: Any | list | tuple) None
-

Rotate image clockwise 90deg

+

Rotate image clockwise 90deg.

pyray.image_text(text: str, fontSize: int, color: Color | list | tuple) Image
-

Create an image from text (default font)

+

Create an image from text (default font).

pyray.image_text_ex(font: Font | list | tuple, text: str, fontSize: float, spacing: float, tint: Color | list | tuple) Image
-

Create an image from text (custom sprite font)

+

Create an image from text (custom sprite font).

pyray.image_to_pot(image: Any | list | tuple, fill: Color | list | tuple) None
-

Convert image to POT (power-of-two)

+

Convert image to POT (power-of-two).

pyray.init_audio_device() None
-

Initialize audio device and context

+

Initialize audio device and context.

pyray.init_physics() None
-

Initializes physics system

+

Initializes physics system.

pyray.init_window(width: int, height: int, title: str) None
-

Initialize window and OpenGL context

+

Initialize window and OpenGL context.

pyray.is_audio_device_ready() bool
-

Check if audio device has been initialized successfully

+

Check if audio device has been initialized successfully.

pyray.is_audio_stream_playing(stream: AudioStream | list | tuple) bool
-

Check if audio stream is playing

+

Check if audio stream is playing.

pyray.is_audio_stream_processed(stream: AudioStream | list | tuple) bool
-

Check if any audio stream buffers requires refill

+

Check if any audio stream buffers requires refill.

pyray.is_audio_stream_valid(stream: AudioStream | list | tuple) bool
-

Checks if an audio stream is valid (buffers initialized)

+

Checks if an audio stream is valid (buffers initialized).

pyray.is_cursor_hidden() bool
-

Check if cursor is not visible

+

Check if cursor is not visible.

pyray.is_cursor_on_screen() bool
-

Check if cursor is on the screen

+

Check if cursor is on the screen.

pyray.is_file_dropped() bool
-

Check if a file has been dropped into window

+

Check if a file has been dropped into window.

pyray.is_file_extension(fileName: str, ext: str) bool
-

Check file extension (including point: .png, .wav)

+

Check file extension (including point: .png, .wav).

pyray.is_file_name_valid(fileName: str) bool
-

Check if fileName is valid for the platform/OS

+

Check if fileName is valid for the platform/OS.

pyray.is_font_valid(font: Font | list | tuple) bool
-

Check if a font is valid (font data loaded, WARNING: GPU texture not checked)

+

Check if a font is valid (font data loaded, WARNING: GPU texture not checked).

pyray.is_gamepad_available(gamepad: int) bool
-

Check if a gamepad is available

+

Check if a gamepad is available.

pyray.is_gamepad_button_down(gamepad: int, button: int) bool
-

Check if a gamepad button is being pressed

+

Check if a gamepad button is being pressed.

pyray.is_gamepad_button_pressed(gamepad: int, button: int) bool
-

Check if a gamepad button has been pressed once

+

Check if a gamepad button has been pressed once.

pyray.is_gamepad_button_released(gamepad: int, button: int) bool
-

Check if a gamepad button has been released once

+

Check if a gamepad button has been released once.

pyray.is_gamepad_button_up(gamepad: int, button: int) bool
-

Check if a gamepad button is NOT being pressed

+

Check if a gamepad button is NOT being pressed.

pyray.is_gesture_detected(gesture: int) bool
-

Check if a gesture have been detected

+

Check if a gesture have been detected.

pyray.is_image_valid(image: Image | list | tuple) bool
-

Check if an image is valid (data and parameters)

+

Check if an image is valid (data and parameters).

pyray.is_key_down(key: int) bool
-

Check if a key is being pressed

+

Check if a key is being pressed.

pyray.is_key_pressed(key: int) bool
-

Check if a key has been pressed once

+

Check if a key has been pressed once.

pyray.is_key_pressed_repeat(key: int) bool
-

Check if a key has been pressed again

+

Check if a key has been pressed again.

pyray.is_key_released(key: int) bool
-

Check if a key has been released once

+

Check if a key has been released once.

pyray.is_key_up(key: int) bool
-

Check if a key is NOT being pressed

+

Check if a key is NOT being pressed.

pyray.is_material_valid(material: Material | list | tuple) bool
-

Check if a material is valid (shader assigned, map textures loaded in GPU)

+

Check if a material is valid (shader assigned, map textures loaded in GPU).

pyray.is_model_animation_valid(model: Model | list | tuple, anim: ModelAnimation | list | tuple) bool
-

Check model animation skeleton match

+

Check model animation skeleton match.

pyray.is_model_valid(model: Model | list | tuple) bool
-

Check if a model is valid (loaded in GPU, VAO/VBOs)

+

Check if a model is valid (loaded in GPU, VAO/VBOs).

pyray.is_mouse_button_down(button: int) bool
-

Check if a mouse button is being pressed

+

Check if a mouse button is being pressed.

pyray.is_mouse_button_pressed(button: int) bool
-

Check if a mouse button has been pressed once

+

Check if a mouse button has been pressed once.

pyray.is_mouse_button_released(button: int) bool
-

Check if a mouse button has been released once

+

Check if a mouse button has been released once.

pyray.is_mouse_button_up(button: int) bool
-

Check if a mouse button is NOT being pressed

+

Check if a mouse button is NOT being pressed.

pyray.is_music_stream_playing(music: Music | list | tuple) bool
-

Check if music is playing

+

Check if music is playing.

pyray.is_music_valid(music: Music | list | tuple) bool
-

Checks if a music stream is valid (context and buffers initialized)

+

Checks if a music stream is valid (context and buffers initialized).

pyray.is_path_file(path: str) bool
-

Check if a given path is a file or a directory

+

Check if a given path is a file or a directory.

pyray.is_render_texture_valid(target: RenderTexture | list | tuple) bool
-

Check if a render texture is valid (loaded in GPU)

+

Check if a render texture is valid (loaded in GPU).

pyray.is_shader_valid(shader: Shader | list | tuple) bool
-

Check if a shader is valid (loaded on GPU)

+

Check if a shader is valid (loaded on GPU).

pyray.is_sound_playing(sound: Sound | list | tuple) bool
-

Check if a sound is currently playing

+

Check if a sound is currently playing.

pyray.is_sound_valid(sound: Sound | list | tuple) bool
-

Checks if a sound is valid (data loaded and buffers initialized)

+

Checks if a sound is valid (data loaded and buffers initialized).

pyray.is_texture_valid(texture: Texture | list | tuple) bool
-

Check if a texture is valid (loaded in GPU)

+

Check if a texture is valid (loaded in GPU).

pyray.is_wave_valid(wave: Wave | list | tuple) bool
-

Checks if wave data is valid (data loaded and parameters)

+

Checks if wave data is valid (data loaded and parameters).

pyray.is_window_focused() bool
-

Check if window is currently focused

+

Check if window is currently focused.

pyray.is_window_fullscreen() bool
-

Check if window is currently fullscreen

+

Check if window is currently fullscreen.

pyray.is_window_hidden() bool
-

Check if window is currently hidden

+

Check if window is currently hidden.

pyray.is_window_maximized() bool
-

Check if window is currently maximized

+

Check if window is currently maximized.

pyray.is_window_minimized() bool
-

Check if window is currently minimized

+

Check if window is currently minimized.

pyray.is_window_ready() bool
-

Check if window has been initialized successfully

+

Check if window has been initialized successfully.

pyray.is_window_resized() bool
-

Check if window has been resized last frame

+

Check if window has been resized last frame.

pyray.is_window_state(flag: int) bool
-

Check if one specific window flag is enabled

+

Check if one specific window flag is enabled.

pyray.lerp(start: float, end: float, amount: float) float
-
+

.

+
pyray.load_audio_stream(sampleRate: int, sampleSize: int, channels: int) AudioStream
-

Load audio stream (to stream raw audio pcm data)

+

Load audio stream (to stream raw audio pcm data).

pyray.load_automation_event_list(fileName: str) AutomationEventList
-

Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS

+

Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS.

pyray.load_codepoints(text: str, count: Any) Any
-

Load all codepoints from a UTF-8 text string, codepoints count returned by parameter

+

Load all codepoints from a UTF-8 text string, codepoints count returned by parameter.

pyray.load_directory_files(dirPath: str) FilePathList
-

Load directory filepaths

+

Load directory filepaths.

pyray.load_directory_files_ex(basePath: str, filter: str, scanSubdirs: bool) FilePathList
-

Load directory filepaths with extension filtering and recursive directory scan. Use ‘DIR’ in the filter string to include directories in the result

+

Load directory filepaths with extension filtering and recursive directory scan. Use ‘DIR’ in the filter string to include directories in the result.

pyray.load_dropped_files() FilePathList
-

Load dropped filepaths

+

Load dropped filepaths.

pyray.load_file_data(fileName: str, dataSize: Any) str
-

Load file data as byte array (read)

+

Load file data as byte array (read).

pyray.load_file_text(fileName: str) str
-

Load text data from file (read), returns a ‘' terminated string

+

Load text data from file (read), returns a ‘' terminated string.

pyray.load_font(fileName: str) Font
-

Load font from file into GPU memory (VRAM)

+

Load font from file into GPU memory (VRAM).

pyray.load_font_data(fileData: str, dataSize: int, fontSize: int, codepoints: Any, codepointCount: int, type: int) Any
-

Load font data for further use

+

Load font data for further use.

pyray.load_font_ex(fileName: str, fontSize: int, codepoints: Any, codepointCount: int) Font
-

Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height

+

Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height.

pyray.load_font_from_image(image: Image | list | tuple, key: Color | list | tuple, firstChar: int) Font
-

Load font from Image (XNA style)

+

Load font from Image (XNA style).

pyray.load_font_from_memory(fileType: str, fileData: str, dataSize: int, fontSize: int, codepoints: Any, codepointCount: int) Font
-

Load font from memory buffer, fileType refers to extension: i.e. ‘.ttf’

+

Load font from memory buffer, fileType refers to extension: i.e. ‘.ttf’.

pyray.load_image(fileName: str) Image
-

Load image from file into CPU memory (RAM)

+

Load image from file into CPU memory (RAM).

pyray.load_image_anim(fileName: str, frames: Any) Image
-

Load image sequence from file (frames appended to image.data)

+

Load image sequence from file (frames appended to image.data).

pyray.load_image_anim_from_memory(fileType: str, fileData: str, dataSize: int, frames: Any) Image
-

Load image sequence from memory buffer

+

Load image sequence from memory buffer.

pyray.load_image_colors(image: Image | list | tuple) Any
-

Load color data from image as a Color array (RGBA - 32bit)

+

Load color data from image as a Color array (RGBA - 32bit).

pyray.load_image_from_memory(fileType: str, fileData: str, dataSize: int) Image
-

Load image from memory buffer, fileType refers to extension: i.e. ‘.png’

+

Load image from memory buffer, fileType refers to extension: i.e. ‘.png’.

pyray.load_image_from_screen() Image
-

Load image from screen buffer and (screenshot)

+

Load image from screen buffer and (screenshot).

pyray.load_image_from_texture(texture: Texture | list | tuple) Image
-

Load image from GPU texture data

+

Load image from GPU texture data.

pyray.load_image_palette(image: Image | list | tuple, maxPaletteSize: int, colorCount: Any) Any
-

Load colors palette from image as a Color array (RGBA - 32bit)

+

Load colors palette from image as a Color array (RGBA - 32bit).

pyray.load_image_raw(fileName: str, width: int, height: int, format: int, headerSize: int) Image
-

Load image from RAW file data

+

Load image from RAW file data.

pyray.load_material_default() Material
-

Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)

+

Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps).

pyray.load_materials(fileName: str, materialCount: Any) Any
-

Load materials from model file

+

Load materials from model file.

pyray.load_model(fileName: str) Model
-

Load model from files (meshes and materials)

+

Load model from files (meshes and materials).

pyray.load_model_animations(fileName: str, animCount: Any) Any
-

Load model animations from file

+

Load model animations from file.

pyray.load_model_from_mesh(mesh: Mesh | list | tuple) Model
-

Load model from generated mesh (default material)

+

Load model from generated mesh (default material).

pyray.load_music_stream(fileName: str) Music
-

Load music stream from file

+

Load music stream from file.

pyray.load_music_stream_from_memory(fileType: str, data: str, dataSize: int) Music
-

Load music stream from data

+

Load music stream from data.

pyray.load_random_sequence(count: int, min_1: int, max_2: int) Any
-

Load random values sequence, no values repeated

+

Load random values sequence, no values repeated.

pyray.load_render_texture(width: int, height: int) RenderTexture
-

Load texture for rendering (framebuffer)

+

Load texture for rendering (framebuffer).

pyray.load_shader(vsFileName: str, fsFileName: str) Shader
-

Load shader from files and bind default locations

+

Load shader from files and bind default locations.

pyray.load_shader_from_memory(vsCode: str, fsCode: str) Shader
-

Load shader from code strings and bind default locations

+

Load shader from code strings and bind default locations.

pyray.load_sound(fileName: str) Sound
-

Load sound from file

+

Load sound from file.

pyray.load_sound_alias(source: Sound | list | tuple) Sound
-

Create a new sound that shares the same sample data as the source sound, does not own the sound data

+

Create a new sound that shares the same sample data as the source sound, does not own the sound data.

pyray.load_sound_from_wave(wave: Wave | list | tuple) Sound
-

Load sound from wave data

+

Load sound from wave data.

pyray.load_texture(fileName: str) Texture
-

Load texture from file into GPU memory (VRAM)

+

Load texture from file into GPU memory (VRAM).

pyray.load_texture_cubemap(image: Image | list | tuple, layout: int) Texture
-

Load cubemap from image, multiple image cubemap layouts supported

+

Load cubemap from image, multiple image cubemap layouts supported.

pyray.load_texture_from_image(image: Image | list | tuple) Texture
-

Load texture from image data

+

Load texture from image data.

pyray.load_utf8(codepoints: Any, length: int) str
-

Load UTF-8 text encoded from codepoints array

+

Load UTF-8 text encoded from codepoints array.

pyray.load_vr_stereo_config(device: VrDeviceInfo | list | tuple) VrStereoConfig
-

Load VR stereo config for VR simulator device parameters

+

Load VR stereo config for VR simulator device parameters.

pyray.load_wave(fileName: str) Wave
-

Load wave data from file

+

Load wave data from file.

pyray.load_wave_from_memory(fileType: str, fileData: str, dataSize: int) Wave
-

Load wave from memory buffer, fileType refers to extension: i.e. ‘.wav’

+

Load wave from memory buffer, fileType refers to extension: i.e. ‘.wav’.

pyray.load_wave_samples(wave: Wave | list | tuple) Any
-

Load samples data from wave as a 32bit float data array

+

Load samples data from wave as a 32bit float data array.

pyray.make_directory(dirPath: str) int
-

Create directories (including full path requested), returns 0 on success

+

Create directories (including full path requested), returns 0 on success.

pyray.matrix_add(left: Matrix | list | tuple, right: Matrix | list | tuple) Matrix
-
+

.

+
pyray.matrix_decompose(mat: Matrix | list | tuple, translation: Any | list | tuple, rotation: Any | list | tuple, scale: Any | list | tuple) None
-
+

.

+
pyray.matrix_determinant(mat: Matrix | list | tuple) float
-
+

.

+
pyray.matrix_frustum(left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float) Matrix
-
+

.

+
pyray.matrix_identity() Matrix
-
+

.

+
pyray.matrix_invert(mat: Matrix | list | tuple) Matrix
-
+

.

+
pyray.matrix_look_at(eye: Vector3 | list | tuple, target: Vector3 | list | tuple, up: Vector3 | list | tuple) Matrix
-
+

.

+
pyray.matrix_multiply(left: Matrix | list | tuple, right: Matrix | list | tuple) Matrix
-
+

.

+
pyray.matrix_ortho(left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float) Matrix
-
+

.

+
pyray.matrix_perspective(fovY: float, aspect: float, nearPlane: float, farPlane: float) Matrix
-
+

.

+
pyray.matrix_rotate(axis: Vector3 | list | tuple, angle: float) Matrix
-
+

.

+
pyray.matrix_rotate_x(angle: float) Matrix
-
+

.

+
pyray.matrix_rotate_xyz(angle: Vector3 | list | tuple) Matrix
-
+

.

+
pyray.matrix_rotate_y(angle: float) Matrix
-
+

.

+
pyray.matrix_rotate_z(angle: float) Matrix
-
+

.

+
pyray.matrix_rotate_zyx(angle: Vector3 | list | tuple) Matrix
-
+

.

+
pyray.matrix_scale(x: float, y: float, z: float) Matrix
-
+

.

+
pyray.matrix_subtract(left: Matrix | list | tuple, right: Matrix | list | tuple) Matrix
-
+

.

+
pyray.matrix_to_float_v(mat: Matrix | list | tuple) float16
-
+

.

+
pyray.matrix_trace(mat: Matrix | list | tuple) float
-
+

.

+
pyray.matrix_translate(x: float, y: float, z: float) Matrix
-
+

.

+
pyray.matrix_transpose(mat: Matrix | list | tuple) Matrix
-
+

.

+
pyray.maximize_window() None
-

Set window state: maximized, if resizable

+

Set window state: maximized, if resizable.

pyray.measure_text(text: str, fontSize: int) int
-

Measure string width for default font

+

Measure string width for default font.

pyray.measure_text_ex(font: Font | list | tuple, text: str, fontSize: float, spacing: float) Vector2
-

Measure string size for Font

+

Measure string size for Font.

pyray.mem_alloc(size: int) Any
-

Internal memory allocator

+

Internal memory allocator.

pyray.mem_free(ptr: Any) None
-

Internal memory free

+

Internal memory free.

pyray.mem_realloc(ptr: Any, size: int) Any
-

Internal memory reallocator

+

Internal memory reallocator.

pyray.minimize_window() None
-

Set window state: minimized, if resizable

+

Set window state: minimized, if resizable.

pyray.normalize(value: float, start: float, end: float) float
-
+

.

+
pyray.open_url(url: str) None
-

Open URL with default system browser (if available)

+

Open URL with default system browser (if available).

pyray.pause_audio_stream(stream: AudioStream | list | tuple) None
-

Pause audio stream

+

Pause audio stream.

pyray.pause_music_stream(music: Music | list | tuple) None
-

Pause music playing

+

Pause music playing.

pyray.pause_sound(sound: Sound | list | tuple) None
-

Pause a sound

+

Pause a sound.

pyray.physics_add_force(body: Any | list | tuple, force: Vector2 | list | tuple) None
-

Adds a force to a physics body

+

Adds a force to a physics body.

pyray.physics_add_torque(body: Any | list | tuple, amount: float) None
-

Adds an angular force to a physics body

+

Adds an angular force to a physics body.

pyray.physics_shatter(body: Any | list | tuple, position: Vector2 | list | tuple, force: float) None
-

Shatters a polygon shape physics body to little physics bodies with explosion force

+

Shatters a polygon shape physics body to little physics bodies with explosion force.

pyray.play_audio_stream(stream: AudioStream | list | tuple) None
-

Play audio stream

+

Play audio stream.

pyray.play_automation_event(event: AutomationEvent | list | tuple) None
-

Play a recorded automation event

+

Play a recorded automation event.

pyray.play_music_stream(music: Music | list | tuple) None
-

Start music playing

+

Start music playing.

pyray.play_sound(sound: Sound | list | tuple) None
-

Play a sound

+

Play a sound.

pyray.poll_input_events() None
-

Register all input events

+

Register all input events.

pyray.quaternion_add(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.quaternion_add_value(q: Vector4 | list | tuple, add: float) Vector4
-
+

.

+
pyray.quaternion_cubic_hermite_spline(q1: Vector4 | list | tuple, outTangent1: Vector4 | list | tuple, q2: Vector4 | list | tuple, inTangent2: Vector4 | list | tuple, t: float) Vector4
-
+

.

+
pyray.quaternion_divide(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.quaternion_equals(p: Vector4 | list | tuple, q: Vector4 | list | tuple) int
-
+

.

+
pyray.quaternion_from_axis_angle(axis: Vector3 | list | tuple, angle: float) Vector4
-
+

.

+
pyray.quaternion_from_euler(pitch: float, yaw: float, roll: float) Vector4
-
+

.

+
pyray.quaternion_from_matrix(mat: Matrix | list | tuple) Vector4
-
+

.

+
pyray.quaternion_from_vector3_to_vector3(from_0: Vector3 | list | tuple, to: Vector3 | list | tuple) Vector4
-
+

.

+
pyray.quaternion_identity() Vector4
-
+

.

+
pyray.quaternion_invert(q: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.quaternion_length(q: Vector4 | list | tuple) float
-
+

.

+
pyray.quaternion_lerp(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
pyray.quaternion_multiply(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.quaternion_nlerp(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
pyray.quaternion_normalize(q: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.quaternion_scale(q: Vector4 | list | tuple, mul: float) Vector4
-
+

.

+
pyray.quaternion_slerp(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
pyray.quaternion_subtract(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.quaternion_subtract_value(q: Vector4 | list | tuple, sub: float) Vector4
-
+

.

+
pyray.quaternion_to_axis_angle(q: Vector4 | list | tuple, outAxis: Any | list | tuple, outAngle: Any) None
-
+

.

+
pyray.quaternion_to_euler(q: Vector4 | list | tuple) Vector3
-
+

.

+
pyray.quaternion_to_matrix(q: Vector4 | list | tuple) Matrix
-
+

.

+
pyray.quaternion_transform(q: Vector4 | list | tuple, mat: Matrix | list | tuple) Vector4
-
+

.

+
pyray.remap(value: float, inputStart: float, inputEnd: float, outputStart: float, outputEnd: float) float
-
+

.

+
pyray.reset_physics() None
-

Reset physics system (global variables)

+

Reset physics system (global variables).

pyray.restore_window() None
-

Set window state: not minimized/maximized

+

Set window state: not minimized/maximized.

pyray.resume_audio_stream(stream: AudioStream | list | tuple) None
-

Resume audio stream

+

Resume audio stream.

pyray.resume_music_stream(music: Music | list | tuple) None
-

Resume playing paused music

+

Resume playing paused music.

pyray.resume_sound(sound: Sound | list | tuple) None
-

Resume a paused sound

+

Resume a paused sound.

@@ -12180,1349 +12351,1351 @@
pyray.rl_active_draw_buffers(count: int) None
-

Activate multiple draw color buffers

+

Activate multiple draw color buffers.

pyray.rl_active_texture_slot(slot: int) None
-

Select and active a texture slot

+

Select and active a texture slot.

pyray.rl_begin(mode: int) None
-

Initialize drawing mode (how to organize vertex)

+

Initialize drawing mode (how to organize vertex).

pyray.rl_bind_framebuffer(target: int, framebuffer: int) None
-

Bind framebuffer (FBO)

+

Bind framebuffer (FBO).

pyray.rl_bind_image_texture(id: int, index: int, format: int, readonly: bool) None
-

Bind image texture

+

Bind image texture.

pyray.rl_bind_shader_buffer(id: int, index: int) None
-

Bind SSBO buffer

+

Bind SSBO buffer.

pyray.rl_blit_framebuffer(srcX: int, srcY: int, srcWidth: int, srcHeight: int, dstX: int, dstY: int, dstWidth: int, dstHeight: int, bufferMask: int) None
-

Blit active framebuffer to main framebuffer

+

Blit active framebuffer to main framebuffer.

pyray.rl_check_errors() None
-

Check and log OpenGL error codes

+

Check and log OpenGL error codes.

pyray.rl_check_render_batch_limit(vCount: int) bool
-

Check internal buffer overflow for a given number of vertex

+

Check internal buffer overflow for a given number of vertex.

pyray.rl_clear_color(r: int, g: int, b: int, a: int) None
-

Clear color buffer with color

+

Clear color buffer with color.

pyray.rl_clear_screen_buffers() None
-

Clear used screen buffers (color and depth)

+

Clear used screen buffers (color and depth).

pyray.rl_color3f(x: float, y: float, z: float) None
-

Define one vertex (color) - 3 float

+

Define one vertex (color) - 3 float.

pyray.rl_color4f(x: float, y: float, z: float, w: float) None
-

Define one vertex (color) - 4 float

+

Define one vertex (color) - 4 float.

pyray.rl_color4ub(r: int, g: int, b: int, a: int) None
-

Define one vertex (color) - 4 byte

+

Define one vertex (color) - 4 byte.

pyray.rl_color_mask(r: bool, g: bool, b: bool, a: bool) None
-

Color mask control

+

Color mask control.

pyray.rl_compile_shader(shaderCode: str, type: int) int
-

Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)

+

Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER).

pyray.rl_compute_shader_dispatch(groupX: int, groupY: int, groupZ: int) None
-

Dispatch compute shader (equivalent to draw for graphics pipeline)

+

Dispatch compute shader (equivalent to draw for graphics pipeline).

pyray.rl_copy_shader_buffer(destId: int, srcId: int, destOffset: int, srcOffset: int, count: int) None
-

Copy SSBO data between buffers

+

Copy SSBO data between buffers.

pyray.rl_cubemap_parameters(id: int, param: int, value: int) None
-

Set cubemap parameters (filter, wrap)

+

Set cubemap parameters (filter, wrap).

pyray.rl_disable_backface_culling() None
-

Disable backface culling

+

Disable backface culling.

pyray.rl_disable_color_blend() None
-

Disable color blending

+

Disable color blending.

pyray.rl_disable_depth_mask() None
-

Disable depth write

+

Disable depth write.

pyray.rl_disable_depth_test() None
-

Disable depth test

+

Disable depth test.

pyray.rl_disable_framebuffer() None
-

Disable render texture (fbo), return to default framebuffer

+

Disable render texture (fbo), return to default framebuffer.

pyray.rl_disable_scissor_test() None
-

Disable scissor test

+

Disable scissor test.

pyray.rl_disable_shader() None
-

Disable shader program

+

Disable shader program.

pyray.rl_disable_smooth_lines() None
-

Disable line aliasing

+

Disable line aliasing.

pyray.rl_disable_stereo_render() None
-

Disable stereo rendering

+

Disable stereo rendering.

pyray.rl_disable_texture() None
-

Disable texture

+

Disable texture.

pyray.rl_disable_texture_cubemap() None
-

Disable texture cubemap

+

Disable texture cubemap.

pyray.rl_disable_vertex_array() None
-

Disable vertex array (VAO, if supported)

+

Disable vertex array (VAO, if supported).

pyray.rl_disable_vertex_attribute(index: int) None
-

Disable vertex attribute index

+

Disable vertex attribute index.

pyray.rl_disable_vertex_buffer() None
-

Disable vertex buffer (VBO)

+

Disable vertex buffer (VBO).

pyray.rl_disable_vertex_buffer_element() None
-

Disable vertex buffer element (VBO element)

+

Disable vertex buffer element (VBO element).

pyray.rl_disable_wire_mode() None
-

Disable wire (and point) mode

+

Disable wire (and point) mode.

pyray.rl_draw_render_batch(batch: Any | list | tuple) None
-

Draw render batch data (Update->Draw->Reset)

+

Draw render batch data (Update->Draw->Reset).

pyray.rl_draw_render_batch_active() None
-

Update and draw internal render batch

+

Update and draw internal render batch.

pyray.rl_draw_vertex_array(offset: int, count: int) None
-

Draw vertex array (currently active vao)

+

Draw vertex array (currently active vao).

pyray.rl_draw_vertex_array_elements(offset: int, count: int, buffer: Any) None
-

Draw vertex array elements

+

Draw vertex array elements.

pyray.rl_draw_vertex_array_elements_instanced(offset: int, count: int, buffer: Any, instances: int) None
-

Draw vertex array elements with instancing

+

Draw vertex array elements with instancing.

pyray.rl_draw_vertex_array_instanced(offset: int, count: int, instances: int) None
-

Draw vertex array (currently active vao) with instancing

+

Draw vertex array (currently active vao) with instancing.

pyray.rl_enable_backface_culling() None
-

Enable backface culling

+

Enable backface culling.

pyray.rl_enable_color_blend() None
-

Enable color blending

+

Enable color blending.

pyray.rl_enable_depth_mask() None
-

Enable depth write

+

Enable depth write.

pyray.rl_enable_depth_test() None
-

Enable depth test

+

Enable depth test.

pyray.rl_enable_framebuffer(id: int) None
-

Enable render texture (fbo)

+

Enable render texture (fbo).

pyray.rl_enable_point_mode() None
-

Enable point mode

+

Enable point mode.

pyray.rl_enable_scissor_test() None
-

Enable scissor test

+

Enable scissor test.

pyray.rl_enable_shader(id: int) None
-

Enable shader program

+

Enable shader program.

pyray.rl_enable_smooth_lines() None
-

Enable line aliasing

+

Enable line aliasing.

pyray.rl_enable_stereo_render() None
-

Enable stereo rendering

+

Enable stereo rendering.

pyray.rl_enable_texture(id: int) None
-

Enable texture

+

Enable texture.

pyray.rl_enable_texture_cubemap(id: int) None
-

Enable texture cubemap

+

Enable texture cubemap.

pyray.rl_enable_vertex_array(vaoId: int) bool
-

Enable vertex array (VAO, if supported)

+

Enable vertex array (VAO, if supported).

pyray.rl_enable_vertex_attribute(index: int) None
-

Enable vertex attribute index

+

Enable vertex attribute index.

pyray.rl_enable_vertex_buffer(id: int) None
-

Enable vertex buffer (VBO)

+

Enable vertex buffer (VBO).

pyray.rl_enable_vertex_buffer_element(id: int) None
-

Enable vertex buffer element (VBO element)

+

Enable vertex buffer element (VBO element).

pyray.rl_enable_wire_mode() None
-

Enable wire mode

+

Enable wire mode.

pyray.rl_end() None
-

Finish vertex providing

+

Finish vertex providing.

pyray.rl_framebuffer_attach(fboId: int, texId: int, attachType: int, texType: int, mipLevel: int) None
-

Attach texture/renderbuffer to a framebuffer

+

Attach texture/renderbuffer to a framebuffer.

pyray.rl_framebuffer_complete(id: int) bool
-

Verify framebuffer is complete

+

Verify framebuffer is complete.

pyray.rl_frustum(left: float, right: float, bottom: float, top: float, znear: float, zfar: float) None
-
+

.

+
pyray.rl_gen_texture_mipmaps(id: int, width: int, height: int, format: int, mipmaps: Any) None
-

Generate mipmap data for selected texture

+

Generate mipmap data for selected texture.

pyray.rl_get_active_framebuffer() int
-

Get the currently active render texture (fbo), 0 for default framebuffer

+

Get the currently active render texture (fbo), 0 for default framebuffer.

pyray.rl_get_cull_distance_far() float
-

Get cull plane distance far

+

Get cull plane distance far.

pyray.rl_get_cull_distance_near() float
-

Get cull plane distance near

+

Get cull plane distance near.

pyray.rl_get_framebuffer_height() int
-

Get default framebuffer height

+

Get default framebuffer height.

pyray.rl_get_framebuffer_width() int
-

Get default framebuffer width

+

Get default framebuffer width.

pyray.rl_get_gl_texture_formats(format: int, glInternalFormat: Any, glFormat: Any, glType: Any) None
-

Get OpenGL internal formats

+

Get OpenGL internal formats.

pyray.rl_get_line_width() float
-

Get the line drawing width

+

Get the line drawing width.

pyray.rl_get_location_attrib(shaderId: int, attribName: str) int
-

Get shader location attribute

+

Get shader location attribute.

pyray.rl_get_location_uniform(shaderId: int, uniformName: str) int
-

Get shader location uniform

+

Get shader location uniform.

pyray.rl_get_matrix_modelview() Matrix
-

Get internal modelview matrix

+

Get internal modelview matrix.

pyray.rl_get_matrix_projection() Matrix
-

Get internal projection matrix

+

Get internal projection matrix.

pyray.rl_get_matrix_projection_stereo(eye: int) Matrix
-

Get internal projection matrix for stereo render (selected eye)

+

Get internal projection matrix for stereo render (selected eye).

pyray.rl_get_matrix_transform() Matrix
-

Get internal accumulated transform matrix

+

Get internal accumulated transform matrix.

pyray.rl_get_matrix_view_offset_stereo(eye: int) Matrix
-

Get internal view offset matrix for stereo render (selected eye)

+

Get internal view offset matrix for stereo render (selected eye).

pyray.rl_get_pixel_format_name(format: int) str
-

Get name string for pixel format

+

Get name string for pixel format.

pyray.rl_get_shader_buffer_size(id: int) int
-

Get SSBO buffer size

+

Get SSBO buffer size.

pyray.rl_get_shader_id_default() int
-

Get default shader id

+

Get default shader id.

pyray.rl_get_shader_locs_default() Any
-

Get default shader locations

+

Get default shader locations.

pyray.rl_get_texture_id_default() int
-

Get default texture id

+

Get default texture id.

pyray.rl_get_version() int
-

Get current OpenGL version

+

Get current OpenGL version.

pyray.rl_is_stereo_render_enabled() bool
-

Check if stereo render is enabled

+

Check if stereo render is enabled.

pyray.rl_load_compute_shader_program(shaderId: int) int
-

Load compute shader program

+

Load compute shader program.

pyray.rl_load_draw_cube() None
-

Load and draw a cube

+

Load and draw a cube.

pyray.rl_load_draw_quad() None
-

Load and draw a quad

+

Load and draw a quad.

pyray.rl_load_extensions(loader: Any) None
-

Load OpenGL extensions (loader function required)

+

Load OpenGL extensions (loader function required).

pyray.rl_load_framebuffer() int
-

Load an empty framebuffer

+

Load an empty framebuffer.

pyray.rl_load_identity() None
-

Reset current matrix to identity matrix

+

Reset current matrix to identity matrix.

pyray.rl_load_render_batch(numBuffers: int, bufferElements: int) rlRenderBatch
-

Load a render batch system

+

Load a render batch system.

pyray.rl_load_shader_buffer(size: int, data: Any, usageHint: int) int
-

Load shader storage buffer object (SSBO)

+

Load shader storage buffer object (SSBO).

pyray.rl_load_shader_code(vsCode: str, fsCode: str) int
-

Load shader from code strings

+

Load shader from code strings.

pyray.rl_load_shader_program(vShaderId: int, fShaderId: int) int
-

Load custom shader program

+

Load custom shader program.

pyray.rl_load_texture(data: Any, width: int, height: int, format: int, mipmapCount: int) int
-

Load texture data

+

Load texture data.

pyray.rl_load_texture_cubemap(data: Any, size: int, format: int, mipmapCount: int) int
-

Load texture cubemap data

+

Load texture cubemap data.

pyray.rl_load_texture_depth(width: int, height: int, useRenderBuffer: bool) int
-

Load depth texture/renderbuffer (to be attached to fbo)

+

Load depth texture/renderbuffer (to be attached to fbo).

pyray.rl_load_vertex_array() int
-

Load vertex array (vao) if supported

+

Load vertex array (vao) if supported.

pyray.rl_load_vertex_buffer(buffer: Any, size: int, dynamic: bool) int
-

Load a vertex buffer object

+

Load a vertex buffer object.

pyray.rl_load_vertex_buffer_element(buffer: Any, size: int, dynamic: bool) int
-

Load vertex buffer elements object

+

Load vertex buffer elements object.

pyray.rl_matrix_mode(mode: int) None
-

Choose the current matrix to be transformed

+

Choose the current matrix to be transformed.

pyray.rl_mult_matrixf(matf: Any) None
-

Multiply the current matrix by another matrix

+

Multiply the current matrix by another matrix.

pyray.rl_normal3f(x: float, y: float, z: float) None
-

Define one vertex (normal) - 3 float

+

Define one vertex (normal) - 3 float.

pyray.rl_ortho(left: float, right: float, bottom: float, top: float, znear: float, zfar: float) None
-
+

.

+
pyray.rl_pop_matrix() None
-

Pop latest inserted matrix from stack

+

Pop latest inserted matrix from stack.

pyray.rl_push_matrix() None
-

Push the current matrix to stack

+

Push the current matrix to stack.

pyray.rl_read_screen_pixels(width: int, height: int) str
-

Read screen pixel data (color buffer)

+

Read screen pixel data (color buffer).

pyray.rl_read_shader_buffer(id: int, dest: Any, count: int, offset: int) None
-

Read SSBO buffer data (GPU->CPU)

+

Read SSBO buffer data (GPU->CPU).

pyray.rl_read_texture_pixels(id: int, width: int, height: int, format: int) Any
-

Read texture pixel data

+

Read texture pixel data.

pyray.rl_rotatef(angle: float, x: float, y: float, z: float) None
-

Multiply the current matrix by a rotation matrix

+

Multiply the current matrix by a rotation matrix.

pyray.rl_scalef(x: float, y: float, z: float) None
-

Multiply the current matrix by a scaling matrix

+

Multiply the current matrix by a scaling matrix.

pyray.rl_scissor(x: int, y: int, width: int, height: int) None
-

Scissor test

+

Scissor test.

pyray.rl_set_blend_factors(glSrcFactor: int, glDstFactor: int, glEquation: int) None
-

Set blending mode factor and equation (using OpenGL factors)

+

Set blending mode factor and equation (using OpenGL factors).

pyray.rl_set_blend_factors_separate(glSrcRGB: int, glDstRGB: int, glSrcAlpha: int, glDstAlpha: int, glEqRGB: int, glEqAlpha: int) None
-

Set blending mode factors and equations separately (using OpenGL factors)

+

Set blending mode factors and equations separately (using OpenGL factors).

pyray.rl_set_blend_mode(mode: int) None
-

Set blending mode

+

Set blending mode.

pyray.rl_set_clip_planes(nearPlane: float, farPlane: float) None
-

Set clip planes distances

+

Set clip planes distances.

pyray.rl_set_cull_face(mode: int) None
-

Set face culling mode

+

Set face culling mode.

pyray.rl_set_framebuffer_height(height: int) None
-

Set current framebuffer height

+

Set current framebuffer height.

pyray.rl_set_framebuffer_width(width: int) None
-

Set current framebuffer width

+

Set current framebuffer width.

pyray.rl_set_line_width(width: float) None
-

Set the line drawing width

+

Set the line drawing width.

pyray.rl_set_matrix_modelview(view: Matrix | list | tuple) None
-

Set a custom modelview matrix (replaces internal modelview matrix)

+

Set a custom modelview matrix (replaces internal modelview matrix).

pyray.rl_set_matrix_projection(proj: Matrix | list | tuple) None
-

Set a custom projection matrix (replaces internal projection matrix)

+

Set a custom projection matrix (replaces internal projection matrix).

pyray.rl_set_matrix_projection_stereo(right: Matrix | list | tuple, left: Matrix | list | tuple) None
-

Set eyes projection matrices for stereo rendering

+

Set eyes projection matrices for stereo rendering.

pyray.rl_set_matrix_view_offset_stereo(right: Matrix | list | tuple, left: Matrix | list | tuple) None
-

Set eyes view offsets matrices for stereo rendering

+

Set eyes view offsets matrices for stereo rendering.

pyray.rl_set_render_batch_active(batch: Any | list | tuple) None
-

Set the active render batch for rlgl (NULL for default internal)

+

Set the active render batch for rlgl (NULL for default internal).

pyray.rl_set_shader(id: int, locs: Any) None
-

Set shader currently active (id and locations)

+

Set shader currently active (id and locations).

pyray.rl_set_texture(id: int) None
-

Set current texture for render batch and check buffers limits

+

Set current texture for render batch and check buffers limits.

pyray.rl_set_uniform(locIndex: int, value: Any, uniformType: int, count: int) None
-

Set shader value uniform

+

Set shader value uniform.

pyray.rl_set_uniform_matrices(locIndex: int, mat: Any | list | tuple, count: int) None
-

Set shader value matrices

+

Set shader value matrices.

pyray.rl_set_uniform_matrix(locIndex: int, mat: Matrix | list | tuple) None
-

Set shader value matrix

+

Set shader value matrix.

pyray.rl_set_uniform_sampler(locIndex: int, textureId: int) None
-

Set shader value sampler

+

Set shader value sampler.

pyray.rl_set_vertex_attribute(index: int, compSize: int, type: int, normalized: bool, stride: int, offset: int) None
-

Set vertex attribute data configuration

+

Set vertex attribute data configuration.

pyray.rl_set_vertex_attribute_default(locIndex: int, value: Any, attribType: int, count: int) None
-

Set vertex attribute default value, when attribute to provided

+

Set vertex attribute default value, when attribute to provided.

pyray.rl_set_vertex_attribute_divisor(index: int, divisor: int) None
-

Set vertex attribute data divisor

+

Set vertex attribute data divisor.

pyray.rl_tex_coord2f(x: float, y: float) None
-

Define one vertex (texture coordinate) - 2 float

+

Define one vertex (texture coordinate) - 2 float.

pyray.rl_texture_parameters(id: int, param: int, value: int) None
-

Set texture parameters (filter, wrap)

+

Set texture parameters (filter, wrap).

pyray.rl_translatef(x: float, y: float, z: float) None
-

Multiply the current matrix by a translation matrix

+

Multiply the current matrix by a translation matrix.

pyray.rl_unload_framebuffer(id: int) None
-

Delete framebuffer from GPU

+

Delete framebuffer from GPU.

pyray.rl_unload_render_batch(batch: rlRenderBatch | list | tuple) None
-

Unload render batch system

+

Unload render batch system.

pyray.rl_unload_shader_buffer(ssboId: int) None
-

Unload shader storage buffer object (SSBO)

+

Unload shader storage buffer object (SSBO).

pyray.rl_unload_shader_program(id: int) None
-

Unload shader program

+

Unload shader program.

pyray.rl_unload_texture(id: int) None
-

Unload texture from GPU memory

+

Unload texture from GPU memory.

pyray.rl_unload_vertex_array(vaoId: int) None
-

Unload vertex array (vao)

+

Unload vertex array (vao).

pyray.rl_unload_vertex_buffer(vboId: int) None
-

Unload vertex buffer object

+

Unload vertex buffer object.

pyray.rl_update_shader_buffer(id: int, data: Any, dataSize: int, offset: int) None
-

Update SSBO buffer data

+

Update SSBO buffer data.

pyray.rl_update_texture(id: int, offsetX: int, offsetY: int, width: int, height: int, format: int, data: Any) None
-

Update texture with new data on GPU

+

Update texture with new data on GPU.

pyray.rl_update_vertex_buffer(bufferId: int, data: Any, dataSize: int, offset: int) None
-

Update vertex buffer object data on GPU buffer

+

Update vertex buffer object data on GPU buffer.

pyray.rl_update_vertex_buffer_elements(id: int, data: Any, dataSize: int, offset: int) None
-

Update vertex buffer elements data on GPU buffer

+

Update vertex buffer elements data on GPU buffer.

pyray.rl_vertex2f(x: float, y: float) None
-

Define one vertex (position) - 2 float

+

Define one vertex (position) - 2 float.

pyray.rl_vertex2i(x: int, y: int) None
-

Define one vertex (position) - 2 int

+

Define one vertex (position) - 2 int.

pyray.rl_vertex3f(x: float, y: float, z: float) None
-

Define one vertex (position) - 3 float

+

Define one vertex (position) - 3 float.

pyray.rl_viewport(x: int, y: int, width: int, height: int) None
-

Set the viewport area

+

Set the viewport area.

pyray.rlgl_close() None
-

De-initialize rlgl (buffers, shaders, textures)

+

De-initialize rlgl (buffers, shaders, textures).

pyray.rlgl_init(width: int, height: int) None
-

Initialize rlgl (buffers, shaders, textures, states)

+

Initialize rlgl (buffers, shaders, textures, states).

pyray.save_file_data(fileName: str, data: Any, dataSize: int) bool
-

Save data to file from byte array (write), returns true on success

+

Save data to file from byte array (write), returns true on success.

pyray.save_file_text(fileName: str, text: str) bool
-

Save text data to file (write), string must be ‘' terminated, returns true on success

+

Save text data to file (write), string must be ‘' terminated, returns true on success.

pyray.seek_music_stream(music: Music | list | tuple, position: float) None
-

Seek music to a position (in seconds)

+

Seek music to a position (in seconds).

pyray.set_audio_stream_buffer_size_default(size: int) None
-

Default size for new audio streams

+

Default size for new audio streams.

pyray.set_audio_stream_callback(stream: AudioStream | list | tuple, callback: Any) None
-

Audio thread callback to request new data

+

Audio thread callback to request new data.

pyray.set_audio_stream_pan(stream: AudioStream | list | tuple, pan: float) None
-

Set pan for audio stream (0.5 is centered)

+

Set pan for audio stream (0.5 is centered).

pyray.set_audio_stream_pitch(stream: AudioStream | list | tuple, pitch: float) None
-

Set pitch for audio stream (1.0 is base level)

+

Set pitch for audio stream (1.0 is base level).

pyray.set_audio_stream_volume(stream: AudioStream | list | tuple, volume: float) None
-

Set volume for audio stream (1.0 is max level)

+

Set volume for audio stream (1.0 is max level).

pyray.set_automation_event_base_frame(frame: int) None
-

Set automation event internal base frame to start recording

+

Set automation event internal base frame to start recording.

pyray.set_automation_event_list(list_0: Any | list | tuple) None
-

Set automation event list to record to

+

Set automation event list to record to.

pyray.set_clipboard_text(text: str) None
-

Set clipboard text content

+

Set clipboard text content.

pyray.set_config_flags(flags: int) None
-

Setup init configuration flags (view FLAGS)

+

Setup init configuration flags (view FLAGS).

pyray.set_exit_key(key: int) None
-

Set a custom key to exit program (default is ESC)

+

Set a custom key to exit program (default is ESC).

pyray.set_gamepad_mappings(mappings: str) int
-

Set internal gamepad mappings (SDL_GameControllerDB)

+

Set internal gamepad mappings (SDL_GameControllerDB).

pyray.set_gamepad_vibration(gamepad: int, leftMotor: float, rightMotor: float, duration: float) None
-

Set gamepad vibration for both motors (duration in seconds)

+

Set gamepad vibration for both motors (duration in seconds).

pyray.set_gestures_enabled(flags: int) None
-

Enable a set of gestures using flags

+

Enable a set of gestures using flags.

pyray.set_load_file_data_callback(callback: str) None
-

Set custom file binary data loader

+

Set custom file binary data loader.

pyray.set_load_file_text_callback(callback: str) None
-

Set custom file text data loader

+

Set custom file text data loader.

pyray.set_master_volume(volume: float) None
-

Set master volume (listener)

+

Set master volume (listener).

pyray.set_material_texture(material: Any | list | tuple, mapType: int, texture: Texture | list | tuple) None
-

Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…)

+

Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…).

pyray.set_model_mesh_material(model: Any | list | tuple, meshId: int, materialId: int) None
-

Set material for a mesh

+

Set material for a mesh.

pyray.set_mouse_cursor(cursor: int) None
-

Set mouse cursor

+

Set mouse cursor.

pyray.set_mouse_offset(offsetX: int, offsetY: int) None
-

Set mouse offset

+

Set mouse offset.

pyray.set_mouse_position(x: int, y: int) None
-

Set mouse position XY

+

Set mouse position XY.

pyray.set_mouse_scale(scaleX: float, scaleY: float) None
-

Set mouse scaling

+

Set mouse scaling.

pyray.set_music_pan(music: Music | list | tuple, pan: float) None
-

Set pan for a music (0.5 is center)

+

Set pan for a music (0.5 is center).

pyray.set_music_pitch(music: Music | list | tuple, pitch: float) None
-

Set pitch for a music (1.0 is base level)

+

Set pitch for a music (1.0 is base level).

pyray.set_music_volume(music: Music | list | tuple, volume: float) None
-

Set volume for music (1.0 is max level)

+

Set volume for music (1.0 is max level).

pyray.set_physics_body_rotation(body: Any | list | tuple, radians: float) None
-

Sets physics body shape transform based on radians parameter

+

Sets physics body shape transform based on radians parameter.

pyray.set_physics_gravity(x: float, y: float) None
-

Sets physics global gravity force

+

Sets physics global gravity force.

pyray.set_physics_time_step(delta: float) None
-

Sets physics fixed time step in milliseconds. 1.666666 by default

+

Sets physics fixed time step in milliseconds. 1.666666 by default.

pyray.set_pixel_color(dstPtr: Any, color: Color | list | tuple, format: int) None
-

Set color formatted into destination pixel pointer

+

Set color formatted into destination pixel pointer.

pyray.set_random_seed(seed: int) None
-

Set the seed for the random number generator

+

Set the seed for the random number generator.

pyray.set_save_file_data_callback(callback: str) None
-

Set custom file binary data saver

+

Set custom file binary data saver.

pyray.set_save_file_text_callback(callback: str) None
-

Set custom file text data saver

+

Set custom file text data saver.

pyray.set_shader_value(shader: Shader | list | tuple, locIndex: int, value: Any, uniformType: int) None
-

Set shader uniform value

+

Set shader uniform value.

pyray.set_shader_value_matrix(shader: Shader | list | tuple, locIndex: int, mat: Matrix | list | tuple) None
-

Set shader uniform value (matrix 4x4)

+

Set shader uniform value (matrix 4x4).

pyray.set_shader_value_texture(shader: Shader | list | tuple, locIndex: int, texture: Texture | list | tuple) None
-

Set shader uniform value for texture (sampler2d)

+

Set shader uniform value for texture (sampler2d).

pyray.set_shader_value_v(shader: Shader | list | tuple, locIndex: int, value: Any, uniformType: int, count: int) None
-

Set shader uniform value vector

+

Set shader uniform value vector.

pyray.set_shapes_texture(texture: Texture | list | tuple, source: Rectangle | list | tuple) None
-

Set texture and rectangle to be used on shapes drawing

+

Set texture and rectangle to be used on shapes drawing.

pyray.set_sound_pan(sound: Sound | list | tuple, pan: float) None
-

Set pan for a sound (0.5 is center)

+

Set pan for a sound (0.5 is center).

pyray.set_sound_pitch(sound: Sound | list | tuple, pitch: float) None
-

Set pitch for a sound (1.0 is base level)

+

Set pitch for a sound (1.0 is base level).

pyray.set_sound_volume(sound: Sound | list | tuple, volume: float) None
-

Set volume for a sound (1.0 is max level)

+

Set volume for a sound (1.0 is max level).

pyray.set_target_fps(fps: int) None
-

Set target FPS (maximum)

+

Set target FPS (maximum).

pyray.set_text_line_spacing(spacing: int) None
-

Set vertical line spacing when drawing with line-breaks

+

Set vertical line spacing when drawing with line-breaks.

pyray.set_texture_filter(texture: Texture | list | tuple, filter: int) None
-

Set texture scaling filter mode

+

Set texture scaling filter mode.

pyray.set_texture_wrap(texture: Texture | list | tuple, wrap: int) None
-

Set texture wrapping mode

+

Set texture wrapping mode.

pyray.set_trace_log_callback(callback: str) None
-

Set custom trace log

+

Set custom trace log.

pyray.set_trace_log_level(logLevel: int) None
-

Set the current threshold (minimum) log level

+

Set the current threshold (minimum) log level.

pyray.set_window_focused() None
-

Set window focused

+

Set window focused.

pyray.set_window_icon(image: Image | list | tuple) None
-

Set icon for window (single image, RGBA 32bit)

+

Set icon for window (single image, RGBA 32bit).

pyray.set_window_icons(images: Any | list | tuple, count: int) None
-

Set icon for window (multiple images, RGBA 32bit)

+

Set icon for window (multiple images, RGBA 32bit).

pyray.set_window_max_size(width: int, height: int) None
-

Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)

+

Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE).

pyray.set_window_min_size(width: int, height: int) None
-

Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)

+

Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE).

pyray.set_window_monitor(monitor: int) None
-

Set monitor for the current window

+

Set monitor for the current window.

pyray.set_window_opacity(opacity: float) None
-

Set window opacity [0.0f..1.0f]

+

Set window opacity [0.0f..1.0f].

pyray.set_window_position(x: int, y: int) None
-

Set window position on screen

+

Set window position on screen.

pyray.set_window_size(width: int, height: int) None
-

Set window dimensions

+

Set window dimensions.

pyray.set_window_state(flags: int) None
-

Set window configuration state using flags

+

Set window configuration state using flags.

pyray.set_window_title(title: str) None
-

Set title for window

+

Set title for window.

pyray.show_cursor() None
-

Shows cursor

+

Shows cursor.

pyray.start_automation_event_recording() None
-

Start recording automation events (AutomationEventList must be set)

+

Start recording automation events (AutomationEventList must be set).

pyray.stop_audio_stream(stream: AudioStream | list | tuple) None
-

Stop audio stream

+

Stop audio stream.

pyray.stop_automation_event_recording() None
-

Stop recording automation events

+

Stop recording automation events.

pyray.stop_music_stream(music: Music | list | tuple) None
-

Stop music playing

+

Stop music playing.

pyray.stop_sound(sound: Sound | list | tuple) None
-

Stop playing a sound

+

Stop playing a sound.

pyray.swap_screen_buffer() None
-

Swap back buffer with front buffer (screen drawing)

+

Swap back buffer with front buffer (screen drawing).

pyray.take_screenshot(fileName: str) None
-

Takes a screenshot of current screen (filename extension defines format)

+

Takes a screenshot of current screen (filename extension defines format).

pyray.text_append(text: str, append: str, position: Any) None
-

Append text at specific position and move cursor!

+

Append text at specific position and move cursor!.

pyray.text_copy(dst: str, src: str) int
-

Copy one string to another, returns bytes copied

+

Copy one string to another, returns bytes copied.

pyray.text_find_index(text: str, find: str) int
-

Find first text occurrence within a string

+

Find first text occurrence within a string.

@@ -13534,97 +13707,97 @@
pyray.text_insert(text: str, insert: str, position: int) str
-

Insert text in a position (WARNING: memory must be freed!)

+

Insert text in a position (WARNING: memory must be freed!).

pyray.text_is_equal(text1: str, text2: str) bool
-

Check if two text string are equal

+

Check if two text string are equal.

pyray.text_join(textList: list[str], count: int, delimiter: str) str
-

Join text strings with delimiter

+

Join text strings with delimiter.

pyray.text_length(text: str) int
-

Get text length, checks for ‘' ending

+

Get text length, checks for ‘' ending.

pyray.text_replace(text: str, replace: str, by: str) str
-

Replace text string (WARNING: memory must be freed!)

+

Replace text string (WARNING: memory must be freed!).

pyray.text_split(text: str, delimiter: str, count: Any) list[str]
-

Split text into multiple strings

+

Split text into multiple strings.

pyray.text_subtext(text: str, position: int, length: int) str
-

Get a piece of a text string

+

Get a piece of a text string.

pyray.text_to_camel(text: str) str
-

Get Camel case notation version of provided string

+

Get Camel case notation version of provided string.

pyray.text_to_float(text: str) float
-

Get float value from text (negative values not supported)

+

Get float value from text (negative values not supported).

pyray.text_to_integer(text: str) int
-

Get integer value from text (negative values not supported)

+

Get integer value from text (negative values not supported).

pyray.text_to_lower(text: str) str
-

Get lower case version of provided string

+

Get lower case version of provided string.

pyray.text_to_pascal(text: str) str
-

Get Pascal case notation version of provided string

+

Get Pascal case notation version of provided string.

pyray.text_to_snake(text: str) str
-

Get Snake case notation version of provided string

+

Get Snake case notation version of provided string.

pyray.text_to_upper(text: str) str
-

Get upper case version of provided string

+

Get upper case version of provided string.

pyray.toggle_borderless_windowed() None
-

Toggle window state: borderless windowed, resizes window to match monitor resolution

+

Toggle window state: borderless windowed, resizes window to match monitor resolution.

pyray.toggle_fullscreen() None
-

Toggle window state: fullscreen/windowed, resizes monitor to match window resolution

+

Toggle window state: fullscreen/windowed, resizes monitor to match window resolution.

@@ -13636,732 +13809,824 @@
pyray.unload_audio_stream(stream: AudioStream | list | tuple) None
-

Unload audio stream and free memory

+

Unload audio stream and free memory.

pyray.unload_automation_event_list(list_0: AutomationEventList | list | tuple) None
-

Unload automation events list from file

+

Unload automation events list from file.

pyray.unload_codepoints(codepoints: Any) None
-

Unload codepoints data from memory

+

Unload codepoints data from memory.

pyray.unload_directory_files(files: FilePathList | list | tuple) None
-

Unload filepaths

+

Unload filepaths.

pyray.unload_dropped_files(files: FilePathList | list | tuple) None
-

Unload dropped filepaths

+

Unload dropped filepaths.

pyray.unload_file_data(data: str) None
-

Unload file data allocated by LoadFileData()

+

Unload file data allocated by LoadFileData().

pyray.unload_file_text(text: str) None
-

Unload file text data allocated by LoadFileText()

+

Unload file text data allocated by LoadFileText().

pyray.unload_font(font: Font | list | tuple) None
-

Unload font from GPU memory (VRAM)

+

Unload font from GPU memory (VRAM).

pyray.unload_font_data(glyphs: Any | list | tuple, glyphCount: int) None
-

Unload font chars info data (RAM)

+

Unload font chars info data (RAM).

pyray.unload_image(image: Image | list | tuple) None
-

Unload image from CPU memory (RAM)

+

Unload image from CPU memory (RAM).

pyray.unload_image_colors(colors: Any | list | tuple) None
-

Unload color data loaded with LoadImageColors()

+

Unload color data loaded with LoadImageColors().

pyray.unload_image_palette(colors: Any | list | tuple) None
-

Unload colors palette loaded with LoadImagePalette()

+

Unload colors palette loaded with LoadImagePalette().

pyray.unload_material(material: Material | list | tuple) None
-

Unload material from GPU memory (VRAM)

+

Unload material from GPU memory (VRAM).

pyray.unload_mesh(mesh: Mesh | list | tuple) None
-

Unload mesh data from CPU and GPU

+

Unload mesh data from CPU and GPU.

pyray.unload_model(model: Model | list | tuple) None
-

Unload model (including meshes) from memory (RAM and/or VRAM)

+

Unload model (including meshes) from memory (RAM and/or VRAM).

pyray.unload_model_animation(anim: ModelAnimation | list | tuple) None
-

Unload animation data

+

Unload animation data.

pyray.unload_model_animations(animations: Any | list | tuple, animCount: int) None
-

Unload animation array data

+

Unload animation array data.

pyray.unload_music_stream(music: Music | list | tuple) None
-

Unload music stream

+

Unload music stream.

pyray.unload_random_sequence(sequence: Any) None
-

Unload random values sequence

+

Unload random values sequence.

pyray.unload_render_texture(target: RenderTexture | list | tuple) None
-

Unload render texture from GPU memory (VRAM)

+

Unload render texture from GPU memory (VRAM).

pyray.unload_shader(shader: Shader | list | tuple) None
-

Unload shader from GPU memory (VRAM)

+

Unload shader from GPU memory (VRAM).

pyray.unload_sound(sound: Sound | list | tuple) None
-

Unload sound

+

Unload sound.

pyray.unload_sound_alias(alias: Sound | list | tuple) None
-

Unload a sound alias (does not deallocate sample data)

+

Unload a sound alias (does not deallocate sample data).

pyray.unload_texture(texture: Texture | list | tuple) None
-

Unload texture from GPU memory (VRAM)

+

Unload texture from GPU memory (VRAM).

pyray.unload_utf8(text: str) None
-

Unload UTF-8 text encoded from codepoints array

+

Unload UTF-8 text encoded from codepoints array.

pyray.unload_vr_stereo_config(config: VrStereoConfig | list | tuple) None
-

Unload VR stereo config

+

Unload VR stereo config.

pyray.unload_wave(wave: Wave | list | tuple) None
-

Unload wave data

+

Unload wave data.

pyray.unload_wave_samples(samples: Any) None
-

Unload samples data loaded with LoadWaveSamples()

+

Unload samples data loaded with LoadWaveSamples().

pyray.update_audio_stream(stream: AudioStream | list | tuple, data: Any, frameCount: int) None
-

Update audio stream buffers with data

+

Update audio stream buffers with data.

pyray.update_camera(camera: Any | list | tuple, mode: int) None
-

Update camera position for selected mode

+

Update camera position for selected mode.

pyray.update_camera_pro(camera: Any | list | tuple, movement: Vector3 | list | tuple, rotation: Vector3 | list | tuple, zoom: float) None
-

Update camera movement/rotation

+

Update camera movement/rotation.

pyray.update_mesh_buffer(mesh: Mesh | list | tuple, index: int, data: Any, dataSize: int, offset: int) None
-

Update mesh vertex data in GPU for a specific buffer index

+

Update mesh vertex data in GPU for a specific buffer index.

pyray.update_model_animation(model: Model | list | tuple, anim: ModelAnimation | list | tuple, frame: int) None
-

Update model animation pose (CPU)

+

Update model animation pose (CPU).

pyray.update_model_animation_bones(model: Model | list | tuple, anim: ModelAnimation | list | tuple, frame: int) None
-

Update model animation mesh bone matrices (GPU skinning)

+

Update model animation mesh bone matrices (GPU skinning).

pyray.update_music_stream(music: Music | list | tuple) None
-

Updates buffers for music streaming

+

Updates buffers for music streaming.

pyray.update_physics() None
-

Update physics system

+

Update physics system.

pyray.update_sound(sound: Sound | list | tuple, data: Any, sampleCount: int) None
-

Update sound buffer with new data

+

Update sound buffer with new data.

pyray.update_texture(texture: Texture | list | tuple, pixels: Any) None
-

Update GPU texture with new data

+

Update GPU texture with new data.

pyray.update_texture_rec(texture: Texture | list | tuple, rec: Rectangle | list | tuple, pixels: Any) None
-

Update GPU texture rectangle with new data

+

Update GPU texture rectangle with new data.

pyray.upload_mesh(mesh: Any | list | tuple, dynamic: bool) None
-

Upload mesh vertex data in GPU and provide VAO/VBO ids

+

Upload mesh vertex data in GPU and provide VAO/VBO ids.

pyray.vector2_add(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_add_value(v: Vector2 | list | tuple, add: float) Vector2
-
+

.

+
pyray.vector2_angle(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
pyray.vector2_clamp(v: Vector2 | list | tuple, min_1: Vector2 | list | tuple, max_2: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_clamp_value(v: Vector2 | list | tuple, min_1: float, max_2: float) Vector2
-
+

.

+
pyray.vector2_distance(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
pyray.vector2_distance_sqr(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
pyray.vector2_divide(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_dot_product(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
pyray.vector2_equals(p: Vector2 | list | tuple, q: Vector2 | list | tuple) int
-
+

.

+
pyray.vector2_invert(v: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_length(v: Vector2 | list | tuple) float
-
+

.

+
pyray.vector2_length_sqr(v: Vector2 | list | tuple) float
-
+

.

+
pyray.vector2_lerp(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, amount: float) Vector2
-
+

.

+
pyray.vector2_line_angle(start: Vector2 | list | tuple, end: Vector2 | list | tuple) float
-
+

.

+
pyray.vector2_max(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_min(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_move_towards(v: Vector2 | list | tuple, target: Vector2 | list | tuple, maxDistance: float) Vector2
-
+

.

+
pyray.vector2_multiply(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_negate(v: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_normalize(v: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_one() Vector2
-
+

.

+
pyray.vector2_reflect(v: Vector2 | list | tuple, normal: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_refract(v: Vector2 | list | tuple, n: Vector2 | list | tuple, r: float) Vector2
-
+

.

+
pyray.vector2_rotate(v: Vector2 | list | tuple, angle: float) Vector2
-
+

.

+
pyray.vector2_scale(v: Vector2 | list | tuple, scale: float) Vector2
-
+

.

+
pyray.vector2_subtract(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
pyray.vector2_subtract_value(v: Vector2 | list | tuple, sub: float) Vector2
-
+

.

+
pyray.vector2_transform(v: Vector2 | list | tuple, mat: Matrix | list | tuple) Vector2
-
+

.

+
pyray.vector2_zero() Vector2
-
+

.

+
pyray.vector3_add(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_add_value(v: Vector3 | list | tuple, add: float) Vector3
-
+

.

+
pyray.vector3_angle(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
pyray.vector3_barycenter(p: Vector3 | list | tuple, a: Vector3 | list | tuple, b: Vector3 | list | tuple, c: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_clamp(v: Vector3 | list | tuple, min_1: Vector3 | list | tuple, max_2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_clamp_value(v: Vector3 | list | tuple, min_1: float, max_2: float) Vector3
-
+

.

+
pyray.vector3_cross_product(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_cubic_hermite(v1: Vector3 | list | tuple, tangent1: Vector3 | list | tuple, v2: Vector3 | list | tuple, tangent2: Vector3 | list | tuple, amount: float) Vector3
-
+

.

+
pyray.vector3_distance(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
pyray.vector3_distance_sqr(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
pyray.vector3_divide(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_dot_product(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
pyray.vector3_equals(p: Vector3 | list | tuple, q: Vector3 | list | tuple) int
-
+

.

+
pyray.vector3_invert(v: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_length(v: Vector3 | list | tuple) float
-
+

.

+
pyray.vector3_length_sqr(v: Vector3 | list | tuple) float
-
+

.

+
pyray.vector3_lerp(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple, amount: float) Vector3
-
+

.

+
pyray.vector3_max(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_min(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_move_towards(v: Vector3 | list | tuple, target: Vector3 | list | tuple, maxDistance: float) Vector3
-
+

.

+
pyray.vector3_multiply(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_negate(v: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_normalize(v: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_one() Vector3
-
+

.

+
pyray.vector3_ortho_normalize(v1: Any | list | tuple, v2: Any | list | tuple) None
-
+

.

+
pyray.vector3_perpendicular(v: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_project(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_reflect(v: Vector3 | list | tuple, normal: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_refract(v: Vector3 | list | tuple, n: Vector3 | list | tuple, r: float) Vector3
-
+

.

+
pyray.vector3_reject(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_rotate_by_axis_angle(v: Vector3 | list | tuple, axis: Vector3 | list | tuple, angle: float) Vector3
-
+

.

+
pyray.vector3_rotate_by_quaternion(v: Vector3 | list | tuple, q: Vector4 | list | tuple) Vector3
-
+

.

+
pyray.vector3_scale(v: Vector3 | list | tuple, scalar: float) Vector3
-
+

.

+
pyray.vector3_subtract(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
pyray.vector3_subtract_value(v: Vector3 | list | tuple, sub: float) Vector3
-
+

.

+
pyray.vector3_to_float_v(v: Vector3 | list | tuple) float3
-
+

.

+
pyray.vector3_transform(v: Vector3 | list | tuple, mat: Matrix | list | tuple) Vector3
-
+

.

+
pyray.vector3_unproject(source: Vector3 | list | tuple, projection: Matrix | list | tuple, view: Matrix | list | tuple) Vector3
-
+

.

+
pyray.vector3_zero() Vector3
-
+

.

+
pyray.vector4_add(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_add_value(v: Vector4 | list | tuple, add: float) Vector4
-
+

.

+
pyray.vector4_distance(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) float
-
+

.

+
pyray.vector4_distance_sqr(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) float
-
+

.

+
pyray.vector4_divide(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_dot_product(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) float
-
+

.

+
pyray.vector4_equals(p: Vector4 | list | tuple, q: Vector4 | list | tuple) int
-
+

.

+
pyray.vector4_invert(v: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_length(v: Vector4 | list | tuple) float
-
+

.

+
pyray.vector4_length_sqr(v: Vector4 | list | tuple) float
-
+

.

+
pyray.vector4_lerp(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
pyray.vector4_max(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_min(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_move_towards(v: Vector4 | list | tuple, target: Vector4 | list | tuple, maxDistance: float) Vector4
-
+

.

+
pyray.vector4_multiply(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_negate(v: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_normalize(v: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_one() Vector4
-
+

.

+
pyray.vector4_scale(v: Vector4 | list | tuple, scale: float) Vector4
-
+

.

+
pyray.vector4_subtract(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
pyray.vector4_subtract_value(v: Vector4 | list | tuple, add: float) Vector4
-
+

.

+
pyray.vector4_zero() Vector4
-
+

.

+
pyray.wait_time(seconds: float) None
-

Wait for some time (halt program execution)

+

Wait for some time (halt program execution).

pyray.wave_copy(wave: Wave | list | tuple) Wave
-

Copy a wave to a new wave

+

Copy a wave to a new wave.

pyray.wave_crop(wave: Any | list | tuple, initFrame: int, finalFrame: int) None
-

Crop a wave to defined frames range

+

Crop a wave to defined frames range.

pyray.wave_format(wave: Any | list | tuple, sampleRate: int, sampleSize: int, channels: int) None
-

Convert wave data to desired format

+

Convert wave data to desired format.

pyray.window_should_close() bool
-

Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)

+

Check if application should close (KEY_ESCAPE pressed or windows close icon clicked).

pyray.wrap(value: float, min_1: float, max_2: float) float
-
+

.

+
diff --git a/docs/raylib.html b/docs/raylib.html index d615592..6145b60 100644 --- a/docs/raylib.html +++ b/docs/raylib.html @@ -2513,13 +2513,13 @@ are very, very similar to the C originals.

raylib.AttachAudioMixedProcessor(processor: Any) None
-

Attach audio stream processor to the entire audio pipeline, receives the samples as ‘float’

+

Attach audio stream processor to the entire audio pipeline, receives the samples as ‘float’.

raylib.AttachAudioStreamProcessor(stream: AudioStream | list | tuple, processor: Any) None
-

Attach audio stream processor to stream, receives the samples as ‘float’

+

Attach audio stream processor to stream, receives the samples as ‘float’.

@@ -2715,49 +2715,49 @@ are very, very similar to the C originals.

raylib.BeginBlendMode(mode: int) None
-

Begin blending mode (alpha, additive, multiplied, subtract, custom)

+

Begin blending mode (alpha, additive, multiplied, subtract, custom).

raylib.BeginDrawing() None
-

Setup canvas (framebuffer) to start drawing

+

Setup canvas (framebuffer) to start drawing.

raylib.BeginMode2D(camera: Camera2D | list | tuple) None
-

Begin 2D mode with custom camera (2D)

+

Begin 2D mode with custom camera (2D).

raylib.BeginMode3D(camera: Camera3D | list | tuple) None
-

Begin 3D mode with custom camera (3D)

+

Begin 3D mode with custom camera (3D).

raylib.BeginScissorMode(x: int, y: int, width: int, height: int) None
-

Begin scissor mode (define screen area for following drawing)

+

Begin scissor mode (define screen area for following drawing).

raylib.BeginShaderMode(shader: Shader | list | tuple) None
-

Begin custom shader drawing

+

Begin custom shader drawing.

raylib.BeginTextureMode(target: RenderTexture | list | tuple) None
-

Begin drawing to render texture

+

Begin drawing to render texture.

raylib.BeginVrStereoMode(config: VrStereoConfig | list | tuple) None
-

Begin stereo rendering (requires VR simulator)

+

Begin stereo rendering (requires VR simulator).

@@ -2988,126 +2988,127 @@ are very, very similar to the C originals.

raylib.ChangeDirectory(dir: bytes) bool
-

Change working directory, return true on success

+

Change working directory, return true on success.

raylib.CheckCollisionBoxSphere(box: BoundingBox | list | tuple, center: Vector3 | list | tuple, radius: float) bool
-

Check collision between box and sphere

+

Check collision between box and sphere.

raylib.CheckCollisionBoxes(box1: BoundingBox | list | tuple, box2: BoundingBox | list | tuple) bool
-

Check collision between two bounding boxes

+

Check collision between two bounding boxes.

raylib.CheckCollisionCircleLine(center: Vector2 | list | tuple, radius: float, p1: Vector2 | list | tuple, p2: Vector2 | list | tuple) bool
-

Check if circle collides with a line created betweeen two points [p1] and [p2]

+

Check if circle collides with a line created betweeen two points [p1] and [p2].

raylib.CheckCollisionCircleRec(center: Vector2 | list | tuple, radius: float, rec: Rectangle | list | tuple) bool
-

Check collision between circle and rectangle

+

Check collision between circle and rectangle.

raylib.CheckCollisionCircles(center1: Vector2 | list | tuple, radius1: float, center2: Vector2 | list | tuple, radius2: float) bool
-

Check collision between two circles

+

Check collision between two circles.

raylib.CheckCollisionLines(startPos1: Vector2 | list | tuple, endPos1: Vector2 | list | tuple, startPos2: Vector2 | list | tuple, endPos2: Vector2 | list | tuple, collisionPoint: Any | list | tuple) bool
-

Check the collision between two lines defined by two points each, returns collision point by reference

+

Check the collision between two lines defined by two points each, returns collision point by reference.

raylib.CheckCollisionPointCircle(point: Vector2 | list | tuple, center: Vector2 | list | tuple, radius: float) bool
-

Check if point is inside circle

+

Check if point is inside circle.

raylib.CheckCollisionPointLine(point: Vector2 | list | tuple, p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, threshold: int) bool
-

Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]

+

Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold].

raylib.CheckCollisionPointPoly(point: Vector2 | list | tuple, points: Any | list | tuple, pointCount: int) bool
-

Check if point is within a polygon described by array of vertices

+

Check if point is within a polygon described by array of vertices.

raylib.CheckCollisionPointRec(point: Vector2 | list | tuple, rec: Rectangle | list | tuple) bool
-

Check if point is inside rectangle

+

Check if point is inside rectangle.

raylib.CheckCollisionPointTriangle(point: Vector2 | list | tuple, p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple) bool
-

Check if point is inside a triangle

+

Check if point is inside a triangle.

raylib.CheckCollisionRecs(rec1: Rectangle | list | tuple, rec2: Rectangle | list | tuple) bool
-

Check collision between two rectangles

+

Check collision between two rectangles.

raylib.CheckCollisionSpheres(center1: Vector3 | list | tuple, radius1: float, center2: Vector3 | list | tuple, radius2: float) bool
-

Check collision between two spheres

+

Check collision between two spheres.

raylib.Clamp(value: float, min_1: float, max_2: float) float
-
+

.

+
raylib.ClearBackground(color: Color | list | tuple) None
-

Set background color (framebuffer clear color)

+

Set background color (framebuffer clear color).

raylib.ClearWindowState(flags: int) None
-

Clear window configuration state flags

+

Clear window configuration state flags.

raylib.CloseAudioDevice() None
-

Close the audio device and context

+

Close the audio device and context.

raylib.ClosePhysics() None
-

Close physics system and unload used memory

+

Close physics system and unload used memory.

raylib.CloseWindow() None
-

Close window and unload OpenGL context

+

Close window and unload OpenGL context.

raylib.CodepointToUTF8(codepoint: int, utf8Size: Any) bytes
-

Encode one codepoint into UTF-8 byte array (array length returned as parameter)

+

Encode one codepoint into UTF-8 byte array (array length returned as parameter).

@@ -3138,97 +3139,97 @@ are very, very similar to the C originals.

raylib.ColorAlpha(color: Color | list | tuple, alpha: float) Color
-

Get color with alpha applied, alpha goes from 0.0f to 1.0f

+

Get color with alpha applied, alpha goes from 0.0f to 1.0f.

raylib.ColorAlphaBlend(dst: Color | list | tuple, src: Color | list | tuple, tint: Color | list | tuple) Color
-

Get src alpha-blended into dst color with tint

+

Get src alpha-blended into dst color with tint.

raylib.ColorBrightness(color: Color | list | tuple, factor: float) Color
-

Get color with brightness correction, brightness factor goes from -1.0f to 1.0f

+

Get color with brightness correction, brightness factor goes from -1.0f to 1.0f.

raylib.ColorContrast(color: Color | list | tuple, contrast: float) Color
-

Get color with contrast correction, contrast values between -1.0f and 1.0f

+

Get color with contrast correction, contrast values between -1.0f and 1.0f.

raylib.ColorFromHSV(hue: float, saturation: float, value: float) Color
-

Get a Color from HSV values, hue [0..360], saturation/value [0..1]

+

Get a Color from HSV values, hue [0..360], saturation/value [0..1].

raylib.ColorFromNormalized(normalized: Vector4 | list | tuple) Color
-

Get Color from normalized values [0..1]

+

Get Color from normalized values [0..1].

raylib.ColorIsEqual(col1: Color | list | tuple, col2: Color | list | tuple) bool
-

Check if two colors are equal

+

Check if two colors are equal.

raylib.ColorLerp(color1: Color | list | tuple, color2: Color | list | tuple, factor: float) Color
-

Get color lerp interpolation between two colors, factor [0.0f..1.0f]

+

Get color lerp interpolation between two colors, factor [0.0f..1.0f].

raylib.ColorNormalize(color: Color | list | tuple) Vector4
-

Get Color normalized as float [0..1]

+

Get Color normalized as float [0..1].

raylib.ColorTint(color: Color | list | tuple, tint: Color | list | tuple) Color
-

Get color multiplied with another color

+

Get color multiplied with another color.

raylib.ColorToHSV(color: Color | list | tuple) Vector3
-

Get HSV values for a Color, hue [0..360], saturation/value [0..1]

+

Get HSV values for a Color, hue [0..360], saturation/value [0..1].

raylib.ColorToInt(color: Color | list | tuple) int
-

Get hexadecimal value for a Color (0xRRGGBBAA)

+

Get hexadecimal value for a Color (0xRRGGBBAA).

raylib.CompressData(data: bytes, dataSize: int, compDataSize: Any) bytes
-

Compress data (DEFLATE algorithm), memory must be MemFree()

+

Compress data (DEFLATE algorithm), memory must be MemFree().

raylib.ComputeCRC32(data: bytes, dataSize: int) int
-

Compute CRC32 hash code

+

Compute CRC32 hash code.

raylib.ComputeMD5(data: bytes, dataSize: int) Any
-

Compute MD5 hash code, returns static int[4] (16 bytes)

+

Compute MD5 hash code, returns static int[4] (16 bytes).

raylib.ComputeSHA1(data: bytes, dataSize: int) Any
-

Compute SHA1 hash code, returns static int[5] (20 bytes)

+

Compute SHA1 hash code, returns static int[5] (20 bytes).

@@ -3239,19 +3240,19 @@ are very, very similar to the C originals.

raylib.CreatePhysicsBodyCircle(pos: Vector2 | list | tuple, radius: float, density: float) Any
-

Creates a new circle physics body with generic parameters

+

Creates a new circle physics body with generic parameters.

raylib.CreatePhysicsBodyPolygon(pos: Vector2 | list | tuple, radius: float, sides: int, density: float) Any
-

Creates a new polygon physics body with generic parameters

+

Creates a new polygon physics body with generic parameters.

raylib.CreatePhysicsBodyRectangle(pos: Vector2 | list | tuple, width: float, height: float, density: float) Any
-

Creates a new rectangle physics body with generic parameters

+

Creates a new rectangle physics body with generic parameters.

@@ -3312,727 +3313,727 @@ are very, very similar to the C originals.

raylib.DecodeDataBase64(data: bytes, outputSize: Any) bytes
-

Decode Base64 string data, memory must be MemFree()

+

Decode Base64 string data, memory must be MemFree().

raylib.DecompressData(compData: bytes, compDataSize: int, dataSize: Any) bytes
-

Decompress data (DEFLATE algorithm), memory must be MemFree()

+

Decompress data (DEFLATE algorithm), memory must be MemFree().

raylib.DestroyPhysicsBody(body: Any | list | tuple) None
-

Destroy a physics body

+

Destroy a physics body.

raylib.DetachAudioMixedProcessor(processor: Any) None
-

Detach audio stream processor from the entire audio pipeline

+

Detach audio stream processor from the entire audio pipeline.

raylib.DetachAudioStreamProcessor(stream: AudioStream | list | tuple, processor: Any) None
-

Detach audio stream processor from stream

+

Detach audio stream processor from stream.

raylib.DirectoryExists(dirPath: bytes) bool
-

Check if a directory path exists

+

Check if a directory path exists.

raylib.DisableCursor() None
-

Disables cursor (lock cursor)

+

Disables cursor (lock cursor).

raylib.DisableEventWaiting() None
-

Disable waiting for events on EndDrawing(), automatic events polling

+

Disable waiting for events on EndDrawing(), automatic events polling.

raylib.DrawBillboard(camera: Camera3D | list | tuple, texture: Texture | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a billboard texture

+

Draw a billboard texture.

raylib.DrawBillboardPro(camera: Camera3D | list | tuple, texture: Texture | list | tuple, source: Rectangle | list | tuple, position: Vector3 | list | tuple, up: Vector3 | list | tuple, size: Vector2 | list | tuple, origin: Vector2 | list | tuple, rotation: float, tint: Color | list | tuple) None
-

Draw a billboard texture defined by source and rotation

+

Draw a billboard texture defined by source and rotation.

raylib.DrawBillboardRec(camera: Camera3D | list | tuple, texture: Texture | list | tuple, source: Rectangle | list | tuple, position: Vector3 | list | tuple, size: Vector2 | list | tuple, tint: Color | list | tuple) None
-

Draw a billboard texture defined by source

+

Draw a billboard texture defined by source.

raylib.DrawBoundingBox(box: BoundingBox | list | tuple, color: Color | list | tuple) None
-

Draw bounding box (wires)

+

Draw bounding box (wires).

raylib.DrawCapsule(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, radius: float, slices: int, rings: int, color: Color | list | tuple) None
-

Draw a capsule with the center of its sphere caps at startPos and endPos

+

Draw a capsule with the center of its sphere caps at startPos and endPos.

raylib.DrawCapsuleWires(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, radius: float, slices: int, rings: int, color: Color | list | tuple) None
-

Draw capsule wireframe with the center of its sphere caps at startPos and endPos

+

Draw capsule wireframe with the center of its sphere caps at startPos and endPos.

raylib.DrawCircle(centerX: int, centerY: int, radius: float, color: Color | list | tuple) None
-

Draw a color-filled circle

+

Draw a color-filled circle.

raylib.DrawCircle3D(center: Vector3 | list | tuple, radius: float, rotationAxis: Vector3 | list | tuple, rotationAngle: float, color: Color | list | tuple) None
-

Draw a circle in 3D world space

+

Draw a circle in 3D world space.

raylib.DrawCircleGradient(centerX: int, centerY: int, radius: float, inner: Color | list | tuple, outer: Color | list | tuple) None
-

Draw a gradient-filled circle

+

Draw a gradient-filled circle.

raylib.DrawCircleLines(centerX: int, centerY: int, radius: float, color: Color | list | tuple) None
-

Draw circle outline

+

Draw circle outline.

raylib.DrawCircleLinesV(center: Vector2 | list | tuple, radius: float, color: Color | list | tuple) None
-

Draw circle outline (Vector version)

+

Draw circle outline (Vector version).

raylib.DrawCircleSector(center: Vector2 | list | tuple, radius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw a piece of a circle

+

Draw a piece of a circle.

raylib.DrawCircleSectorLines(center: Vector2 | list | tuple, radius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw circle sector outline

+

Draw circle sector outline.

raylib.DrawCircleV(center: Vector2 | list | tuple, radius: float, color: Color | list | tuple) None
-

Draw a color-filled circle (Vector version)

+

Draw a color-filled circle (Vector version).

raylib.DrawCube(position: Vector3 | list | tuple, width: float, height: float, length: float, color: Color | list | tuple) None
-

Draw cube

+

Draw cube.

raylib.DrawCubeV(position: Vector3 | list | tuple, size: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw cube (Vector version)

+

Draw cube (Vector version).

raylib.DrawCubeWires(position: Vector3 | list | tuple, width: float, height: float, length: float, color: Color | list | tuple) None
-

Draw cube wires

+

Draw cube wires.

raylib.DrawCubeWiresV(position: Vector3 | list | tuple, size: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw cube wires (Vector version)

+

Draw cube wires (Vector version).

raylib.DrawCylinder(position: Vector3 | list | tuple, radiusTop: float, radiusBottom: float, height: float, slices: int, color: Color | list | tuple) None
-

Draw a cylinder/cone

+

Draw a cylinder/cone.

raylib.DrawCylinderEx(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, startRadius: float, endRadius: float, sides: int, color: Color | list | tuple) None
-

Draw a cylinder with base at startPos and top at endPos

+

Draw a cylinder with base at startPos and top at endPos.

raylib.DrawCylinderWires(position: Vector3 | list | tuple, radiusTop: float, radiusBottom: float, height: float, slices: int, color: Color | list | tuple) None
-

Draw a cylinder/cone wires

+

Draw a cylinder/cone wires.

raylib.DrawCylinderWiresEx(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, startRadius: float, endRadius: float, sides: int, color: Color | list | tuple) None
-

Draw a cylinder wires with base at startPos and top at endPos

+

Draw a cylinder wires with base at startPos and top at endPos.

raylib.DrawEllipse(centerX: int, centerY: int, radiusH: float, radiusV: float, color: Color | list | tuple) None
-

Draw ellipse

+

Draw ellipse.

raylib.DrawEllipseLines(centerX: int, centerY: int, radiusH: float, radiusV: float, color: Color | list | tuple) None
-

Draw ellipse outline

+

Draw ellipse outline.

raylib.DrawFPS(posX: int, posY: int) None
-

Draw current FPS

+

Draw current FPS.

raylib.DrawGrid(slices: int, spacing: float) None
-

Draw a grid (centered at (0, 0, 0))

+

Draw a grid (centered at (0, 0, 0)).

raylib.DrawLine(startPosX: int, startPosY: int, endPosX: int, endPosY: int, color: Color | list | tuple) None
-

Draw a line

+

Draw a line.

raylib.DrawLine3D(startPos: Vector3 | list | tuple, endPos: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw a line in 3D world space

+

Draw a line in 3D world space.

raylib.DrawLineBezier(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw line segment cubic-bezier in-out interpolation

+

Draw line segment cubic-bezier in-out interpolation.

raylib.DrawLineEx(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw a line (using triangles/quads)

+

Draw a line (using triangles/quads).

raylib.DrawLineStrip(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw lines sequence (using gl lines)

+

Draw lines sequence (using gl lines).

raylib.DrawLineV(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a line (using gl lines)

+

Draw a line (using gl lines).

raylib.DrawMesh(mesh: Mesh | list | tuple, material: Material | list | tuple, transform: Matrix | list | tuple) None
-

Draw a 3d mesh with material and transform

+

Draw a 3d mesh with material and transform.

raylib.DrawMeshInstanced(mesh: Mesh | list | tuple, material: Material | list | tuple, transforms: Any | list | tuple, instances: int) None
-

Draw multiple mesh instances with material and different transforms

+

Draw multiple mesh instances with material and different transforms.

raylib.DrawModel(model: Model | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a model (with texture if set)

+

Draw a model (with texture if set).

raylib.DrawModelEx(model: Model | list | tuple, position: Vector3 | list | tuple, rotationAxis: Vector3 | list | tuple, rotationAngle: float, scale: Vector3 | list | tuple, tint: Color | list | tuple) None
-

Draw a model with extended parameters

+

Draw a model with extended parameters.

raylib.DrawModelPoints(model: Model | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a model as points

+

Draw a model as points.

raylib.DrawModelPointsEx(model: Model | list | tuple, position: Vector3 | list | tuple, rotationAxis: Vector3 | list | tuple, rotationAngle: float, scale: Vector3 | list | tuple, tint: Color | list | tuple) None
-

Draw a model as points with extended parameters

+

Draw a model as points with extended parameters.

raylib.DrawModelWires(model: Model | list | tuple, position: Vector3 | list | tuple, scale: float, tint: Color | list | tuple) None
-

Draw a model wires (with texture if set)

+

Draw a model wires (with texture if set).

raylib.DrawModelWiresEx(model: Model | list | tuple, position: Vector3 | list | tuple, rotationAxis: Vector3 | list | tuple, rotationAngle: float, scale: Vector3 | list | tuple, tint: Color | list | tuple) None
-

Draw a model wires (with texture if set) with extended parameters

+

Draw a model wires (with texture if set) with extended parameters.

raylib.DrawPixel(posX: int, posY: int, color: Color | list | tuple) None
-

Draw a pixel using geometry [Can be slow, use with care]

+

Draw a pixel using geometry [Can be slow, use with care].

raylib.DrawPixelV(position: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a pixel using geometry (Vector version) [Can be slow, use with care]

+

Draw a pixel using geometry (Vector version) [Can be slow, use with care].

raylib.DrawPlane(centerPos: Vector3 | list | tuple, size: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a plane XZ

+

Draw a plane XZ.

raylib.DrawPoint3D(position: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw a point in 3D space, actually a small line

+

Draw a point in 3D space, actually a small line.

raylib.DrawPoly(center: Vector2 | list | tuple, sides: int, radius: float, rotation: float, color: Color | list | tuple) None
-

Draw a regular polygon (Vector version)

+

Draw a regular polygon (Vector version).

raylib.DrawPolyLines(center: Vector2 | list | tuple, sides: int, radius: float, rotation: float, color: Color | list | tuple) None
-

Draw a polygon outline of n sides

+

Draw a polygon outline of n sides.

raylib.DrawPolyLinesEx(center: Vector2 | list | tuple, sides: int, radius: float, rotation: float, lineThick: float, color: Color | list | tuple) None
-

Draw a polygon outline of n sides with extended parameters

+

Draw a polygon outline of n sides with extended parameters.

raylib.DrawRay(ray: Ray | list | tuple, color: Color | list | tuple) None
-

Draw a ray line

+

Draw a ray line.

raylib.DrawRectangle(posX: int, posY: int, width: int, height: int, color: Color | list | tuple) None
-

Draw a color-filled rectangle

+

Draw a color-filled rectangle.

raylib.DrawRectangleGradientEx(rec: Rectangle | list | tuple, topLeft: Color | list | tuple, bottomLeft: Color | list | tuple, topRight: Color | list | tuple, bottomRight: Color | list | tuple) None
-

Draw a gradient-filled rectangle with custom vertex colors

+

Draw a gradient-filled rectangle with custom vertex colors.

raylib.DrawRectangleGradientH(posX: int, posY: int, width: int, height: int, left: Color | list | tuple, right: Color | list | tuple) None
-

Draw a horizontal-gradient-filled rectangle

+

Draw a horizontal-gradient-filled rectangle.

raylib.DrawRectangleGradientV(posX: int, posY: int, width: int, height: int, top: Color | list | tuple, bottom: Color | list | tuple) None
-

Draw a vertical-gradient-filled rectangle

+

Draw a vertical-gradient-filled rectangle.

raylib.DrawRectangleLines(posX: int, posY: int, width: int, height: int, color: Color | list | tuple) None
-

Draw rectangle outline

+

Draw rectangle outline.

raylib.DrawRectangleLinesEx(rec: Rectangle | list | tuple, lineThick: float, color: Color | list | tuple) None
-

Draw rectangle outline with extended parameters

+

Draw rectangle outline with extended parameters.

raylib.DrawRectanglePro(rec: Rectangle | list | tuple, origin: Vector2 | list | tuple, rotation: float, color: Color | list | tuple) None
-

Draw a color-filled rectangle with pro parameters

+

Draw a color-filled rectangle with pro parameters.

raylib.DrawRectangleRec(rec: Rectangle | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled rectangle

+

Draw a color-filled rectangle.

raylib.DrawRectangleRounded(rec: Rectangle | list | tuple, roundness: float, segments: int, color: Color | list | tuple) None
-

Draw rectangle with rounded edges

+

Draw rectangle with rounded edges.

raylib.DrawRectangleRoundedLines(rec: Rectangle | list | tuple, roundness: float, segments: int, color: Color | list | tuple) None
-

Draw rectangle lines with rounded edges

+

Draw rectangle lines with rounded edges.

raylib.DrawRectangleRoundedLinesEx(rec: Rectangle | list | tuple, roundness: float, segments: int, lineThick: float, color: Color | list | tuple) None
-

Draw rectangle with rounded edges outline

+

Draw rectangle with rounded edges outline.

raylib.DrawRectangleV(position: Vector2 | list | tuple, size: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled rectangle (Vector version)

+

Draw a color-filled rectangle (Vector version).

raylib.DrawRing(center: Vector2 | list | tuple, innerRadius: float, outerRadius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw ring

+

Draw ring.

raylib.DrawRingLines(center: Vector2 | list | tuple, innerRadius: float, outerRadius: float, startAngle: float, endAngle: float, segments: int, color: Color | list | tuple) None
-

Draw ring outline

+

Draw ring outline.

raylib.DrawSphere(centerPos: Vector3 | list | tuple, radius: float, color: Color | list | tuple) None
-

Draw sphere

+

Draw sphere.

raylib.DrawSphereEx(centerPos: Vector3 | list | tuple, radius: float, rings: int, slices: int, color: Color | list | tuple) None
-

Draw sphere with extended parameters

+

Draw sphere with extended parameters.

raylib.DrawSphereWires(centerPos: Vector3 | list | tuple, radius: float, rings: int, slices: int, color: Color | list | tuple) None
-

Draw sphere wires

+

Draw sphere wires.

raylib.DrawSplineBasis(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: B-Spline, minimum 4 points

+

Draw spline: B-Spline, minimum 4 points.

raylib.DrawSplineBezierCubic(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6…]

+

Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6…].

raylib.DrawSplineBezierQuadratic(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4…]

+

Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4…].

raylib.DrawSplineCatmullRom(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Catmull-Rom, minimum 4 points

+

Draw spline: Catmull-Rom, minimum 4 points.

raylib.DrawSplineLinear(points: Any | list | tuple, pointCount: int, thick: float, color: Color | list | tuple) None
-

Draw spline: Linear, minimum 2 points

+

Draw spline: Linear, minimum 2 points.

raylib.DrawSplineSegmentBasis(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: B-Spline, 4 points

+

Draw spline segment: B-Spline, 4 points.

raylib.DrawSplineSegmentBezierCubic(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, c3: Vector2 | list | tuple, p4: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Cubic Bezier, 2 points, 2 control points

+

Draw spline segment: Cubic Bezier, 2 points, 2 control points.

raylib.DrawSplineSegmentBezierQuadratic(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, p3: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Quadratic Bezier, 2 points, 1 control point

+

Draw spline segment: Quadratic Bezier, 2 points, 1 control point.

raylib.DrawSplineSegmentCatmullRom(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Catmull-Rom, 4 points

+

Draw spline segment: Catmull-Rom, 4 points.

raylib.DrawSplineSegmentLinear(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, thick: float, color: Color | list | tuple) None
-

Draw spline segment: Linear, 2 points

+

Draw spline segment: Linear, 2 points.

raylib.DrawText(text: bytes, posX: int, posY: int, fontSize: int, color: Color | list | tuple) None
-

Draw text (using default font)

+

Draw text (using default font).

raylib.DrawTextCodepoint(font: Font | list | tuple, codepoint: int, position: Vector2 | list | tuple, fontSize: float, tint: Color | list | tuple) None
-

Draw one character (codepoint)

+

Draw one character (codepoint).

raylib.DrawTextCodepoints(font: Font | list | tuple, codepoints: Any, codepointCount: int, position: Vector2 | list | tuple, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw multiple character (codepoint)

+

Draw multiple character (codepoint).

raylib.DrawTextEx(font: Font | list | tuple, text: bytes, position: Vector2 | list | tuple, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw text using font and additional parameters

+

Draw text using font and additional parameters.

raylib.DrawTextPro(font: Font | list | tuple, text: bytes, position: Vector2 | list | tuple, origin: Vector2 | list | tuple, rotation: float, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw text using Font and pro parameters (rotation)

+

Draw text using Font and pro parameters (rotation).

raylib.DrawTexture(texture: Texture | list | tuple, posX: int, posY: int, tint: Color | list | tuple) None
-

Draw a Texture2D

+

Draw a Texture2D.

raylib.DrawTextureEx(texture: Texture | list | tuple, position: Vector2 | list | tuple, rotation: float, scale: float, tint: Color | list | tuple) None
-

Draw a Texture2D with extended parameters

+

Draw a Texture2D with extended parameters.

raylib.DrawTextureNPatch(texture: Texture | list | tuple, nPatchInfo: NPatchInfo | list | tuple, dest: Rectangle | list | tuple, origin: Vector2 | list | tuple, rotation: float, tint: Color | list | tuple) None
-

Draws a texture (or part of it) that stretches or shrinks nicely

+

Draws a texture (or part of it) that stretches or shrinks nicely.

raylib.DrawTexturePro(texture: Texture | list | tuple, source: Rectangle | list | tuple, dest: Rectangle | list | tuple, origin: Vector2 | list | tuple, rotation: float, tint: Color | list | tuple) None
-

Draw a part of a texture defined by a rectangle with ‘pro’ parameters

+

Draw a part of a texture defined by a rectangle with ‘pro’ parameters.

raylib.DrawTextureRec(texture: Texture | list | tuple, source: Rectangle | list | tuple, position: Vector2 | list | tuple, tint: Color | list | tuple) None
-

Draw a part of a texture defined by a rectangle

+

Draw a part of a texture defined by a rectangle.

raylib.DrawTextureV(texture: Texture | list | tuple, position: Vector2 | list | tuple, tint: Color | list | tuple) None
-

Draw a Texture2D with position defined as Vector2

+

Draw a Texture2D with position defined as Vector2.

raylib.DrawTriangle(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled triangle (vertex in counter-clockwise order!)

+

Draw a color-filled triangle (vertex in counter-clockwise order!).

raylib.DrawTriangle3D(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple, v3: Vector3 | list | tuple, color: Color | list | tuple) None
-

Draw a color-filled triangle (vertex in counter-clockwise order!)

+

Draw a color-filled triangle (vertex in counter-clockwise order!).

raylib.DrawTriangleFan(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle fan defined by points (first vertex is the center)

+

Draw a triangle fan defined by points (first vertex is the center).

raylib.DrawTriangleLines(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw triangle outline (vertex in counter-clockwise order!)

+

Draw triangle outline (vertex in counter-clockwise order!).

raylib.DrawTriangleStrip(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle strip defined by points

+

Draw a triangle strip defined by points.

raylib.DrawTriangleStrip3D(points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle strip defined by points

+

Draw a triangle strip defined by points.

raylib.EnableCursor() None
-

Enables cursor (unlock cursor)

+

Enables cursor (unlock cursor).

raylib.EnableEventWaiting() None
-

Enable waiting for events on EndDrawing(), no automatic event polling

+

Enable waiting for events on EndDrawing(), no automatic event polling.

raylib.EncodeDataBase64(data: bytes, dataSize: int, outputSize: Any) bytes
-

Encode data to Base64 string, memory must be MemFree()

+

Encode data to Base64 string, memory must be MemFree().

raylib.EndBlendMode() None
-

End blending mode (reset to default: alpha blending)

+

End blending mode (reset to default: alpha blending).

raylib.EndDrawing() None
-

End canvas drawing and swap buffers (double buffering)

+

End canvas drawing and swap buffers (double buffering).

raylib.EndMode2D() None
-

Ends 2D mode with custom camera

+

Ends 2D mode with custom camera.

raylib.EndMode3D() None
-

Ends 3D mode and returns to default 2D orthographic mode

+

Ends 3D mode and returns to default 2D orthographic mode.

raylib.EndScissorMode() None
-

End scissor mode

+

End scissor mode.

raylib.EndShaderMode() None
-

End custom shader drawing (use default shader)

+

End custom shader drawing (use default shader).

raylib.EndTextureMode() None
-

Ends drawing to render texture

+

Ends drawing to render texture.

raylib.EndVrStereoMode() None
-

End stereo rendering (requires VR simulator)

+

End stereo rendering (requires VR simulator).

raylib.ExportAutomationEventList(list_0: AutomationEventList | list | tuple, fileName: bytes) bool
-

Export automation events list as text file

+

Export automation events list as text file.

raylib.ExportDataAsCode(data: bytes, dataSize: int, fileName: bytes) bool
-

Export data to code (.h), returns true on success

+

Export data to code (.h), returns true on success.

raylib.ExportFontAsCode(font: Font | list | tuple, fileName: bytes) bool
-

Export font as code file, returns true on success

+

Export font as code file, returns true on success.

raylib.ExportImage(image: Image | list | tuple, fileName: bytes) bool
-

Export image data to file, returns true on success

+

Export image data to file, returns true on success.

raylib.ExportImageAsCode(image: Image | list | tuple, fileName: bytes) bool
-

Export image as code file defining an array of bytes, returns true on success

+

Export image as code file defining an array of bytes, returns true on success.

raylib.ExportImageToMemory(image: Image | list | tuple, fileType: bytes, fileSize: Any) bytes
-

Export image to memory buffer

+

Export image to memory buffer.

raylib.ExportMesh(mesh: Mesh | list | tuple, fileName: bytes) bool
-

Export mesh data to file, returns true on success

+

Export mesh data to file, returns true on success.

raylib.ExportMeshAsCode(mesh: Mesh | list | tuple, fileName: bytes) bool
-

Export mesh as code file (.h) defining multiple arrays of vertex attributes

+

Export mesh as code file (.h) defining multiple arrays of vertex attributes.

raylib.ExportWave(wave: Wave | list | tuple, fileName: bytes) bool
-

Export wave data to file, returns true on success

+

Export wave data to file, returns true on success.

raylib.ExportWaveAsCode(wave: Wave | list | tuple, fileName: bytes) bool
-

Export wave sample data to code (.h), returns true on success

+

Export wave sample data to code (.h), returns true on success.

@@ -4133,13 +4134,13 @@ are very, very similar to the C originals.

raylib.Fade(color: Color | list | tuple, alpha: float) Color
-

Get color with alpha applied, alpha goes from 0.0f to 1.0f

+

Get color with alpha applied, alpha goes from 0.0f to 1.0f.

raylib.FileExists(fileName: bytes) bool
-

Check if file exists

+

Check if file exists.

@@ -4165,7 +4166,8 @@ are very, very similar to the C originals.

raylib.FloatEquals(x: float, y: float) int
-
+

.

+
@@ -4550,139 +4552,139 @@ are very, very similar to the C originals.

raylib.GenImageCellular(width: int, height: int, tileSize: int) Image
-

Generate image: cellular algorithm, bigger tileSize means bigger cells

+

Generate image: cellular algorithm, bigger tileSize means bigger cells.

raylib.GenImageChecked(width: int, height: int, checksX: int, checksY: int, col1: Color | list | tuple, col2: Color | list | tuple) Image
-

Generate image: checked

+

Generate image: checked.

raylib.GenImageColor(width: int, height: int, color: Color | list | tuple) Image
-

Generate image: plain color

+

Generate image: plain color.

raylib.GenImageFontAtlas(glyphs: Any | list | tuple, glyphRecs: Any | list | tuple, glyphCount: int, fontSize: int, padding: int, packMethod: int) Image
-

Generate image font atlas using chars info

+

Generate image font atlas using chars info.

raylib.GenImageGradientLinear(width: int, height: int, direction: int, start: Color | list | tuple, end: Color | list | tuple) Image
-

Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient

+

Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient.

raylib.GenImageGradientRadial(width: int, height: int, density: float, inner: Color | list | tuple, outer: Color | list | tuple) Image
-

Generate image: radial gradient

+

Generate image: radial gradient.

raylib.GenImageGradientSquare(width: int, height: int, density: float, inner: Color | list | tuple, outer: Color | list | tuple) Image
-

Generate image: square gradient

+

Generate image: square gradient.

raylib.GenImagePerlinNoise(width: int, height: int, offsetX: int, offsetY: int, scale: float) Image
-

Generate image: perlin noise

+

Generate image: perlin noise.

raylib.GenImageText(width: int, height: int, text: bytes) Image
-

Generate image: grayscale image from text data

+

Generate image: grayscale image from text data.

raylib.GenImageWhiteNoise(width: int, height: int, factor: float) Image
-

Generate image: white noise

+

Generate image: white noise.

raylib.GenMeshCone(radius: float, height: float, slices: int) Mesh
-

Generate cone/pyramid mesh

+

Generate cone/pyramid mesh.

raylib.GenMeshCube(width: float, height: float, length: float) Mesh
-

Generate cuboid mesh

+

Generate cuboid mesh.

raylib.GenMeshCubicmap(cubicmap: Image | list | tuple, cubeSize: Vector3 | list | tuple) Mesh
-

Generate cubes-based map mesh from image data

+

Generate cubes-based map mesh from image data.

raylib.GenMeshCylinder(radius: float, height: float, slices: int) Mesh
-

Generate cylinder mesh

+

Generate cylinder mesh.

raylib.GenMeshHeightmap(heightmap: Image | list | tuple, size: Vector3 | list | tuple) Mesh
-

Generate heightmap mesh from image data

+

Generate heightmap mesh from image data.

raylib.GenMeshHemiSphere(radius: float, rings: int, slices: int) Mesh
-

Generate half-sphere mesh (no bottom cap)

+

Generate half-sphere mesh (no bottom cap).

raylib.GenMeshKnot(radius: float, size: float, radSeg: int, sides: int) Mesh
-

Generate trefoil knot mesh

+

Generate trefoil knot mesh.

raylib.GenMeshPlane(width: float, length: float, resX: int, resZ: int) Mesh
-

Generate plane mesh (with subdivisions)

+

Generate plane mesh (with subdivisions).

raylib.GenMeshPoly(sides: int, radius: float) Mesh
-

Generate polygonal mesh

+

Generate polygonal mesh.

raylib.GenMeshSphere(radius: float, rings: int, slices: int) Mesh
-

Generate sphere mesh (standard sphere)

+

Generate sphere mesh (standard sphere).

raylib.GenMeshTangents(mesh: Any | list | tuple) None
-

Compute mesh tangents

+

Compute mesh tangents.

raylib.GenMeshTorus(radius: float, size: float, radSeg: int, sides: int) Mesh
-

Generate torus mesh

+

Generate torus mesh.

raylib.GenTextureMipmaps(texture: Any | list | tuple) None
-

Generate GPU mipmaps for a texture

+

Generate GPU mipmaps for a texture.

@@ -4693,601 +4695,601 @@ are very, very similar to the C originals.

raylib.GetApplicationDirectory() bytes
-

Get the directory of the running application (uses static string)

+

Get the directory of the running application (uses static string).

raylib.GetCameraMatrix(camera: Camera3D | list | tuple) Matrix
-

Get camera transform matrix (view matrix)

+

Get camera transform matrix (view matrix).

raylib.GetCameraMatrix2D(camera: Camera2D | list | tuple) Matrix
-

Get camera 2d transform matrix

+

Get camera 2d transform matrix.

raylib.GetCharPressed() int
-

Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty

+

Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty.

raylib.GetClipboardImage() Image
-

Get clipboard image content

+

Get clipboard image content.

raylib.GetClipboardText() bytes
-

Get clipboard text content

+

Get clipboard text content.

raylib.GetCodepoint(text: bytes, codepointSize: Any) int
-

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure

+

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure.

raylib.GetCodepointCount(text: bytes) int
-

Get total number of codepoints in a UTF-8 encoded string

+

Get total number of codepoints in a UTF-8 encoded string.

raylib.GetCodepointNext(text: bytes, codepointSize: Any) int
-

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure

+

Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure.

raylib.GetCodepointPrevious(text: bytes, codepointSize: Any) int
-

Get previous codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure

+

Get previous codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure.

raylib.GetCollisionRec(rec1: Rectangle | list | tuple, rec2: Rectangle | list | tuple) Rectangle
-

Get collision rectangle for two rectangles collision

+

Get collision rectangle for two rectangles collision.

raylib.GetColor(hexValue: int) Color
-

Get Color structure from hexadecimal value

+

Get Color structure from hexadecimal value.

raylib.GetCurrentMonitor() int
-

Get current monitor where window is placed

+

Get current monitor where window is placed.

raylib.GetDirectoryPath(filePath: bytes) bytes
-

Get full path for a given fileName with path (uses static string)

+

Get full path for a given fileName with path (uses static string).

raylib.GetFPS() int
-

Get current FPS

+

Get current FPS.

raylib.GetFileExtension(fileName: bytes) bytes
-

Get pointer to extension for a filename string (includes dot: ‘.png’)

+

Get pointer to extension for a filename string (includes dot: ‘.png’).

raylib.GetFileLength(fileName: bytes) int
-

Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)

+

Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h).

raylib.GetFileModTime(fileName: bytes) int
-

Get file modification time (last write time)

+

Get file modification time (last write time).

raylib.GetFileName(filePath: bytes) bytes
-

Get pointer to filename for a path string

+

Get pointer to filename for a path string.

raylib.GetFileNameWithoutExt(filePath: bytes) bytes
-

Get filename string without extension (uses static string)

+

Get filename string without extension (uses static string).

raylib.GetFontDefault() Font
-

Get the default Font

+

Get the default Font.

raylib.GetFrameTime() float
-

Get time in seconds for last frame drawn (delta time)

+

Get time in seconds for last frame drawn (delta time).

raylib.GetGamepadAxisCount(gamepad: int) int
-

Get gamepad axis count for a gamepad

+

Get gamepad axis count for a gamepad.

raylib.GetGamepadAxisMovement(gamepad: int, axis: int) float
-

Get axis movement value for a gamepad axis

+

Get axis movement value for a gamepad axis.

raylib.GetGamepadButtonPressed() int
-

Get the last gamepad button pressed

+

Get the last gamepad button pressed.

raylib.GetGamepadName(gamepad: int) bytes
-

Get gamepad internal name id

+

Get gamepad internal name id.

raylib.GetGestureDetected() int
-

Get latest detected gesture

+

Get latest detected gesture.

raylib.GetGestureDragAngle() float
-

Get gesture drag angle

+

Get gesture drag angle.

raylib.GetGestureDragVector() Vector2
-

Get gesture drag vector

+

Get gesture drag vector.

raylib.GetGestureHoldDuration() float
-

Get gesture hold time in seconds

+

Get gesture hold time in seconds.

raylib.GetGesturePinchAngle() float
-

Get gesture pinch angle

+

Get gesture pinch angle.

raylib.GetGesturePinchVector() Vector2
-

Get gesture pinch delta

+

Get gesture pinch delta.

raylib.GetGlyphAtlasRec(font: Font | list | tuple, codepoint: int) Rectangle
-

Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to ‘?’ if not found

+

Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to ‘?’ if not found.

raylib.GetGlyphIndex(font: Font | list | tuple, codepoint: int) int
-

Get glyph index position in font for a codepoint (unicode character), fallback to ‘?’ if not found

+

Get glyph index position in font for a codepoint (unicode character), fallback to ‘?’ if not found.

raylib.GetGlyphInfo(font: Font | list | tuple, codepoint: int) GlyphInfo
-

Get glyph font info data for a codepoint (unicode character), fallback to ‘?’ if not found

+

Get glyph font info data for a codepoint (unicode character), fallback to ‘?’ if not found.

raylib.GetImageAlphaBorder(image: Image | list | tuple, threshold: float) Rectangle
-

Get image alpha border rectangle

+

Get image alpha border rectangle.

raylib.GetImageColor(image: Image | list | tuple, x: int, y: int) Color
-

Get image pixel color at (x, y) position

+

Get image pixel color at (x, y) position.

raylib.GetKeyPressed() int
-

Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty

+

Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty.

raylib.GetMasterVolume() float
-

Get master volume (listener)

+

Get master volume (listener).

raylib.GetMeshBoundingBox(mesh: Mesh | list | tuple) BoundingBox
-

Compute mesh bounding box limits

+

Compute mesh bounding box limits.

raylib.GetModelBoundingBox(model: Model | list | tuple) BoundingBox
-

Compute model bounding box limits (considers all meshes)

+

Compute model bounding box limits (considers all meshes).

raylib.GetMonitorCount() int
-

Get number of connected monitors

+

Get number of connected monitors.

raylib.GetMonitorHeight(monitor: int) int
-

Get specified monitor height (current video mode used by monitor)

+

Get specified monitor height (current video mode used by monitor).

raylib.GetMonitorName(monitor: int) bytes
-

Get the human-readable, UTF-8 encoded name of the specified monitor

+

Get the human-readable, UTF-8 encoded name of the specified monitor.

raylib.GetMonitorPhysicalHeight(monitor: int) int
-

Get specified monitor physical height in millimetres

+

Get specified monitor physical height in millimetres.

raylib.GetMonitorPhysicalWidth(monitor: int) int
-

Get specified monitor physical width in millimetres

+

Get specified monitor physical width in millimetres.

raylib.GetMonitorPosition(monitor: int) Vector2
-

Get specified monitor position

+

Get specified monitor position.

raylib.GetMonitorRefreshRate(monitor: int) int
-

Get specified monitor refresh rate

+

Get specified monitor refresh rate.

raylib.GetMonitorWidth(monitor: int) int
-

Get specified monitor width (current video mode used by monitor)

+

Get specified monitor width (current video mode used by monitor).

raylib.GetMouseDelta() Vector2
-

Get mouse delta between frames

+

Get mouse delta between frames.

raylib.GetMousePosition() Vector2
-

Get mouse position XY

+

Get mouse position XY.

raylib.GetMouseWheelMove() float
-

Get mouse wheel movement for X or Y, whichever is larger

+

Get mouse wheel movement for X or Y, whichever is larger.

raylib.GetMouseWheelMoveV() Vector2
-

Get mouse wheel movement for both X and Y

+

Get mouse wheel movement for both X and Y.

raylib.GetMouseX() int
-

Get mouse position X

+

Get mouse position X.

raylib.GetMouseY() int
-

Get mouse position Y

+

Get mouse position Y.

raylib.GetMusicTimeLength(music: Music | list | tuple) float
-

Get music time length (in seconds)

+

Get music time length (in seconds).

raylib.GetMusicTimePlayed(music: Music | list | tuple) float
-

Get current music time played (in seconds)

+

Get current music time played (in seconds).

raylib.GetPhysicsBodiesCount() int
-

Returns the current amount of created physics bodies

+

Returns the current amount of created physics bodies.

raylib.GetPhysicsBody(index: int) Any
-

Returns a physics body of the bodies pool at a specific index

+

Returns a physics body of the bodies pool at a specific index.

raylib.GetPhysicsShapeType(index: int) int
-

Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)

+

Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON).

raylib.GetPhysicsShapeVertex(body: Any | list | tuple, vertex: int) Vector2
-

Returns transformed position of a body shape (body position + vertex transformed position)

+

Returns transformed position of a body shape (body position + vertex transformed position).

raylib.GetPhysicsShapeVerticesCount(index: int) int
-

Returns the amount of vertices of a physics body shape

+

Returns the amount of vertices of a physics body shape.

raylib.GetPixelColor(srcPtr: Any, format: int) Color
-

Get Color from a source pixel pointer of certain format

+

Get Color from a source pixel pointer of certain format.

raylib.GetPixelDataSize(width: int, height: int, format: int) int
-

Get pixel data size in bytes for certain format

+

Get pixel data size in bytes for certain format.

raylib.GetPrevDirectoryPath(dirPath: bytes) bytes
-

Get previous directory path for a given path (uses static string)

+

Get previous directory path for a given path (uses static string).

raylib.GetRandomValue(min_0: int, max_1: int) int
-

Get a random value between min and max (both included)

+

Get a random value between min and max (both included).

raylib.GetRayCollisionBox(ray: Ray | list | tuple, box: BoundingBox | list | tuple) RayCollision
-

Get collision info between ray and box

+

Get collision info between ray and box.

raylib.GetRayCollisionMesh(ray: Ray | list | tuple, mesh: Mesh | list | tuple, transform: Matrix | list | tuple) RayCollision
-

Get collision info between ray and mesh

+

Get collision info between ray and mesh.

raylib.GetRayCollisionQuad(ray: Ray | list | tuple, p1: Vector3 | list | tuple, p2: Vector3 | list | tuple, p3: Vector3 | list | tuple, p4: Vector3 | list | tuple) RayCollision
-

Get collision info between ray and quad

+

Get collision info between ray and quad.

raylib.GetRayCollisionSphere(ray: Ray | list | tuple, center: Vector3 | list | tuple, radius: float) RayCollision
-

Get collision info between ray and sphere

+

Get collision info between ray and sphere.

raylib.GetRayCollisionTriangle(ray: Ray | list | tuple, p1: Vector3 | list | tuple, p2: Vector3 | list | tuple, p3: Vector3 | list | tuple) RayCollision
-

Get collision info between ray and triangle

+

Get collision info between ray and triangle.

raylib.GetRenderHeight() int
-

Get current render height (it considers HiDPI)

+

Get current render height (it considers HiDPI).

raylib.GetRenderWidth() int
-

Get current render width (it considers HiDPI)

+

Get current render width (it considers HiDPI).

raylib.GetScreenHeight() int
-

Get current screen height

+

Get current screen height.

raylib.GetScreenToWorld2D(position: Vector2 | list | tuple, camera: Camera2D | list | tuple) Vector2
-

Get the world space position for a 2d camera screen space position

+

Get the world space position for a 2d camera screen space position.

raylib.GetScreenToWorldRay(position: Vector2 | list | tuple, camera: Camera3D | list | tuple) Ray
-

Get a ray trace from screen position (i.e mouse)

+

Get a ray trace from screen position (i.e mouse).

raylib.GetScreenToWorldRayEx(position: Vector2 | list | tuple, camera: Camera3D | list | tuple, width: int, height: int) Ray
-

Get a ray trace from screen position (i.e mouse) in a viewport

+

Get a ray trace from screen position (i.e mouse) in a viewport.

raylib.GetScreenWidth() int
-

Get current screen width

+

Get current screen width.

raylib.GetShaderLocation(shader: Shader | list | tuple, uniformName: bytes) int
-

Get shader uniform location

+

Get shader uniform location.

raylib.GetShaderLocationAttrib(shader: Shader | list | tuple, attribName: bytes) int
-

Get shader attribute location

+

Get shader attribute location.

raylib.GetShapesTexture() Texture
-

Get texture that is used for shapes drawing

+

Get texture that is used for shapes drawing.

raylib.GetShapesTextureRectangle() Rectangle
-

Get texture source rectangle that is used for shapes drawing

+

Get texture source rectangle that is used for shapes drawing.

raylib.GetSplinePointBasis(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: B-Spline

+

Get (evaluate) spline point: B-Spline.

raylib.GetSplinePointBezierCubic(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, c3: Vector2 | list | tuple, p4: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Cubic Bezier

+

Get (evaluate) spline point: Cubic Bezier.

raylib.GetSplinePointBezierQuad(p1: Vector2 | list | tuple, c2: Vector2 | list | tuple, p3: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Quadratic Bezier

+

Get (evaluate) spline point: Quadratic Bezier.

raylib.GetSplinePointCatmullRom(p1: Vector2 | list | tuple, p2: Vector2 | list | tuple, p3: Vector2 | list | tuple, p4: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Catmull-Rom

+

Get (evaluate) spline point: Catmull-Rom.

raylib.GetSplinePointLinear(startPos: Vector2 | list | tuple, endPos: Vector2 | list | tuple, t: float) Vector2
-

Get (evaluate) spline point: Linear

+

Get (evaluate) spline point: Linear.

raylib.GetTime() float
-

Get elapsed time in seconds since InitWindow()

+

Get elapsed time in seconds since InitWindow().

raylib.GetTouchPointCount() int
-

Get number of touch points

+

Get number of touch points.

raylib.GetTouchPointId(index: int) int
-

Get touch point identifier for given index

+

Get touch point identifier for given index.

raylib.GetTouchPosition(index: int) Vector2
-

Get touch position XY for a touch point index (relative to screen size)

+

Get touch position XY for a touch point index (relative to screen size).

raylib.GetTouchX() int
-

Get touch position X for touch point 0 (relative to screen size)

+

Get touch position X for touch point 0 (relative to screen size).

raylib.GetTouchY() int
-

Get touch position Y for touch point 0 (relative to screen size)

+

Get touch position Y for touch point 0 (relative to screen size).

raylib.GetWindowHandle() Any
-

Get native window handle

+

Get native window handle.

raylib.GetWindowPosition() Vector2
-

Get window position XY on monitor

+

Get window position XY on monitor.

raylib.GetWindowScaleDPI() Vector2
-

Get window scale DPI factor

+

Get window scale DPI factor.

raylib.GetWorkingDirectory() bytes
-

Get current working directory (uses static string)

+

Get current working directory (uses static string).

raylib.GetWorldToScreen(position: Vector3 | list | tuple, camera: Camera3D | list | tuple) Vector2
-

Get the screen space position for a 3d world space position

+

Get the screen space position for a 3d world space position.

raylib.GetWorldToScreen2D(position: Vector2 | list | tuple, camera: Camera2D | list | tuple) Vector2
-

Get the screen space position for a 2d camera world space position

+

Get the screen space position for a 2d camera world space position.

raylib.GetWorldToScreenEx(position: Vector3 | list | tuple, camera: Camera3D | list | tuple, width: int, height: int) Vector2
-

Get size position for a 3d world space position

+

Get size position for a 3d world space position.

@@ -5323,13 +5325,13 @@ are very, very similar to the C originals.

raylib.GuiButton(bounds: Rectangle | list | tuple, text: bytes) int
-

Button control, returns true when clicked

+

Button control, returns true when clicked.

raylib.GuiCheckBox(bounds: Rectangle | list | tuple, text: bytes, checked: Any) int
-

Check Box control, returns true when active

+

Check Box control, returns true when active.

@@ -5340,37 +5342,37 @@ are very, very similar to the C originals.

raylib.GuiColorBarAlpha(bounds: Rectangle | list | tuple, text: bytes, alpha: Any) int
-

Color Bar Alpha control

+

Color Bar Alpha control.

raylib.GuiColorBarHue(bounds: Rectangle | list | tuple, text: bytes, value: Any) int
-

Color Bar Hue control

+

Color Bar Hue control.

raylib.GuiColorPanel(bounds: Rectangle | list | tuple, text: bytes, color: Any | list | tuple) int
-

Color Panel control

+

Color Panel control.

raylib.GuiColorPanelHSV(bounds: Rectangle | list | tuple, text: bytes, colorHsv: Any | list | tuple) int
-

Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()

+

Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV().

raylib.GuiColorPicker(bounds: Rectangle | list | tuple, text: bytes, color: Any | list | tuple) int
-

Color Picker control (multiple color controls)

+

Color Picker control (multiple color controls).

raylib.GuiColorPickerHSV(bounds: Rectangle | list | tuple, text: bytes, colorHsv: Any | list | tuple) int
-

Color Picker control that avoids conversion to RGB on each call (multiple color controls)

+

Color Picker control that avoids conversion to RGB on each call (multiple color controls).

@@ -5381,7 +5383,7 @@ are very, very similar to the C originals.

raylib.GuiComboBox(bounds: Rectangle | list | tuple, text: bytes, active: Any) int
-

Combo Box control

+

Combo Box control.

@@ -5407,25 +5409,25 @@ are very, very similar to the C originals.

raylib.GuiDisable() None
-

Disable gui controls (global state)

+

Disable gui controls (global state).

raylib.GuiDisableTooltip() None
-

Disable gui tooltips (global state)

+

Disable gui tooltips (global state).

raylib.GuiDrawIcon(iconId: int, posX: int, posY: int, pixelSize: int, color: Color | list | tuple) None
-

Draw icon using pixel size at specified position

+

Draw icon using pixel size at specified position.

raylib.GuiDropdownBox(bounds: Rectangle | list | tuple, text: bytes, active: Any, editMode: bool) int
-

Dropdown Box control

+

Dropdown Box control.

@@ -5436,55 +5438,55 @@ are very, very similar to the C originals.

raylib.GuiDummyRec(bounds: Rectangle | list | tuple, text: bytes) int
-

Dummy control for placeholders

+

Dummy control for placeholders.

raylib.GuiEnable() None
-

Enable gui controls (global state)

+

Enable gui controls (global state).

raylib.GuiEnableTooltip() None
-

Enable gui tooltips (global state)

+

Enable gui tooltips (global state).

raylib.GuiGetFont() Font
-

Get gui custom font (global state)

+

Get gui custom font (global state).

raylib.GuiGetIcons() Any
-

Get raygui icons data pointer

+

Get raygui icons data pointer.

raylib.GuiGetState() int
-

Get gui state (global state)

+

Get gui state (global state).

raylib.GuiGetStyle(control: int, property: int) int
-

Get one style property

+

Get one style property.

raylib.GuiGrid(bounds: Rectangle | list | tuple, text: bytes, spacing: float, subdivs: int, mouseCell: Any | list | tuple) int
-

Grid control

+

Grid control.

raylib.GuiGroupBox(bounds: Rectangle | list | tuple, text: bytes) int
-

Group Box control with text name

+

Group Box control with text name.

@@ -5495,43 +5497,43 @@ are very, very similar to the C originals.

raylib.GuiIconText(iconId: int, text: bytes) bytes
-

Get text with icon id prepended (if supported)

+

Get text with icon id prepended (if supported).

raylib.GuiIsLocked() bool
-

Check if gui is locked (global state)

+

Check if gui is locked (global state).

raylib.GuiLabel(bounds: Rectangle | list | tuple, text: bytes) int
-

Label control

+

Label control.

raylib.GuiLabelButton(bounds: Rectangle | list | tuple, text: bytes) int
-

Label button control, returns true when clicked

+

Label button control, returns true when clicked.

raylib.GuiLine(bounds: Rectangle | list | tuple, text: bytes) int
-

Line separator control, could contain text

+

Line separator control, could contain text.

raylib.GuiListView(bounds: Rectangle | list | tuple, text: bytes, scrollIndex: Any, active: Any) int
-

List View control

+

List View control.

raylib.GuiListViewEx(bounds: Rectangle | list | tuple, text: list[bytes], count: int, scrollIndex: Any, active: Any, focus: Any) int
-

List View with extended parameters

+

List View with extended parameters.

@@ -5542,43 +5544,43 @@ are very, very similar to the C originals.

raylib.GuiLoadIcons(fileName: bytes, loadIconsName: bool) list[bytes]
-

Load raygui icons file (.rgi) into internal icons data

+

Load raygui icons file (.rgi) into internal icons data.

raylib.GuiLoadStyle(fileName: bytes) None
-

Load style file over global style variable (.rgs)

+

Load style file over global style variable (.rgs).

raylib.GuiLoadStyleDefault() None
-

Load style default over global style

+

Load style default over global style.

raylib.GuiLock() None
-

Lock gui controls (global state)

+

Lock gui controls (global state).

raylib.GuiMessageBox(bounds: Rectangle | list | tuple, title: bytes, message: bytes, buttons: bytes) int
-

Message Box control, displays a message

+

Message Box control, displays a message.

raylib.GuiPanel(bounds: Rectangle | list | tuple, text: bytes) int
-

Panel control, useful to group controls

+

Panel control, useful to group controls.

raylib.GuiProgressBar(bounds: Rectangle | list | tuple, textLeft: bytes, textRight: bytes, value: Any, minValue: float, maxValue: float) int
-

Progress Bar control

+

Progress Bar control.

@@ -5594,55 +5596,55 @@ are very, very similar to the C originals.

raylib.GuiScrollPanel(bounds: Rectangle | list | tuple, text: bytes, content: Rectangle | list | tuple, scroll: Any | list | tuple, view: Any | list | tuple) int
-

Scroll Panel control

+

Scroll Panel control.

raylib.GuiSetAlpha(alpha: float) None
-

Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f

+

Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f.

raylib.GuiSetFont(font: Font | list | tuple) None
-

Set gui custom font (global state)

+

Set gui custom font (global state).

raylib.GuiSetIconScale(scale: int) None
-

Set default icon drawing size

+

Set default icon drawing size.

raylib.GuiSetState(state: int) None
-

Set gui state (global state)

+

Set gui state (global state).

raylib.GuiSetStyle(control: int, property: int, value: int) None
-

Set one style property

+

Set one style property.

raylib.GuiSetTooltip(tooltip: bytes) None
-

Set tooltip string

+

Set tooltip string.

raylib.GuiSlider(bounds: Rectangle | list | tuple, textLeft: bytes, textRight: bytes, value: Any, minValue: float, maxValue: float) int
-

Slider control

+

Slider control.

raylib.GuiSliderBar(bounds: Rectangle | list | tuple, textLeft: bytes, textRight: bytes, value: Any, minValue: float, maxValue: float) int
-

Slider Bar control

+

Slider Bar control.

@@ -5653,7 +5655,7 @@ are very, very similar to the C originals.

raylib.GuiSpinner(bounds: Rectangle | list | tuple, text: bytes, value: Any, minValue: int, maxValue: int, editMode: bool) int
-

Spinner control

+

Spinner control.

@@ -5669,7 +5671,7 @@ are very, very similar to the C originals.

raylib.GuiStatusBar(bounds: Rectangle | list | tuple, text: bytes) int
-

Status Bar control, shows info text

+

Status Bar control, shows info text.

@@ -5695,7 +5697,7 @@ are very, very similar to the C originals.

raylib.GuiTabBar(bounds: Rectangle | list | tuple, text: list[bytes], count: int, active: Any) int
-

Tab Bar control, returns TAB to be closed or -1

+

Tab Bar control, returns TAB to be closed or -1.

@@ -5711,7 +5713,7 @@ are very, very similar to the C originals.

raylib.GuiTextBox(bounds: Rectangle | list | tuple, text: bytes, textSize: int, editMode: bool) int
-

Text Box control, updates input text

+

Text Box control, updates input text.

@@ -5722,7 +5724,7 @@ are very, very similar to the C originals.

raylib.GuiTextInputBox(bounds: Rectangle | list | tuple, title: bytes, message: bytes, buttons: bytes, text: bytes, textMaxSize: int, secretViewActive: Any) int
-

Text Input Box control, ask for text, supports secret

+

Text Input Box control, ask for text, supports secret.

@@ -5733,13 +5735,13 @@ are very, very similar to the C originals.

raylib.GuiToggle(bounds: Rectangle | list | tuple, text: bytes, active: Any) int
-

Toggle Button control

+

Toggle Button control.

raylib.GuiToggleGroup(bounds: Rectangle | list | tuple, text: bytes, active: Any) int
-

Toggle Group control

+

Toggle Group control.

@@ -5750,31 +5752,31 @@ are very, very similar to the C originals.

raylib.GuiToggleSlider(bounds: Rectangle | list | tuple, text: bytes, active: Any) int
-

Toggle Slider control

+

Toggle Slider control.

raylib.GuiUnlock() None
-

Unlock gui controls (global state)

+

Unlock gui controls (global state).

raylib.GuiValueBox(bounds: Rectangle | list | tuple, text: bytes, value: Any, minValue: int, maxValue: int, editMode: bool) int
-

Value Box control, updates input text with numbers

+

Value Box control, updates input text with numbers.

raylib.GuiValueBoxFloat(bounds: Rectangle | list | tuple, text: bytes, textValue: bytes, value: Any, editMode: bool) int
-

Value box control for float values

+

Value box control for float values.

raylib.GuiWindowBox(bounds: Rectangle | list | tuple, title: bytes) int
-

Window Box control, shows a window that can be closed

+

Window Box control, shows a window that can be closed.

@@ -5800,7 +5802,7 @@ are very, very similar to the C originals.

raylib.HideCursor() None
-

Hides cursor

+

Hides cursor.

@@ -7116,607 +7118,607 @@ are very, very similar to the C originals.

raylib.ImageAlphaClear(image: Any | list | tuple, color: Color | list | tuple, threshold: float) None
-

Clear alpha channel to desired color

+

Clear alpha channel to desired color.

raylib.ImageAlphaCrop(image: Any | list | tuple, threshold: float) None
-

Crop image depending on alpha value

+

Crop image depending on alpha value.

raylib.ImageAlphaMask(image: Any | list | tuple, alphaMask: Image | list | tuple) None
-

Apply alpha mask to image

+

Apply alpha mask to image.

raylib.ImageAlphaPremultiply(image: Any | list | tuple) None
-

Premultiply alpha channel

+

Premultiply alpha channel.

raylib.ImageBlurGaussian(image: Any | list | tuple, blurSize: int) None
-

Apply Gaussian blur using a box blur approximation

+

Apply Gaussian blur using a box blur approximation.

raylib.ImageClearBackground(dst: Any | list | tuple, color: Color | list | tuple) None
-

Clear image background with given color

+

Clear image background with given color.

raylib.ImageColorBrightness(image: Any | list | tuple, brightness: int) None
-

Modify image color: brightness (-255 to 255)

+

Modify image color: brightness (-255 to 255).

raylib.ImageColorContrast(image: Any | list | tuple, contrast: float) None
-

Modify image color: contrast (-100 to 100)

+

Modify image color: contrast (-100 to 100).

raylib.ImageColorGrayscale(image: Any | list | tuple) None
-

Modify image color: grayscale

+

Modify image color: grayscale.

raylib.ImageColorInvert(image: Any | list | tuple) None
-

Modify image color: invert

+

Modify image color: invert.

raylib.ImageColorReplace(image: Any | list | tuple, color: Color | list | tuple, replace: Color | list | tuple) None
-

Modify image color: replace color

+

Modify image color: replace color.

raylib.ImageColorTint(image: Any | list | tuple, color: Color | list | tuple) None
-

Modify image color: tint

+

Modify image color: tint.

raylib.ImageCopy(image: Image | list | tuple) Image
-

Create an image duplicate (useful for transformations)

+

Create an image duplicate (useful for transformations).

raylib.ImageCrop(image: Any | list | tuple, crop: Rectangle | list | tuple) None
-

Crop an image to a defined rectangle

+

Crop an image to a defined rectangle.

raylib.ImageDither(image: Any | list | tuple, rBpp: int, gBpp: int, bBpp: int, aBpp: int) None
-

Dither image data to 16bpp or lower (Floyd-Steinberg dithering)

+

Dither image data to 16bpp or lower (Floyd-Steinberg dithering).

raylib.ImageDraw(dst: Any | list | tuple, src: Image | list | tuple, srcRec: Rectangle | list | tuple, dstRec: Rectangle | list | tuple, tint: Color | list | tuple) None
-

Draw a source image within a destination image (tint applied to source)

+

Draw a source image within a destination image (tint applied to source).

raylib.ImageDrawCircle(dst: Any | list | tuple, centerX: int, centerY: int, radius: int, color: Color | list | tuple) None
-

Draw a filled circle within an image

+

Draw a filled circle within an image.

raylib.ImageDrawCircleLines(dst: Any | list | tuple, centerX: int, centerY: int, radius: int, color: Color | list | tuple) None
-

Draw circle outline within an image

+

Draw circle outline within an image.

raylib.ImageDrawCircleLinesV(dst: Any | list | tuple, center: Vector2 | list | tuple, radius: int, color: Color | list | tuple) None
-

Draw circle outline within an image (Vector version)

+

Draw circle outline within an image (Vector version).

raylib.ImageDrawCircleV(dst: Any | list | tuple, center: Vector2 | list | tuple, radius: int, color: Color | list | tuple) None
-

Draw a filled circle within an image (Vector version)

+

Draw a filled circle within an image (Vector version).

raylib.ImageDrawLine(dst: Any | list | tuple, startPosX: int, startPosY: int, endPosX: int, endPosY: int, color: Color | list | tuple) None
-

Draw line within an image

+

Draw line within an image.

raylib.ImageDrawLineEx(dst: Any | list | tuple, start: Vector2 | list | tuple, end: Vector2 | list | tuple, thick: int, color: Color | list | tuple) None
-

Draw a line defining thickness within an image

+

Draw a line defining thickness within an image.

raylib.ImageDrawLineV(dst: Any | list | tuple, start: Vector2 | list | tuple, end: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw line within an image (Vector version)

+

Draw line within an image (Vector version).

raylib.ImageDrawPixel(dst: Any | list | tuple, posX: int, posY: int, color: Color | list | tuple) None
-

Draw pixel within an image

+

Draw pixel within an image.

raylib.ImageDrawPixelV(dst: Any | list | tuple, position: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw pixel within an image (Vector version)

+

Draw pixel within an image (Vector version).

raylib.ImageDrawRectangle(dst: Any | list | tuple, posX: int, posY: int, width: int, height: int, color: Color | list | tuple) None
-

Draw rectangle within an image

+

Draw rectangle within an image.

raylib.ImageDrawRectangleLines(dst: Any | list | tuple, rec: Rectangle | list | tuple, thick: int, color: Color | list | tuple) None
-

Draw rectangle lines within an image

+

Draw rectangle lines within an image.

raylib.ImageDrawRectangleRec(dst: Any | list | tuple, rec: Rectangle | list | tuple, color: Color | list | tuple) None
-

Draw rectangle within an image

+

Draw rectangle within an image.

raylib.ImageDrawRectangleV(dst: Any | list | tuple, position: Vector2 | list | tuple, size: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw rectangle within an image (Vector version)

+

Draw rectangle within an image (Vector version).

raylib.ImageDrawText(dst: Any | list | tuple, text: bytes, posX: int, posY: int, fontSize: int, color: Color | list | tuple) None
-

Draw text (using default font) within an image (destination)

+

Draw text (using default font) within an image (destination).

raylib.ImageDrawTextEx(dst: Any | list | tuple, font: Font | list | tuple, text: bytes, position: Vector2 | list | tuple, fontSize: float, spacing: float, tint: Color | list | tuple) None
-

Draw text (custom sprite font) within an image (destination)

+

Draw text (custom sprite font) within an image (destination).

raylib.ImageDrawTriangle(dst: Any | list | tuple, v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw triangle within an image

+

Draw triangle within an image.

raylib.ImageDrawTriangleEx(dst: Any | list | tuple, v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, c1: Color | list | tuple, c2: Color | list | tuple, c3: Color | list | tuple) None
-

Draw triangle with interpolated colors within an image

+

Draw triangle with interpolated colors within an image.

raylib.ImageDrawTriangleFan(dst: Any | list | tuple, points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle fan defined by points within an image (first vertex is the center)

+

Draw a triangle fan defined by points within an image (first vertex is the center).

raylib.ImageDrawTriangleLines(dst: Any | list | tuple, v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, v3: Vector2 | list | tuple, color: Color | list | tuple) None
-

Draw triangle outline within an image

+

Draw triangle outline within an image.

raylib.ImageDrawTriangleStrip(dst: Any | list | tuple, points: Any | list | tuple, pointCount: int, color: Color | list | tuple) None
-

Draw a triangle strip defined by points within an image

+

Draw a triangle strip defined by points within an image.

raylib.ImageFlipHorizontal(image: Any | list | tuple) None
-

Flip image horizontally

+

Flip image horizontally.

raylib.ImageFlipVertical(image: Any | list | tuple) None
-

Flip image vertically

+

Flip image vertically.

raylib.ImageFormat(image: Any | list | tuple, newFormat: int) None
-

Convert image data to desired format

+

Convert image data to desired format.

raylib.ImageFromChannel(image: Image | list | tuple, selectedChannel: int) Image
-

Create an image from a selected channel of another image (GRAYSCALE)

+

Create an image from a selected channel of another image (GRAYSCALE).

raylib.ImageFromImage(image: Image | list | tuple, rec: Rectangle | list | tuple) Image
-

Create an image from another image piece

+

Create an image from another image piece.

raylib.ImageKernelConvolution(image: Any | list | tuple, kernel: Any, kernelSize: int) None
-

Apply custom square convolution kernel to image

+

Apply custom square convolution kernel to image.

raylib.ImageMipmaps(image: Any | list | tuple) None
-

Compute all mipmap levels for a provided image

+

Compute all mipmap levels for a provided image.

raylib.ImageResize(image: Any | list | tuple, newWidth: int, newHeight: int) None
-

Resize image (Bicubic scaling algorithm)

+

Resize image (Bicubic scaling algorithm).

raylib.ImageResizeCanvas(image: Any | list | tuple, newWidth: int, newHeight: int, offsetX: int, offsetY: int, fill: Color | list | tuple) None
-

Resize canvas and fill with color

+

Resize canvas and fill with color.

raylib.ImageResizeNN(image: Any | list | tuple, newWidth: int, newHeight: int) None
-

Resize image (Nearest-Neighbor scaling algorithm)

+

Resize image (Nearest-Neighbor scaling algorithm).

raylib.ImageRotate(image: Any | list | tuple, degrees: int) None
-

Rotate image by input angle in degrees (-359 to 359)

+

Rotate image by input angle in degrees (-359 to 359).

raylib.ImageRotateCCW(image: Any | list | tuple) None
-

Rotate image counter-clockwise 90deg

+

Rotate image counter-clockwise 90deg.

raylib.ImageRotateCW(image: Any | list | tuple) None
-

Rotate image clockwise 90deg

+

Rotate image clockwise 90deg.

raylib.ImageText(text: bytes, fontSize: int, color: Color | list | tuple) Image
-

Create an image from text (default font)

+

Create an image from text (default font).

raylib.ImageTextEx(font: Font | list | tuple, text: bytes, fontSize: float, spacing: float, tint: Color | list | tuple) Image
-

Create an image from text (custom sprite font)

+

Create an image from text (custom sprite font).

raylib.ImageToPOT(image: Any | list | tuple, fill: Color | list | tuple) None
-

Convert image to POT (power-of-two)

+

Convert image to POT (power-of-two).

raylib.InitAudioDevice() None
-

Initialize audio device and context

+

Initialize audio device and context.

raylib.InitPhysics() None
-

Initializes physics system

+

Initializes physics system.

raylib.InitWindow(width: int, height: int, title: bytes) None
-

Initialize window and OpenGL context

+

Initialize window and OpenGL context.

raylib.IsAudioDeviceReady() bool
-

Check if audio device has been initialized successfully

+

Check if audio device has been initialized successfully.

raylib.IsAudioStreamPlaying(stream: AudioStream | list | tuple) bool
-

Check if audio stream is playing

+

Check if audio stream is playing.

raylib.IsAudioStreamProcessed(stream: AudioStream | list | tuple) bool
-

Check if any audio stream buffers requires refill

+

Check if any audio stream buffers requires refill.

raylib.IsAudioStreamValid(stream: AudioStream | list | tuple) bool
-

Checks if an audio stream is valid (buffers initialized)

+

Checks if an audio stream is valid (buffers initialized).

raylib.IsCursorHidden() bool
-

Check if cursor is not visible

+

Check if cursor is not visible.

raylib.IsCursorOnScreen() bool
-

Check if cursor is on the screen

+

Check if cursor is on the screen.

raylib.IsFileDropped() bool
-

Check if a file has been dropped into window

+

Check if a file has been dropped into window.

raylib.IsFileExtension(fileName: bytes, ext: bytes) bool
-

Check file extension (including point: .png, .wav)

+

Check file extension (including point: .png, .wav).

raylib.IsFileNameValid(fileName: bytes) bool
-

Check if fileName is valid for the platform/OS

+

Check if fileName is valid for the platform/OS.

raylib.IsFontValid(font: Font | list | tuple) bool
-

Check if a font is valid (font data loaded, WARNING: GPU texture not checked)

+

Check if a font is valid (font data loaded, WARNING: GPU texture not checked).

raylib.IsGamepadAvailable(gamepad: int) bool
-

Check if a gamepad is available

+

Check if a gamepad is available.

raylib.IsGamepadButtonDown(gamepad: int, button: int) bool
-

Check if a gamepad button is being pressed

+

Check if a gamepad button is being pressed.

raylib.IsGamepadButtonPressed(gamepad: int, button: int) bool
-

Check if a gamepad button has been pressed once

+

Check if a gamepad button has been pressed once.

raylib.IsGamepadButtonReleased(gamepad: int, button: int) bool
-

Check if a gamepad button has been released once

+

Check if a gamepad button has been released once.

raylib.IsGamepadButtonUp(gamepad: int, button: int) bool
-

Check if a gamepad button is NOT being pressed

+

Check if a gamepad button is NOT being pressed.

raylib.IsGestureDetected(gesture: int) bool
-

Check if a gesture have been detected

+

Check if a gesture have been detected.

raylib.IsImageValid(image: Image | list | tuple) bool
-

Check if an image is valid (data and parameters)

+

Check if an image is valid (data and parameters).

raylib.IsKeyDown(key: int) bool
-

Check if a key is being pressed

+

Check if a key is being pressed.

raylib.IsKeyPressed(key: int) bool
-

Check if a key has been pressed once

+

Check if a key has been pressed once.

raylib.IsKeyPressedRepeat(key: int) bool
-

Check if a key has been pressed again

+

Check if a key has been pressed again.

raylib.IsKeyReleased(key: int) bool
-

Check if a key has been released once

+

Check if a key has been released once.

raylib.IsKeyUp(key: int) bool
-

Check if a key is NOT being pressed

+

Check if a key is NOT being pressed.

raylib.IsMaterialValid(material: Material | list | tuple) bool
-

Check if a material is valid (shader assigned, map textures loaded in GPU)

+

Check if a material is valid (shader assigned, map textures loaded in GPU).

raylib.IsModelAnimationValid(model: Model | list | tuple, anim: ModelAnimation | list | tuple) bool
-

Check model animation skeleton match

+

Check model animation skeleton match.

raylib.IsModelValid(model: Model | list | tuple) bool
-

Check if a model is valid (loaded in GPU, VAO/VBOs)

+

Check if a model is valid (loaded in GPU, VAO/VBOs).

raylib.IsMouseButtonDown(button: int) bool
-

Check if a mouse button is being pressed

+

Check if a mouse button is being pressed.

raylib.IsMouseButtonPressed(button: int) bool
-

Check if a mouse button has been pressed once

+

Check if a mouse button has been pressed once.

raylib.IsMouseButtonReleased(button: int) bool
-

Check if a mouse button has been released once

+

Check if a mouse button has been released once.

raylib.IsMouseButtonUp(button: int) bool
-

Check if a mouse button is NOT being pressed

+

Check if a mouse button is NOT being pressed.

raylib.IsMusicStreamPlaying(music: Music | list | tuple) bool
-

Check if music is playing

+

Check if music is playing.

raylib.IsMusicValid(music: Music | list | tuple) bool
-

Checks if a music stream is valid (context and buffers initialized)

+

Checks if a music stream is valid (context and buffers initialized).

raylib.IsPathFile(path: bytes) bool
-

Check if a given path is a file or a directory

+

Check if a given path is a file or a directory.

raylib.IsRenderTextureValid(target: RenderTexture | list | tuple) bool
-

Check if a render texture is valid (loaded in GPU)

+

Check if a render texture is valid (loaded in GPU).

raylib.IsShaderValid(shader: Shader | list | tuple) bool
-

Check if a shader is valid (loaded on GPU)

+

Check if a shader is valid (loaded on GPU).

raylib.IsSoundPlaying(sound: Sound | list | tuple) bool
-

Check if a sound is currently playing

+

Check if a sound is currently playing.

raylib.IsSoundValid(sound: Sound | list | tuple) bool
-

Checks if a sound is valid (data loaded and buffers initialized)

+

Checks if a sound is valid (data loaded and buffers initialized).

raylib.IsTextureValid(texture: Texture | list | tuple) bool
-

Check if a texture is valid (loaded in GPU)

+

Check if a texture is valid (loaded in GPU).

raylib.IsWaveValid(wave: Wave | list | tuple) bool
-

Checks if wave data is valid (data loaded and parameters)

+

Checks if wave data is valid (data loaded and parameters).

raylib.IsWindowFocused() bool
-

Check if window is currently focused

+

Check if window is currently focused.

raylib.IsWindowFullscreen() bool
-

Check if window is currently fullscreen

+

Check if window is currently fullscreen.

raylib.IsWindowHidden() bool
-

Check if window is currently hidden

+

Check if window is currently hidden.

raylib.IsWindowMaximized() bool
-

Check if window is currently maximized

+

Check if window is currently maximized.

raylib.IsWindowMinimized() bool
-

Check if window is currently minimized

+

Check if window is currently minimized.

raylib.IsWindowReady() bool
-

Check if window has been initialized successfully

+

Check if window has been initialized successfully.

raylib.IsWindowResized() bool
-

Check if window has been resized last frame

+

Check if window has been resized last frame.

raylib.IsWindowState(flag: int) bool
-

Check if one specific window flag is enabled

+

Check if one specific window flag is enabled.

@@ -8357,270 +8359,271 @@ are very, very similar to the C originals.

raylib.Lerp(start: float, end: float, amount: float) float
-
+

.

+
raylib.LoadAudioStream(sampleRate: int, sampleSize: int, channels: int) AudioStream
-

Load audio stream (to stream raw audio pcm data)

+

Load audio stream (to stream raw audio pcm data).

raylib.LoadAutomationEventList(fileName: bytes) AutomationEventList
-

Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS

+

Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS.

raylib.LoadCodepoints(text: bytes, count: Any) Any
-

Load all codepoints from a UTF-8 text string, codepoints count returned by parameter

+

Load all codepoints from a UTF-8 text string, codepoints count returned by parameter.

raylib.LoadDirectoryFiles(dirPath: bytes) FilePathList
-

Load directory filepaths

+

Load directory filepaths.

raylib.LoadDirectoryFilesEx(basePath: bytes, filter: bytes, scanSubdirs: bool) FilePathList
-

Load directory filepaths with extension filtering and recursive directory scan. Use ‘DIR’ in the filter string to include directories in the result

+

Load directory filepaths with extension filtering and recursive directory scan. Use ‘DIR’ in the filter string to include directories in the result.

raylib.LoadDroppedFiles() FilePathList
-

Load dropped filepaths

+

Load dropped filepaths.

raylib.LoadFileData(fileName: bytes, dataSize: Any) bytes
-

Load file data as byte array (read)

+

Load file data as byte array (read).

raylib.LoadFileText(fileName: bytes) bytes
-

Load text data from file (read), returns a ‘' terminated string

+

Load text data from file (read), returns a ‘' terminated string.

raylib.LoadFont(fileName: bytes) Font
-

Load font from file into GPU memory (VRAM)

+

Load font from file into GPU memory (VRAM).

raylib.LoadFontData(fileData: bytes, dataSize: int, fontSize: int, codepoints: Any, codepointCount: int, type: int) Any
-

Load font data for further use

+

Load font data for further use.

raylib.LoadFontEx(fileName: bytes, fontSize: int, codepoints: Any, codepointCount: int) Font
-

Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height

+

Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height.

raylib.LoadFontFromImage(image: Image | list | tuple, key: Color | list | tuple, firstChar: int) Font
-

Load font from Image (XNA style)

+

Load font from Image (XNA style).

raylib.LoadFontFromMemory(fileType: bytes, fileData: bytes, dataSize: int, fontSize: int, codepoints: Any, codepointCount: int) Font
-

Load font from memory buffer, fileType refers to extension: i.e. ‘.ttf’

+

Load font from memory buffer, fileType refers to extension: i.e. ‘.ttf’.

raylib.LoadImage(fileName: bytes) Image
-

Load image from file into CPU memory (RAM)

+

Load image from file into CPU memory (RAM).

raylib.LoadImageAnim(fileName: bytes, frames: Any) Image
-

Load image sequence from file (frames appended to image.data)

+

Load image sequence from file (frames appended to image.data).

raylib.LoadImageAnimFromMemory(fileType: bytes, fileData: bytes, dataSize: int, frames: Any) Image
-

Load image sequence from memory buffer

+

Load image sequence from memory buffer.

raylib.LoadImageColors(image: Image | list | tuple) Any
-

Load color data from image as a Color array (RGBA - 32bit)

+

Load color data from image as a Color array (RGBA - 32bit).

raylib.LoadImageFromMemory(fileType: bytes, fileData: bytes, dataSize: int) Image
-

Load image from memory buffer, fileType refers to extension: i.e. ‘.png’

+

Load image from memory buffer, fileType refers to extension: i.e. ‘.png’.

raylib.LoadImageFromScreen() Image
-

Load image from screen buffer and (screenshot)

+

Load image from screen buffer and (screenshot).

raylib.LoadImageFromTexture(texture: Texture | list | tuple) Image
-

Load image from GPU texture data

+

Load image from GPU texture data.

raylib.LoadImagePalette(image: Image | list | tuple, maxPaletteSize: int, colorCount: Any) Any
-

Load colors palette from image as a Color array (RGBA - 32bit)

+

Load colors palette from image as a Color array (RGBA - 32bit).

raylib.LoadImageRaw(fileName: bytes, width: int, height: int, format: int, headerSize: int) Image
-

Load image from RAW file data

+

Load image from RAW file data.

raylib.LoadMaterialDefault() Material
-

Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)

+

Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps).

raylib.LoadMaterials(fileName: bytes, materialCount: Any) Any
-

Load materials from model file

+

Load materials from model file.

raylib.LoadModel(fileName: bytes) Model
-

Load model from files (meshes and materials)

+

Load model from files (meshes and materials).

raylib.LoadModelAnimations(fileName: bytes, animCount: Any) Any
-

Load model animations from file

+

Load model animations from file.

raylib.LoadModelFromMesh(mesh: Mesh | list | tuple) Model
-

Load model from generated mesh (default material)

+

Load model from generated mesh (default material).

raylib.LoadMusicStream(fileName: bytes) Music
-

Load music stream from file

+

Load music stream from file.

raylib.LoadMusicStreamFromMemory(fileType: bytes, data: bytes, dataSize: int) Music
-

Load music stream from data

+

Load music stream from data.

raylib.LoadRandomSequence(count: int, min_1: int, max_2: int) Any
-

Load random values sequence, no values repeated

+

Load random values sequence, no values repeated.

raylib.LoadRenderTexture(width: int, height: int) RenderTexture
-

Load texture for rendering (framebuffer)

+

Load texture for rendering (framebuffer).

raylib.LoadShader(vsFileName: bytes, fsFileName: bytes) Shader
-

Load shader from files and bind default locations

+

Load shader from files and bind default locations.

raylib.LoadShaderFromMemory(vsCode: bytes, fsCode: bytes) Shader
-

Load shader from code strings and bind default locations

+

Load shader from code strings and bind default locations.

raylib.LoadSound(fileName: bytes) Sound
-

Load sound from file

+

Load sound from file.

raylib.LoadSoundAlias(source: Sound | list | tuple) Sound
-

Create a new sound that shares the same sample data as the source sound, does not own the sound data

+

Create a new sound that shares the same sample data as the source sound, does not own the sound data.

raylib.LoadSoundFromWave(wave: Wave | list | tuple) Sound
-

Load sound from wave data

+

Load sound from wave data.

raylib.LoadTexture(fileName: bytes) Texture
-

Load texture from file into GPU memory (VRAM)

+

Load texture from file into GPU memory (VRAM).

raylib.LoadTextureCubemap(image: Image | list | tuple, layout: int) Texture
-

Load cubemap from image, multiple image cubemap layouts supported

+

Load cubemap from image, multiple image cubemap layouts supported.

raylib.LoadTextureFromImage(image: Image | list | tuple) Texture
-

Load texture from image data

+

Load texture from image data.

raylib.LoadUTF8(codepoints: Any, length: int) bytes
-

Load UTF-8 text encoded from codepoints array

+

Load UTF-8 text encoded from codepoints array.

raylib.LoadVrStereoConfig(device: VrDeviceInfo | list | tuple) VrStereoConfig
-

Load VR stereo config for VR simulator device parameters

+

Load VR stereo config for VR simulator device parameters.

raylib.LoadWave(fileName: bytes) Wave
-

Load wave data from file

+

Load wave data from file.

raylib.LoadWaveFromMemory(fileType: bytes, fileData: bytes, dataSize: int) Wave
-

Load wave from memory buffer, fileType refers to extension: i.e. ‘.wav’

+

Load wave from memory buffer, fileType refers to extension: i.e. ‘.wav’.

raylib.LoadWaveSamples(wave: Wave | list | tuple) Any
-

Load samples data from wave as a 32bit float data array

+

Load samples data from wave as a 32bit float data array.

@@ -8781,7 +8784,7 @@ are very, very similar to the C originals.

raylib.MakeDirectory(dirPath: bytes) int
-

Create directories (including full path requested), returns 0 on success

+

Create directories (including full path requested), returns 0 on success.

@@ -8942,147 +8945,169 @@ are very, very similar to the C originals.

raylib.MatrixAdd(left: Matrix | list | tuple, right: Matrix | list | tuple) Matrix
-
+

.

+
raylib.MatrixDecompose(mat: Matrix | list | tuple, translation: Any | list | tuple, rotation: Any | list | tuple, scale: Any | list | tuple) None
-
+

.

+
raylib.MatrixDeterminant(mat: Matrix | list | tuple) float
-
+

.

+
raylib.MatrixFrustum(left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float) Matrix
-
+

.

+
raylib.MatrixIdentity() Matrix
-
+

.

+
raylib.MatrixInvert(mat: Matrix | list | tuple) Matrix
-
+

.

+
raylib.MatrixLookAt(eye: Vector3 | list | tuple, target: Vector3 | list | tuple, up: Vector3 | list | tuple) Matrix
-
+

.

+
raylib.MatrixMultiply(left: Matrix | list | tuple, right: Matrix | list | tuple) Matrix
-
+

.

+
raylib.MatrixOrtho(left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float) Matrix
-
+

.

+
raylib.MatrixPerspective(fovY: float, aspect: float, nearPlane: float, farPlane: float) Matrix
-
+

.

+
raylib.MatrixRotate(axis: Vector3 | list | tuple, angle: float) Matrix
-
+

.

+
raylib.MatrixRotateX(angle: float) Matrix
-
+

.

+
raylib.MatrixRotateXYZ(angle: Vector3 | list | tuple) Matrix
-
+

.

+
raylib.MatrixRotateY(angle: float) Matrix
-
+

.

+
raylib.MatrixRotateZ(angle: float) Matrix
-
+

.

+
raylib.MatrixRotateZYX(angle: Vector3 | list | tuple) Matrix
-
+

.

+
raylib.MatrixScale(x: float, y: float, z: float) Matrix
-
+

.

+
raylib.MatrixSubtract(left: Matrix | list | tuple, right: Matrix | list | tuple) Matrix
-
+

.

+
raylib.MatrixToFloatV(mat: Matrix | list | tuple) float16
-
+

.

+
raylib.MatrixTrace(mat: Matrix | list | tuple) float
-
+

.

+
raylib.MatrixTranslate(x: float, y: float, z: float) Matrix
-
+

.

+
raylib.MatrixTranspose(mat: Matrix | list | tuple) Matrix
-
+

.

+
raylib.MaximizeWindow() None
-

Set window state: maximized, if resizable

+

Set window state: maximized, if resizable.

raylib.MeasureText(text: bytes, fontSize: int) int
-

Measure string width for default font

+

Measure string width for default font.

raylib.MeasureTextEx(font: Font | list | tuple, text: bytes, fontSize: float, spacing: float) Vector2
-

Measure string size for Font

+

Measure string size for Font.

raylib.MemAlloc(size: int) Any
-

Internal memory allocator

+

Internal memory allocator.

raylib.MemFree(ptr: Any) None
-

Internal memory free

+

Internal memory free.

raylib.MemRealloc(ptr: Any, size: int) Any
-

Internal memory reallocator

+

Internal memory reallocator.

@@ -9178,7 +9203,7 @@ are very, very similar to the C originals.

raylib.MinimizeWindow() None
-

Set window state: minimized, if resizable

+

Set window state: minimized, if resizable.

@@ -9359,7 +9384,8 @@ are very, very similar to the C originals.

raylib.Normalize(value: float, start: float, end: float) float
-
+

.

+
@@ -9369,7 +9395,7 @@ are very, very similar to the C originals.

raylib.OpenURL(url: bytes) None
-

Open URL with default system browser (if available)

+

Open URL with default system browser (if available).

@@ -9525,31 +9551,31 @@ are very, very similar to the C originals.

raylib.PauseAudioStream(stream: AudioStream | list | tuple) None
-

Pause audio stream

+

Pause audio stream.

raylib.PauseMusicStream(music: Music | list | tuple) None
-

Pause music playing

+

Pause music playing.

raylib.PauseSound(sound: Sound | list | tuple) None
-

Pause a sound

+

Pause a sound.

raylib.PhysicsAddForce(body: Any | list | tuple, force: Vector2 | list | tuple) None
-

Adds a force to a physics body

+

Adds a force to a physics body.

raylib.PhysicsAddTorque(body: Any | list | tuple, amount: float) None
-

Adds an angular force to a physics body

+

Adds an angular force to a physics body.

@@ -9745,7 +9771,7 @@ are very, very similar to the C originals.

raylib.PhysicsShatter(body: Any | list | tuple, position: Vector2 | list | tuple, force: float) None
-

Shatters a polygon shape physics body to little physics bodies with explosion force

+

Shatters a polygon shape physics body to little physics bodies with explosion force.

@@ -9776,31 +9802,31 @@ are very, very similar to the C originals.

raylib.PlayAudioStream(stream: AudioStream | list | tuple) None
-

Play audio stream

+

Play audio stream.

raylib.PlayAutomationEvent(event: AutomationEvent | list | tuple) None
-

Play a recorded automation event

+

Play a recorded automation event.

raylib.PlayMusicStream(music: Music | list | tuple) None
-

Start music playing

+

Start music playing.

raylib.PlaySound(sound: Sound | list | tuple) None
-

Play a sound

+

Play a sound.

raylib.PollInputEvents() None
-

Register all input events

+

Register all input events.

@@ -9831,122 +9857,146 @@ are very, very similar to the C originals.

raylib.QuaternionAdd(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.QuaternionAddValue(q: Vector4 | list | tuple, add: float) Vector4
-
+

.

+
raylib.QuaternionCubicHermiteSpline(q1: Vector4 | list | tuple, outTangent1: Vector4 | list | tuple, q2: Vector4 | list | tuple, inTangent2: Vector4 | list | tuple, t: float) Vector4
-
+

.

+
raylib.QuaternionDivide(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.QuaternionEquals(p: Vector4 | list | tuple, q: Vector4 | list | tuple) int
-
+

.

+
raylib.QuaternionFromAxisAngle(axis: Vector3 | list | tuple, angle: float) Vector4
-
+

.

+
raylib.QuaternionFromEuler(pitch: float, yaw: float, roll: float) Vector4
-
+

.

+
raylib.QuaternionFromMatrix(mat: Matrix | list | tuple) Vector4
-
+

.

+
raylib.QuaternionFromVector3ToVector3(from_0: Vector3 | list | tuple, to: Vector3 | list | tuple) Vector4
-
+

.

+
raylib.QuaternionIdentity() Vector4
-
+

.

+
raylib.QuaternionInvert(q: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.QuaternionLength(q: Vector4 | list | tuple) float
-
+

.

+
raylib.QuaternionLerp(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
raylib.QuaternionMultiply(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.QuaternionNlerp(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
raylib.QuaternionNormalize(q: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.QuaternionScale(q: Vector4 | list | tuple, mul: float) Vector4
-
+

.

+
raylib.QuaternionSlerp(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
raylib.QuaternionSubtract(q1: Vector4 | list | tuple, q2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.QuaternionSubtractValue(q: Vector4 | list | tuple, sub: float) Vector4
-
+

.

+
raylib.QuaternionToAxisAngle(q: Vector4 | list | tuple, outAxis: Any | list | tuple, outAngle: Any) None
-
+

.

+
raylib.QuaternionToEuler(q: Vector4 | list | tuple) Vector3
-
+

.

+
raylib.QuaternionToMatrix(q: Vector4 | list | tuple) Matrix
-
+

.

+
raylib.QuaternionTransform(q: Vector4 | list | tuple, mat: Matrix | list | tuple) Vector4
-
+

.

+
@@ -10601,7 +10651,8 @@ are very, very similar to the C originals.

raylib.Remap(value: float, inputStart: float, inputEnd: float, outputStart: float, outputEnd: float) float
-
+

.

+
@@ -10646,31 +10697,31 @@ are very, very similar to the C originals.

raylib.ResetPhysics() None
-

Reset physics system (global variables)

+

Reset physics system (global variables).

raylib.RestoreWindow() None
-

Set window state: not minimized/maximized

+

Set window state: not minimized/maximized.

raylib.ResumeAudioStream(stream: AudioStream | list | tuple) None
-

Resume audio stream

+

Resume audio stream.

raylib.ResumeMusicStream(music: Music | list | tuple) None
-

Resume playing paused music

+

Resume playing paused music.

raylib.ResumeSound(sound: Sound | list | tuple) None
-

Resume a paused sound

+

Resume a paused sound.

@@ -10981,361 +11032,361 @@ are very, very similar to the C originals.

raylib.SaveFileData(fileName: bytes, data: Any, dataSize: int) bool
-

Save data to file from byte array (write), returns true on success

+

Save data to file from byte array (write), returns true on success.

raylib.SaveFileText(fileName: bytes, text: bytes) bool
-

Save text data to file (write), string must be ‘' terminated, returns true on success

+

Save text data to file (write), string must be ‘' terminated, returns true on success.

raylib.SeekMusicStream(music: Music | list | tuple, position: float) None
-

Seek music to a position (in seconds)

+

Seek music to a position (in seconds).

raylib.SetAudioStreamBufferSizeDefault(size: int) None
-

Default size for new audio streams

+

Default size for new audio streams.

raylib.SetAudioStreamCallback(stream: AudioStream | list | tuple, callback: Any) None
-

Audio thread callback to request new data

+

Audio thread callback to request new data.

raylib.SetAudioStreamPan(stream: AudioStream | list | tuple, pan: float) None
-

Set pan for audio stream (0.5 is centered)

+

Set pan for audio stream (0.5 is centered).

raylib.SetAudioStreamPitch(stream: AudioStream | list | tuple, pitch: float) None
-

Set pitch for audio stream (1.0 is base level)

+

Set pitch for audio stream (1.0 is base level).

raylib.SetAudioStreamVolume(stream: AudioStream | list | tuple, volume: float) None
-

Set volume for audio stream (1.0 is max level)

+

Set volume for audio stream (1.0 is max level).

raylib.SetAutomationEventBaseFrame(frame: int) None
-

Set automation event internal base frame to start recording

+

Set automation event internal base frame to start recording.

raylib.SetAutomationEventList(list_0: Any | list | tuple) None
-

Set automation event list to record to

+

Set automation event list to record to.

raylib.SetClipboardText(text: bytes) None
-

Set clipboard text content

+

Set clipboard text content.

raylib.SetConfigFlags(flags: int) None
-

Setup init configuration flags (view FLAGS)

+

Setup init configuration flags (view FLAGS).

raylib.SetExitKey(key: int) None
-

Set a custom key to exit program (default is ESC)

+

Set a custom key to exit program (default is ESC).

raylib.SetGamepadMappings(mappings: bytes) int
-

Set internal gamepad mappings (SDL_GameControllerDB)

+

Set internal gamepad mappings (SDL_GameControllerDB).

raylib.SetGamepadVibration(gamepad: int, leftMotor: float, rightMotor: float, duration: float) None
-

Set gamepad vibration for both motors (duration in seconds)

+

Set gamepad vibration for both motors (duration in seconds).

raylib.SetGesturesEnabled(flags: int) None
-

Enable a set of gestures using flags

+

Enable a set of gestures using flags.

raylib.SetLoadFileDataCallback(callback: bytes) None
-

Set custom file binary data loader

+

Set custom file binary data loader.

raylib.SetLoadFileTextCallback(callback: bytes) None
-

Set custom file text data loader

+

Set custom file text data loader.

raylib.SetMasterVolume(volume: float) None
-

Set master volume (listener)

+

Set master volume (listener).

raylib.SetMaterialTexture(material: Any | list | tuple, mapType: int, texture: Texture | list | tuple) None
-

Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…)

+

Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…).

raylib.SetModelMeshMaterial(model: Any | list | tuple, meshId: int, materialId: int) None
-

Set material for a mesh

+

Set material for a mesh.

raylib.SetMouseCursor(cursor: int) None
-

Set mouse cursor

+

Set mouse cursor.

raylib.SetMouseOffset(offsetX: int, offsetY: int) None
-

Set mouse offset

+

Set mouse offset.

raylib.SetMousePosition(x: int, y: int) None
-

Set mouse position XY

+

Set mouse position XY.

raylib.SetMouseScale(scaleX: float, scaleY: float) None
-

Set mouse scaling

+

Set mouse scaling.

raylib.SetMusicPan(music: Music | list | tuple, pan: float) None
-

Set pan for a music (0.5 is center)

+

Set pan for a music (0.5 is center).

raylib.SetMusicPitch(music: Music | list | tuple, pitch: float) None
-

Set pitch for a music (1.0 is base level)

+

Set pitch for a music (1.0 is base level).

raylib.SetMusicVolume(music: Music | list | tuple, volume: float) None
-

Set volume for music (1.0 is max level)

+

Set volume for music (1.0 is max level).

raylib.SetPhysicsBodyRotation(body: Any | list | tuple, radians: float) None
-

Sets physics body shape transform based on radians parameter

+

Sets physics body shape transform based on radians parameter.

raylib.SetPhysicsGravity(x: float, y: float) None
-

Sets physics global gravity force

+

Sets physics global gravity force.

raylib.SetPhysicsTimeStep(delta: float) None
-

Sets physics fixed time step in milliseconds. 1.666666 by default

+

Sets physics fixed time step in milliseconds. 1.666666 by default.

raylib.SetPixelColor(dstPtr: Any, color: Color | list | tuple, format: int) None
-

Set color formatted into destination pixel pointer

+

Set color formatted into destination pixel pointer.

raylib.SetRandomSeed(seed: int) None
-

Set the seed for the random number generator

+

Set the seed for the random number generator.

raylib.SetSaveFileDataCallback(callback: bytes) None
-

Set custom file binary data saver

+

Set custom file binary data saver.

raylib.SetSaveFileTextCallback(callback: bytes) None
-

Set custom file text data saver

+

Set custom file text data saver.

raylib.SetShaderValue(shader: Shader | list | tuple, locIndex: int, value: Any, uniformType: int) None
-

Set shader uniform value

+

Set shader uniform value.

raylib.SetShaderValueMatrix(shader: Shader | list | tuple, locIndex: int, mat: Matrix | list | tuple) None
-

Set shader uniform value (matrix 4x4)

+

Set shader uniform value (matrix 4x4).

raylib.SetShaderValueTexture(shader: Shader | list | tuple, locIndex: int, texture: Texture | list | tuple) None
-

Set shader uniform value for texture (sampler2d)

+

Set shader uniform value for texture (sampler2d).

raylib.SetShaderValueV(shader: Shader | list | tuple, locIndex: int, value: Any, uniformType: int, count: int) None
-

Set shader uniform value vector

+

Set shader uniform value vector.

raylib.SetShapesTexture(texture: Texture | list | tuple, source: Rectangle | list | tuple) None
-

Set texture and rectangle to be used on shapes drawing

+

Set texture and rectangle to be used on shapes drawing.

raylib.SetSoundPan(sound: Sound | list | tuple, pan: float) None
-

Set pan for a sound (0.5 is center)

+

Set pan for a sound (0.5 is center).

raylib.SetSoundPitch(sound: Sound | list | tuple, pitch: float) None
-

Set pitch for a sound (1.0 is base level)

+

Set pitch for a sound (1.0 is base level).

raylib.SetSoundVolume(sound: Sound | list | tuple, volume: float) None
-

Set volume for a sound (1.0 is max level)

+

Set volume for a sound (1.0 is max level).

raylib.SetTargetFPS(fps: int) None
-

Set target FPS (maximum)

+

Set target FPS (maximum).

raylib.SetTextLineSpacing(spacing: int) None
-

Set vertical line spacing when drawing with line-breaks

+

Set vertical line spacing when drawing with line-breaks.

raylib.SetTextureFilter(texture: Texture | list | tuple, filter: int) None
-

Set texture scaling filter mode

+

Set texture scaling filter mode.

raylib.SetTextureWrap(texture: Texture | list | tuple, wrap: int) None
-

Set texture wrapping mode

+

Set texture wrapping mode.

raylib.SetTraceLogCallback(callback: bytes) None
-

Set custom trace log

+

Set custom trace log.

raylib.SetTraceLogLevel(logLevel: int) None
-

Set the current threshold (minimum) log level

+

Set the current threshold (minimum) log level.

raylib.SetWindowFocused() None
-

Set window focused

+

Set window focused.

raylib.SetWindowIcon(image: Image | list | tuple) None
-

Set icon for window (single image, RGBA 32bit)

+

Set icon for window (single image, RGBA 32bit).

raylib.SetWindowIcons(images: Any | list | tuple, count: int) None
-

Set icon for window (multiple images, RGBA 32bit)

+

Set icon for window (multiple images, RGBA 32bit).

raylib.SetWindowMaxSize(width: int, height: int) None
-

Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)

+

Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE).

raylib.SetWindowMinSize(width: int, height: int) None
-

Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)

+

Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE).

raylib.SetWindowMonitor(monitor: int) None
-

Set monitor for the current window

+

Set monitor for the current window.

raylib.SetWindowOpacity(opacity: float) None
-

Set window opacity [0.0f..1.0f]

+

Set window opacity [0.0f..1.0f].

raylib.SetWindowPosition(x: int, y: int) None
-

Set window position on screen

+

Set window position on screen.

raylib.SetWindowSize(width: int, height: int) None
-

Set window dimensions

+

Set window dimensions.

raylib.SetWindowState(flags: int) None
-

Set window configuration state using flags

+

Set window configuration state using flags.

raylib.SetWindowTitle(title: bytes) None
-

Set title for window

+

Set title for window.

@@ -11371,7 +11422,7 @@ are very, very similar to the C originals.

raylib.ShowCursor() None
-

Shows cursor

+

Shows cursor.

@@ -11392,37 +11443,37 @@ are very, very similar to the C originals.

raylib.StartAutomationEventRecording() None
-

Start recording automation events (AutomationEventList must be set)

+

Start recording automation events (AutomationEventList must be set).

raylib.StopAudioStream(stream: AudioStream | list | tuple) None
-

Stop audio stream

+

Stop audio stream.

raylib.StopAutomationEventRecording() None
-

Stop recording automation events

+

Stop recording automation events.

raylib.StopMusicStream(music: Music | list | tuple) None
-

Stop music playing

+

Stop music playing.

raylib.StopSound(sound: Sound | list | tuple) None
-

Stop playing a sound

+

Stop playing a sound.

raylib.SwapScreenBuffer() None
-

Swap back buffer with front buffer (screen drawing)

+

Swap back buffer with front buffer (screen drawing).

@@ -11593,25 +11644,25 @@ are very, very similar to the C originals.

raylib.TakeScreenshot(fileName: bytes) None
-

Takes a screenshot of current screen (filename extension defines format)

+

Takes a screenshot of current screen (filename extension defines format).

raylib.TextAppend(text: bytes, append: bytes, position: Any) None
-

Append text at specific position and move cursor!

+

Append text at specific position and move cursor!.

raylib.TextCopy(dst: bytes, src: bytes) int
-

Copy one string to another, returns bytes copied

+

Copy one string to another, returns bytes copied.

raylib.TextFindIndex(text: bytes, find: bytes) int
-

Find first text occurrence within a string

+

Find first text occurrence within a string.

@@ -11623,85 +11674,85 @@ are very, very similar to the C originals.

raylib.TextInsert(text: bytes, insert: bytes, position: int) bytes
-

Insert text in a position (WARNING: memory must be freed!)

+

Insert text in a position (WARNING: memory must be freed!).

raylib.TextIsEqual(text1: bytes, text2: bytes) bool
-

Check if two text string are equal

+

Check if two text string are equal.

raylib.TextJoin(textList: list[bytes], count: int, delimiter: bytes) bytes
-

Join text strings with delimiter

+

Join text strings with delimiter.

raylib.TextLength(text: bytes) int
-

Get text length, checks for ‘' ending

+

Get text length, checks for ‘' ending.

raylib.TextReplace(text: bytes, replace: bytes, by: bytes) bytes
-

Replace text string (WARNING: memory must be freed!)

+

Replace text string (WARNING: memory must be freed!).

raylib.TextSplit(text: bytes, delimiter: bytes, count: Any) list[bytes]
-

Split text into multiple strings

+

Split text into multiple strings.

raylib.TextSubtext(text: bytes, position: int, length: int) bytes
-

Get a piece of a text string

+

Get a piece of a text string.

raylib.TextToCamel(text: bytes) bytes
-

Get Camel case notation version of provided string

+

Get Camel case notation version of provided string.

raylib.TextToFloat(text: bytes) float
-

Get float value from text (negative values not supported)

+

Get float value from text (negative values not supported).

raylib.TextToInteger(text: bytes) int
-

Get integer value from text (negative values not supported)

+

Get integer value from text (negative values not supported).

raylib.TextToLower(text: bytes) bytes
-

Get lower case version of provided string

+

Get lower case version of provided string.

raylib.TextToPascal(text: bytes) bytes
-

Get Pascal case notation version of provided string

+

Get Pascal case notation version of provided string.

raylib.TextToSnake(text: bytes) bytes
-

Get Snake case notation version of provided string

+

Get Snake case notation version of provided string.

raylib.TextToUpper(text: bytes) bytes
-

Get upper case version of provided string

+

Get upper case version of provided string.

@@ -11807,13 +11858,13 @@ are very, very similar to the C originals.

raylib.ToggleBorderlessWindowed() None
-

Toggle window state: borderless windowed, resizes window to match monitor resolution

+

Toggle window state: borderless windowed, resizes window to match monitor resolution.

raylib.ToggleFullscreen() None
-

Toggle window state: fullscreen/windowed, resizes monitor to match window resolution

+

Toggle window state: fullscreen/windowed, resizes monitor to match window resolution.

@@ -11850,241 +11901,241 @@ are very, very similar to the C originals.

raylib.UnloadAudioStream(stream: AudioStream | list | tuple) None
-

Unload audio stream and free memory

+

Unload audio stream and free memory.

raylib.UnloadAutomationEventList(list_0: AutomationEventList | list | tuple) None
-

Unload automation events list from file

+

Unload automation events list from file.

raylib.UnloadCodepoints(codepoints: Any) None
-

Unload codepoints data from memory

+

Unload codepoints data from memory.

raylib.UnloadDirectoryFiles(files: FilePathList | list | tuple) None
-

Unload filepaths

+

Unload filepaths.

raylib.UnloadDroppedFiles(files: FilePathList | list | tuple) None
-

Unload dropped filepaths

+

Unload dropped filepaths.

raylib.UnloadFileData(data: bytes) None
-

Unload file data allocated by LoadFileData()

+

Unload file data allocated by LoadFileData().

raylib.UnloadFileText(text: bytes) None
-

Unload file text data allocated by LoadFileText()

+

Unload file text data allocated by LoadFileText().

raylib.UnloadFont(font: Font | list | tuple) None
-

Unload font from GPU memory (VRAM)

+

Unload font from GPU memory (VRAM).

raylib.UnloadFontData(glyphs: Any | list | tuple, glyphCount: int) None
-

Unload font chars info data (RAM)

+

Unload font chars info data (RAM).

raylib.UnloadImage(image: Image | list | tuple) None
-

Unload image from CPU memory (RAM)

+

Unload image from CPU memory (RAM).

raylib.UnloadImageColors(colors: Any | list | tuple) None
-

Unload color data loaded with LoadImageColors()

+

Unload color data loaded with LoadImageColors().

raylib.UnloadImagePalette(colors: Any | list | tuple) None
-

Unload colors palette loaded with LoadImagePalette()

+

Unload colors palette loaded with LoadImagePalette().

raylib.UnloadMaterial(material: Material | list | tuple) None
-

Unload material from GPU memory (VRAM)

+

Unload material from GPU memory (VRAM).

raylib.UnloadMesh(mesh: Mesh | list | tuple) None
-

Unload mesh data from CPU and GPU

+

Unload mesh data from CPU and GPU.

raylib.UnloadModel(model: Model | list | tuple) None
-

Unload model (including meshes) from memory (RAM and/or VRAM)

+

Unload model (including meshes) from memory (RAM and/or VRAM).

raylib.UnloadModelAnimation(anim: ModelAnimation | list | tuple) None
-

Unload animation data

+

Unload animation data.

raylib.UnloadModelAnimations(animations: Any | list | tuple, animCount: int) None
-

Unload animation array data

+

Unload animation array data.

raylib.UnloadMusicStream(music: Music | list | tuple) None
-

Unload music stream

+

Unload music stream.

raylib.UnloadRandomSequence(sequence: Any) None
-

Unload random values sequence

+

Unload random values sequence.

raylib.UnloadRenderTexture(target: RenderTexture | list | tuple) None
-

Unload render texture from GPU memory (VRAM)

+

Unload render texture from GPU memory (VRAM).

raylib.UnloadShader(shader: Shader | list | tuple) None
-

Unload shader from GPU memory (VRAM)

+

Unload shader from GPU memory (VRAM).

raylib.UnloadSound(sound: Sound | list | tuple) None
-

Unload sound

+

Unload sound.

raylib.UnloadSoundAlias(alias: Sound | list | tuple) None
-

Unload a sound alias (does not deallocate sample data)

+

Unload a sound alias (does not deallocate sample data).

raylib.UnloadTexture(texture: Texture | list | tuple) None
-

Unload texture from GPU memory (VRAM)

+

Unload texture from GPU memory (VRAM).

raylib.UnloadUTF8(text: bytes) None
-

Unload UTF-8 text encoded from codepoints array

+

Unload UTF-8 text encoded from codepoints array.

raylib.UnloadVrStereoConfig(config: VrStereoConfig | list | tuple) None
-

Unload VR stereo config

+

Unload VR stereo config.

raylib.UnloadWave(wave: Wave | list | tuple) None
-

Unload wave data

+

Unload wave data.

raylib.UnloadWaveSamples(samples: Any) None
-

Unload samples data loaded with LoadWaveSamples()

+

Unload samples data loaded with LoadWaveSamples().

raylib.UpdateAudioStream(stream: AudioStream | list | tuple, data: Any, frameCount: int) None
-

Update audio stream buffers with data

+

Update audio stream buffers with data.

raylib.UpdateCamera(camera: Any | list | tuple, mode: int) None
-

Update camera position for selected mode

+

Update camera position for selected mode.

raylib.UpdateCameraPro(camera: Any | list | tuple, movement: Vector3 | list | tuple, rotation: Vector3 | list | tuple, zoom: float) None
-

Update camera movement/rotation

+

Update camera movement/rotation.

raylib.UpdateMeshBuffer(mesh: Mesh | list | tuple, index: int, data: Any, dataSize: int, offset: int) None
-

Update mesh vertex data in GPU for a specific buffer index

+

Update mesh vertex data in GPU for a specific buffer index.

raylib.UpdateModelAnimation(model: Model | list | tuple, anim: ModelAnimation | list | tuple, frame: int) None
-

Update model animation pose (CPU)

+

Update model animation pose (CPU).

raylib.UpdateModelAnimationBones(model: Model | list | tuple, anim: ModelAnimation | list | tuple, frame: int) None
-

Update model animation mesh bone matrices (GPU skinning)

+

Update model animation mesh bone matrices (GPU skinning).

raylib.UpdateMusicStream(music: Music | list | tuple) None
-

Updates buffers for music streaming

+

Updates buffers for music streaming.

raylib.UpdatePhysics() None
-

Update physics system

+

Update physics system.

raylib.UpdateSound(sound: Sound | list | tuple, data: Any, sampleCount: int) None
-

Update sound buffer with new data

+

Update sound buffer with new data.

raylib.UpdateTexture(texture: Texture | list | tuple, pixels: Any) None
-

Update GPU texture with new data

+

Update GPU texture with new data.

raylib.UpdateTextureRec(texture: Texture | list | tuple, rec: Rectangle | list | tuple, pixels: Any) None
-

Update GPU texture rectangle with new data

+

Update GPU texture rectangle with new data.

raylib.UploadMesh(mesh: Any | list | tuple, dynamic: bool) None
-

Upload mesh vertex data in GPU and provide VAO/VBO ids

+

Upload mesh vertex data in GPU and provide VAO/VBO ids.

@@ -12115,152 +12166,182 @@ are very, very similar to the C originals.

raylib.Vector2Add(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2AddValue(v: Vector2 | list | tuple, add: float) Vector2
-
+

.

+
raylib.Vector2Angle(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
raylib.Vector2Clamp(v: Vector2 | list | tuple, min_1: Vector2 | list | tuple, max_2: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2ClampValue(v: Vector2 | list | tuple, min_1: float, max_2: float) Vector2
-
+

.

+
raylib.Vector2Distance(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
raylib.Vector2DistanceSqr(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
raylib.Vector2Divide(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2DotProduct(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) float
-
+

.

+
raylib.Vector2Equals(p: Vector2 | list | tuple, q: Vector2 | list | tuple) int
-
+

.

+
raylib.Vector2Invert(v: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2Length(v: Vector2 | list | tuple) float
-
+

.

+
raylib.Vector2LengthSqr(v: Vector2 | list | tuple) float
-
+

.

+
raylib.Vector2Lerp(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple, amount: float) Vector2
-
+

.

+
raylib.Vector2LineAngle(start: Vector2 | list | tuple, end: Vector2 | list | tuple) float
-
+

.

+
raylib.Vector2Max(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2Min(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2MoveTowards(v: Vector2 | list | tuple, target: Vector2 | list | tuple, maxDistance: float) Vector2
-
+

.

+
raylib.Vector2Multiply(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2Negate(v: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2Normalize(v: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2One() Vector2
-
+

.

+
raylib.Vector2Reflect(v: Vector2 | list | tuple, normal: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2Refract(v: Vector2 | list | tuple, n: Vector2 | list | tuple, r: float) Vector2
-
+

.

+
raylib.Vector2Rotate(v: Vector2 | list | tuple, angle: float) Vector2
-
+

.

+
raylib.Vector2Scale(v: Vector2 | list | tuple, scale: float) Vector2
-
+

.

+
raylib.Vector2Subtract(v1: Vector2 | list | tuple, v2: Vector2 | list | tuple) Vector2
-
+

.

+
raylib.Vector2SubtractValue(v: Vector2 | list | tuple, sub: float) Vector2
-
+

.

+
raylib.Vector2Transform(v: Vector2 | list | tuple, mat: Matrix | list | tuple) Vector2
-
+

.

+
raylib.Vector2Zero() Vector2
-
+

.

+
@@ -12285,197 +12366,236 @@ are very, very similar to the C originals.

raylib.Vector3Add(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3AddValue(v: Vector3 | list | tuple, add: float) Vector3
-
+

.

+
raylib.Vector3Angle(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
raylib.Vector3Barycenter(p: Vector3 | list | tuple, a: Vector3 | list | tuple, b: Vector3 | list | tuple, c: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Clamp(v: Vector3 | list | tuple, min_1: Vector3 | list | tuple, max_2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3ClampValue(v: Vector3 | list | tuple, min_1: float, max_2: float) Vector3
-
+

.

+
raylib.Vector3CrossProduct(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3CubicHermite(v1: Vector3 | list | tuple, tangent1: Vector3 | list | tuple, v2: Vector3 | list | tuple, tangent2: Vector3 | list | tuple, amount: float) Vector3
-
+

.

+
raylib.Vector3Distance(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
raylib.Vector3DistanceSqr(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
raylib.Vector3Divide(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3DotProduct(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) float
-
+

.

+
raylib.Vector3Equals(p: Vector3 | list | tuple, q: Vector3 | list | tuple) int
-
+

.

+
raylib.Vector3Invert(v: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Length(v: Vector3 | list | tuple) float
-
+

.

+
raylib.Vector3LengthSqr(v: Vector3 | list | tuple) float
-
+

.

+
raylib.Vector3Lerp(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple, amount: float) Vector3
-
+

.

+
raylib.Vector3Max(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Min(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3MoveTowards(v: Vector3 | list | tuple, target: Vector3 | list | tuple, maxDistance: float) Vector3
-
+

.

+
raylib.Vector3Multiply(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Negate(v: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Normalize(v: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3One() Vector3
-
+

.

+
raylib.Vector3OrthoNormalize(v1: Any | list | tuple, v2: Any | list | tuple) None
-
+

.

+
raylib.Vector3Perpendicular(v: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Project(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Reflect(v: Vector3 | list | tuple, normal: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Refract(v: Vector3 | list | tuple, n: Vector3 | list | tuple, r: float) Vector3
-
+

.

+
raylib.Vector3Reject(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3RotateByAxisAngle(v: Vector3 | list | tuple, axis: Vector3 | list | tuple, angle: float) Vector3
-
+

.

+
raylib.Vector3RotateByQuaternion(v: Vector3 | list | tuple, q: Vector4 | list | tuple) Vector3
-
+

.

+
raylib.Vector3Scale(v: Vector3 | list | tuple, scalar: float) Vector3
-
+

.

+
raylib.Vector3Subtract(v1: Vector3 | list | tuple, v2: Vector3 | list | tuple) Vector3
-
+

.

+
raylib.Vector3SubtractValue(v: Vector3 | list | tuple, sub: float) Vector3
-
+

.

+
raylib.Vector3ToFloatV(v: Vector3 | list | tuple) float3
-
+

.

+
raylib.Vector3Transform(v: Vector3 | list | tuple, mat: Matrix | list | tuple) Vector3
-
+

.

+
raylib.Vector3Unproject(source: Vector3 | list | tuple, projection: Matrix | list | tuple, view: Matrix | list | tuple) Vector3
-
+

.

+
raylib.Vector3Zero() Vector3
-
+

.

+
@@ -12505,112 +12625,134 @@ are very, very similar to the C originals.

raylib.Vector4Add(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4AddValue(v: Vector4 | list | tuple, add: float) Vector4
-
+

.

+
raylib.Vector4Distance(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) float
-
+

.

+
raylib.Vector4DistanceSqr(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) float
-
+

.

+
raylib.Vector4Divide(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4DotProduct(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) float
-
+

.

+
raylib.Vector4Equals(p: Vector4 | list | tuple, q: Vector4 | list | tuple) int
-
+

.

+
raylib.Vector4Invert(v: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4Length(v: Vector4 | list | tuple) float
-
+

.

+
raylib.Vector4LengthSqr(v: Vector4 | list | tuple) float
-
+

.

+
raylib.Vector4Lerp(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple, amount: float) Vector4
-
+

.

+
raylib.Vector4Max(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4Min(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4MoveTowards(v: Vector4 | list | tuple, target: Vector4 | list | tuple, maxDistance: float) Vector4
-
+

.

+
raylib.Vector4Multiply(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4Negate(v: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4Normalize(v: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4One() Vector4
-
+

.

+
raylib.Vector4Scale(v: Vector4 | list | tuple, scale: float) Vector4
-
+

.

+
raylib.Vector4Subtract(v1: Vector4 | list | tuple, v2: Vector4 | list | tuple) Vector4
-
+

.

+
raylib.Vector4SubtractValue(v: Vector4 | list | tuple, add: float) Vector4
-
+

.

+
raylib.Vector4Zero() Vector4
-
+

.

+
@@ -12715,7 +12857,7 @@ are very, very similar to the C originals.

raylib.WaitTime(seconds: float) None
-

Wait for some time (halt program execution)

+

Wait for some time (halt program execution).

@@ -12751,31 +12893,32 @@ are very, very similar to the C originals.

raylib.WaveCopy(wave: Wave | list | tuple) Wave
-

Copy a wave to a new wave

+

Copy a wave to a new wave.

raylib.WaveCrop(wave: Any | list | tuple, initFrame: int, finalFrame: int) None
-

Crop a wave to defined frames range

+

Crop a wave to defined frames range.

raylib.WaveFormat(wave: Any | list | tuple, sampleRate: int, sampleSize: int, channels: int) None
-

Convert wave data to desired format

+

Convert wave data to desired format.

raylib.WindowShouldClose() bool
-

Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)

+

Check if application should close (KEY_ESCAPE pressed or windows close icon clicked).

raylib.Wrap(value: float, min_1: float, max_2: float) float
-
+

.

+
@@ -12810,602 +12953,722 @@ are very, very similar to the C originals.

raylib.glfwCreateCursor(image: Any | list | tuple, xhot: int, yhot: int) Any
-
+

.

+
raylib.glfwCreateStandardCursor(shape: int) Any
-
+

.

+
raylib.glfwCreateWindow(width: int, height: int, title: bytes, monitor: Any | list | tuple, share: Any | list | tuple) Any
-
+

.

+
raylib.glfwDefaultWindowHints() None
-
+

.

+
raylib.glfwDestroyCursor(cursor: Any | list | tuple) None
-
+

.

+
raylib.glfwDestroyWindow(window: Any | list | tuple) None
-
+

.

+
raylib.glfwExtensionSupported(extension: bytes) int
-
+

.

+
raylib.glfwFocusWindow(window: Any | list | tuple) None
-
+

.

+
raylib.glfwGetClipboardString(window: Any | list | tuple) bytes
-
+

.

+
raylib.glfwGetCurrentContext() Any
-
+

.

+
raylib.glfwGetCursorPos(window: Any | list | tuple, xpos: Any, ypos: Any) None
-
+

.

+
raylib.glfwGetError(description: list[bytes]) int
-
+

.

+
raylib.glfwGetFramebufferSize(window: Any | list | tuple, width: Any, height: Any) None
-
+

.

+
raylib.glfwGetGamepadName(jid: int) bytes
-
+

.

+
raylib.glfwGetGamepadState(jid: int, state: Any | list | tuple) int
-
+

.

+
raylib.glfwGetGammaRamp(monitor: Any | list | tuple) Any
-
+

.

+
raylib.glfwGetInputMode(window: Any | list | tuple, mode: int) int
-
+

.

+
raylib.glfwGetJoystickAxes(jid: int, count: Any) Any
-
+

.

+
raylib.glfwGetJoystickButtons(jid: int, count: Any) bytes
-
+

.

+
raylib.glfwGetJoystickGUID(jid: int) bytes
-
+

.

+
raylib.glfwGetJoystickHats(jid: int, count: Any) bytes
-
+

.

+
raylib.glfwGetJoystickName(jid: int) bytes
-
+

.

+
raylib.glfwGetJoystickUserPointer(jid: int) Any
-
+

.

+
raylib.glfwGetKey(window: Any | list | tuple, key: int) int
-
+

.

+
raylib.glfwGetKeyName(key: int, scancode: int) bytes
-
+

.

+
raylib.glfwGetKeyScancode(key: int) int
-
+

.

+
raylib.glfwGetMonitorContentScale(monitor: Any | list | tuple, xscale: Any, yscale: Any) None
-
+

.

+
raylib.glfwGetMonitorName(monitor: Any | list | tuple) bytes
-
+

.

+
raylib.glfwGetMonitorPhysicalSize(monitor: Any | list | tuple, widthMM: Any, heightMM: Any) None
-
+

.

+
raylib.glfwGetMonitorPos(monitor: Any | list | tuple, xpos: Any, ypos: Any) None
-
+

.

+
raylib.glfwGetMonitorUserPointer(monitor: Any | list | tuple) Any
-
+

.

+
raylib.glfwGetMonitorWorkarea(monitor: Any | list | tuple, xpos: Any, ypos: Any, width: Any, height: Any) None
-
+

.

+
raylib.glfwGetMonitors(count: Any) Any
-
+

.

+
raylib.glfwGetMouseButton(window: Any | list | tuple, button: int) int
-
+

.

+
raylib.glfwGetPlatform() int
-
+

.

+
raylib.glfwGetPrimaryMonitor() Any
-
+

.

+
raylib.glfwGetProcAddress(procname: bytes) Any
-
+

.

+
raylib.glfwGetRequiredInstanceExtensions(count: Any) list[bytes]
-
+

.

+
raylib.glfwGetTime() float
-
+

.

+
raylib.glfwGetTimerFrequency() int
-
+

.

+
raylib.glfwGetTimerValue() int
-
+

.

+
raylib.glfwGetVersion(major: Any, minor: Any, rev: Any) None
-
+

.

+
raylib.glfwGetVersionString() bytes
-
+

.

+
raylib.glfwGetVideoMode(monitor: Any | list | tuple) Any
-
+

.

+
raylib.glfwGetVideoModes(monitor: Any | list | tuple, count: Any) Any
-
+

.

+
raylib.glfwGetWindowAttrib(window: Any | list | tuple, attrib: int) int
-
+

.

+
raylib.glfwGetWindowContentScale(window: Any | list | tuple, xscale: Any, yscale: Any) None
-
+

.

+
raylib.glfwGetWindowFrameSize(window: Any | list | tuple, left: Any, top: Any, right: Any, bottom: Any) None
-
+

.

+
raylib.glfwGetWindowMonitor(window: Any | list | tuple) Any
-
+

.

+
raylib.glfwGetWindowOpacity(window: Any | list | tuple) float
-
+

.

+
raylib.glfwGetWindowPos(window: Any | list | tuple, xpos: Any, ypos: Any) None
-
+

.

+
raylib.glfwGetWindowSize(window: Any | list | tuple, width: Any, height: Any) None
-
+

.

+
raylib.glfwGetWindowTitle(window: Any | list | tuple) bytes
-
+

.

+
raylib.glfwGetWindowUserPointer(window: Any | list | tuple) Any
-
+

.

+
raylib.glfwHideWindow(window: Any | list | tuple) None
-
+

.

+
raylib.glfwIconifyWindow(window: Any | list | tuple) None
-
+

.

+
raylib.glfwInit() int
-
+

.

+
raylib.glfwInitAllocator(allocator: Any | list | tuple) None
-
+

.

+
raylib.glfwInitHint(hint: int, value: int) None
-
+

.

+
raylib.glfwJoystickIsGamepad(jid: int) int
-
+

.

+
raylib.glfwJoystickPresent(jid: int) int
-
+

.

+
raylib.glfwMakeContextCurrent(window: Any | list | tuple) None
-
+

.

+
raylib.glfwMaximizeWindow(window: Any | list | tuple) None
-
+

.

+
raylib.glfwPlatformSupported(platform: int) int
-
+

.

+
raylib.glfwPollEvents() None
-
+

.

+
raylib.glfwPostEmptyEvent() None
-
+

.

+
raylib.glfwRawMouseMotionSupported() int
-
+

.

+
raylib.glfwRequestWindowAttention(window: Any | list | tuple) None
-
+

.

+
raylib.glfwRestoreWindow(window: Any | list | tuple) None
-
+

.

+
raylib.glfwSetCharCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetCharModsCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetClipboardString(window: Any | list | tuple, string: bytes) None
-
+

.

+
raylib.glfwSetCursor(window: Any | list | tuple, cursor: Any | list | tuple) None
-
+

.

+
raylib.glfwSetCursorEnterCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetCursorPos(window: Any | list | tuple, xpos: float, ypos: float) None
-
+

.

+
raylib.glfwSetCursorPosCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetDropCallback(window: Any | list | tuple, callback: list[bytes] | list | tuple) list[bytes]
-
+

.

+
raylib.glfwSetErrorCallback(callback: bytes) bytes
-
+

.

+
raylib.glfwSetFramebufferSizeCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetGamma(monitor: Any | list | tuple, gamma: float) None
-
+

.

+
raylib.glfwSetGammaRamp(monitor: Any | list | tuple, ramp: Any | list | tuple) None
-
+

.

+
raylib.glfwSetInputMode(window: Any | list | tuple, mode: int, value: int) None
-
+

.

+
raylib.glfwSetJoystickCallback(callback: Any) Any
-
+

.

+
raylib.glfwSetJoystickUserPointer(jid: int, pointer: Any) None
-
+

.

+
raylib.glfwSetKeyCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetMonitorCallback(callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetMonitorUserPointer(monitor: Any | list | tuple, pointer: Any) None
-
+

.

+
raylib.glfwSetMouseButtonCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetScrollCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetTime(time: float) None
-
+

.

+
raylib.glfwSetWindowAspectRatio(window: Any | list | tuple, numer: int, denom: int) None
-
+

.

+
raylib.glfwSetWindowAttrib(window: Any | list | tuple, attrib: int, value: int) None
-
+

.

+
raylib.glfwSetWindowCloseCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowContentScaleCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowFocusCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowIcon(window: Any | list | tuple, count: int, images: Any | list | tuple) None
-
+

.

+
raylib.glfwSetWindowIconifyCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowMaximizeCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowMonitor(window: Any | list | tuple, monitor: Any | list | tuple, xpos: int, ypos: int, width: int, height: int, refreshRate: int) None
-
+

.

+
raylib.glfwSetWindowOpacity(window: Any | list | tuple, opacity: float) None
-
+

.

+
raylib.glfwSetWindowPos(window: Any | list | tuple, xpos: int, ypos: int) None
-
+

.

+
raylib.glfwSetWindowPosCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowRefreshCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowShouldClose(window: Any | list | tuple, value: int) None
-
+

.

+
raylib.glfwSetWindowSize(window: Any | list | tuple, width: int, height: int) None
-
+

.

+
raylib.glfwSetWindowSizeCallback(window: Any | list | tuple, callback: Any | list | tuple) Any
-
+

.

+
raylib.glfwSetWindowSizeLimits(window: Any | list | tuple, minwidth: int, minheight: int, maxwidth: int, maxheight: int) None
-
+

.

+
raylib.glfwSetWindowTitle(window: Any | list | tuple, title: bytes) None
-
+

.

+
raylib.glfwSetWindowUserPointer(window: Any | list | tuple, pointer: Any) None
-
+

.

+
raylib.glfwShowWindow(window: Any | list | tuple) None
-
+

.

+
raylib.glfwSwapBuffers(window: Any | list | tuple) None
-
+

.

+
raylib.glfwSwapInterval(interval: int) None
-
+

.

+
raylib.glfwTerminate() None
-
+

.

+
raylib.glfwUpdateGamepadMappings(string: bytes) int
-
+

.

+
raylib.glfwVulkanSupported() int
-
+

.

+
raylib.glfwWaitEvents() None
-
+

.

+
raylib.glfwWaitEventsTimeout(timeout: float) None
-
+

.

+
raylib.glfwWindowHint(hint: int, value: int) None
-
+

.

+
raylib.glfwWindowHintString(hint: int, value: bytes) None
-
+

.

+
raylib.glfwWindowShouldClose(window: Any | list | tuple) int
-
+

.

+
@@ -13425,37 +13688,37 @@ are very, very similar to the C originals.

raylib.rlActiveDrawBuffers(count: int) None
-

Activate multiple draw color buffers

+

Activate multiple draw color buffers.

raylib.rlActiveTextureSlot(slot: int) None
-

Select and active a texture slot

+

Select and active a texture slot.

raylib.rlBegin(mode: int) None
-

Initialize drawing mode (how to organize vertex)

+

Initialize drawing mode (how to organize vertex).

raylib.rlBindFramebuffer(target: int, framebuffer: int) None
-

Bind framebuffer (FBO)

+

Bind framebuffer (FBO).

raylib.rlBindImageTexture(id: int, index: int, format: int, readonly: bool) None
-

Bind image texture

+

Bind image texture.

raylib.rlBindShaderBuffer(id: int, index: int) None
-

Bind SSBO buffer

+

Bind SSBO buffer.

@@ -13466,79 +13729,79 @@ are very, very similar to the C originals.

raylib.rlBlitFramebuffer(srcX: int, srcY: int, srcWidth: int, srcHeight: int, dstX: int, dstY: int, dstWidth: int, dstHeight: int, bufferMask: int) None
-

Blit active framebuffer to main framebuffer

+

Blit active framebuffer to main framebuffer.

raylib.rlCheckErrors() None
-

Check and log OpenGL error codes

+

Check and log OpenGL error codes.

raylib.rlCheckRenderBatchLimit(vCount: int) bool
-

Check internal buffer overflow for a given number of vertex

+

Check internal buffer overflow for a given number of vertex.

raylib.rlClearColor(r: bytes, g: bytes, b: bytes, a: bytes) None
-

Clear color buffer with color

+

Clear color buffer with color.

raylib.rlClearScreenBuffers() None
-

Clear used screen buffers (color and depth)

+

Clear used screen buffers (color and depth).

raylib.rlColor3f(x: float, y: float, z: float) None
-

Define one vertex (color) - 3 float

+

Define one vertex (color) - 3 float.

raylib.rlColor4f(x: float, y: float, z: float, w: float) None
-

Define one vertex (color) - 4 float

+

Define one vertex (color) - 4 float.

raylib.rlColor4ub(r: bytes, g: bytes, b: bytes, a: bytes) None
-

Define one vertex (color) - 4 byte

+

Define one vertex (color) - 4 byte.

raylib.rlColorMask(r: bool, g: bool, b: bool, a: bool) None
-

Color mask control

+

Color mask control.

raylib.rlCompileShader(shaderCode: bytes, type: int) int
-

Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)

+

Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER).

raylib.rlComputeShaderDispatch(groupX: int, groupY: int, groupZ: int) None
-

Dispatch compute shader (equivalent to draw for graphics pipeline)

+

Dispatch compute shader (equivalent to draw for graphics pipeline).

raylib.rlCopyShaderBuffer(destId: int, srcId: int, destOffset: int, srcOffset: int, count: int) None
-

Copy SSBO data between buffers

+

Copy SSBO data between buffers.

raylib.rlCubemapParameters(id: int, param: int, value: int) None
-

Set cubemap parameters (filter, wrap)

+

Set cubemap parameters (filter, wrap).

@@ -13549,97 +13812,97 @@ are very, very similar to the C originals.

raylib.rlDisableBackfaceCulling() None
-

Disable backface culling

+

Disable backface culling.

raylib.rlDisableColorBlend() None
-

Disable color blending

+

Disable color blending.

raylib.rlDisableDepthMask() None
-

Disable depth write

+

Disable depth write.

raylib.rlDisableDepthTest() None
-

Disable depth test

+

Disable depth test.

raylib.rlDisableFramebuffer() None
-

Disable render texture (fbo), return to default framebuffer

+

Disable render texture (fbo), return to default framebuffer.

raylib.rlDisableScissorTest() None
-

Disable scissor test

+

Disable scissor test.

raylib.rlDisableShader() None
-

Disable shader program

+

Disable shader program.

raylib.rlDisableSmoothLines() None
-

Disable line aliasing

+

Disable line aliasing.

raylib.rlDisableStereoRender() None
-

Disable stereo rendering

+

Disable stereo rendering.

raylib.rlDisableTexture() None
-

Disable texture

+

Disable texture.

raylib.rlDisableTextureCubemap() None
-

Disable texture cubemap

+

Disable texture cubemap.

raylib.rlDisableVertexArray() None
-

Disable vertex array (VAO, if supported)

+

Disable vertex array (VAO, if supported).

raylib.rlDisableVertexAttribute(index: int) None
-

Disable vertex attribute index

+

Disable vertex attribute index.

raylib.rlDisableVertexBuffer() None
-

Disable vertex buffer (VBO)

+

Disable vertex buffer (VBO).

raylib.rlDisableVertexBufferElement() None
-

Disable vertex buffer element (VBO element)

+

Disable vertex buffer element (VBO element).

raylib.rlDisableWireMode() None
-

Disable wire (and point) mode

+

Disable wire (and point) mode.

@@ -13670,151 +13933,151 @@ are very, very similar to the C originals.

raylib.rlDrawRenderBatch(batch: Any | list | tuple) None
-

Draw render batch data (Update->Draw->Reset)

+

Draw render batch data (Update->Draw->Reset).

raylib.rlDrawRenderBatchActive() None
-

Update and draw internal render batch

+

Update and draw internal render batch.

raylib.rlDrawVertexArray(offset: int, count: int) None
-

Draw vertex array (currently active vao)

+

Draw vertex array (currently active vao).

raylib.rlDrawVertexArrayElements(offset: int, count: int, buffer: Any) None
-

Draw vertex array elements

+

Draw vertex array elements.

raylib.rlDrawVertexArrayElementsInstanced(offset: int, count: int, buffer: Any, instances: int) None
-

Draw vertex array elements with instancing

+

Draw vertex array elements with instancing.

raylib.rlDrawVertexArrayInstanced(offset: int, count: int, instances: int) None
-

Draw vertex array (currently active vao) with instancing

+

Draw vertex array (currently active vao) with instancing.

raylib.rlEnableBackfaceCulling() None
-

Enable backface culling

+

Enable backface culling.

raylib.rlEnableColorBlend() None
-

Enable color blending

+

Enable color blending.

raylib.rlEnableDepthMask() None
-

Enable depth write

+

Enable depth write.

raylib.rlEnableDepthTest() None
-

Enable depth test

+

Enable depth test.

raylib.rlEnableFramebuffer(id: int) None
-

Enable render texture (fbo)

+

Enable render texture (fbo).

raylib.rlEnablePointMode() None
-

Enable point mode

+

Enable point mode.

raylib.rlEnableScissorTest() None
-

Enable scissor test

+

Enable scissor test.

raylib.rlEnableShader(id: int) None
-

Enable shader program

+

Enable shader program.

raylib.rlEnableSmoothLines() None
-

Enable line aliasing

+

Enable line aliasing.

raylib.rlEnableStereoRender() None
-

Enable stereo rendering

+

Enable stereo rendering.

raylib.rlEnableTexture(id: int) None
-

Enable texture

+

Enable texture.

raylib.rlEnableTextureCubemap(id: int) None
-

Enable texture cubemap

+

Enable texture cubemap.

raylib.rlEnableVertexArray(vaoId: int) bool
-

Enable vertex array (VAO, if supported)

+

Enable vertex array (VAO, if supported).

raylib.rlEnableVertexAttribute(index: int) None
-

Enable vertex attribute index

+

Enable vertex attribute index.

raylib.rlEnableVertexBuffer(id: int) None
-

Enable vertex buffer (VBO)

+

Enable vertex buffer (VBO).

raylib.rlEnableVertexBufferElement(id: int) None
-

Enable vertex buffer element (VBO element)

+

Enable vertex buffer element (VBO element).

raylib.rlEnableWireMode() None
-

Enable wire mode

+

Enable wire mode.

raylib.rlEnd() None
-

Finish vertex providing

+

Finish vertex providing.

raylib.rlFramebufferAttach(fboId: int, texId: int, attachType: int, texType: int, mipLevel: int) None
-

Attach texture/renderbuffer to a framebuffer

+

Attach texture/renderbuffer to a framebuffer.

@@ -13830,138 +14093,139 @@ are very, very similar to the C originals.

raylib.rlFramebufferComplete(id: int) bool
-

Verify framebuffer is complete

+

Verify framebuffer is complete.

raylib.rlFrustum(left: float, right: float, bottom: float, top: float, znear: float, zfar: float) None
-
+

.

+
raylib.rlGenTextureMipmaps(id: int, width: int, height: int, format: int, mipmaps: Any) None
-

Generate mipmap data for selected texture

+

Generate mipmap data for selected texture.

raylib.rlGetActiveFramebuffer() int
-

Get the currently active render texture (fbo), 0 for default framebuffer

+

Get the currently active render texture (fbo), 0 for default framebuffer.

raylib.rlGetCullDistanceFar() float
-

Get cull plane distance far

+

Get cull plane distance far.

raylib.rlGetCullDistanceNear() float
-

Get cull plane distance near

+

Get cull plane distance near.

raylib.rlGetFramebufferHeight() int
-

Get default framebuffer height

+

Get default framebuffer height.

raylib.rlGetFramebufferWidth() int
-

Get default framebuffer width

+

Get default framebuffer width.

raylib.rlGetGlTextureFormats(format: int, glInternalFormat: Any, glFormat: Any, glType: Any) None
-

Get OpenGL internal formats

+

Get OpenGL internal formats.

raylib.rlGetLineWidth() float
-

Get the line drawing width

+

Get the line drawing width.

raylib.rlGetLocationAttrib(shaderId: int, attribName: bytes) int
-

Get shader location attribute

+

Get shader location attribute.

raylib.rlGetLocationUniform(shaderId: int, uniformName: bytes) int
-

Get shader location uniform

+

Get shader location uniform.

raylib.rlGetMatrixModelview() Matrix
-

Get internal modelview matrix

+

Get internal modelview matrix.

raylib.rlGetMatrixProjection() Matrix
-

Get internal projection matrix

+

Get internal projection matrix.

raylib.rlGetMatrixProjectionStereo(eye: int) Matrix
-

Get internal projection matrix for stereo render (selected eye)

+

Get internal projection matrix for stereo render (selected eye).

raylib.rlGetMatrixTransform() Matrix
-

Get internal accumulated transform matrix

+

Get internal accumulated transform matrix.

raylib.rlGetMatrixViewOffsetStereo(eye: int) Matrix
-

Get internal view offset matrix for stereo render (selected eye)

+

Get internal view offset matrix for stereo render (selected eye).

raylib.rlGetPixelFormatName(format: int) bytes
-

Get name string for pixel format

+

Get name string for pixel format.

raylib.rlGetShaderBufferSize(id: int) int
-

Get SSBO buffer size

+

Get SSBO buffer size.

raylib.rlGetShaderIdDefault() int
-

Get default shader id

+

Get default shader id.

raylib.rlGetShaderLocsDefault() Any
-

Get default shader locations

+

Get default shader locations.

raylib.rlGetTextureIdDefault() int
-

Get default texture id

+

Get default texture id.

raylib.rlGetVersion() int
-

Get current OpenGL version

+

Get current OpenGL version.

@@ -13972,127 +14236,128 @@ are very, very similar to the C originals.

raylib.rlIsStereoRenderEnabled() bool
-

Check if stereo render is enabled

+

Check if stereo render is enabled.

raylib.rlLoadComputeShaderProgram(shaderId: int) int
-

Load compute shader program

+

Load compute shader program.

raylib.rlLoadDrawCube() None
-

Load and draw a cube

+

Load and draw a cube.

raylib.rlLoadDrawQuad() None
-

Load and draw a quad

+

Load and draw a quad.

raylib.rlLoadExtensions(loader: Any) None
-

Load OpenGL extensions (loader function required)

+

Load OpenGL extensions (loader function required).

raylib.rlLoadFramebuffer() int
-

Load an empty framebuffer

+

Load an empty framebuffer.

raylib.rlLoadIdentity() None
-

Reset current matrix to identity matrix

+

Reset current matrix to identity matrix.

raylib.rlLoadRenderBatch(numBuffers: int, bufferElements: int) rlRenderBatch
-

Load a render batch system

+

Load a render batch system.

raylib.rlLoadShaderBuffer(size: int, data: Any, usageHint: int) int
-

Load shader storage buffer object (SSBO)

+

Load shader storage buffer object (SSBO).

raylib.rlLoadShaderCode(vsCode: bytes, fsCode: bytes) int
-

Load shader from code strings

+

Load shader from code strings.

raylib.rlLoadShaderProgram(vShaderId: int, fShaderId: int) int
-

Load custom shader program

+

Load custom shader program.

raylib.rlLoadTexture(data: Any, width: int, height: int, format: int, mipmapCount: int) int
-

Load texture data

+

Load texture data.

raylib.rlLoadTextureCubemap(data: Any, size: int, format: int, mipmapCount: int) int
-

Load texture cubemap data

+

Load texture cubemap data.

raylib.rlLoadTextureDepth(width: int, height: int, useRenderBuffer: bool) int
-

Load depth texture/renderbuffer (to be attached to fbo)

+

Load depth texture/renderbuffer (to be attached to fbo).

raylib.rlLoadVertexArray() int
-

Load vertex array (vao) if supported

+

Load vertex array (vao) if supported.

raylib.rlLoadVertexBuffer(buffer: Any, size: int, dynamic: bool) int
-

Load a vertex buffer object

+

Load a vertex buffer object.

raylib.rlLoadVertexBufferElement(buffer: Any, size: int, dynamic: bool) int
-

Load vertex buffer elements object

+

Load vertex buffer elements object.

raylib.rlMatrixMode(mode: int) None
-

Choose the current matrix to be transformed

+

Choose the current matrix to be transformed.

raylib.rlMultMatrixf(matf: Any) None
-

Multiply the current matrix by another matrix

+

Multiply the current matrix by another matrix.

raylib.rlNormal3f(x: float, y: float, z: float) None
-

Define one vertex (normal) - 3 float

+

Define one vertex (normal) - 3 float.

raylib.rlOrtho(left: float, right: float, bottom: float, top: float, znear: float, zfar: float) None
-
+

.

+
@@ -14102,31 +14367,31 @@ are very, very similar to the C originals.

raylib.rlPopMatrix() None
-

Pop latest inserted matrix from stack

+

Pop latest inserted matrix from stack.

raylib.rlPushMatrix() None
-

Push the current matrix to stack

+

Push the current matrix to stack.

raylib.rlReadScreenPixels(width: int, height: int) bytes
-

Read screen pixel data (color buffer)

+

Read screen pixel data (color buffer).

raylib.rlReadShaderBuffer(id: int, dest: Any, count: int, offset: int) None
-

Read SSBO buffer data (GPU->CPU)

+

Read SSBO buffer data (GPU->CPU).

raylib.rlReadTexturePixels(id: int, width: int, height: int, format: int) Any
-

Read texture pixel data

+

Read texture pixel data.

@@ -14167,151 +14432,151 @@ are very, very similar to the C originals.

raylib.rlRotatef(angle: float, x: float, y: float, z: float) None
-

Multiply the current matrix by a rotation matrix

+

Multiply the current matrix by a rotation matrix.

raylib.rlScalef(x: float, y: float, z: float) None
-

Multiply the current matrix by a scaling matrix

+

Multiply the current matrix by a scaling matrix.

raylib.rlScissor(x: int, y: int, width: int, height: int) None
-

Scissor test

+

Scissor test.

raylib.rlSetBlendFactors(glSrcFactor: int, glDstFactor: int, glEquation: int) None
-

Set blending mode factor and equation (using OpenGL factors)

+

Set blending mode factor and equation (using OpenGL factors).

raylib.rlSetBlendFactorsSeparate(glSrcRGB: int, glDstRGB: int, glSrcAlpha: int, glDstAlpha: int, glEqRGB: int, glEqAlpha: int) None
-

Set blending mode factors and equations separately (using OpenGL factors)

+

Set blending mode factors and equations separately (using OpenGL factors).

raylib.rlSetBlendMode(mode: int) None
-

Set blending mode

+

Set blending mode.

raylib.rlSetClipPlanes(nearPlane: float, farPlane: float) None
-

Set clip planes distances

+

Set clip planes distances.

raylib.rlSetCullFace(mode: int) None
-

Set face culling mode

+

Set face culling mode.

raylib.rlSetFramebufferHeight(height: int) None
-

Set current framebuffer height

+

Set current framebuffer height.

raylib.rlSetFramebufferWidth(width: int) None
-

Set current framebuffer width

+

Set current framebuffer width.

raylib.rlSetLineWidth(width: float) None
-

Set the line drawing width

+

Set the line drawing width.

raylib.rlSetMatrixModelview(view: Matrix | list | tuple) None
-

Set a custom modelview matrix (replaces internal modelview matrix)

+

Set a custom modelview matrix (replaces internal modelview matrix).

raylib.rlSetMatrixProjection(proj: Matrix | list | tuple) None
-

Set a custom projection matrix (replaces internal projection matrix)

+

Set a custom projection matrix (replaces internal projection matrix).

raylib.rlSetMatrixProjectionStereo(right: Matrix | list | tuple, left: Matrix | list | tuple) None
-

Set eyes projection matrices for stereo rendering

+

Set eyes projection matrices for stereo rendering.

raylib.rlSetMatrixViewOffsetStereo(right: Matrix | list | tuple, left: Matrix | list | tuple) None
-

Set eyes view offsets matrices for stereo rendering

+

Set eyes view offsets matrices for stereo rendering.

raylib.rlSetRenderBatchActive(batch: Any | list | tuple) None
-

Set the active render batch for rlgl (NULL for default internal)

+

Set the active render batch for rlgl (NULL for default internal).

raylib.rlSetShader(id: int, locs: Any) None
-

Set shader currently active (id and locations)

+

Set shader currently active (id and locations).

raylib.rlSetTexture(id: int) None
-

Set current texture for render batch and check buffers limits

+

Set current texture for render batch and check buffers limits.

raylib.rlSetUniform(locIndex: int, value: Any, uniformType: int, count: int) None
-

Set shader value uniform

+

Set shader value uniform.

raylib.rlSetUniformMatrices(locIndex: int, mat: Any | list | tuple, count: int) None
-

Set shader value matrices

+

Set shader value matrices.

raylib.rlSetUniformMatrix(locIndex: int, mat: Matrix | list | tuple) None
-

Set shader value matrix

+

Set shader value matrix.

raylib.rlSetUniformSampler(locIndex: int, textureId: int) None
-

Set shader value sampler

+

Set shader value sampler.

raylib.rlSetVertexAttribute(index: int, compSize: int, type: int, normalized: bool, stride: int, offset: int) None
-

Set vertex attribute data configuration

+

Set vertex attribute data configuration.

raylib.rlSetVertexAttributeDefault(locIndex: int, value: Any, attribType: int, count: int) None
-

Set vertex attribute default value, when attribute to provided

+

Set vertex attribute default value, when attribute to provided.

raylib.rlSetVertexAttributeDivisor(index: int, divisor: int) None
-

Set vertex attribute data divisor

+

Set vertex attribute data divisor.

@@ -14332,7 +14597,7 @@ are very, very similar to the C originals.

raylib.rlTexCoord2f(x: float, y: float) None
-

Define one vertex (texture coordinate) - 2 float

+

Define one vertex (texture coordinate) - 2 float.

@@ -14343,7 +14608,7 @@ are very, very similar to the C originals.

raylib.rlTextureParameters(id: int, param: int, value: int) None
-

Set texture parameters (filter, wrap)

+

Set texture parameters (filter, wrap).

@@ -14354,91 +14619,91 @@ are very, very similar to the C originals.

raylib.rlTranslatef(x: float, y: float, z: float) None
-

Multiply the current matrix by a translation matrix

+

Multiply the current matrix by a translation matrix.

raylib.rlUnloadFramebuffer(id: int) None
-

Delete framebuffer from GPU

+

Delete framebuffer from GPU.

raylib.rlUnloadRenderBatch(batch: rlRenderBatch | list | tuple) None
-

Unload render batch system

+

Unload render batch system.

raylib.rlUnloadShaderBuffer(ssboId: int) None
-

Unload shader storage buffer object (SSBO)

+

Unload shader storage buffer object (SSBO).

raylib.rlUnloadShaderProgram(id: int) None
-

Unload shader program

+

Unload shader program.

raylib.rlUnloadTexture(id: int) None
-

Unload texture from GPU memory

+

Unload texture from GPU memory.

raylib.rlUnloadVertexArray(vaoId: int) None
-

Unload vertex array (vao)

+

Unload vertex array (vao).

raylib.rlUnloadVertexBuffer(vboId: int) None
-

Unload vertex buffer object

+

Unload vertex buffer object.

raylib.rlUpdateShaderBuffer(id: int, data: Any, dataSize: int, offset: int) None
-

Update SSBO buffer data

+

Update SSBO buffer data.

raylib.rlUpdateTexture(id: int, offsetX: int, offsetY: int, width: int, height: int, format: int, data: Any) None
-

Update texture with new data on GPU

+

Update texture with new data on GPU.

raylib.rlUpdateVertexBuffer(bufferId: int, data: Any, dataSize: int, offset: int) None
-

Update vertex buffer object data on GPU buffer

+

Update vertex buffer object data on GPU buffer.

raylib.rlUpdateVertexBufferElements(id: int, data: Any, dataSize: int, offset: int) None
-

Update vertex buffer elements data on GPU buffer

+

Update vertex buffer elements data on GPU buffer.

raylib.rlVertex2f(x: float, y: float) None
-

Define one vertex (position) - 2 float

+

Define one vertex (position) - 2 float.

raylib.rlVertex2i(x: int, y: int) None
-

Define one vertex (position) - 2 int

+

Define one vertex (position) - 2 int.

raylib.rlVertex3f(x: float, y: float, z: float) None
-

Define one vertex (position) - 3 float

+

Define one vertex (position) - 3 float.

@@ -14489,19 +14754,19 @@ are very, very similar to the C originals.

raylib.rlViewport(x: int, y: int, width: int, height: int) None
-

Set the viewport area

+

Set the viewport area.

raylib.rlglClose() None
-

De-initialize rlgl (buffers, shaders, textures)

+

De-initialize rlgl (buffers, shaders, textures).

raylib.rlglInit(width: int, height: int) None
-

Initialize rlgl (buffers, shaders, textures, states)

+

Initialize rlgl (buffers, shaders, textures, states).

diff --git a/dynamic/raylib/__init__.pyi b/dynamic/raylib/__init__.pyi index 307658b..fcfc1df 100644 --- a/dynamic/raylib/__init__.pyi +++ b/dynamic/raylib/__init__.pyi @@ -1,5 +1,5 @@ from typing import Any - +from warnings import deprecated import _cffi_backend # type: ignore ffi: _cffi_backend.FFI @@ -12,11 +12,11 @@ ARROWS_SIZE: int ARROWS_VISIBLE: int ARROW_PADDING: int def AttachAudioMixedProcessor(processor: Any,) -> None: - """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'""" - ... + """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'.""" + ... def AttachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None: - """Attach audio stream processor to stream, receives the samples as 'float'""" - ... + """Attach audio stream processor to stream, receives the samples as 'float'.""" + ... BACKGROUND_COLOR: int BASE_COLOR_DISABLED: int BASE_COLOR_FOCUSED: int @@ -37,29 +37,29 @@ BORDER_COLOR_PRESSED: int BORDER_WIDTH: int BUTTON: int def BeginBlendMode(mode: int,) -> None: - """Begin blending mode (alpha, additive, multiplied, subtract, custom)""" - ... + """Begin blending mode (alpha, additive, multiplied, subtract, custom).""" + ... def BeginDrawing() -> None: - """Setup canvas (framebuffer) to start drawing""" - ... + """Setup canvas (framebuffer) to start drawing.""" + ... def BeginMode2D(camera: Camera2D|list|tuple,) -> None: - """Begin 2D mode with custom camera (2D)""" - ... + """Begin 2D mode with custom camera (2D).""" + ... def BeginMode3D(camera: Camera3D|list|tuple,) -> None: - """Begin 3D mode with custom camera (3D)""" - ... + """Begin 3D mode with custom camera (3D).""" + ... def BeginScissorMode(x: int,y: int,width: int,height: int,) -> None: - """Begin scissor mode (define screen area for following drawing)""" - ... + """Begin scissor mode (define screen area for following drawing).""" + ... def BeginShaderMode(shader: Shader|list|tuple,) -> None: - """Begin custom shader drawing""" - ... + """Begin custom shader drawing.""" + ... def BeginTextureMode(target: RenderTexture|list|tuple,) -> None: - """Begin drawing to render texture""" - ... + """Begin drawing to render texture.""" + ... def BeginVrStereoMode(config: VrStereoConfig|list|tuple,) -> None: - """Begin stereo rendering (requires VR simulator)""" - ... + """Begin stereo rendering (requires VR simulator).""" + ... CAMERA_CUSTOM: int CAMERA_FIRST_PERSON: int CAMERA_FREE: int @@ -80,493 +80,498 @@ CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR: int CUBEMAP_LAYOUT_LINE_HORIZONTAL: int CUBEMAP_LAYOUT_LINE_VERTICAL: int def ChangeDirectory(dir: bytes,) -> bool: - """Change working directory, return true on success""" - ... + """Change working directory, return true on success.""" + ... def CheckCollisionBoxSphere(box: BoundingBox|list|tuple,center: Vector3|list|tuple,radius: float,) -> bool: - """Check collision between box and sphere""" - ... + """Check collision between box and sphere.""" + ... def CheckCollisionBoxes(box1: BoundingBox|list|tuple,box2: BoundingBox|list|tuple,) -> bool: - """Check collision between two bounding boxes""" - ... + """Check collision between two bounding boxes.""" + ... def CheckCollisionCircleLine(center: Vector2|list|tuple,radius: float,p1: Vector2|list|tuple,p2: Vector2|list|tuple,) -> bool: - """Check if circle collides with a line created betweeen two points [p1] and [p2]""" - ... + """Check if circle collides with a line created betweeen two points [p1] and [p2].""" + ... def CheckCollisionCircleRec(center: Vector2|list|tuple,radius: float,rec: Rectangle|list|tuple,) -> bool: - """Check collision between circle and rectangle""" - ... + """Check collision between circle and rectangle.""" + ... def CheckCollisionCircles(center1: Vector2|list|tuple,radius1: float,center2: Vector2|list|tuple,radius2: float,) -> bool: - """Check collision between two circles""" - ... + """Check collision between two circles.""" + ... def CheckCollisionLines(startPos1: Vector2|list|tuple,endPos1: Vector2|list|tuple,startPos2: Vector2|list|tuple,endPos2: Vector2|list|tuple,collisionPoint: Any|list|tuple,) -> bool: - """Check the collision between two lines defined by two points each, returns collision point by reference""" - ... + """Check the collision between two lines defined by two points each, returns collision point by reference.""" + ... def CheckCollisionPointCircle(point: Vector2|list|tuple,center: Vector2|list|tuple,radius: float,) -> bool: - """Check if point is inside circle""" - ... + """Check if point is inside circle.""" + ... def CheckCollisionPointLine(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,threshold: int,) -> bool: - """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]""" - ... + """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold].""" + ... def CheckCollisionPointPoly(point: Vector2|list|tuple,points: Any|list|tuple,pointCount: int,) -> bool: - """Check if point is within a polygon described by array of vertices""" - ... + """Check if point is within a polygon described by array of vertices.""" + ... def CheckCollisionPointRec(point: Vector2|list|tuple,rec: Rectangle|list|tuple,) -> bool: - """Check if point is inside rectangle""" - ... + """Check if point is inside rectangle.""" + ... def CheckCollisionPointTriangle(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,) -> bool: - """Check if point is inside a triangle""" - ... + """Check if point is inside a triangle.""" + ... def CheckCollisionRecs(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> bool: - """Check collision between two rectangles""" - ... + """Check collision between two rectangles.""" + ... def CheckCollisionSpheres(center1: Vector3|list|tuple,radius1: float,center2: Vector3|list|tuple,radius2: float,) -> bool: - """Check collision between two spheres""" - ... + """Check collision between two spheres.""" + ... def Clamp(value: float,min_1: float,max_2: float,) -> float: - """""" - ... + """.""" + ... def ClearBackground(color: Color|list|tuple,) -> None: - """Set background color (framebuffer clear color)""" - ... + """Set background color (framebuffer clear color).""" + ... def ClearWindowState(flags: int,) -> None: - """Clear window configuration state flags""" - ... + """Clear window configuration state flags.""" + ... def CloseAudioDevice() -> None: - """Close the audio device and context""" - ... + """Close the audio device and context.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def ClosePhysics() -> None: - """Close physics system and unload used memory""" - ... + """Close physics system and unload used memory.""" + ... def CloseWindow() -> None: - """Close window and unload OpenGL context""" - ... + """Close window and unload OpenGL context.""" + ... def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> bytes: - """Encode one codepoint into UTF-8 byte array (array length returned as parameter)""" - ... + """Encode one codepoint into UTF-8 byte array (array length returned as parameter).""" + ... def ColorAlpha(color: Color|list|tuple,alpha: float,) -> Color: - """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" - ... + """Get color with alpha applied, alpha goes from 0.0f to 1.0f.""" + ... def ColorAlphaBlend(dst: Color|list|tuple,src: Color|list|tuple,tint: Color|list|tuple,) -> Color: - """Get src alpha-blended into dst color with tint""" - ... + """Get src alpha-blended into dst color with tint.""" + ... def ColorBrightness(color: Color|list|tuple,factor: float,) -> Color: - """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f""" - ... + """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f.""" + ... def ColorContrast(color: Color|list|tuple,contrast: float,) -> Color: - """Get color with contrast correction, contrast values between -1.0f and 1.0f""" - ... + """Get color with contrast correction, contrast values between -1.0f and 1.0f.""" + ... def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color: - """Get a Color from HSV values, hue [0..360], saturation/value [0..1]""" - ... + """Get a Color from HSV values, hue [0..360], saturation/value [0..1].""" + ... def ColorFromNormalized(normalized: Vector4|list|tuple,) -> Color: - """Get Color from normalized values [0..1]""" - ... + """Get Color from normalized values [0..1].""" + ... def ColorIsEqual(col1: Color|list|tuple,col2: Color|list|tuple,) -> bool: - """Check if two colors are equal""" - ... + """Check if two colors are equal.""" + ... def ColorLerp(color1: Color|list|tuple,color2: Color|list|tuple,factor: float,) -> Color: - """Get color lerp interpolation between two colors, factor [0.0f..1.0f]""" - ... + """Get color lerp interpolation between two colors, factor [0.0f..1.0f].""" + ... def ColorNormalize(color: Color|list|tuple,) -> Vector4: - """Get Color normalized as float [0..1]""" - ... + """Get Color normalized as float [0..1].""" + ... def ColorTint(color: Color|list|tuple,tint: Color|list|tuple,) -> Color: - """Get color multiplied with another color""" - ... + """Get color multiplied with another color.""" + ... def ColorToHSV(color: Color|list|tuple,) -> Vector3: - """Get HSV values for a Color, hue [0..360], saturation/value [0..1]""" - ... + """Get HSV values for a Color, hue [0..360], saturation/value [0..1].""" + ... def ColorToInt(color: Color|list|tuple,) -> int: - """Get hexadecimal value for a Color (0xRRGGBBAA)""" - ... + """Get hexadecimal value for a Color (0xRRGGBBAA).""" + ... def CompressData(data: bytes,dataSize: int,compDataSize: Any,) -> bytes: - """Compress data (DEFLATE algorithm), memory must be MemFree()""" - ... + """Compress data (DEFLATE algorithm), memory must be MemFree().""" + ... def ComputeCRC32(data: bytes,dataSize: int,) -> int: - """Compute CRC32 hash code""" - ... + """Compute CRC32 hash code.""" + ... def ComputeMD5(data: bytes,dataSize: int,) -> Any: - """Compute MD5 hash code, returns static int[4] (16 bytes)""" - ... + """Compute MD5 hash code, returns static int[4] (16 bytes).""" + ... def ComputeSHA1(data: bytes,dataSize: int,) -> Any: - """Compute SHA1 hash code, returns static int[5] (20 bytes)""" - ... + """Compute SHA1 hash code, returns static int[5] (20 bytes).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def CreatePhysicsBodyCircle(pos: Vector2|list|tuple,radius: float,density: float,) -> Any: - """Creates a new circle physics body with generic parameters""" - ... + """Creates a new circle physics body with generic parameters.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def CreatePhysicsBodyPolygon(pos: Vector2|list|tuple,radius: float,sides: int,density: float,) -> Any: - """Creates a new polygon physics body with generic parameters""" - ... + """Creates a new polygon physics body with generic parameters.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def CreatePhysicsBodyRectangle(pos: Vector2|list|tuple,width: float,height: float,density: float,) -> Any: - """Creates a new rectangle physics body with generic parameters""" - ... + """Creates a new rectangle physics body with generic parameters.""" + ... DEFAULT: int DROPDOWNBOX: int DROPDOWN_ARROW_HIDDEN: int DROPDOWN_ITEMS_SPACING: int DROPDOWN_ROLL_UP: int def DecodeDataBase64(data: bytes,outputSize: Any,) -> bytes: - """Decode Base64 string data, memory must be MemFree()""" - ... + """Decode Base64 string data, memory must be MemFree().""" + ... def DecompressData(compData: bytes,compDataSize: int,dataSize: Any,) -> bytes: - """Decompress data (DEFLATE algorithm), memory must be MemFree()""" - ... + """Decompress data (DEFLATE algorithm), memory must be MemFree().""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def DestroyPhysicsBody(body: Any|list|tuple,) -> None: - """Destroy a physics body""" - ... + """Destroy a physics body.""" + ... def DetachAudioMixedProcessor(processor: Any,) -> None: - """Detach audio stream processor from the entire audio pipeline""" - ... + """Detach audio stream processor from the entire audio pipeline.""" + ... def DetachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None: - """Detach audio stream processor from stream""" - ... + """Detach audio stream processor from stream.""" + ... def DirectoryExists(dirPath: bytes,) -> bool: - """Check if a directory path exists""" - ... + """Check if a directory path exists.""" + ... def DisableCursor() -> None: - """Disables cursor (lock cursor)""" - ... + """Disables cursor (lock cursor).""" + ... def DisableEventWaiting() -> None: - """Disable waiting for events on EndDrawing(), automatic events polling""" - ... + """Disable waiting for events on EndDrawing(), automatic events polling.""" + ... def DrawBillboard(camera: Camera3D|list|tuple,texture: Texture|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a billboard texture""" - ... + """Draw a billboard texture.""" + ... def DrawBillboardPro(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,up: Vector3|list|tuple,size: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draw a billboard texture defined by source and rotation""" - ... + """Draw a billboard texture defined by source and rotation.""" + ... def DrawBillboardRec(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,size: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a billboard texture defined by source""" - ... + """Draw a billboard texture defined by source.""" + ... def DrawBoundingBox(box: BoundingBox|list|tuple,color: Color|list|tuple,) -> None: - """Draw bounding box (wires)""" - ... + """Draw bounding box (wires).""" + ... def DrawCapsule(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None: - """Draw a capsule with the center of its sphere caps at startPos and endPos""" - ... + """Draw a capsule with the center of its sphere caps at startPos and endPos.""" + ... def DrawCapsuleWires(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None: - """Draw capsule wireframe with the center of its sphere caps at startPos and endPos""" - ... + """Draw capsule wireframe with the center of its sphere caps at startPos and endPos.""" + ... def DrawCircle(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None: - """Draw a color-filled circle""" - ... + """Draw a color-filled circle.""" + ... def DrawCircle3D(center: Vector3|list|tuple,radius: float,rotationAxis: Vector3|list|tuple,rotationAngle: float,color: Color|list|tuple,) -> None: - """Draw a circle in 3D world space""" - ... + """Draw a circle in 3D world space.""" + ... def DrawCircleGradient(centerX: int,centerY: int,radius: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> None: - """Draw a gradient-filled circle""" - ... + """Draw a gradient-filled circle.""" + ... def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None: - """Draw circle outline""" - ... + """Draw circle outline.""" + ... def DrawCircleLinesV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw circle outline (Vector version)""" - ... + """Draw circle outline (Vector version).""" + ... def DrawCircleSector(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw a piece of a circle""" - ... + """Draw a piece of a circle.""" + ... def DrawCircleSectorLines(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw circle sector outline""" - ... + """Draw circle sector outline.""" + ... def DrawCircleV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw a color-filled circle (Vector version)""" - ... + """Draw a color-filled circle (Vector version).""" + ... def DrawCube(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None: - """Draw cube""" - ... + """Draw cube.""" + ... def DrawCubeV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw cube (Vector version)""" - ... + """Draw cube (Vector version).""" + ... def DrawCubeWires(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None: - """Draw cube wires""" - ... + """Draw cube wires.""" + ... def DrawCubeWiresV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw cube wires (Vector version)""" - ... + """Draw cube wires (Vector version).""" + ... def DrawCylinder(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None: - """Draw a cylinder/cone""" - ... + """Draw a cylinder/cone.""" + ... def DrawCylinderEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None: - """Draw a cylinder with base at startPos and top at endPos""" - ... + """Draw a cylinder with base at startPos and top at endPos.""" + ... def DrawCylinderWires(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None: - """Draw a cylinder/cone wires""" - ... + """Draw a cylinder/cone wires.""" + ... def DrawCylinderWiresEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None: - """Draw a cylinder wires with base at startPos and top at endPos""" - ... + """Draw a cylinder wires with base at startPos and top at endPos.""" + ... def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None: - """Draw ellipse""" - ... + """Draw ellipse.""" + ... def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None: - """Draw ellipse outline""" - ... + """Draw ellipse outline.""" + ... def DrawFPS(posX: int,posY: int,) -> None: - """Draw current FPS""" - ... + """Draw current FPS.""" + ... def DrawGrid(slices: int,spacing: float,) -> None: - """Draw a grid (centered at (0, 0, 0))""" - ... + """Draw a grid (centered at (0, 0, 0)).""" + ... def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None: - """Draw a line""" - ... + """Draw a line.""" + ... def DrawLine3D(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a line in 3D world space""" - ... + """Draw a line in 3D world space.""" + ... def DrawLineBezier(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw line segment cubic-bezier in-out interpolation""" - ... + """Draw line segment cubic-bezier in-out interpolation.""" + ... def DrawLineEx(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw a line (using triangles/quads)""" - ... + """Draw a line (using triangles/quads).""" + ... def DrawLineStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw lines sequence (using gl lines)""" - ... + """Draw lines sequence (using gl lines).""" + ... def DrawLineV(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a line (using gl lines)""" - ... + """Draw a line (using gl lines).""" + ... def DrawMesh(mesh: Mesh|list|tuple,material: Material|list|tuple,transform: Matrix|list|tuple,) -> None: - """Draw a 3d mesh with material and transform""" - ... + """Draw a 3d mesh with material and transform.""" + ... def DrawMeshInstanced(mesh: Mesh|list|tuple,material: Material|list|tuple,transforms: Any|list|tuple,instances: int,) -> None: - """Draw multiple mesh instances with material and different transforms""" - ... + """Draw multiple mesh instances with material and different transforms.""" + ... def DrawModel(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model (with texture if set)""" - ... + """Draw a model (with texture if set).""" + ... def DrawModelEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model with extended parameters""" - ... + """Draw a model with extended parameters.""" + ... def DrawModelPoints(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model as points""" - ... + """Draw a model as points.""" + ... def DrawModelPointsEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model as points with extended parameters""" - ... + """Draw a model as points with extended parameters.""" + ... def DrawModelWires(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model wires (with texture if set)""" - ... + """Draw a model wires (with texture if set).""" + ... def DrawModelWiresEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model wires (with texture if set) with extended parameters""" - ... + """Draw a model wires (with texture if set) with extended parameters.""" + ... def DrawPixel(posX: int,posY: int,color: Color|list|tuple,) -> None: - """Draw a pixel using geometry [Can be slow, use with care]""" - ... + """Draw a pixel using geometry [Can be slow, use with care].""" + ... def DrawPixelV(position: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a pixel using geometry (Vector version) [Can be slow, use with care]""" - ... + """Draw a pixel using geometry (Vector version) [Can be slow, use with care].""" + ... def DrawPlane(centerPos: Vector3|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a plane XZ""" - ... + """Draw a plane XZ.""" + ... def DrawPoint3D(position: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a point in 3D space, actually a small line""" - ... + """Draw a point in 3D space, actually a small line.""" + ... def DrawPoly(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None: - """Draw a regular polygon (Vector version)""" - ... + """Draw a regular polygon (Vector version).""" + ... def DrawPolyLines(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None: - """Draw a polygon outline of n sides""" - ... + """Draw a polygon outline of n sides.""" + ... def DrawPolyLinesEx(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,lineThick: float,color: Color|list|tuple,) -> None: - """Draw a polygon outline of n sides with extended parameters""" - ... + """Draw a polygon outline of n sides with extended parameters.""" + ... def DrawRay(ray: Ray|list|tuple,color: Color|list|tuple,) -> None: - """Draw a ray line""" - ... + """Draw a ray line.""" + ... def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle""" - ... + """Draw a color-filled rectangle.""" + ... def DrawRectangleGradientEx(rec: Rectangle|list|tuple,topLeft: Color|list|tuple,bottomLeft: Color|list|tuple,topRight: Color|list|tuple,bottomRight: Color|list|tuple,) -> None: - """Draw a gradient-filled rectangle with custom vertex colors""" - ... + """Draw a gradient-filled rectangle with custom vertex colors.""" + ... def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,left: Color|list|tuple,right: Color|list|tuple,) -> None: - """Draw a horizontal-gradient-filled rectangle""" - ... + """Draw a horizontal-gradient-filled rectangle.""" + ... def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,top: Color|list|tuple,bottom: Color|list|tuple,) -> None: - """Draw a vertical-gradient-filled rectangle""" - ... + """Draw a vertical-gradient-filled rectangle.""" + ... def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw rectangle outline""" - ... + """Draw rectangle outline.""" + ... def DrawRectangleLinesEx(rec: Rectangle|list|tuple,lineThick: float,color: Color|list|tuple,) -> None: - """Draw rectangle outline with extended parameters""" - ... + """Draw rectangle outline with extended parameters.""" + ... def DrawRectanglePro(rec: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle with pro parameters""" - ... + """Draw a color-filled rectangle with pro parameters.""" + ... def DrawRectangleRec(rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle""" - ... + """Draw a color-filled rectangle.""" + ... def DrawRectangleRounded(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None: - """Draw rectangle with rounded edges""" - ... + """Draw rectangle with rounded edges.""" + ... def DrawRectangleRoundedLines(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None: - """Draw rectangle lines with rounded edges""" - ... + """Draw rectangle lines with rounded edges.""" + ... def DrawRectangleRoundedLinesEx(rec: Rectangle|list|tuple,roundness: float,segments: int,lineThick: float,color: Color|list|tuple,) -> None: - """Draw rectangle with rounded edges outline""" - ... + """Draw rectangle with rounded edges outline.""" + ... def DrawRectangleV(position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle (Vector version)""" - ... + """Draw a color-filled rectangle (Vector version).""" + ... def DrawRing(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw ring""" - ... + """Draw ring.""" + ... def DrawRingLines(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw ring outline""" - ... + """Draw ring outline.""" + ... def DrawSphere(centerPos: Vector3|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw sphere""" - ... + """Draw sphere.""" + ... def DrawSphereEx(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None: - """Draw sphere with extended parameters""" - ... + """Draw sphere with extended parameters.""" + ... def DrawSphereWires(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None: - """Draw sphere wires""" - ... + """Draw sphere wires.""" + ... def DrawSplineBasis(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: B-Spline, minimum 4 points""" - ... + """Draw spline: B-Spline, minimum 4 points.""" + ... def DrawSplineBezierCubic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]""" - ... + """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...].""" + ... def DrawSplineBezierQuadratic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]""" - ... + """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...].""" + ... def DrawSplineCatmullRom(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Catmull-Rom, minimum 4 points""" - ... + """Draw spline: Catmull-Rom, minimum 4 points.""" + ... def DrawSplineLinear(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Linear, minimum 2 points""" - ... + """Draw spline: Linear, minimum 2 points.""" + ... def DrawSplineSegmentBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: B-Spline, 4 points""" - ... + """Draw spline segment: B-Spline, 4 points.""" + ... def DrawSplineSegmentBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Cubic Bezier, 2 points, 2 control points""" - ... + """Draw spline segment: Cubic Bezier, 2 points, 2 control points.""" + ... def DrawSplineSegmentBezierQuadratic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Quadratic Bezier, 2 points, 1 control point""" - ... + """Draw spline segment: Quadratic Bezier, 2 points, 1 control point.""" + ... def DrawSplineSegmentCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Catmull-Rom, 4 points""" - ... + """Draw spline segment: Catmull-Rom, 4 points.""" + ... def DrawSplineSegmentLinear(p1: Vector2|list|tuple,p2: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Linear, 2 points""" - ... + """Draw spline segment: Linear, 2 points.""" + ... def DrawText(text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None: - """Draw text (using default font)""" - ... + """Draw text (using default font).""" + ... def DrawTextCodepoint(font: Font|list|tuple,codepoint: int,position: Vector2|list|tuple,fontSize: float,tint: Color|list|tuple,) -> None: - """Draw one character (codepoint)""" - ... + """Draw one character (codepoint).""" + ... def DrawTextCodepoints(font: Font|list|tuple,codepoints: Any,codepointCount: int,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw multiple character (codepoint)""" - ... + """Draw multiple character (codepoint).""" + ... def DrawTextEx(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text using font and additional parameters""" - ... + """Draw text using font and additional parameters.""" + ... def DrawTextPro(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text using Font and pro parameters (rotation)""" - ... + """Draw text using Font and pro parameters (rotation).""" + ... def DrawTexture(texture: Texture|list|tuple,posX: int,posY: int,tint: Color|list|tuple,) -> None: - """Draw a Texture2D""" - ... + """Draw a Texture2D.""" + ... def DrawTextureEx(texture: Texture|list|tuple,position: Vector2|list|tuple,rotation: float,scale: float,tint: Color|list|tuple,) -> None: - """Draw a Texture2D with extended parameters""" - ... + """Draw a Texture2D with extended parameters.""" + ... def DrawTextureNPatch(texture: Texture|list|tuple,nPatchInfo: NPatchInfo|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draws a texture (or part of it) that stretches or shrinks nicely""" - ... + """Draws a texture (or part of it) that stretches or shrinks nicely.""" + ... def DrawTexturePro(texture: Texture|list|tuple,source: Rectangle|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draw a part of a texture defined by a rectangle with 'pro' parameters""" - ... + """Draw a part of a texture defined by a rectangle with 'pro' parameters.""" + ... def DrawTextureRec(texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a part of a texture defined by a rectangle""" - ... + """Draw a part of a texture defined by a rectangle.""" + ... def DrawTextureV(texture: Texture|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a Texture2D with position defined as Vector2""" - ... + """Draw a Texture2D with position defined as Vector2.""" + ... def DrawTriangle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled triangle (vertex in counter-clockwise order!)""" - ... + """Draw a color-filled triangle (vertex in counter-clockwise order!).""" + ... def DrawTriangle3D(v1: Vector3|list|tuple,v2: Vector3|list|tuple,v3: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled triangle (vertex in counter-clockwise order!)""" - ... + """Draw a color-filled triangle (vertex in counter-clockwise order!).""" + ... def DrawTriangleFan(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle fan defined by points (first vertex is the center)""" - ... + """Draw a triangle fan defined by points (first vertex is the center).""" + ... def DrawTriangleLines(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle outline (vertex in counter-clockwise order!)""" - ... + """Draw triangle outline (vertex in counter-clockwise order!).""" + ... def DrawTriangleStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points""" - ... + """Draw a triangle strip defined by points.""" + ... def DrawTriangleStrip3D(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points""" - ... + """Draw a triangle strip defined by points.""" + ... def EnableCursor() -> None: - """Enables cursor (unlock cursor)""" - ... + """Enables cursor (unlock cursor).""" + ... def EnableEventWaiting() -> None: - """Enable waiting for events on EndDrawing(), no automatic event polling""" - ... + """Enable waiting for events on EndDrawing(), no automatic event polling.""" + ... def EncodeDataBase64(data: bytes,dataSize: int,outputSize: Any,) -> bytes: - """Encode data to Base64 string, memory must be MemFree()""" - ... + """Encode data to Base64 string, memory must be MemFree().""" + ... def EndBlendMode() -> None: - """End blending mode (reset to default: alpha blending)""" - ... + """End blending mode (reset to default: alpha blending).""" + ... def EndDrawing() -> None: - """End canvas drawing and swap buffers (double buffering)""" - ... + """End canvas drawing and swap buffers (double buffering).""" + ... def EndMode2D() -> None: - """Ends 2D mode with custom camera""" - ... + """Ends 2D mode with custom camera.""" + ... def EndMode3D() -> None: - """Ends 3D mode and returns to default 2D orthographic mode""" - ... + """Ends 3D mode and returns to default 2D orthographic mode.""" + ... def EndScissorMode() -> None: - """End scissor mode""" - ... + """End scissor mode.""" + ... def EndShaderMode() -> None: - """End custom shader drawing (use default shader)""" - ... + """End custom shader drawing (use default shader).""" + ... def EndTextureMode() -> None: - """Ends drawing to render texture""" - ... + """Ends drawing to render texture.""" + ... def EndVrStereoMode() -> None: - """End stereo rendering (requires VR simulator)""" - ... + """End stereo rendering (requires VR simulator).""" + ... def ExportAutomationEventList(list_0: AutomationEventList|list|tuple,fileName: bytes,) -> bool: - """Export automation events list as text file""" - ... + """Export automation events list as text file.""" + ... def ExportDataAsCode(data: bytes,dataSize: int,fileName: bytes,) -> bool: - """Export data to code (.h), returns true on success""" - ... + """Export data to code (.h), returns true on success.""" + ... def ExportFontAsCode(font: Font|list|tuple,fileName: bytes,) -> bool: - """Export font as code file, returns true on success""" - ... + """Export font as code file, returns true on success.""" + ... def ExportImage(image: Image|list|tuple,fileName: bytes,) -> bool: - """Export image data to file, returns true on success""" - ... + """Export image data to file, returns true on success.""" + ... def ExportImageAsCode(image: Image|list|tuple,fileName: bytes,) -> bool: - """Export image as code file defining an array of bytes, returns true on success""" - ... + """Export image as code file defining an array of bytes, returns true on success.""" + ... def ExportImageToMemory(image: Image|list|tuple,fileType: bytes,fileSize: Any,) -> bytes: - """Export image to memory buffer""" - ... + """Export image to memory buffer.""" + ... def ExportMesh(mesh: Mesh|list|tuple,fileName: bytes,) -> bool: - """Export mesh data to file, returns true on success""" - ... + """Export mesh data to file, returns true on success.""" + ... def ExportMeshAsCode(mesh: Mesh|list|tuple,fileName: bytes,) -> bool: - """Export mesh as code file (.h) defining multiple arrays of vertex attributes""" - ... + """Export mesh as code file (.h) defining multiple arrays of vertex attributes.""" + ... def ExportWave(wave: Wave|list|tuple,fileName: bytes,) -> bool: - """Export wave data to file, returns true on success""" - ... + """Export wave data to file, returns true on success.""" + ... def ExportWaveAsCode(wave: Wave|list|tuple,fileName: bytes,) -> bool: - """Export wave sample data to code (.h), returns true on success""" - ... + """Export wave sample data to code (.h), returns true on success.""" + ... FLAG_BORDERLESS_WINDOWED_MODE: int FLAG_FULLSCREEN_MODE: int FLAG_INTERLACED_HINT: int @@ -587,14 +592,14 @@ FONT_BITMAP: int FONT_DEFAULT: int FONT_SDF: int def Fade(color: Color|list|tuple,alpha: float,) -> Color: - """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" - ... + """Get color with alpha applied, alpha goes from 0.0f to 1.0f.""" + ... def FileExists(fileName: bytes,) -> bool: - """Check if file exists""" - ... + """Check if file exists.""" + ... def FloatEquals(x: float,y: float,) -> int: - """""" - ... + """.""" + ... GAMEPAD_AXIS_LEFT_TRIGGER: int GAMEPAD_AXIS_LEFT_X: int GAMEPAD_AXIS_LEFT_Y: int @@ -632,552 +637,557 @@ GESTURE_SWIPE_UP: int GESTURE_TAP: int GROUP_PADDING: int def GenImageCellular(width: int,height: int,tileSize: int,) -> Image: - """Generate image: cellular algorithm, bigger tileSize means bigger cells""" - ... + """Generate image: cellular algorithm, bigger tileSize means bigger cells.""" + ... def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color|list|tuple,col2: Color|list|tuple,) -> Image: - """Generate image: checked""" - ... + """Generate image: checked.""" + ... def GenImageColor(width: int,height: int,color: Color|list|tuple,) -> Image: - """Generate image: plain color""" - ... + """Generate image: plain color.""" + ... def GenImageFontAtlas(glyphs: Any|list|tuple,glyphRecs: Any|list|tuple,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image: - """Generate image font atlas using chars info""" - ... + """Generate image font atlas using chars info.""" + ... def GenImageGradientLinear(width: int,height: int,direction: int,start: Color|list|tuple,end: Color|list|tuple,) -> Image: - """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient""" - ... + """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient.""" + ... def GenImageGradientRadial(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image: - """Generate image: radial gradient""" - ... + """Generate image: radial gradient.""" + ... def GenImageGradientSquare(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image: - """Generate image: square gradient""" - ... + """Generate image: square gradient.""" + ... def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image: - """Generate image: perlin noise""" - ... + """Generate image: perlin noise.""" + ... def GenImageText(width: int,height: int,text: bytes,) -> Image: - """Generate image: grayscale image from text data""" - ... + """Generate image: grayscale image from text data.""" + ... def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image: - """Generate image: white noise""" - ... + """Generate image: white noise.""" + ... def GenMeshCone(radius: float,height: float,slices: int,) -> Mesh: - """Generate cone/pyramid mesh""" - ... + """Generate cone/pyramid mesh.""" + ... def GenMeshCube(width: float,height: float,length: float,) -> Mesh: - """Generate cuboid mesh""" - ... + """Generate cuboid mesh.""" + ... def GenMeshCubicmap(cubicmap: Image|list|tuple,cubeSize: Vector3|list|tuple,) -> Mesh: - """Generate cubes-based map mesh from image data""" - ... + """Generate cubes-based map mesh from image data.""" + ... def GenMeshCylinder(radius: float,height: float,slices: int,) -> Mesh: - """Generate cylinder mesh""" - ... + """Generate cylinder mesh.""" + ... def GenMeshHeightmap(heightmap: Image|list|tuple,size: Vector3|list|tuple,) -> Mesh: - """Generate heightmap mesh from image data""" - ... + """Generate heightmap mesh from image data.""" + ... def GenMeshHemiSphere(radius: float,rings: int,slices: int,) -> Mesh: - """Generate half-sphere mesh (no bottom cap)""" - ... + """Generate half-sphere mesh (no bottom cap).""" + ... def GenMeshKnot(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: - """Generate trefoil knot mesh""" - ... + """Generate trefoil knot mesh.""" + ... def GenMeshPlane(width: float,length: float,resX: int,resZ: int,) -> Mesh: - """Generate plane mesh (with subdivisions)""" - ... + """Generate plane mesh (with subdivisions).""" + ... def GenMeshPoly(sides: int,radius: float,) -> Mesh: - """Generate polygonal mesh""" - ... + """Generate polygonal mesh.""" + ... def GenMeshSphere(radius: float,rings: int,slices: int,) -> Mesh: - """Generate sphere mesh (standard sphere)""" - ... + """Generate sphere mesh (standard sphere).""" + ... def GenMeshTangents(mesh: Any|list|tuple,) -> None: - """Compute mesh tangents""" - ... + """Compute mesh tangents.""" + ... def GenMeshTorus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: - """Generate torus mesh""" - ... + """Generate torus mesh.""" + ... def GenTextureMipmaps(texture: Any|list|tuple,) -> None: - """Generate GPU mipmaps for a texture""" - ... + """Generate GPU mipmaps for a texture.""" + ... def GetApplicationDirectory() -> bytes: - """Get the directory of the running application (uses static string)""" - ... + """Get the directory of the running application (uses static string).""" + ... def GetCameraMatrix(camera: Camera3D|list|tuple,) -> Matrix: - """Get camera transform matrix (view matrix)""" - ... + """Get camera transform matrix (view matrix).""" + ... def GetCameraMatrix2D(camera: Camera2D|list|tuple,) -> Matrix: - """Get camera 2d transform matrix""" - ... + """Get camera 2d transform matrix.""" + ... def GetCharPressed() -> int: - """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty""" - ... + """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty.""" + ... def GetClipboardImage() -> Image: - """Get clipboard image content""" - ... + """Get clipboard image content.""" + ... def GetClipboardText() -> bytes: - """Get clipboard text content""" - ... + """Get clipboard text content.""" + ... def GetCodepoint(text: bytes,codepointSize: Any,) -> int: - """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def GetCodepointCount(text: bytes,) -> int: - """Get total number of codepoints in a UTF-8 encoded string""" - ... + """Get total number of codepoints in a UTF-8 encoded string.""" + ... def GetCodepointNext(text: bytes,codepointSize: Any,) -> int: - """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def GetCodepointPrevious(text: bytes,codepointSize: Any,) -> int: - """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def GetCollisionRec(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> Rectangle: - """Get collision rectangle for two rectangles collision""" - ... + """Get collision rectangle for two rectangles collision.""" + ... def GetColor(hexValue: int,) -> Color: - """Get Color structure from hexadecimal value""" - ... + """Get Color structure from hexadecimal value.""" + ... def GetCurrentMonitor() -> int: - """Get current monitor where window is placed""" - ... + """Get current monitor where window is placed.""" + ... def GetDirectoryPath(filePath: bytes,) -> bytes: - """Get full path for a given fileName with path (uses static string)""" - ... + """Get full path for a given fileName with path (uses static string).""" + ... def GetFPS() -> int: - """Get current FPS""" - ... + """Get current FPS.""" + ... def GetFileExtension(fileName: bytes,) -> bytes: - """Get pointer to extension for a filename string (includes dot: '.png')""" - ... + """Get pointer to extension for a filename string (includes dot: '.png').""" + ... def GetFileLength(fileName: bytes,) -> int: - """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)""" - ... + """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h).""" + ... def GetFileModTime(fileName: bytes,) -> int: - """Get file modification time (last write time)""" - ... + """Get file modification time (last write time).""" + ... def GetFileName(filePath: bytes,) -> bytes: - """Get pointer to filename for a path string""" - ... + """Get pointer to filename for a path string.""" + ... def GetFileNameWithoutExt(filePath: bytes,) -> bytes: - """Get filename string without extension (uses static string)""" - ... + """Get filename string without extension (uses static string).""" + ... def GetFontDefault() -> Font: - """Get the default Font""" - ... + """Get the default Font.""" + ... def GetFrameTime() -> float: - """Get time in seconds for last frame drawn (delta time)""" - ... + """Get time in seconds for last frame drawn (delta time).""" + ... def GetGamepadAxisCount(gamepad: int,) -> int: - """Get gamepad axis count for a gamepad""" - ... + """Get gamepad axis count for a gamepad.""" + ... def GetGamepadAxisMovement(gamepad: int,axis: int,) -> float: - """Get axis movement value for a gamepad axis""" - ... + """Get axis movement value for a gamepad axis.""" + ... def GetGamepadButtonPressed() -> int: - """Get the last gamepad button pressed""" - ... + """Get the last gamepad button pressed.""" + ... def GetGamepadName(gamepad: int,) -> bytes: - """Get gamepad internal name id""" - ... + """Get gamepad internal name id.""" + ... def GetGestureDetected() -> int: - """Get latest detected gesture""" - ... + """Get latest detected gesture.""" + ... def GetGestureDragAngle() -> float: - """Get gesture drag angle""" - ... + """Get gesture drag angle.""" + ... def GetGestureDragVector() -> Vector2: - """Get gesture drag vector""" - ... + """Get gesture drag vector.""" + ... def GetGestureHoldDuration() -> float: - """Get gesture hold time in seconds""" - ... + """Get gesture hold time in seconds.""" + ... def GetGesturePinchAngle() -> float: - """Get gesture pinch angle""" - ... + """Get gesture pinch angle.""" + ... def GetGesturePinchVector() -> Vector2: - """Get gesture pinch delta""" - ... + """Get gesture pinch delta.""" + ... def GetGlyphAtlasRec(font: Font|list|tuple,codepoint: int,) -> Rectangle: - """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found.""" + ... def GetGlyphIndex(font: Font|list|tuple,codepoint: int,) -> int: - """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found.""" + ... def GetGlyphInfo(font: Font|list|tuple,codepoint: int,) -> GlyphInfo: - """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found.""" + ... def GetImageAlphaBorder(image: Image|list|tuple,threshold: float,) -> Rectangle: - """Get image alpha border rectangle""" - ... + """Get image alpha border rectangle.""" + ... def GetImageColor(image: Image|list|tuple,x: int,y: int,) -> Color: - """Get image pixel color at (x, y) position""" - ... + """Get image pixel color at (x, y) position.""" + ... def GetKeyPressed() -> int: - """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty""" - ... + """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty.""" + ... def GetMasterVolume() -> float: - """Get master volume (listener)""" - ... + """Get master volume (listener).""" + ... def GetMeshBoundingBox(mesh: Mesh|list|tuple,) -> BoundingBox: - """Compute mesh bounding box limits""" - ... + """Compute mesh bounding box limits.""" + ... def GetModelBoundingBox(model: Model|list|tuple,) -> BoundingBox: - """Compute model bounding box limits (considers all meshes)""" - ... + """Compute model bounding box limits (considers all meshes).""" + ... def GetMonitorCount() -> int: - """Get number of connected monitors""" - ... + """Get number of connected monitors.""" + ... def GetMonitorHeight(monitor: int,) -> int: - """Get specified monitor height (current video mode used by monitor)""" - ... + """Get specified monitor height (current video mode used by monitor).""" + ... def GetMonitorName(monitor: int,) -> bytes: - """Get the human-readable, UTF-8 encoded name of the specified monitor""" - ... + """Get the human-readable, UTF-8 encoded name of the specified monitor.""" + ... def GetMonitorPhysicalHeight(monitor: int,) -> int: - """Get specified monitor physical height in millimetres""" - ... + """Get specified monitor physical height in millimetres.""" + ... def GetMonitorPhysicalWidth(monitor: int,) -> int: - """Get specified monitor physical width in millimetres""" - ... + """Get specified monitor physical width in millimetres.""" + ... def GetMonitorPosition(monitor: int,) -> Vector2: - """Get specified monitor position""" - ... + """Get specified monitor position.""" + ... def GetMonitorRefreshRate(monitor: int,) -> int: - """Get specified monitor refresh rate""" - ... + """Get specified monitor refresh rate.""" + ... def GetMonitorWidth(monitor: int,) -> int: - """Get specified monitor width (current video mode used by monitor)""" - ... + """Get specified monitor width (current video mode used by monitor).""" + ... def GetMouseDelta() -> Vector2: - """Get mouse delta between frames""" - ... + """Get mouse delta between frames.""" + ... def GetMousePosition() -> Vector2: - """Get mouse position XY""" - ... + """Get mouse position XY.""" + ... def GetMouseWheelMove() -> float: - """Get mouse wheel movement for X or Y, whichever is larger""" - ... + """Get mouse wheel movement for X or Y, whichever is larger.""" + ... def GetMouseWheelMoveV() -> Vector2: - """Get mouse wheel movement for both X and Y""" - ... + """Get mouse wheel movement for both X and Y.""" + ... def GetMouseX() -> int: - """Get mouse position X""" - ... + """Get mouse position X.""" + ... def GetMouseY() -> int: - """Get mouse position Y""" - ... + """Get mouse position Y.""" + ... def GetMusicTimeLength(music: Music|list|tuple,) -> float: - """Get music time length (in seconds)""" - ... + """Get music time length (in seconds).""" + ... def GetMusicTimePlayed(music: Music|list|tuple,) -> float: - """Get current music time played (in seconds)""" - ... + """Get current music time played (in seconds).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsBodiesCount() -> int: - """Returns the current amount of created physics bodies""" - ... + """Returns the current amount of created physics bodies.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsBody(index: int,) -> Any: - """Returns a physics body of the bodies pool at a specific index""" - ... + """Returns a physics body of the bodies pool at a specific index.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsShapeType(index: int,) -> int: - """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)""" - ... + """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsShapeVertex(body: Any|list|tuple,vertex: int,) -> Vector2: - """Returns transformed position of a body shape (body position + vertex transformed position)""" - ... + """Returns transformed position of a body shape (body position + vertex transformed position).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsShapeVerticesCount(index: int,) -> int: - """Returns the amount of vertices of a physics body shape""" - ... + """Returns the amount of vertices of a physics body shape.""" + ... def GetPixelColor(srcPtr: Any,format: int,) -> Color: - """Get Color from a source pixel pointer of certain format""" - ... + """Get Color from a source pixel pointer of certain format.""" + ... def GetPixelDataSize(width: int,height: int,format: int,) -> int: - """Get pixel data size in bytes for certain format""" - ... + """Get pixel data size in bytes for certain format.""" + ... def GetPrevDirectoryPath(dirPath: bytes,) -> bytes: - """Get previous directory path for a given path (uses static string)""" - ... + """Get previous directory path for a given path (uses static string).""" + ... def GetRandomValue(min_0: int,max_1: int,) -> int: - """Get a random value between min and max (both included)""" - ... + """Get a random value between min and max (both included).""" + ... def GetRayCollisionBox(ray: Ray|list|tuple,box: BoundingBox|list|tuple,) -> RayCollision: - """Get collision info between ray and box""" - ... + """Get collision info between ray and box.""" + ... def GetRayCollisionMesh(ray: Ray|list|tuple,mesh: Mesh|list|tuple,transform: Matrix|list|tuple,) -> RayCollision: - """Get collision info between ray and mesh""" - ... + """Get collision info between ray and mesh.""" + ... def GetRayCollisionQuad(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,p4: Vector3|list|tuple,) -> RayCollision: - """Get collision info between ray and quad""" - ... + """Get collision info between ray and quad.""" + ... def GetRayCollisionSphere(ray: Ray|list|tuple,center: Vector3|list|tuple,radius: float,) -> RayCollision: - """Get collision info between ray and sphere""" - ... + """Get collision info between ray and sphere.""" + ... def GetRayCollisionTriangle(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,) -> RayCollision: - """Get collision info between ray and triangle""" - ... + """Get collision info between ray and triangle.""" + ... def GetRenderHeight() -> int: - """Get current render height (it considers HiDPI)""" - ... + """Get current render height (it considers HiDPI).""" + ... def GetRenderWidth() -> int: - """Get current render width (it considers HiDPI)""" - ... + """Get current render width (it considers HiDPI).""" + ... def GetScreenHeight() -> int: - """Get current screen height""" - ... + """Get current screen height.""" + ... def GetScreenToWorld2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2: - """Get the world space position for a 2d camera screen space position""" - ... + """Get the world space position for a 2d camera screen space position.""" + ... def GetScreenToWorldRay(position: Vector2|list|tuple,camera: Camera3D|list|tuple,) -> Ray: - """Get a ray trace from screen position (i.e mouse)""" - ... + """Get a ray trace from screen position (i.e mouse).""" + ... def GetScreenToWorldRayEx(position: Vector2|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Ray: - """Get a ray trace from screen position (i.e mouse) in a viewport""" - ... + """Get a ray trace from screen position (i.e mouse) in a viewport.""" + ... def GetScreenWidth() -> int: - """Get current screen width""" - ... + """Get current screen width.""" + ... def GetShaderLocation(shader: Shader|list|tuple,uniformName: bytes,) -> int: - """Get shader uniform location""" - ... + """Get shader uniform location.""" + ... def GetShaderLocationAttrib(shader: Shader|list|tuple,attribName: bytes,) -> int: - """Get shader attribute location""" - ... + """Get shader attribute location.""" + ... def GetShapesTexture() -> Texture: - """Get texture that is used for shapes drawing""" - ... + """Get texture that is used for shapes drawing.""" + ... def GetShapesTextureRectangle() -> Rectangle: - """Get texture source rectangle that is used for shapes drawing""" - ... + """Get texture source rectangle that is used for shapes drawing.""" + ... def GetSplinePointBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: B-Spline""" - ... + """Get (evaluate) spline point: B-Spline.""" + ... def GetSplinePointBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Cubic Bezier""" - ... + """Get (evaluate) spline point: Cubic Bezier.""" + ... def GetSplinePointBezierQuad(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Quadratic Bezier""" - ... + """Get (evaluate) spline point: Quadratic Bezier.""" + ... def GetSplinePointCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Catmull-Rom""" - ... + """Get (evaluate) spline point: Catmull-Rom.""" + ... def GetSplinePointLinear(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Linear""" - ... + """Get (evaluate) spline point: Linear.""" + ... def GetTime() -> float: - """Get elapsed time in seconds since InitWindow()""" - ... + """Get elapsed time in seconds since InitWindow().""" + ... def GetTouchPointCount() -> int: - """Get number of touch points""" - ... + """Get number of touch points.""" + ... def GetTouchPointId(index: int,) -> int: - """Get touch point identifier for given index""" - ... + """Get touch point identifier for given index.""" + ... def GetTouchPosition(index: int,) -> Vector2: - """Get touch position XY for a touch point index (relative to screen size)""" - ... + """Get touch position XY for a touch point index (relative to screen size).""" + ... def GetTouchX() -> int: - """Get touch position X for touch point 0 (relative to screen size)""" - ... + """Get touch position X for touch point 0 (relative to screen size).""" + ... def GetTouchY() -> int: - """Get touch position Y for touch point 0 (relative to screen size)""" - ... + """Get touch position Y for touch point 0 (relative to screen size).""" + ... def GetWindowHandle() -> Any: - """Get native window handle""" - ... + """Get native window handle.""" + ... def GetWindowPosition() -> Vector2: - """Get window position XY on monitor""" - ... + """Get window position XY on monitor.""" + ... def GetWindowScaleDPI() -> Vector2: - """Get window scale DPI factor""" - ... + """Get window scale DPI factor.""" + ... def GetWorkingDirectory() -> bytes: - """Get current working directory (uses static string)""" - ... + """Get current working directory (uses static string).""" + ... def GetWorldToScreen(position: Vector3|list|tuple,camera: Camera3D|list|tuple,) -> Vector2: - """Get the screen space position for a 3d world space position""" - ... + """Get the screen space position for a 3d world space position.""" + ... def GetWorldToScreen2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2: - """Get the screen space position for a 2d camera world space position""" - ... + """Get the screen space position for a 2d camera world space position.""" + ... def GetWorldToScreenEx(position: Vector3|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Vector2: - """Get size position for a 3d world space position""" - ... + """Get size position for a 3d world space position.""" + ... def GuiButton(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Button control, returns true when clicked""" - ... + """Button control, returns true when clicked.""" + ... def GuiCheckBox(bounds: Rectangle|list|tuple,text: bytes,checked: Any,) -> int: - """Check Box control, returns true when active""" - ... + """Check Box control, returns true when active.""" + ... def GuiColorBarAlpha(bounds: Rectangle|list|tuple,text: bytes,alpha: Any,) -> int: - """Color Bar Alpha control""" - ... + """Color Bar Alpha control.""" + ... def GuiColorBarHue(bounds: Rectangle|list|tuple,text: bytes,value: Any,) -> int: - """Color Bar Hue control""" - ... + """Color Bar Hue control.""" + ... def GuiColorPanel(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int: - """Color Panel control""" - ... + """Color Panel control.""" + ... def GuiColorPanelHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int: - """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()""" - ... + """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV().""" + ... def GuiColorPicker(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int: - """Color Picker control (multiple color controls)""" - ... + """Color Picker control (multiple color controls).""" + ... def GuiColorPickerHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int: - """Color Picker control that avoids conversion to RGB on each call (multiple color controls)""" - ... + """Color Picker control that avoids conversion to RGB on each call (multiple color controls).""" + ... def GuiComboBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Combo Box control""" - ... + """Combo Box control.""" + ... def GuiDisable() -> None: - """Disable gui controls (global state)""" - ... + """Disable gui controls (global state).""" + ... def GuiDisableTooltip() -> None: - """Disable gui tooltips (global state)""" - ... + """Disable gui tooltips (global state).""" + ... def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color|list|tuple,) -> None: - """Draw icon using pixel size at specified position""" - ... + """Draw icon using pixel size at specified position.""" + ... def GuiDropdownBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,editMode: bool,) -> int: - """Dropdown Box control""" - ... + """Dropdown Box control.""" + ... def GuiDummyRec(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Dummy control for placeholders""" - ... + """Dummy control for placeholders.""" + ... def GuiEnable() -> None: - """Enable gui controls (global state)""" - ... + """Enable gui controls (global state).""" + ... def GuiEnableTooltip() -> None: - """Enable gui tooltips (global state)""" - ... + """Enable gui tooltips (global state).""" + ... def GuiGetFont() -> Font: - """Get gui custom font (global state)""" - ... + """Get gui custom font (global state).""" + ... def GuiGetIcons() -> Any: - """Get raygui icons data pointer""" - ... + """Get raygui icons data pointer.""" + ... def GuiGetState() -> int: - """Get gui state (global state)""" - ... + """Get gui state (global state).""" + ... def GuiGetStyle(control: int,property: int,) -> int: - """Get one style property""" - ... + """Get one style property.""" + ... def GuiGrid(bounds: Rectangle|list|tuple,text: bytes,spacing: float,subdivs: int,mouseCell: Any|list|tuple,) -> int: - """Grid control""" - ... + """Grid control.""" + ... def GuiGroupBox(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Group Box control with text name""" - ... + """Group Box control with text name.""" + ... def GuiIconText(iconId: int,text: bytes,) -> bytes: - """Get text with icon id prepended (if supported)""" - ... + """Get text with icon id prepended (if supported).""" + ... def GuiIsLocked() -> bool: - """Check if gui is locked (global state)""" - ... + """Check if gui is locked (global state).""" + ... def GuiLabel(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Label control""" - ... + """Label control.""" + ... def GuiLabelButton(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Label button control, returns true when clicked""" - ... + """Label button control, returns true when clicked.""" + ... def GuiLine(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Line separator control, could contain text""" - ... + """Line separator control, could contain text.""" + ... def GuiListView(bounds: Rectangle|list|tuple,text: bytes,scrollIndex: Any,active: Any,) -> int: - """List View control""" - ... + """List View control.""" + ... def GuiListViewEx(bounds: Rectangle|list|tuple,text: list[bytes],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int: - """List View with extended parameters""" - ... + """List View with extended parameters.""" + ... def GuiLoadIcons(fileName: bytes,loadIconsName: bool,) -> list[bytes]: - """Load raygui icons file (.rgi) into internal icons data""" - ... + """Load raygui icons file (.rgi) into internal icons data.""" + ... def GuiLoadStyle(fileName: bytes,) -> None: - """Load style file over global style variable (.rgs)""" - ... + """Load style file over global style variable (.rgs).""" + ... def GuiLoadStyleDefault() -> None: - """Load style default over global style""" - ... + """Load style default over global style.""" + ... def GuiLock() -> None: - """Lock gui controls (global state)""" - ... + """Lock gui controls (global state).""" + ... def GuiMessageBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,) -> int: - """Message Box control, displays a message""" - ... + """Message Box control, displays a message.""" + ... def GuiPanel(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Panel control, useful to group controls""" - ... + """Panel control, useful to group controls.""" + ... def GuiProgressBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int: - """Progress Bar control""" - ... + """Progress Bar control.""" + ... def GuiScrollPanel(bounds: Rectangle|list|tuple,text: bytes,content: Rectangle|list|tuple,scroll: Any|list|tuple,view: Any|list|tuple,) -> int: - """Scroll Panel control""" - ... + """Scroll Panel control.""" + ... def GuiSetAlpha(alpha: float,) -> None: - """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f""" - ... + """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f.""" + ... def GuiSetFont(font: Font|list|tuple,) -> None: - """Set gui custom font (global state)""" - ... + """Set gui custom font (global state).""" + ... def GuiSetIconScale(scale: int,) -> None: - """Set default icon drawing size""" - ... + """Set default icon drawing size.""" + ... def GuiSetState(state: int,) -> None: - """Set gui state (global state)""" - ... + """Set gui state (global state).""" + ... def GuiSetStyle(control: int,property: int,value: int,) -> None: - """Set one style property""" - ... + """Set one style property.""" + ... def GuiSetTooltip(tooltip: bytes,) -> None: - """Set tooltip string""" - ... + """Set tooltip string.""" + ... def GuiSlider(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int: - """Slider control""" - ... + """Slider control.""" + ... def GuiSliderBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int: - """Slider Bar control""" - ... + """Slider Bar control.""" + ... def GuiSpinner(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: - """Spinner control""" - ... + """Spinner control.""" + ... def GuiStatusBar(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Status Bar control, shows info text""" - ... + """Status Bar control, shows info text.""" + ... def GuiTabBar(bounds: Rectangle|list|tuple,text: list[bytes],count: int,active: Any,) -> int: - """Tab Bar control, returns TAB to be closed or -1""" - ... + """Tab Bar control, returns TAB to be closed or -1.""" + ... def GuiTextBox(bounds: Rectangle|list|tuple,text: bytes,textSize: int,editMode: bool,) -> int: - """Text Box control, updates input text""" - ... + """Text Box control, updates input text.""" + ... def GuiTextInputBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,text: bytes,textMaxSize: int,secretViewActive: Any,) -> int: - """Text Input Box control, ask for text, supports secret""" - ... + """Text Input Box control, ask for text, supports secret.""" + ... def GuiToggle(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Toggle Button control""" - ... + """Toggle Button control.""" + ... def GuiToggleGroup(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Toggle Group control""" - ... + """Toggle Group control.""" + ... def GuiToggleSlider(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Toggle Slider control""" - ... + """Toggle Slider control.""" + ... def GuiUnlock() -> None: - """Unlock gui controls (global state)""" - ... + """Unlock gui controls (global state).""" + ... def GuiValueBox(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: - """Value Box control, updates input text with numbers""" - ... + """Value Box control, updates input text with numbers.""" + ... def GuiValueBoxFloat(bounds: Rectangle|list|tuple,text: bytes,textValue: bytes,value: Any,editMode: bool,) -> int: - """Value box control for float values""" - ... + """Value box control for float values.""" + ... def GuiWindowBox(bounds: Rectangle|list|tuple,title: bytes,) -> int: - """Window Box control, shows a window that can be closed""" - ... + """Window Box control, shows a window that can be closed.""" + ... HUEBAR_PADDING: int HUEBAR_SELECTOR_HEIGHT: int HUEBAR_SELECTOR_OVERFLOW: int HUEBAR_WIDTH: int def HideCursor() -> None: - """Hides cursor""" - ... + """Hides cursor.""" + ... ICON_1UP: int ICON_229: int ICON_230: int @@ -1435,308 +1445,309 @@ ICON_ZOOM_CENTER: int ICON_ZOOM_MEDIUM: int ICON_ZOOM_SMALL: int def ImageAlphaClear(image: Any|list|tuple,color: Color|list|tuple,threshold: float,) -> None: - """Clear alpha channel to desired color""" - ... + """Clear alpha channel to desired color.""" + ... def ImageAlphaCrop(image: Any|list|tuple,threshold: float,) -> None: - """Crop image depending on alpha value""" - ... + """Crop image depending on alpha value.""" + ... def ImageAlphaMask(image: Any|list|tuple,alphaMask: Image|list|tuple,) -> None: - """Apply alpha mask to image""" - ... + """Apply alpha mask to image.""" + ... def ImageAlphaPremultiply(image: Any|list|tuple,) -> None: - """Premultiply alpha channel""" - ... + """Premultiply alpha channel.""" + ... def ImageBlurGaussian(image: Any|list|tuple,blurSize: int,) -> None: - """Apply Gaussian blur using a box blur approximation""" - ... + """Apply Gaussian blur using a box blur approximation.""" + ... def ImageClearBackground(dst: Any|list|tuple,color: Color|list|tuple,) -> None: - """Clear image background with given color""" - ... + """Clear image background with given color.""" + ... def ImageColorBrightness(image: Any|list|tuple,brightness: int,) -> None: - """Modify image color: brightness (-255 to 255)""" - ... + """Modify image color: brightness (-255 to 255).""" + ... def ImageColorContrast(image: Any|list|tuple,contrast: float,) -> None: - """Modify image color: contrast (-100 to 100)""" - ... + """Modify image color: contrast (-100 to 100).""" + ... def ImageColorGrayscale(image: Any|list|tuple,) -> None: - """Modify image color: grayscale""" - ... + """Modify image color: grayscale.""" + ... def ImageColorInvert(image: Any|list|tuple,) -> None: - """Modify image color: invert""" - ... + """Modify image color: invert.""" + ... def ImageColorReplace(image: Any|list|tuple,color: Color|list|tuple,replace: Color|list|tuple,) -> None: - """Modify image color: replace color""" - ... + """Modify image color: replace color.""" + ... def ImageColorTint(image: Any|list|tuple,color: Color|list|tuple,) -> None: - """Modify image color: tint""" - ... + """Modify image color: tint.""" + ... def ImageCopy(image: Image|list|tuple,) -> Image: - """Create an image duplicate (useful for transformations)""" - ... + """Create an image duplicate (useful for transformations).""" + ... def ImageCrop(image: Any|list|tuple,crop: Rectangle|list|tuple,) -> None: - """Crop an image to a defined rectangle""" - ... + """Crop an image to a defined rectangle.""" + ... def ImageDither(image: Any|list|tuple,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None: - """Dither image data to 16bpp or lower (Floyd-Steinberg dithering)""" - ... + """Dither image data to 16bpp or lower (Floyd-Steinberg dithering).""" + ... def ImageDraw(dst: Any|list|tuple,src: Image|list|tuple,srcRec: Rectangle|list|tuple,dstRec: Rectangle|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a source image within a destination image (tint applied to source)""" - ... + """Draw a source image within a destination image (tint applied to source).""" + ... def ImageDrawCircle(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None: - """Draw a filled circle within an image""" - ... + """Draw a filled circle within an image.""" + ... def ImageDrawCircleLines(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None: - """Draw circle outline within an image""" - ... + """Draw circle outline within an image.""" + ... def ImageDrawCircleLinesV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None: - """Draw circle outline within an image (Vector version)""" - ... + """Draw circle outline within an image (Vector version).""" + ... def ImageDrawCircleV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None: - """Draw a filled circle within an image (Vector version)""" - ... + """Draw a filled circle within an image (Vector version).""" + ... def ImageDrawLine(dst: Any|list|tuple,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None: - """Draw line within an image""" - ... + """Draw line within an image.""" + ... def ImageDrawLineEx(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,thick: int,color: Color|list|tuple,) -> None: - """Draw a line defining thickness within an image""" - ... + """Draw a line defining thickness within an image.""" + ... def ImageDrawLineV(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw line within an image (Vector version)""" - ... + """Draw line within an image (Vector version).""" + ... def ImageDrawPixel(dst: Any|list|tuple,posX: int,posY: int,color: Color|list|tuple,) -> None: - """Draw pixel within an image""" - ... + """Draw pixel within an image.""" + ... def ImageDrawPixelV(dst: Any|list|tuple,position: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw pixel within an image (Vector version)""" - ... + """Draw pixel within an image (Vector version).""" + ... def ImageDrawRectangle(dst: Any|list|tuple,posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw rectangle within an image""" - ... + """Draw rectangle within an image.""" + ... def ImageDrawRectangleLines(dst: Any|list|tuple,rec: Rectangle|list|tuple,thick: int,color: Color|list|tuple,) -> None: - """Draw rectangle lines within an image""" - ... + """Draw rectangle lines within an image.""" + ... def ImageDrawRectangleRec(dst: Any|list|tuple,rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None: - """Draw rectangle within an image""" - ... + """Draw rectangle within an image.""" + ... def ImageDrawRectangleV(dst: Any|list|tuple,position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw rectangle within an image (Vector version)""" - ... + """Draw rectangle within an image (Vector version).""" + ... def ImageDrawText(dst: Any|list|tuple,text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None: - """Draw text (using default font) within an image (destination)""" - ... + """Draw text (using default font) within an image (destination).""" + ... def ImageDrawTextEx(dst: Any|list|tuple,font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text (custom sprite font) within an image (destination)""" - ... + """Draw text (custom sprite font) within an image (destination).""" + ... def ImageDrawTriangle(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle within an image""" - ... + """Draw triangle within an image.""" + ... def ImageDrawTriangleEx(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,c1: Color|list|tuple,c2: Color|list|tuple,c3: Color|list|tuple,) -> None: - """Draw triangle with interpolated colors within an image""" - ... + """Draw triangle with interpolated colors within an image.""" + ... def ImageDrawTriangleFan(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle fan defined by points within an image (first vertex is the center)""" - ... + """Draw a triangle fan defined by points within an image (first vertex is the center).""" + ... def ImageDrawTriangleLines(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle outline within an image""" - ... + """Draw triangle outline within an image.""" + ... def ImageDrawTriangleStrip(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points within an image""" - ... + """Draw a triangle strip defined by points within an image.""" + ... def ImageFlipHorizontal(image: Any|list|tuple,) -> None: - """Flip image horizontally""" - ... + """Flip image horizontally.""" + ... def ImageFlipVertical(image: Any|list|tuple,) -> None: - """Flip image vertically""" - ... + """Flip image vertically.""" + ... def ImageFormat(image: Any|list|tuple,newFormat: int,) -> None: - """Convert image data to desired format""" - ... + """Convert image data to desired format.""" + ... def ImageFromChannel(image: Image|list|tuple,selectedChannel: int,) -> Image: - """Create an image from a selected channel of another image (GRAYSCALE)""" - ... + """Create an image from a selected channel of another image (GRAYSCALE).""" + ... def ImageFromImage(image: Image|list|tuple,rec: Rectangle|list|tuple,) -> Image: - """Create an image from another image piece""" - ... + """Create an image from another image piece.""" + ... def ImageKernelConvolution(image: Any|list|tuple,kernel: Any,kernelSize: int,) -> None: - """Apply custom square convolution kernel to image""" - ... + """Apply custom square convolution kernel to image.""" + ... def ImageMipmaps(image: Any|list|tuple,) -> None: - """Compute all mipmap levels for a provided image""" - ... + """Compute all mipmap levels for a provided image.""" + ... def ImageResize(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None: - """Resize image (Bicubic scaling algorithm)""" - ... + """Resize image (Bicubic scaling algorithm).""" + ... def ImageResizeCanvas(image: Any|list|tuple,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color|list|tuple,) -> None: - """Resize canvas and fill with color""" - ... + """Resize canvas and fill with color.""" + ... def ImageResizeNN(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None: - """Resize image (Nearest-Neighbor scaling algorithm)""" - ... + """Resize image (Nearest-Neighbor scaling algorithm).""" + ... def ImageRotate(image: Any|list|tuple,degrees: int,) -> None: - """Rotate image by input angle in degrees (-359 to 359)""" - ... + """Rotate image by input angle in degrees (-359 to 359).""" + ... def ImageRotateCCW(image: Any|list|tuple,) -> None: - """Rotate image counter-clockwise 90deg""" - ... + """Rotate image counter-clockwise 90deg.""" + ... def ImageRotateCW(image: Any|list|tuple,) -> None: - """Rotate image clockwise 90deg""" - ... + """Rotate image clockwise 90deg.""" + ... def ImageText(text: bytes,fontSize: int,color: Color|list|tuple,) -> Image: - """Create an image from text (default font)""" - ... + """Create an image from text (default font).""" + ... def ImageTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,tint: Color|list|tuple,) -> Image: - """Create an image from text (custom sprite font)""" - ... + """Create an image from text (custom sprite font).""" + ... def ImageToPOT(image: Any|list|tuple,fill: Color|list|tuple,) -> None: - """Convert image to POT (power-of-two)""" - ... + """Convert image to POT (power-of-two).""" + ... def InitAudioDevice() -> None: - """Initialize audio device and context""" - ... + """Initialize audio device and context.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def InitPhysics() -> None: - """Initializes physics system""" - ... + """Initializes physics system.""" + ... def InitWindow(width: int,height: int,title: bytes,) -> None: - """Initialize window and OpenGL context""" - ... + """Initialize window and OpenGL context.""" + ... def IsAudioDeviceReady() -> bool: - """Check if audio device has been initialized successfully""" - ... + """Check if audio device has been initialized successfully.""" + ... def IsAudioStreamPlaying(stream: AudioStream|list|tuple,) -> bool: - """Check if audio stream is playing""" - ... + """Check if audio stream is playing.""" + ... def IsAudioStreamProcessed(stream: AudioStream|list|tuple,) -> bool: - """Check if any audio stream buffers requires refill""" - ... + """Check if any audio stream buffers requires refill.""" + ... def IsAudioStreamValid(stream: AudioStream|list|tuple,) -> bool: - """Checks if an audio stream is valid (buffers initialized)""" - ... + """Checks if an audio stream is valid (buffers initialized).""" + ... def IsCursorHidden() -> bool: - """Check if cursor is not visible""" - ... + """Check if cursor is not visible.""" + ... def IsCursorOnScreen() -> bool: - """Check if cursor is on the screen""" - ... + """Check if cursor is on the screen.""" + ... def IsFileDropped() -> bool: - """Check if a file has been dropped into window""" - ... + """Check if a file has been dropped into window.""" + ... def IsFileExtension(fileName: bytes,ext: bytes,) -> bool: - """Check file extension (including point: .png, .wav)""" - ... + """Check file extension (including point: .png, .wav).""" + ... def IsFileNameValid(fileName: bytes,) -> bool: - """Check if fileName is valid for the platform/OS""" - ... + """Check if fileName is valid for the platform/OS.""" + ... def IsFontValid(font: Font|list|tuple,) -> bool: - """Check if a font is valid (font data loaded, WARNING: GPU texture not checked)""" - ... + """Check if a font is valid (font data loaded, WARNING: GPU texture not checked).""" + ... def IsGamepadAvailable(gamepad: int,) -> bool: - """Check if a gamepad is available""" - ... + """Check if a gamepad is available.""" + ... def IsGamepadButtonDown(gamepad: int,button: int,) -> bool: - """Check if a gamepad button is being pressed""" - ... + """Check if a gamepad button is being pressed.""" + ... def IsGamepadButtonPressed(gamepad: int,button: int,) -> bool: - """Check if a gamepad button has been pressed once""" - ... + """Check if a gamepad button has been pressed once.""" + ... def IsGamepadButtonReleased(gamepad: int,button: int,) -> bool: - """Check if a gamepad button has been released once""" - ... + """Check if a gamepad button has been released once.""" + ... def IsGamepadButtonUp(gamepad: int,button: int,) -> bool: - """Check if a gamepad button is NOT being pressed""" - ... + """Check if a gamepad button is NOT being pressed.""" + ... def IsGestureDetected(gesture: int,) -> bool: - """Check if a gesture have been detected""" - ... + """Check if a gesture have been detected.""" + ... def IsImageValid(image: Image|list|tuple,) -> bool: - """Check if an image is valid (data and parameters)""" - ... + """Check if an image is valid (data and parameters).""" + ... def IsKeyDown(key: int,) -> bool: - """Check if a key is being pressed""" - ... + """Check if a key is being pressed.""" + ... def IsKeyPressed(key: int,) -> bool: - """Check if a key has been pressed once""" - ... + """Check if a key has been pressed once.""" + ... def IsKeyPressedRepeat(key: int,) -> bool: - """Check if a key has been pressed again""" - ... + """Check if a key has been pressed again.""" + ... def IsKeyReleased(key: int,) -> bool: - """Check if a key has been released once""" - ... + """Check if a key has been released once.""" + ... def IsKeyUp(key: int,) -> bool: - """Check if a key is NOT being pressed""" - ... + """Check if a key is NOT being pressed.""" + ... def IsMaterialValid(material: Material|list|tuple,) -> bool: - """Check if a material is valid (shader assigned, map textures loaded in GPU)""" - ... + """Check if a material is valid (shader assigned, map textures loaded in GPU).""" + ... def IsModelAnimationValid(model: Model|list|tuple,anim: ModelAnimation|list|tuple,) -> bool: - """Check model animation skeleton match""" - ... + """Check model animation skeleton match.""" + ... def IsModelValid(model: Model|list|tuple,) -> bool: - """Check if a model is valid (loaded in GPU, VAO/VBOs)""" - ... + """Check if a model is valid (loaded in GPU, VAO/VBOs).""" + ... def IsMouseButtonDown(button: int,) -> bool: - """Check if a mouse button is being pressed""" - ... + """Check if a mouse button is being pressed.""" + ... def IsMouseButtonPressed(button: int,) -> bool: - """Check if a mouse button has been pressed once""" - ... + """Check if a mouse button has been pressed once.""" + ... def IsMouseButtonReleased(button: int,) -> bool: - """Check if a mouse button has been released once""" - ... + """Check if a mouse button has been released once.""" + ... def IsMouseButtonUp(button: int,) -> bool: - """Check if a mouse button is NOT being pressed""" - ... + """Check if a mouse button is NOT being pressed.""" + ... def IsMusicStreamPlaying(music: Music|list|tuple,) -> bool: - """Check if music is playing""" - ... + """Check if music is playing.""" + ... def IsMusicValid(music: Music|list|tuple,) -> bool: - """Checks if a music stream is valid (context and buffers initialized)""" - ... + """Checks if a music stream is valid (context and buffers initialized).""" + ... def IsPathFile(path: bytes,) -> bool: - """Check if a given path is a file or a directory""" - ... + """Check if a given path is a file or a directory.""" + ... def IsRenderTextureValid(target: RenderTexture|list|tuple,) -> bool: - """Check if a render texture is valid (loaded in GPU)""" - ... + """Check if a render texture is valid (loaded in GPU).""" + ... def IsShaderValid(shader: Shader|list|tuple,) -> bool: - """Check if a shader is valid (loaded on GPU)""" - ... + """Check if a shader is valid (loaded on GPU).""" + ... def IsSoundPlaying(sound: Sound|list|tuple,) -> bool: - """Check if a sound is currently playing""" - ... + """Check if a sound is currently playing.""" + ... def IsSoundValid(sound: Sound|list|tuple,) -> bool: - """Checks if a sound is valid (data loaded and buffers initialized)""" - ... + """Checks if a sound is valid (data loaded and buffers initialized).""" + ... def IsTextureValid(texture: Texture|list|tuple,) -> bool: - """Check if a texture is valid (loaded in GPU)""" - ... + """Check if a texture is valid (loaded in GPU).""" + ... def IsWaveValid(wave: Wave|list|tuple,) -> bool: - """Checks if wave data is valid (data loaded and parameters)""" - ... + """Checks if wave data is valid (data loaded and parameters).""" + ... def IsWindowFocused() -> bool: - """Check if window is currently focused""" - ... + """Check if window is currently focused.""" + ... def IsWindowFullscreen() -> bool: - """Check if window is currently fullscreen""" - ... + """Check if window is currently fullscreen.""" + ... def IsWindowHidden() -> bool: - """Check if window is currently hidden""" - ... + """Check if window is currently hidden.""" + ... def IsWindowMaximized() -> bool: - """Check if window is currently maximized""" - ... + """Check if window is currently maximized.""" + ... def IsWindowMinimized() -> bool: - """Check if window is currently minimized""" - ... + """Check if window is currently minimized.""" + ... def IsWindowReady() -> bool: - """Check if window has been initialized successfully""" - ... + """Check if window has been initialized successfully.""" + ... def IsWindowResized() -> bool: - """Check if window has been resized last frame""" - ... + """Check if window has been resized last frame.""" + ... def IsWindowState(flag: int,) -> bool: - """Check if one specific window flag is enabled""" - ... + """Check if one specific window flag is enabled.""" + ... KEY_A: int KEY_APOSTROPHE: int KEY_B: int @@ -1862,140 +1873,140 @@ LOG_NONE: int LOG_TRACE: int LOG_WARNING: int def Lerp(start: float,end: float,amount: float,) -> float: - """""" - ... + """.""" + ... def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream: - """Load audio stream (to stream raw audio pcm data)""" - ... + """Load audio stream (to stream raw audio pcm data).""" + ... def LoadAutomationEventList(fileName: bytes,) -> AutomationEventList: - """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS""" - ... + """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS.""" + ... def LoadCodepoints(text: bytes,count: Any,) -> Any: - """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter""" - ... + """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter.""" + ... def LoadDirectoryFiles(dirPath: bytes,) -> FilePathList: - """Load directory filepaths""" - ... + """Load directory filepaths.""" + ... def LoadDirectoryFilesEx(basePath: bytes,filter: bytes,scanSubdirs: bool,) -> FilePathList: - """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result""" - ... + """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result.""" + ... def LoadDroppedFiles() -> FilePathList: - """Load dropped filepaths""" - ... + """Load dropped filepaths.""" + ... def LoadFileData(fileName: bytes,dataSize: Any,) -> bytes: - """Load file data as byte array (read)""" - ... + """Load file data as byte array (read).""" + ... def LoadFileText(fileName: bytes,) -> bytes: - """Load text data from file (read), returns a '\0' terminated string""" - ... + """Load text data from file (read), returns a '\0' terminated string.""" + ... def LoadFont(fileName: bytes,) -> Font: - """Load font from file into GPU memory (VRAM)""" - ... + """Load font from file into GPU memory (VRAM).""" + ... def LoadFontData(fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any: - """Load font data for further use""" - ... + """Load font data for further use.""" + ... def LoadFontEx(fileName: bytes,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: - """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height""" - ... + """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height.""" + ... def LoadFontFromImage(image: Image|list|tuple,key: Color|list|tuple,firstChar: int,) -> Font: - """Load font from Image (XNA style)""" - ... + """Load font from Image (XNA style).""" + ... def LoadFontFromMemory(fileType: bytes,fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: - """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'""" - ... + """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'.""" + ... def LoadImage(fileName: bytes,) -> Image: - """Load image from file into CPU memory (RAM)""" - ... + """Load image from file into CPU memory (RAM).""" + ... def LoadImageAnim(fileName: bytes,frames: Any,) -> Image: - """Load image sequence from file (frames appended to image.data)""" - ... + """Load image sequence from file (frames appended to image.data).""" + ... def LoadImageAnimFromMemory(fileType: bytes,fileData: bytes,dataSize: int,frames: Any,) -> Image: - """Load image sequence from memory buffer""" - ... + """Load image sequence from memory buffer.""" + ... def LoadImageColors(image: Image|list|tuple,) -> Any: - """Load color data from image as a Color array (RGBA - 32bit)""" - ... + """Load color data from image as a Color array (RGBA - 32bit).""" + ... def LoadImageFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Image: - """Load image from memory buffer, fileType refers to extension: i.e. '.png'""" - ... + """Load image from memory buffer, fileType refers to extension: i.e. '.png'.""" + ... def LoadImageFromScreen() -> Image: - """Load image from screen buffer and (screenshot)""" - ... + """Load image from screen buffer and (screenshot).""" + ... def LoadImageFromTexture(texture: Texture|list|tuple,) -> Image: - """Load image from GPU texture data""" - ... + """Load image from GPU texture data.""" + ... def LoadImagePalette(image: Image|list|tuple,maxPaletteSize: int,colorCount: Any,) -> Any: - """Load colors palette from image as a Color array (RGBA - 32bit)""" - ... + """Load colors palette from image as a Color array (RGBA - 32bit).""" + ... def LoadImageRaw(fileName: bytes,width: int,height: int,format: int,headerSize: int,) -> Image: - """Load image from RAW file data""" - ... + """Load image from RAW file data.""" + ... def LoadMaterialDefault() -> Material: - """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)""" - ... + """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps).""" + ... def LoadMaterials(fileName: bytes,materialCount: Any,) -> Any: - """Load materials from model file""" - ... + """Load materials from model file.""" + ... def LoadModel(fileName: bytes,) -> Model: - """Load model from files (meshes and materials)""" - ... + """Load model from files (meshes and materials).""" + ... def LoadModelAnimations(fileName: bytes,animCount: Any,) -> Any: - """Load model animations from file""" - ... + """Load model animations from file.""" + ... def LoadModelFromMesh(mesh: Mesh|list|tuple,) -> Model: - """Load model from generated mesh (default material)""" - ... + """Load model from generated mesh (default material).""" + ... def LoadMusicStream(fileName: bytes,) -> Music: - """Load music stream from file""" - ... + """Load music stream from file.""" + ... def LoadMusicStreamFromMemory(fileType: bytes,data: bytes,dataSize: int,) -> Music: - """Load music stream from data""" - ... + """Load music stream from data.""" + ... def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any: - """Load random values sequence, no values repeated""" - ... + """Load random values sequence, no values repeated.""" + ... def LoadRenderTexture(width: int,height: int,) -> RenderTexture: - """Load texture for rendering (framebuffer)""" - ... + """Load texture for rendering (framebuffer).""" + ... def LoadShader(vsFileName: bytes,fsFileName: bytes,) -> Shader: - """Load shader from files and bind default locations""" - ... + """Load shader from files and bind default locations.""" + ... def LoadShaderFromMemory(vsCode: bytes,fsCode: bytes,) -> Shader: - """Load shader from code strings and bind default locations""" - ... + """Load shader from code strings and bind default locations.""" + ... def LoadSound(fileName: bytes,) -> Sound: - """Load sound from file""" - ... + """Load sound from file.""" + ... def LoadSoundAlias(source: Sound|list|tuple,) -> Sound: - """Create a new sound that shares the same sample data as the source sound, does not own the sound data""" - ... + """Create a new sound that shares the same sample data as the source sound, does not own the sound data.""" + ... def LoadSoundFromWave(wave: Wave|list|tuple,) -> Sound: - """Load sound from wave data""" - ... + """Load sound from wave data.""" + ... def LoadTexture(fileName: bytes,) -> Texture: - """Load texture from file into GPU memory (VRAM)""" - ... + """Load texture from file into GPU memory (VRAM).""" + ... def LoadTextureCubemap(image: Image|list|tuple,layout: int,) -> Texture: - """Load cubemap from image, multiple image cubemap layouts supported""" - ... + """Load cubemap from image, multiple image cubemap layouts supported.""" + ... def LoadTextureFromImage(image: Image|list|tuple,) -> Texture: - """Load texture from image data""" - ... + """Load texture from image data.""" + ... def LoadUTF8(codepoints: Any,length: int,) -> bytes: - """Load UTF-8 text encoded from codepoints array""" - ... + """Load UTF-8 text encoded from codepoints array.""" + ... def LoadVrStereoConfig(device: VrDeviceInfo|list|tuple,) -> VrStereoConfig: - """Load VR stereo config for VR simulator device parameters""" - ... + """Load VR stereo config for VR simulator device parameters.""" + ... def LoadWave(fileName: bytes,) -> Wave: - """Load wave data from file""" - ... + """Load wave data from file.""" + ... def LoadWaveFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Wave: - """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'""" - ... + """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'.""" + ... def LoadWaveSamples(wave: Wave|list|tuple,) -> Any: - """Load samples data from wave as a 32bit float data array""" - ... + """Load samples data from wave as a 32bit float data array.""" + ... MATERIAL_MAP_ALBEDO: int MATERIAL_MAP_BRDF: int MATERIAL_MAP_CUBEMAP: int @@ -2026,104 +2037,104 @@ MOUSE_CURSOR_RESIZE_NESW: int MOUSE_CURSOR_RESIZE_NS: int MOUSE_CURSOR_RESIZE_NWSE: int def MakeDirectory(dirPath: bytes,) -> int: - """Create directories (including full path requested), returns 0 on success""" - ... + """Create directories (including full path requested), returns 0 on success.""" + ... def MatrixAdd(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixDecompose(mat: Matrix|list|tuple,translation: Any|list|tuple,rotation: Any|list|tuple,scale: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def MatrixDeterminant(mat: Matrix|list|tuple,) -> float: - """""" - ... + """.""" + ... def MatrixFrustum(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixIdentity() -> Matrix: - """""" - ... + """.""" + ... def MatrixInvert(mat: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixLookAt(eye: Vector3|list|tuple,target: Vector3|list|tuple,up: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixMultiply(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixPerspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotate(axis: Vector3|list|tuple,angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateX(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateXYZ(angle: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateY(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateZ(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateZYX(angle: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixScale(x: float,y: float,z: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixSubtract(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixToFloatV(mat: Matrix|list|tuple,) -> float16: - """""" - ... + """.""" + ... def MatrixTrace(mat: Matrix|list|tuple,) -> float: - """""" - ... + """.""" + ... def MatrixTranslate(x: float,y: float,z: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixTranspose(mat: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MaximizeWindow() -> None: - """Set window state: maximized, if resizable""" - ... + """Set window state: maximized, if resizable.""" + ... def MeasureText(text: bytes,fontSize: int,) -> int: - """Measure string width for default font""" - ... + """Measure string width for default font.""" + ... def MeasureTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,) -> Vector2: - """Measure string size for Font""" - ... + """Measure string size for Font.""" + ... def MemAlloc(size: int,) -> Any: - """Internal memory allocator""" - ... + """Internal memory allocator.""" + ... def MemFree(ptr: Any,) -> None: - """Internal memory free""" - ... + """Internal memory free.""" + ... def MemRealloc(ptr: Any,size: int,) -> Any: - """Internal memory reallocator""" - ... + """Internal memory reallocator.""" + ... def MinimizeWindow() -> None: - """Set window state: minimized, if resizable""" - ... + """Set window state: minimized, if resizable.""" + ... NPATCH_NINE_PATCH: int NPATCH_THREE_PATCH_HORIZONTAL: int NPATCH_THREE_PATCH_VERTICAL: int def Normalize(value: float,start: float,end: float,) -> float: - """""" - ... + """.""" + ... def OpenURL(url: bytes,) -> None: - """Open URL with default system browser (if available)""" - ... + """Open URL with default system browser (if available).""" + ... PHYSICS_CIRCLE: int PHYSICS_POLYGON: int PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int @@ -2153,110 +2164,113 @@ PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int PROGRESSBAR: int PROGRESS_PADDING: int def PauseAudioStream(stream: AudioStream|list|tuple,) -> None: - """Pause audio stream""" - ... + """Pause audio stream.""" + ... def PauseMusicStream(music: Music|list|tuple,) -> None: - """Pause music playing""" - ... + """Pause music playing.""" + ... def PauseSound(sound: Sound|list|tuple,) -> None: - """Pause a sound""" - ... + """Pause a sound.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def PhysicsAddForce(body: Any|list|tuple,force: Vector2|list|tuple,) -> None: - """Adds a force to a physics body""" - ... + """Adds a force to a physics body.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def PhysicsAddTorque(body: Any|list|tuple,amount: float,) -> None: - """Adds an angular force to a physics body""" - ... + """Adds an angular force to a physics body.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def PhysicsShatter(body: Any|list|tuple,position: Vector2|list|tuple,force: float,) -> None: - """Shatters a polygon shape physics body to little physics bodies with explosion force""" - ... + """Shatters a polygon shape physics body to little physics bodies with explosion force.""" + ... def PlayAudioStream(stream: AudioStream|list|tuple,) -> None: - """Play audio stream""" - ... + """Play audio stream.""" + ... def PlayAutomationEvent(event: AutomationEvent|list|tuple,) -> None: - """Play a recorded automation event""" - ... + """Play a recorded automation event.""" + ... def PlayMusicStream(music: Music|list|tuple,) -> None: - """Start music playing""" - ... + """Start music playing.""" + ... def PlaySound(sound: Sound|list|tuple,) -> None: - """Play a sound""" - ... + """Play a sound.""" + ... def PollInputEvents() -> None: - """Register all input events""" - ... + """Register all input events.""" + ... def QuaternionAdd(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionAddValue(q: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionCubicHermiteSpline(q1: Vector4|list|tuple,outTangent1: Vector4|list|tuple,q2: Vector4|list|tuple,inTangent2: Vector4|list|tuple,t: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionDivide(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionEquals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int: - """""" - ... + """.""" + ... def QuaternionFromAxisAngle(axis: Vector3|list|tuple,angle: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionFromEuler(pitch: float,yaw: float,roll: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionFromMatrix(mat: Matrix|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionFromVector3ToVector3(from_0: Vector3|list|tuple,to: Vector3|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionIdentity() -> Vector4: - """""" - ... + """.""" + ... def QuaternionInvert(q: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionLength(q: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def QuaternionLerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionMultiply(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionNlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionNormalize(q: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionScale(q: Vector4|list|tuple,mul: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionSlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionSubtract(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionSubtractValue(q: Vector4|list|tuple,sub: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionToAxisAngle(q: Vector4|list|tuple,outAxis: Any|list|tuple,outAngle: Any,) -> None: - """""" - ... + """.""" + ... def QuaternionToEuler(q: Vector4|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def QuaternionToMatrix(q: Vector4|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def QuaternionTransform(q: Vector4|list|tuple,mat: Matrix|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... RL_ATTACHMENT_COLOR_CHANNEL0: int RL_ATTACHMENT_COLOR_CHANNEL1: int RL_ATTACHMENT_COLOR_CHANNEL2: int @@ -2373,23 +2387,24 @@ RL_TEXTURE_FILTER_BILINEAR: int RL_TEXTURE_FILTER_POINT: int RL_TEXTURE_FILTER_TRILINEAR: int def Remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float: - """""" - ... + """.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def ResetPhysics() -> None: - """Reset physics system (global variables)""" - ... + """Reset physics system (global variables).""" + ... def RestoreWindow() -> None: - """Set window state: not minimized/maximized""" - ... + """Set window state: not minimized/maximized.""" + ... def ResumeAudioStream(stream: AudioStream|list|tuple,) -> None: - """Resume audio stream""" - ... + """Resume audio stream.""" + ... def ResumeMusicStream(music: Music|list|tuple,) -> None: - """Resume playing paused music""" - ... + """Resume playing paused music.""" + ... def ResumeSound(sound: Sound|list|tuple,) -> None: - """Resume a paused sound""" - ... + """Resume a paused sound.""" + ... SCROLLBAR: int SCROLLBAR_SIDE: int SCROLLBAR_WIDTH: int @@ -2451,206 +2466,209 @@ STATE_NORMAL: int STATE_PRESSED: int STATUSBAR: int def SaveFileData(fileName: bytes,data: Any,dataSize: int,) -> bool: - """Save data to file from byte array (write), returns true on success""" - ... + """Save data to file from byte array (write), returns true on success.""" + ... def SaveFileText(fileName: bytes,text: bytes,) -> bool: - """Save text data to file (write), string must be '\0' terminated, returns true on success""" - ... + """Save text data to file (write), string must be '\0' terminated, returns true on success.""" + ... def SeekMusicStream(music: Music|list|tuple,position: float,) -> None: - """Seek music to a position (in seconds)""" - ... + """Seek music to a position (in seconds).""" + ... def SetAudioStreamBufferSizeDefault(size: int,) -> None: - """Default size for new audio streams""" - ... + """Default size for new audio streams.""" + ... def SetAudioStreamCallback(stream: AudioStream|list|tuple,callback: Any,) -> None: - """Audio thread callback to request new data""" - ... + """Audio thread callback to request new data.""" + ... def SetAudioStreamPan(stream: AudioStream|list|tuple,pan: float,) -> None: - """Set pan for audio stream (0.5 is centered)""" - ... + """Set pan for audio stream (0.5 is centered).""" + ... def SetAudioStreamPitch(stream: AudioStream|list|tuple,pitch: float,) -> None: - """Set pitch for audio stream (1.0 is base level)""" - ... + """Set pitch for audio stream (1.0 is base level).""" + ... def SetAudioStreamVolume(stream: AudioStream|list|tuple,volume: float,) -> None: - """Set volume for audio stream (1.0 is max level)""" - ... + """Set volume for audio stream (1.0 is max level).""" + ... def SetAutomationEventBaseFrame(frame: int,) -> None: - """Set automation event internal base frame to start recording""" - ... + """Set automation event internal base frame to start recording.""" + ... def SetAutomationEventList(list_0: Any|list|tuple,) -> None: - """Set automation event list to record to""" - ... + """Set automation event list to record to.""" + ... def SetClipboardText(text: bytes,) -> None: - """Set clipboard text content""" - ... + """Set clipboard text content.""" + ... def SetConfigFlags(flags: int,) -> None: - """Setup init configuration flags (view FLAGS)""" - ... + """Setup init configuration flags (view FLAGS).""" + ... def SetExitKey(key: int,) -> None: - """Set a custom key to exit program (default is ESC)""" - ... + """Set a custom key to exit program (default is ESC).""" + ... def SetGamepadMappings(mappings: bytes,) -> int: - """Set internal gamepad mappings (SDL_GameControllerDB)""" - ... + """Set internal gamepad mappings (SDL_GameControllerDB).""" + ... def SetGamepadVibration(gamepad: int,leftMotor: float,rightMotor: float,duration: float,) -> None: - """Set gamepad vibration for both motors (duration in seconds)""" - ... + """Set gamepad vibration for both motors (duration in seconds).""" + ... def SetGesturesEnabled(flags: int,) -> None: - """Enable a set of gestures using flags""" - ... + """Enable a set of gestures using flags.""" + ... def SetLoadFileDataCallback(callback: bytes,) -> None: - """Set custom file binary data loader""" - ... + """Set custom file binary data loader.""" + ... def SetLoadFileTextCallback(callback: bytes,) -> None: - """Set custom file text data loader""" - ... + """Set custom file text data loader.""" + ... def SetMasterVolume(volume: float,) -> None: - """Set master volume (listener)""" - ... + """Set master volume (listener).""" + ... def SetMaterialTexture(material: Any|list|tuple,mapType: int,texture: Texture|list|tuple,) -> None: - """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)""" - ... + """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...).""" + ... def SetModelMeshMaterial(model: Any|list|tuple,meshId: int,materialId: int,) -> None: - """Set material for a mesh""" - ... + """Set material for a mesh.""" + ... def SetMouseCursor(cursor: int,) -> None: - """Set mouse cursor""" - ... + """Set mouse cursor.""" + ... def SetMouseOffset(offsetX: int,offsetY: int,) -> None: - """Set mouse offset""" - ... + """Set mouse offset.""" + ... def SetMousePosition(x: int,y: int,) -> None: - """Set mouse position XY""" - ... + """Set mouse position XY.""" + ... def SetMouseScale(scaleX: float,scaleY: float,) -> None: - """Set mouse scaling""" - ... + """Set mouse scaling.""" + ... def SetMusicPan(music: Music|list|tuple,pan: float,) -> None: - """Set pan for a music (0.5 is center)""" - ... + """Set pan for a music (0.5 is center).""" + ... def SetMusicPitch(music: Music|list|tuple,pitch: float,) -> None: - """Set pitch for a music (1.0 is base level)""" - ... + """Set pitch for a music (1.0 is base level).""" + ... def SetMusicVolume(music: Music|list|tuple,volume: float,) -> None: - """Set volume for music (1.0 is max level)""" - ... + """Set volume for music (1.0 is max level).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def SetPhysicsBodyRotation(body: Any|list|tuple,radians: float,) -> None: - """Sets physics body shape transform based on radians parameter""" - ... + """Sets physics body shape transform based on radians parameter.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def SetPhysicsGravity(x: float,y: float,) -> None: - """Sets physics global gravity force""" - ... + """Sets physics global gravity force.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def SetPhysicsTimeStep(delta: float,) -> None: - """Sets physics fixed time step in milliseconds. 1.666666 by default""" - ... + """Sets physics fixed time step in milliseconds. 1.666666 by default.""" + ... def SetPixelColor(dstPtr: Any,color: Color|list|tuple,format: int,) -> None: - """Set color formatted into destination pixel pointer""" - ... + """Set color formatted into destination pixel pointer.""" + ... def SetRandomSeed(seed: int,) -> None: - """Set the seed for the random number generator""" - ... + """Set the seed for the random number generator.""" + ... def SetSaveFileDataCallback(callback: bytes,) -> None: - """Set custom file binary data saver""" - ... + """Set custom file binary data saver.""" + ... def SetSaveFileTextCallback(callback: bytes,) -> None: - """Set custom file text data saver""" - ... + """Set custom file text data saver.""" + ... def SetShaderValue(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,) -> None: - """Set shader uniform value""" - ... + """Set shader uniform value.""" + ... def SetShaderValueMatrix(shader: Shader|list|tuple,locIndex: int,mat: Matrix|list|tuple,) -> None: - """Set shader uniform value (matrix 4x4)""" - ... + """Set shader uniform value (matrix 4x4).""" + ... def SetShaderValueTexture(shader: Shader|list|tuple,locIndex: int,texture: Texture|list|tuple,) -> None: - """Set shader uniform value for texture (sampler2d)""" - ... + """Set shader uniform value for texture (sampler2d).""" + ... def SetShaderValueV(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,count: int,) -> None: - """Set shader uniform value vector""" - ... + """Set shader uniform value vector.""" + ... def SetShapesTexture(texture: Texture|list|tuple,source: Rectangle|list|tuple,) -> None: - """Set texture and rectangle to be used on shapes drawing""" - ... + """Set texture and rectangle to be used on shapes drawing.""" + ... def SetSoundPan(sound: Sound|list|tuple,pan: float,) -> None: - """Set pan for a sound (0.5 is center)""" - ... + """Set pan for a sound (0.5 is center).""" + ... def SetSoundPitch(sound: Sound|list|tuple,pitch: float,) -> None: - """Set pitch for a sound (1.0 is base level)""" - ... + """Set pitch for a sound (1.0 is base level).""" + ... def SetSoundVolume(sound: Sound|list|tuple,volume: float,) -> None: - """Set volume for a sound (1.0 is max level)""" - ... + """Set volume for a sound (1.0 is max level).""" + ... def SetTargetFPS(fps: int,) -> None: - """Set target FPS (maximum)""" - ... + """Set target FPS (maximum).""" + ... def SetTextLineSpacing(spacing: int,) -> None: - """Set vertical line spacing when drawing with line-breaks""" - ... + """Set vertical line spacing when drawing with line-breaks.""" + ... def SetTextureFilter(texture: Texture|list|tuple,filter: int,) -> None: - """Set texture scaling filter mode""" - ... + """Set texture scaling filter mode.""" + ... def SetTextureWrap(texture: Texture|list|tuple,wrap: int,) -> None: - """Set texture wrapping mode""" - ... + """Set texture wrapping mode.""" + ... def SetTraceLogCallback(callback: bytes,) -> None: - """Set custom trace log""" - ... + """Set custom trace log.""" + ... def SetTraceLogLevel(logLevel: int,) -> None: - """Set the current threshold (minimum) log level""" - ... + """Set the current threshold (minimum) log level.""" + ... def SetWindowFocused() -> None: - """Set window focused""" - ... + """Set window focused.""" + ... def SetWindowIcon(image: Image|list|tuple,) -> None: - """Set icon for window (single image, RGBA 32bit)""" - ... + """Set icon for window (single image, RGBA 32bit).""" + ... def SetWindowIcons(images: Any|list|tuple,count: int,) -> None: - """Set icon for window (multiple images, RGBA 32bit)""" - ... + """Set icon for window (multiple images, RGBA 32bit).""" + ... def SetWindowMaxSize(width: int,height: int,) -> None: - """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)""" - ... + """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE).""" + ... def SetWindowMinSize(width: int,height: int,) -> None: - """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)""" - ... + """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE).""" + ... def SetWindowMonitor(monitor: int,) -> None: - """Set monitor for the current window""" - ... + """Set monitor for the current window.""" + ... def SetWindowOpacity(opacity: float,) -> None: - """Set window opacity [0.0f..1.0f]""" - ... + """Set window opacity [0.0f..1.0f].""" + ... def SetWindowPosition(x: int,y: int,) -> None: - """Set window position on screen""" - ... + """Set window position on screen.""" + ... def SetWindowSize(width: int,height: int,) -> None: - """Set window dimensions""" - ... + """Set window dimensions.""" + ... def SetWindowState(flags: int,) -> None: - """Set window configuration state using flags""" - ... + """Set window configuration state using flags.""" + ... def SetWindowTitle(title: bytes,) -> None: - """Set title for window""" - ... + """Set title for window.""" + ... def ShowCursor() -> None: - """Shows cursor""" - ... + """Shows cursor.""" + ... def StartAutomationEventRecording() -> None: - """Start recording automation events (AutomationEventList must be set)""" - ... + """Start recording automation events (AutomationEventList must be set).""" + ... def StopAudioStream(stream: AudioStream|list|tuple,) -> None: - """Stop audio stream""" - ... + """Stop audio stream.""" + ... def StopAutomationEventRecording() -> None: - """Stop recording automation events""" - ... + """Stop recording automation events.""" + ... def StopMusicStream(music: Music|list|tuple,) -> None: - """Stop music playing""" - ... + """Stop music playing.""" + ... def StopSound(sound: Sound|list|tuple,) -> None: - """Stop playing a sound""" - ... + """Stop playing a sound.""" + ... def SwapScreenBuffer() -> None: - """Swap back buffer with front buffer (screen drawing)""" - ... + """Swap back buffer with front buffer (screen drawing).""" + ... TEXTBOX: int TEXTURE_FILTER_ANISOTROPIC_16X: int TEXTURE_FILTER_ANISOTROPIC_4X: int @@ -2685,1305 +2703,1306 @@ TEXT_WRAP_NONE: int TEXT_WRAP_WORD: int TOGGLE: int def TakeScreenshot(fileName: bytes,) -> None: - """Takes a screenshot of current screen (filename extension defines format)""" - ... + """Takes a screenshot of current screen (filename extension defines format).""" + ... def TextAppend(text: bytes,append: bytes,position: Any,) -> None: - """Append text at specific position and move cursor!""" - ... + """Append text at specific position and move cursor!.""" + ... def TextCopy(dst: bytes,src: bytes,) -> int: - """Copy one string to another, returns bytes copied""" - ... + """Copy one string to another, returns bytes copied.""" + ... def TextFindIndex(text: bytes,find: bytes,) -> int: - """Find first text occurrence within a string""" - ... + """Find first text occurrence within a string.""" + ... def TextFormat(*args) -> bytes: """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" ... def TextInsert(text: bytes,insert: bytes,position: int,) -> bytes: - """Insert text in a position (WARNING: memory must be freed!)""" - ... + """Insert text in a position (WARNING: memory must be freed!).""" + ... def TextIsEqual(text1: bytes,text2: bytes,) -> bool: - """Check if two text string are equal""" - ... + """Check if two text string are equal.""" + ... def TextJoin(textList: list[bytes],count: int,delimiter: bytes,) -> bytes: - """Join text strings with delimiter""" - ... + """Join text strings with delimiter.""" + ... def TextLength(text: bytes,) -> int: - """Get text length, checks for '\0' ending""" - ... + """Get text length, checks for '\0' ending.""" + ... def TextReplace(text: bytes,replace: bytes,by: bytes,) -> bytes: - """Replace text string (WARNING: memory must be freed!)""" - ... + """Replace text string (WARNING: memory must be freed!).""" + ... def TextSplit(text: bytes,delimiter: bytes,count: Any,) -> list[bytes]: - """Split text into multiple strings""" - ... + """Split text into multiple strings.""" + ... def TextSubtext(text: bytes,position: int,length: int,) -> bytes: - """Get a piece of a text string""" - ... + """Get a piece of a text string.""" + ... def TextToCamel(text: bytes,) -> bytes: - """Get Camel case notation version of provided string""" - ... + """Get Camel case notation version of provided string.""" + ... def TextToFloat(text: bytes,) -> float: - """Get float value from text (negative values not supported)""" - ... + """Get float value from text (negative values not supported).""" + ... def TextToInteger(text: bytes,) -> int: - """Get integer value from text (negative values not supported)""" - ... + """Get integer value from text (negative values not supported).""" + ... def TextToLower(text: bytes,) -> bytes: - """Get lower case version of provided string""" - ... + """Get lower case version of provided string.""" + ... def TextToPascal(text: bytes,) -> bytes: - """Get Pascal case notation version of provided string""" - ... + """Get Pascal case notation version of provided string.""" + ... def TextToSnake(text: bytes,) -> bytes: - """Get Snake case notation version of provided string""" - ... + """Get Snake case notation version of provided string.""" + ... def TextToUpper(text: bytes,) -> bytes: - """Get upper case version of provided string""" - ... + """Get upper case version of provided string.""" + ... def ToggleBorderlessWindowed() -> None: - """Toggle window state: borderless windowed, resizes window to match monitor resolution""" - ... + """Toggle window state: borderless windowed, resizes window to match monitor resolution.""" + ... def ToggleFullscreen() -> None: - """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution""" - ... + """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution.""" + ... def TraceLog(*args) -> None: """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" ... def UnloadAudioStream(stream: AudioStream|list|tuple,) -> None: - """Unload audio stream and free memory""" - ... + """Unload audio stream and free memory.""" + ... def UnloadAutomationEventList(list_0: AutomationEventList|list|tuple,) -> None: - """Unload automation events list from file""" - ... + """Unload automation events list from file.""" + ... def UnloadCodepoints(codepoints: Any,) -> None: - """Unload codepoints data from memory""" - ... + """Unload codepoints data from memory.""" + ... def UnloadDirectoryFiles(files: FilePathList|list|tuple,) -> None: - """Unload filepaths""" - ... + """Unload filepaths.""" + ... def UnloadDroppedFiles(files: FilePathList|list|tuple,) -> None: - """Unload dropped filepaths""" - ... + """Unload dropped filepaths.""" + ... def UnloadFileData(data: bytes,) -> None: - """Unload file data allocated by LoadFileData()""" - ... + """Unload file data allocated by LoadFileData().""" + ... def UnloadFileText(text: bytes,) -> None: - """Unload file text data allocated by LoadFileText()""" - ... + """Unload file text data allocated by LoadFileText().""" + ... def UnloadFont(font: Font|list|tuple,) -> None: - """Unload font from GPU memory (VRAM)""" - ... + """Unload font from GPU memory (VRAM).""" + ... def UnloadFontData(glyphs: Any|list|tuple,glyphCount: int,) -> None: - """Unload font chars info data (RAM)""" - ... + """Unload font chars info data (RAM).""" + ... def UnloadImage(image: Image|list|tuple,) -> None: - """Unload image from CPU memory (RAM)""" - ... + """Unload image from CPU memory (RAM).""" + ... def UnloadImageColors(colors: Any|list|tuple,) -> None: - """Unload color data loaded with LoadImageColors()""" - ... + """Unload color data loaded with LoadImageColors().""" + ... def UnloadImagePalette(colors: Any|list|tuple,) -> None: - """Unload colors palette loaded with LoadImagePalette()""" - ... + """Unload colors palette loaded with LoadImagePalette().""" + ... def UnloadMaterial(material: Material|list|tuple,) -> None: - """Unload material from GPU memory (VRAM)""" - ... + """Unload material from GPU memory (VRAM).""" + ... def UnloadMesh(mesh: Mesh|list|tuple,) -> None: - """Unload mesh data from CPU and GPU""" - ... + """Unload mesh data from CPU and GPU.""" + ... def UnloadModel(model: Model|list|tuple,) -> None: - """Unload model (including meshes) from memory (RAM and/or VRAM)""" - ... + """Unload model (including meshes) from memory (RAM and/or VRAM).""" + ... def UnloadModelAnimation(anim: ModelAnimation|list|tuple,) -> None: - """Unload animation data""" - ... + """Unload animation data.""" + ... def UnloadModelAnimations(animations: Any|list|tuple,animCount: int,) -> None: - """Unload animation array data""" - ... + """Unload animation array data.""" + ... def UnloadMusicStream(music: Music|list|tuple,) -> None: - """Unload music stream""" - ... + """Unload music stream.""" + ... def UnloadRandomSequence(sequence: Any,) -> None: - """Unload random values sequence""" - ... + """Unload random values sequence.""" + ... def UnloadRenderTexture(target: RenderTexture|list|tuple,) -> None: - """Unload render texture from GPU memory (VRAM)""" - ... + """Unload render texture from GPU memory (VRAM).""" + ... def UnloadShader(shader: Shader|list|tuple,) -> None: - """Unload shader from GPU memory (VRAM)""" - ... + """Unload shader from GPU memory (VRAM).""" + ... def UnloadSound(sound: Sound|list|tuple,) -> None: - """Unload sound""" - ... + """Unload sound.""" + ... def UnloadSoundAlias(alias: Sound|list|tuple,) -> None: - """Unload a sound alias (does not deallocate sample data)""" - ... + """Unload a sound alias (does not deallocate sample data).""" + ... def UnloadTexture(texture: Texture|list|tuple,) -> None: - """Unload texture from GPU memory (VRAM)""" - ... + """Unload texture from GPU memory (VRAM).""" + ... def UnloadUTF8(text: bytes,) -> None: - """Unload UTF-8 text encoded from codepoints array""" - ... + """Unload UTF-8 text encoded from codepoints array.""" + ... def UnloadVrStereoConfig(config: VrStereoConfig|list|tuple,) -> None: - """Unload VR stereo config""" - ... + """Unload VR stereo config.""" + ... def UnloadWave(wave: Wave|list|tuple,) -> None: - """Unload wave data""" - ... + """Unload wave data.""" + ... def UnloadWaveSamples(samples: Any,) -> None: - """Unload samples data loaded with LoadWaveSamples()""" - ... + """Unload samples data loaded with LoadWaveSamples().""" + ... def UpdateAudioStream(stream: AudioStream|list|tuple,data: Any,frameCount: int,) -> None: - """Update audio stream buffers with data""" - ... + """Update audio stream buffers with data.""" + ... def UpdateCamera(camera: Any|list|tuple,mode: int,) -> None: - """Update camera position for selected mode""" - ... + """Update camera position for selected mode.""" + ... def UpdateCameraPro(camera: Any|list|tuple,movement: Vector3|list|tuple,rotation: Vector3|list|tuple,zoom: float,) -> None: - """Update camera movement/rotation""" - ... + """Update camera movement/rotation.""" + ... def UpdateMeshBuffer(mesh: Mesh|list|tuple,index: int,data: Any,dataSize: int,offset: int,) -> None: - """Update mesh vertex data in GPU for a specific buffer index""" - ... + """Update mesh vertex data in GPU for a specific buffer index.""" + ... def UpdateModelAnimation(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None: - """Update model animation pose (CPU)""" - ... + """Update model animation pose (CPU).""" + ... def UpdateModelAnimationBones(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None: - """Update model animation mesh bone matrices (GPU skinning)""" - ... + """Update model animation mesh bone matrices (GPU skinning).""" + ... def UpdateMusicStream(music: Music|list|tuple,) -> None: - """Updates buffers for music streaming""" - ... + """Updates buffers for music streaming.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def UpdatePhysics() -> None: - """Update physics system""" - ... + """Update physics system.""" + ... def UpdateSound(sound: Sound|list|tuple,data: Any,sampleCount: int,) -> None: - """Update sound buffer with new data""" - ... + """Update sound buffer with new data.""" + ... def UpdateTexture(texture: Texture|list|tuple,pixels: Any,) -> None: - """Update GPU texture with new data""" - ... + """Update GPU texture with new data.""" + ... def UpdateTextureRec(texture: Texture|list|tuple,rec: Rectangle|list|tuple,pixels: Any,) -> None: - """Update GPU texture rectangle with new data""" - ... + """Update GPU texture rectangle with new data.""" + ... def UploadMesh(mesh: Any|list|tuple,dynamic: bool,) -> None: - """Upload mesh vertex data in GPU and provide VAO/VBO ids""" - ... + """Upload mesh vertex data in GPU and provide VAO/VBO ids.""" + ... VALUEBOX: int def Vector2Add(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2AddValue(v: Vector2|list|tuple,add: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Angle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Clamp(v: Vector2|list|tuple,min_1: Vector2|list|tuple,max_2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2ClampValue(v: Vector2|list|tuple,min_1: float,max_2: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Distance(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2DistanceSqr(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Divide(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2DotProduct(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Equals(p: Vector2|list|tuple,q: Vector2|list|tuple,) -> int: - """""" - ... + """.""" + ... def Vector2Invert(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Length(v: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2LengthSqr(v: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Lerp(v1: Vector2|list|tuple,v2: Vector2|list|tuple,amount: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2LineAngle(start: Vector2|list|tuple,end: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Max(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Min(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2MoveTowards(v: Vector2|list|tuple,target: Vector2|list|tuple,maxDistance: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Multiply(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Negate(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Normalize(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2One() -> Vector2: - """""" - ... + """.""" + ... def Vector2Reflect(v: Vector2|list|tuple,normal: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Refract(v: Vector2|list|tuple,n: Vector2|list|tuple,r: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Rotate(v: Vector2|list|tuple,angle: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Scale(v: Vector2|list|tuple,scale: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Subtract(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2SubtractValue(v: Vector2|list|tuple,sub: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Transform(v: Vector2|list|tuple,mat: Matrix|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Zero() -> Vector2: - """""" - ... + """.""" + ... def Vector3Add(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3AddValue(v: Vector3|list|tuple,add: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Angle(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Barycenter(p: Vector3|list|tuple,a: Vector3|list|tuple,b: Vector3|list|tuple,c: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Clamp(v: Vector3|list|tuple,min_1: Vector3|list|tuple,max_2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3ClampValue(v: Vector3|list|tuple,min_1: float,max_2: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3CrossProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3CubicHermite(v1: Vector3|list|tuple,tangent1: Vector3|list|tuple,v2: Vector3|list|tuple,tangent2: Vector3|list|tuple,amount: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Distance(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3DistanceSqr(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Divide(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3DotProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Equals(p: Vector3|list|tuple,q: Vector3|list|tuple,) -> int: - """""" - ... + """.""" + ... def Vector3Invert(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Length(v: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3LengthSqr(v: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Lerp(v1: Vector3|list|tuple,v2: Vector3|list|tuple,amount: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Max(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Min(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3MoveTowards(v: Vector3|list|tuple,target: Vector3|list|tuple,maxDistance: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Multiply(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Negate(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Normalize(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3One() -> Vector3: - """""" - ... + """.""" + ... def Vector3OrthoNormalize(v1: Any|list|tuple,v2: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def Vector3Perpendicular(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Project(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Reflect(v: Vector3|list|tuple,normal: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Refract(v: Vector3|list|tuple,n: Vector3|list|tuple,r: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Reject(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3RotateByAxisAngle(v: Vector3|list|tuple,axis: Vector3|list|tuple,angle: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3RotateByQuaternion(v: Vector3|list|tuple,q: Vector4|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Scale(v: Vector3|list|tuple,scalar: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Subtract(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3SubtractValue(v: Vector3|list|tuple,sub: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3ToFloatV(v: Vector3|list|tuple,) -> float3: - """""" - ... + """.""" + ... def Vector3Transform(v: Vector3|list|tuple,mat: Matrix|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Unproject(source: Vector3|list|tuple,projection: Matrix|list|tuple,view: Matrix|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Zero() -> Vector3: - """""" - ... + """.""" + ... def Vector4Add(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4AddValue(v: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Distance(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4DistanceSqr(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4Divide(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4DotProduct(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4Equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int: - """""" - ... + """.""" + ... def Vector4Invert(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Length(v: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4LengthSqr(v: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4Lerp(v1: Vector4|list|tuple,v2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Max(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Min(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4MoveTowards(v: Vector4|list|tuple,target: Vector4|list|tuple,maxDistance: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Multiply(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Negate(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Normalize(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4One() -> Vector4: - """""" - ... + """.""" + ... def Vector4Scale(v: Vector4|list|tuple,scale: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Subtract(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4SubtractValue(v: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Zero() -> Vector4: - """""" - ... + """.""" + ... def WaitTime(seconds: float,) -> None: - """Wait for some time (halt program execution)""" - ... + """Wait for some time (halt program execution).""" + ... def WaveCopy(wave: Wave|list|tuple,) -> Wave: - """Copy a wave to a new wave""" - ... + """Copy a wave to a new wave.""" + ... def WaveCrop(wave: Any|list|tuple,initFrame: int,finalFrame: int,) -> None: - """Crop a wave to defined frames range""" - ... + """Crop a wave to defined frames range.""" + ... def WaveFormat(wave: Any|list|tuple,sampleRate: int,sampleSize: int,channels: int,) -> None: - """Convert wave data to desired format""" - ... + """Convert wave data to desired format.""" + ... def WindowShouldClose() -> bool: - """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)""" - ... + """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked).""" + ... def Wrap(value: float,min_1: float,max_2: float,) -> float: - """""" - ... + """.""" + ... def glfwCreateCursor(image: Any|list|tuple,xhot: int,yhot: int,) -> Any: - """""" - ... + """.""" + ... def glfwCreateStandardCursor(shape: int,) -> Any: - """""" - ... + """.""" + ... def glfwCreateWindow(width: int,height: int,title: bytes,monitor: Any|list|tuple,share: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwDefaultWindowHints() -> None: - """""" - ... + """.""" + ... def glfwDestroyCursor(cursor: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwDestroyWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwExtensionSupported(extension: bytes,) -> int: - """""" - ... + """.""" + ... def glfwFocusWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwGetClipboardString(window: Any|list|tuple,) -> bytes: - """""" - ... + """.""" + ... def glfwGetCurrentContext() -> Any: - """""" - ... + """.""" + ... def glfwGetCursorPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetError(description: list[bytes],) -> int: - """""" - ... + """.""" + ... def glfwGetFramebufferSize(window: Any|list|tuple,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetGamepadName(jid: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetGamepadState(jid: int,state: Any|list|tuple,) -> int: - """""" - ... + """.""" + ... def glfwGetGammaRamp(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetInputMode(window: Any|list|tuple,mode: int,) -> int: - """""" - ... + """.""" + ... def glfwGetJoystickAxes(jid: int,count: Any,) -> Any: - """""" - ... + """.""" + ... def glfwGetJoystickButtons(jid: int,count: Any,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickGUID(jid: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickHats(jid: int,count: Any,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickName(jid: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickUserPointer(jid: int,) -> Any: - """""" - ... + """.""" + ... def glfwGetKey(window: Any|list|tuple,key: int,) -> int: - """""" - ... + """.""" + ... def glfwGetKeyName(key: int,scancode: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetKeyScancode(key: int,) -> int: - """""" - ... + """.""" + ... def glfwGetMonitorContentScale(monitor: Any|list|tuple,xscale: Any,yscale: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitorName(monitor: Any|list|tuple,) -> bytes: - """""" - ... + """.""" + ... def glfwGetMonitorPhysicalSize(monitor: Any|list|tuple,widthMM: Any,heightMM: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitorPos(monitor: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitorUserPointer(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetMonitorWorkarea(monitor: Any|list|tuple,xpos: Any,ypos: Any,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitors(count: Any,) -> Any: - """""" - ... + """.""" + ... def glfwGetMouseButton(window: Any|list|tuple,button: int,) -> int: - """""" - ... + """.""" + ... def glfwGetPlatform() -> int: - """""" - ... + """.""" + ... def glfwGetPrimaryMonitor() -> Any: - """""" - ... + """.""" + ... def glfwGetProcAddress(procname: bytes,) -> Any: - """""" - ... + """.""" + ... def glfwGetRequiredInstanceExtensions(count: Any,) -> list[bytes]: - """""" - ... + """.""" + ... def glfwGetTime() -> float: - """""" - ... + """.""" + ... def glfwGetTimerFrequency() -> int: - """""" - ... + """.""" + ... def glfwGetTimerValue() -> int: - """""" - ... + """.""" + ... def glfwGetVersion(major: Any,minor: Any,rev: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetVersionString() -> bytes: - """""" - ... + """.""" + ... def glfwGetVideoMode(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetVideoModes(monitor: Any|list|tuple,count: Any,) -> Any: - """""" - ... + """.""" + ... def glfwGetWindowAttrib(window: Any|list|tuple,attrib: int,) -> int: - """""" - ... + """.""" + ... def glfwGetWindowContentScale(window: Any|list|tuple,xscale: Any,yscale: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowFrameSize(window: Any|list|tuple,left: Any,top: Any,right: Any,bottom: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowMonitor(window: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetWindowOpacity(window: Any|list|tuple,) -> float: - """""" - ... + """.""" + ... def glfwGetWindowPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowSize(window: Any|list|tuple,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowTitle(window: Any|list|tuple,) -> bytes: - """""" - ... + """.""" + ... def glfwGetWindowUserPointer(window: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwHideWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwIconifyWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwInit() -> int: - """""" - ... + """.""" + ... def glfwInitAllocator(allocator: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwInitHint(hint: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwJoystickIsGamepad(jid: int,) -> int: - """""" - ... + """.""" + ... def glfwJoystickPresent(jid: int,) -> int: - """""" - ... + """.""" + ... def glfwMakeContextCurrent(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwMaximizeWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwPlatformSupported(platform: int,) -> int: - """""" - ... + """.""" + ... def glfwPollEvents() -> None: - """""" - ... + """.""" + ... def glfwPostEmptyEvent() -> None: - """""" - ... + """.""" + ... def glfwRawMouseMotionSupported() -> int: - """""" - ... + """.""" + ... def glfwRequestWindowAttention(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwRestoreWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetCharCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetCharModsCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetClipboardString(window: Any|list|tuple,string: bytes,) -> None: - """""" - ... + """.""" + ... def glfwSetCursor(window: Any|list|tuple,cursor: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetCursorEnterCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetCursorPos(window: Any|list|tuple,xpos: float,ypos: float,) -> None: - """""" - ... + """.""" + ... def glfwSetCursorPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetDropCallback(window: Any|list|tuple,callback: list[bytes]|list|tuple,) -> list[bytes]: - """""" - ... + """.""" + ... def glfwSetErrorCallback(callback: bytes,) -> bytes: - """""" - ... + """.""" + ... def glfwSetFramebufferSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetGamma(monitor: Any|list|tuple,gamma: float,) -> None: - """""" - ... + """.""" + ... def glfwSetGammaRamp(monitor: Any|list|tuple,ramp: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetInputMode(window: Any|list|tuple,mode: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwSetJoystickCallback(callback: Any,) -> Any: - """""" - ... + """.""" + ... def glfwSetJoystickUserPointer(jid: int,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfwSetKeyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetMonitorCallback(callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetMonitorUserPointer(monitor: Any|list|tuple,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfwSetMouseButtonCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetScrollCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetTime(time: float,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowAspectRatio(window: Any|list|tuple,numer: int,denom: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowAttrib(window: Any|list|tuple,attrib: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowCloseCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowContentScaleCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowFocusCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowIcon(window: Any|list|tuple,count: int,images: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowIconifyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowMaximizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowMonitor(window: Any|list|tuple,monitor: Any|list|tuple,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowOpacity(window: Any|list|tuple,opacity: float,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowPos(window: Any|list|tuple,xpos: int,ypos: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowRefreshCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowShouldClose(window: Any|list|tuple,value: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowSize(window: Any|list|tuple,width: int,height: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowSizeLimits(window: Any|list|tuple,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowTitle(window: Any|list|tuple,title: bytes,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowUserPointer(window: Any|list|tuple,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfwShowWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSwapBuffers(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSwapInterval(interval: int,) -> None: - """""" - ... + """.""" + ... def glfwTerminate() -> None: - """""" - ... + """.""" + ... def glfwUpdateGamepadMappings(string: bytes,) -> int: - """""" - ... + """.""" + ... def glfwVulkanSupported() -> int: - """""" - ... + """.""" + ... def glfwWaitEvents() -> None: - """""" - ... + """.""" + ... def glfwWaitEventsTimeout(timeout: float,) -> None: - """""" - ... + """.""" + ... def glfwWindowHint(hint: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwWindowHintString(hint: int,value: bytes,) -> None: - """""" - ... + """.""" + ... def glfwWindowShouldClose(window: Any|list|tuple,) -> int: - """""" - ... + """.""" + ... def rlActiveDrawBuffers(count: int,) -> None: - """Activate multiple draw color buffers""" - ... + """Activate multiple draw color buffers.""" + ... def rlActiveTextureSlot(slot: int,) -> None: - """Select and active a texture slot""" - ... + """Select and active a texture slot.""" + ... def rlBegin(mode: int,) -> None: - """Initialize drawing mode (how to organize vertex)""" - ... + """Initialize drawing mode (how to organize vertex).""" + ... def rlBindFramebuffer(target: int,framebuffer: int,) -> None: - """Bind framebuffer (FBO)""" - ... + """Bind framebuffer (FBO).""" + ... def rlBindImageTexture(id: int,index: int,format: int,readonly: bool,) -> None: - """Bind image texture""" - ... + """Bind image texture.""" + ... def rlBindShaderBuffer(id: int,index: int,) -> None: - """Bind SSBO buffer""" - ... + """Bind SSBO buffer.""" + ... def rlBlitFramebuffer(srcX: int,srcY: int,srcWidth: int,srcHeight: int,dstX: int,dstY: int,dstWidth: int,dstHeight: int,bufferMask: int,) -> None: - """Blit active framebuffer to main framebuffer""" - ... + """Blit active framebuffer to main framebuffer.""" + ... def rlCheckErrors() -> None: - """Check and log OpenGL error codes""" - ... + """Check and log OpenGL error codes.""" + ... def rlCheckRenderBatchLimit(vCount: int,) -> bool: - """Check internal buffer overflow for a given number of vertex""" - ... + """Check internal buffer overflow for a given number of vertex.""" + ... def rlClearColor(r: bytes,g: bytes,b: bytes,a: bytes,) -> None: - """Clear color buffer with color""" - ... + """Clear color buffer with color.""" + ... def rlClearScreenBuffers() -> None: - """Clear used screen buffers (color and depth)""" - ... + """Clear used screen buffers (color and depth).""" + ... def rlColor3f(x: float,y: float,z: float,) -> None: - """Define one vertex (color) - 3 float""" - ... + """Define one vertex (color) - 3 float.""" + ... def rlColor4f(x: float,y: float,z: float,w: float,) -> None: - """Define one vertex (color) - 4 float""" - ... + """Define one vertex (color) - 4 float.""" + ... def rlColor4ub(r: bytes,g: bytes,b: bytes,a: bytes,) -> None: - """Define one vertex (color) - 4 byte""" - ... + """Define one vertex (color) - 4 byte.""" + ... def rlColorMask(r: bool,g: bool,b: bool,a: bool,) -> None: - """Color mask control""" - ... + """Color mask control.""" + ... def rlCompileShader(shaderCode: bytes,type: int,) -> int: - """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)""" - ... + """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER).""" + ... def rlComputeShaderDispatch(groupX: int,groupY: int,groupZ: int,) -> None: - """Dispatch compute shader (equivalent to *draw* for graphics pipeline)""" - ... + """Dispatch compute shader (equivalent to *draw* for graphics pipeline).""" + ... def rlCopyShaderBuffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None: - """Copy SSBO data between buffers""" - ... + """Copy SSBO data between buffers.""" + ... def rlCubemapParameters(id: int,param: int,value: int,) -> None: - """Set cubemap parameters (filter, wrap)""" - ... + """Set cubemap parameters (filter, wrap).""" + ... def rlDisableBackfaceCulling() -> None: - """Disable backface culling""" - ... + """Disable backface culling.""" + ... def rlDisableColorBlend() -> None: - """Disable color blending""" - ... + """Disable color blending.""" + ... def rlDisableDepthMask() -> None: - """Disable depth write""" - ... + """Disable depth write.""" + ... def rlDisableDepthTest() -> None: - """Disable depth test""" - ... + """Disable depth test.""" + ... def rlDisableFramebuffer() -> None: - """Disable render texture (fbo), return to default framebuffer""" - ... + """Disable render texture (fbo), return to default framebuffer.""" + ... def rlDisableScissorTest() -> None: - """Disable scissor test""" - ... + """Disable scissor test.""" + ... def rlDisableShader() -> None: - """Disable shader program""" - ... + """Disable shader program.""" + ... def rlDisableSmoothLines() -> None: - """Disable line aliasing""" - ... + """Disable line aliasing.""" + ... def rlDisableStereoRender() -> None: - """Disable stereo rendering""" - ... + """Disable stereo rendering.""" + ... def rlDisableTexture() -> None: - """Disable texture""" - ... + """Disable texture.""" + ... def rlDisableTextureCubemap() -> None: - """Disable texture cubemap""" - ... + """Disable texture cubemap.""" + ... def rlDisableVertexArray() -> None: - """Disable vertex array (VAO, if supported)""" - ... + """Disable vertex array (VAO, if supported).""" + ... def rlDisableVertexAttribute(index: int,) -> None: - """Disable vertex attribute index""" - ... + """Disable vertex attribute index.""" + ... def rlDisableVertexBuffer() -> None: - """Disable vertex buffer (VBO)""" - ... + """Disable vertex buffer (VBO).""" + ... def rlDisableVertexBufferElement() -> None: - """Disable vertex buffer element (VBO element)""" - ... + """Disable vertex buffer element (VBO element).""" + ... def rlDisableWireMode() -> None: - """Disable wire (and point) mode""" - ... + """Disable wire (and point) mode.""" + ... def rlDrawRenderBatch(batch: Any|list|tuple,) -> None: - """Draw render batch data (Update->Draw->Reset)""" - ... + """Draw render batch data (Update->Draw->Reset).""" + ... def rlDrawRenderBatchActive() -> None: - """Update and draw internal render batch""" - ... + """Update and draw internal render batch.""" + ... def rlDrawVertexArray(offset: int,count: int,) -> None: - """Draw vertex array (currently active vao)""" - ... + """Draw vertex array (currently active vao).""" + ... def rlDrawVertexArrayElements(offset: int,count: int,buffer: Any,) -> None: - """Draw vertex array elements""" - ... + """Draw vertex array elements.""" + ... def rlDrawVertexArrayElementsInstanced(offset: int,count: int,buffer: Any,instances: int,) -> None: - """Draw vertex array elements with instancing""" - ... + """Draw vertex array elements with instancing.""" + ... def rlDrawVertexArrayInstanced(offset: int,count: int,instances: int,) -> None: - """Draw vertex array (currently active vao) with instancing""" - ... + """Draw vertex array (currently active vao) with instancing.""" + ... def rlEnableBackfaceCulling() -> None: - """Enable backface culling""" - ... + """Enable backface culling.""" + ... def rlEnableColorBlend() -> None: - """Enable color blending""" - ... + """Enable color blending.""" + ... def rlEnableDepthMask() -> None: - """Enable depth write""" - ... + """Enable depth write.""" + ... def rlEnableDepthTest() -> None: - """Enable depth test""" - ... + """Enable depth test.""" + ... def rlEnableFramebuffer(id: int,) -> None: - """Enable render texture (fbo)""" - ... + """Enable render texture (fbo).""" + ... def rlEnablePointMode() -> None: - """Enable point mode""" - ... + """Enable point mode.""" + ... def rlEnableScissorTest() -> None: - """Enable scissor test""" - ... + """Enable scissor test.""" + ... def rlEnableShader(id: int,) -> None: - """Enable shader program""" - ... + """Enable shader program.""" + ... def rlEnableSmoothLines() -> None: - """Enable line aliasing""" - ... + """Enable line aliasing.""" + ... def rlEnableStereoRender() -> None: - """Enable stereo rendering""" - ... + """Enable stereo rendering.""" + ... def rlEnableTexture(id: int,) -> None: - """Enable texture""" - ... + """Enable texture.""" + ... def rlEnableTextureCubemap(id: int,) -> None: - """Enable texture cubemap""" - ... + """Enable texture cubemap.""" + ... def rlEnableVertexArray(vaoId: int,) -> bool: - """Enable vertex array (VAO, if supported)""" - ... + """Enable vertex array (VAO, if supported).""" + ... def rlEnableVertexAttribute(index: int,) -> None: - """Enable vertex attribute index""" - ... + """Enable vertex attribute index.""" + ... def rlEnableVertexBuffer(id: int,) -> None: - """Enable vertex buffer (VBO)""" - ... + """Enable vertex buffer (VBO).""" + ... def rlEnableVertexBufferElement(id: int,) -> None: - """Enable vertex buffer element (VBO element)""" - ... + """Enable vertex buffer element (VBO element).""" + ... def rlEnableWireMode() -> None: - """Enable wire mode""" - ... + """Enable wire mode.""" + ... def rlEnd() -> None: - """Finish vertex providing""" - ... + """Finish vertex providing.""" + ... def rlFramebufferAttach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None: - """Attach texture/renderbuffer to a framebuffer""" - ... + """Attach texture/renderbuffer to a framebuffer.""" + ... def rlFramebufferComplete(id: int,) -> bool: - """Verify framebuffer is complete""" - ... + """Verify framebuffer is complete.""" + ... def rlFrustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: - """""" - ... + """.""" + ... def rlGenTextureMipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None: - """Generate mipmap data for selected texture""" - ... + """Generate mipmap data for selected texture.""" + ... def rlGetActiveFramebuffer() -> int: - """Get the currently active render texture (fbo), 0 for default framebuffer""" - ... + """Get the currently active render texture (fbo), 0 for default framebuffer.""" + ... def rlGetCullDistanceFar() -> float: - """Get cull plane distance far""" - ... + """Get cull plane distance far.""" + ... def rlGetCullDistanceNear() -> float: - """Get cull plane distance near""" - ... + """Get cull plane distance near.""" + ... def rlGetFramebufferHeight() -> int: - """Get default framebuffer height""" - ... + """Get default framebuffer height.""" + ... def rlGetFramebufferWidth() -> int: - """Get default framebuffer width""" - ... + """Get default framebuffer width.""" + ... def rlGetGlTextureFormats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None: - """Get OpenGL internal formats""" - ... + """Get OpenGL internal formats.""" + ... def rlGetLineWidth() -> float: - """Get the line drawing width""" - ... + """Get the line drawing width.""" + ... def rlGetLocationAttrib(shaderId: int,attribName: bytes,) -> int: - """Get shader location attribute""" - ... + """Get shader location attribute.""" + ... def rlGetLocationUniform(shaderId: int,uniformName: bytes,) -> int: - """Get shader location uniform""" - ... + """Get shader location uniform.""" + ... def rlGetMatrixModelview() -> Matrix: - """Get internal modelview matrix""" - ... + """Get internal modelview matrix.""" + ... def rlGetMatrixProjection() -> Matrix: - """Get internal projection matrix""" - ... + """Get internal projection matrix.""" + ... def rlGetMatrixProjectionStereo(eye: int,) -> Matrix: - """Get internal projection matrix for stereo render (selected eye)""" - ... + """Get internal projection matrix for stereo render (selected eye).""" + ... def rlGetMatrixTransform() -> Matrix: - """Get internal accumulated transform matrix""" - ... + """Get internal accumulated transform matrix.""" + ... def rlGetMatrixViewOffsetStereo(eye: int,) -> Matrix: - """Get internal view offset matrix for stereo render (selected eye)""" - ... + """Get internal view offset matrix for stereo render (selected eye).""" + ... def rlGetPixelFormatName(format: int,) -> bytes: - """Get name string for pixel format""" - ... + """Get name string for pixel format.""" + ... def rlGetShaderBufferSize(id: int,) -> int: - """Get SSBO buffer size""" - ... + """Get SSBO buffer size.""" + ... def rlGetShaderIdDefault() -> int: - """Get default shader id""" - ... + """Get default shader id.""" + ... def rlGetShaderLocsDefault() -> Any: - """Get default shader locations""" - ... + """Get default shader locations.""" + ... def rlGetTextureIdDefault() -> int: - """Get default texture id""" - ... + """Get default texture id.""" + ... def rlGetVersion() -> int: - """Get current OpenGL version""" - ... + """Get current OpenGL version.""" + ... def rlIsStereoRenderEnabled() -> bool: - """Check if stereo render is enabled""" - ... + """Check if stereo render is enabled.""" + ... def rlLoadComputeShaderProgram(shaderId: int,) -> int: - """Load compute shader program""" - ... + """Load compute shader program.""" + ... def rlLoadDrawCube() -> None: - """Load and draw a cube""" - ... + """Load and draw a cube.""" + ... def rlLoadDrawQuad() -> None: - """Load and draw a quad""" - ... + """Load and draw a quad.""" + ... def rlLoadExtensions(loader: Any,) -> None: - """Load OpenGL extensions (loader function required)""" - ... + """Load OpenGL extensions (loader function required).""" + ... def rlLoadFramebuffer() -> int: - """Load an empty framebuffer""" - ... + """Load an empty framebuffer.""" + ... def rlLoadIdentity() -> None: - """Reset current matrix to identity matrix""" - ... + """Reset current matrix to identity matrix.""" + ... def rlLoadRenderBatch(numBuffers: int,bufferElements: int,) -> rlRenderBatch: - """Load a render batch system""" - ... + """Load a render batch system.""" + ... def rlLoadShaderBuffer(size: int,data: Any,usageHint: int,) -> int: - """Load shader storage buffer object (SSBO)""" - ... + """Load shader storage buffer object (SSBO).""" + ... def rlLoadShaderCode(vsCode: bytes,fsCode: bytes,) -> int: - """Load shader from code strings""" - ... + """Load shader from code strings.""" + ... def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int: - """Load custom shader program""" - ... + """Load custom shader program.""" + ... def rlLoadTexture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int: - """Load texture data""" - ... + """Load texture data.""" + ... def rlLoadTextureCubemap(data: Any,size: int,format: int,mipmapCount: int,) -> int: - """Load texture cubemap data""" - ... + """Load texture cubemap data.""" + ... def rlLoadTextureDepth(width: int,height: int,useRenderBuffer: bool,) -> int: - """Load depth texture/renderbuffer (to be attached to fbo)""" - ... + """Load depth texture/renderbuffer (to be attached to fbo).""" + ... def rlLoadVertexArray() -> int: - """Load vertex array (vao) if supported""" - ... + """Load vertex array (vao) if supported.""" + ... def rlLoadVertexBuffer(buffer: Any,size: int,dynamic: bool,) -> int: - """Load a vertex buffer object""" - ... + """Load a vertex buffer object.""" + ... def rlLoadVertexBufferElement(buffer: Any,size: int,dynamic: bool,) -> int: - """Load vertex buffer elements object""" - ... + """Load vertex buffer elements object.""" + ... def rlMatrixMode(mode: int,) -> None: - """Choose the current matrix to be transformed""" - ... + """Choose the current matrix to be transformed.""" + ... def rlMultMatrixf(matf: Any,) -> None: - """Multiply the current matrix by another matrix""" - ... + """Multiply the current matrix by another matrix.""" + ... def rlNormal3f(x: float,y: float,z: float,) -> None: - """Define one vertex (normal) - 3 float""" - ... + """Define one vertex (normal) - 3 float.""" + ... def rlOrtho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: - """""" - ... + """.""" + ... def rlPopMatrix() -> None: - """Pop latest inserted matrix from stack""" - ... + """Pop latest inserted matrix from stack.""" + ... def rlPushMatrix() -> None: - """Push the current matrix to stack""" - ... + """Push the current matrix to stack.""" + ... def rlReadScreenPixels(width: int,height: int,) -> bytes: - """Read screen pixel data (color buffer)""" - ... + """Read screen pixel data (color buffer).""" + ... def rlReadShaderBuffer(id: int,dest: Any,count: int,offset: int,) -> None: - """Read SSBO buffer data (GPU->CPU)""" - ... + """Read SSBO buffer data (GPU->CPU).""" + ... def rlReadTexturePixels(id: int,width: int,height: int,format: int,) -> Any: - """Read texture pixel data""" - ... + """Read texture pixel data.""" + ... def rlRotatef(angle: float,x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a rotation matrix""" - ... + """Multiply the current matrix by a rotation matrix.""" + ... def rlScalef(x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a scaling matrix""" - ... + """Multiply the current matrix by a scaling matrix.""" + ... def rlScissor(x: int,y: int,width: int,height: int,) -> None: - """Scissor test""" - ... + """Scissor test.""" + ... def rlSetBlendFactors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None: - """Set blending mode factor and equation (using OpenGL factors)""" - ... + """Set blending mode factor and equation (using OpenGL factors).""" + ... def rlSetBlendFactorsSeparate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstAlpha: int,glEqRGB: int,glEqAlpha: int,) -> None: - """Set blending mode factors and equations separately (using OpenGL factors)""" - ... + """Set blending mode factors and equations separately (using OpenGL factors).""" + ... def rlSetBlendMode(mode: int,) -> None: - """Set blending mode""" - ... + """Set blending mode.""" + ... def rlSetClipPlanes(nearPlane: float,farPlane: float,) -> None: - """Set clip planes distances""" - ... + """Set clip planes distances.""" + ... def rlSetCullFace(mode: int,) -> None: - """Set face culling mode""" - ... + """Set face culling mode.""" + ... def rlSetFramebufferHeight(height: int,) -> None: - """Set current framebuffer height""" - ... + """Set current framebuffer height.""" + ... def rlSetFramebufferWidth(width: int,) -> None: - """Set current framebuffer width""" - ... + """Set current framebuffer width.""" + ... def rlSetLineWidth(width: float,) -> None: - """Set the line drawing width""" - ... + """Set the line drawing width.""" + ... def rlSetMatrixModelview(view: Matrix|list|tuple,) -> None: - """Set a custom modelview matrix (replaces internal modelview matrix)""" - ... + """Set a custom modelview matrix (replaces internal modelview matrix).""" + ... def rlSetMatrixProjection(proj: Matrix|list|tuple,) -> None: - """Set a custom projection matrix (replaces internal projection matrix)""" - ... + """Set a custom projection matrix (replaces internal projection matrix).""" + ... def rlSetMatrixProjectionStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None: - """Set eyes projection matrices for stereo rendering""" - ... + """Set eyes projection matrices for stereo rendering.""" + ... def rlSetMatrixViewOffsetStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None: - """Set eyes view offsets matrices for stereo rendering""" - ... + """Set eyes view offsets matrices for stereo rendering.""" + ... def rlSetRenderBatchActive(batch: Any|list|tuple,) -> None: - """Set the active render batch for rlgl (NULL for default internal)""" - ... + """Set the active render batch for rlgl (NULL for default internal).""" + ... def rlSetShader(id: int,locs: Any,) -> None: - """Set shader currently active (id and locations)""" - ... + """Set shader currently active (id and locations).""" + ... def rlSetTexture(id: int,) -> None: - """Set current texture for render batch and check buffers limits""" - ... + """Set current texture for render batch and check buffers limits.""" + ... def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None: - """Set shader value uniform""" - ... + """Set shader value uniform.""" + ... def rlSetUniformMatrices(locIndex: int,mat: Any|list|tuple,count: int,) -> None: - """Set shader value matrices""" - ... + """Set shader value matrices.""" + ... def rlSetUniformMatrix(locIndex: int,mat: Matrix|list|tuple,) -> None: - """Set shader value matrix""" - ... + """Set shader value matrix.""" + ... def rlSetUniformSampler(locIndex: int,textureId: int,) -> None: - """Set shader value sampler""" - ... + """Set shader value sampler.""" + ... def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,offset: int,) -> None: - """Set vertex attribute data configuration""" - ... + """Set vertex attribute data configuration.""" + ... def rlSetVertexAttributeDefault(locIndex: int,value: Any,attribType: int,count: int,) -> None: - """Set vertex attribute default value, when attribute to provided""" - ... + """Set vertex attribute default value, when attribute to provided.""" + ... def rlSetVertexAttributeDivisor(index: int,divisor: int,) -> None: - """Set vertex attribute data divisor""" - ... + """Set vertex attribute data divisor.""" + ... def rlTexCoord2f(x: float,y: float,) -> None: - """Define one vertex (texture coordinate) - 2 float""" - ... + """Define one vertex (texture coordinate) - 2 float.""" + ... def rlTextureParameters(id: int,param: int,value: int,) -> None: - """Set texture parameters (filter, wrap)""" - ... + """Set texture parameters (filter, wrap).""" + ... def rlTranslatef(x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a translation matrix""" - ... + """Multiply the current matrix by a translation matrix.""" + ... def rlUnloadFramebuffer(id: int,) -> None: - """Delete framebuffer from GPU""" - ... + """Delete framebuffer from GPU.""" + ... def rlUnloadRenderBatch(batch: rlRenderBatch|list|tuple,) -> None: - """Unload render batch system""" - ... + """Unload render batch system.""" + ... def rlUnloadShaderBuffer(ssboId: int,) -> None: - """Unload shader storage buffer object (SSBO)""" - ... + """Unload shader storage buffer object (SSBO).""" + ... def rlUnloadShaderProgram(id: int,) -> None: - """Unload shader program""" - ... + """Unload shader program.""" + ... def rlUnloadTexture(id: int,) -> None: - """Unload texture from GPU memory""" - ... + """Unload texture from GPU memory.""" + ... def rlUnloadVertexArray(vaoId: int,) -> None: - """Unload vertex array (vao)""" - ... + """Unload vertex array (vao).""" + ... def rlUnloadVertexBuffer(vboId: int,) -> None: - """Unload vertex buffer object""" - ... + """Unload vertex buffer object.""" + ... def rlUpdateShaderBuffer(id: int,data: Any,dataSize: int,offset: int,) -> None: - """Update SSBO buffer data""" - ... + """Update SSBO buffer data.""" + ... def rlUpdateTexture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None: - """Update texture with new data on GPU""" - ... + """Update texture with new data on GPU.""" + ... def rlUpdateVertexBuffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None: - """Update vertex buffer object data on GPU buffer""" - ... + """Update vertex buffer object data on GPU buffer.""" + ... def rlUpdateVertexBufferElements(id: int,data: Any,dataSize: int,offset: int,) -> None: - """Update vertex buffer elements data on GPU buffer""" - ... + """Update vertex buffer elements data on GPU buffer.""" + ... def rlVertex2f(x: float,y: float,) -> None: - """Define one vertex (position) - 2 float""" - ... + """Define one vertex (position) - 2 float.""" + ... def rlVertex2i(x: int,y: int,) -> None: - """Define one vertex (position) - 2 int""" - ... + """Define one vertex (position) - 2 int.""" + ... def rlVertex3f(x: float,y: float,z: float,) -> None: - """Define one vertex (position) - 3 float""" - ... + """Define one vertex (position) - 3 float.""" + ... def rlViewport(x: int,y: int,width: int,height: int,) -> None: - """Set the viewport area""" - ... + """Set the viewport area.""" + ... def rlglClose() -> None: - """De-initialize rlgl (buffers, shaders, textures)""" - ... + """De-initialize rlgl (buffers, shaders, textures).""" + ... def rlglInit(width: int,height: int,) -> None: - """Initialize rlgl (buffers, shaders, textures, states)""" - ... + """Initialize rlgl (buffers, shaders, textures, states).""" + ... class AudioStream: buffer: Any processor: Any diff --git a/pyray/__init__.pyi b/pyray/__init__.pyi index 9da74c1..417129c 100644 --- a/pyray/__init__.pyi +++ b/pyray/__init__.pyi @@ -904,3233 +904,3252 @@ class GuiIconName(int): ICON_255 = 255 from typing import Any - +from warnings import deprecated import _cffi_backend # type: ignore ffi: _cffi_backend.FFI def attach_audio_mixed_processor(processor: Any,) -> None: - """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'""" - ... + """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'.""" + ... def attach_audio_stream_processor(stream: AudioStream|list|tuple,processor: Any,) -> None: - """Attach audio stream processor to stream, receives the samples as 'float'""" - ... + """Attach audio stream processor to stream, receives the samples as 'float'.""" + ... def begin_blend_mode(mode: int,) -> None: - """Begin blending mode (alpha, additive, multiplied, subtract, custom)""" - ... + """Begin blending mode (alpha, additive, multiplied, subtract, custom).""" + ... def begin_drawing() -> None: - """Setup canvas (framebuffer) to start drawing""" - ... + """Setup canvas (framebuffer) to start drawing.""" + ... def begin_mode_2d(camera: Camera2D|list|tuple,) -> None: - """Begin 2D mode with custom camera (2D)""" - ... + """Begin 2D mode with custom camera (2D).""" + ... def begin_mode_3d(camera: Camera3D|list|tuple,) -> None: - """Begin 3D mode with custom camera (3D)""" - ... + """Begin 3D mode with custom camera (3D).""" + ... def begin_scissor_mode(x: int,y: int,width: int,height: int,) -> None: - """Begin scissor mode (define screen area for following drawing)""" - ... + """Begin scissor mode (define screen area for following drawing).""" + ... def begin_shader_mode(shader: Shader|list|tuple,) -> None: - """Begin custom shader drawing""" - ... + """Begin custom shader drawing.""" + ... def begin_texture_mode(target: RenderTexture|list|tuple,) -> None: - """Begin drawing to render texture""" - ... + """Begin drawing to render texture.""" + ... def begin_vr_stereo_mode(config: VrStereoConfig|list|tuple,) -> None: - """Begin stereo rendering (requires VR simulator)""" - ... + """Begin stereo rendering (requires VR simulator).""" + ... def change_directory(dir: str,) -> bool: - """Change working directory, return true on success""" - ... + """Change working directory, return true on success.""" + ... def check_collision_box_sphere(box: BoundingBox|list|tuple,center: Vector3|list|tuple,radius: float,) -> bool: - """Check collision between box and sphere""" - ... + """Check collision between box and sphere.""" + ... def check_collision_boxes(box1: BoundingBox|list|tuple,box2: BoundingBox|list|tuple,) -> bool: - """Check collision between two bounding boxes""" - ... + """Check collision between two bounding boxes.""" + ... def check_collision_circle_line(center: Vector2|list|tuple,radius: float,p1: Vector2|list|tuple,p2: Vector2|list|tuple,) -> bool: - """Check if circle collides with a line created betweeen two points [p1] and [p2]""" - ... + """Check if circle collides with a line created betweeen two points [p1] and [p2].""" + ... def check_collision_circle_rec(center: Vector2|list|tuple,radius: float,rec: Rectangle|list|tuple,) -> bool: - """Check collision between circle and rectangle""" - ... + """Check collision between circle and rectangle.""" + ... def check_collision_circles(center1: Vector2|list|tuple,radius1: float,center2: Vector2|list|tuple,radius2: float,) -> bool: - """Check collision between two circles""" - ... + """Check collision between two circles.""" + ... def check_collision_lines(startPos1: Vector2|list|tuple,endPos1: Vector2|list|tuple,startPos2: Vector2|list|tuple,endPos2: Vector2|list|tuple,collisionPoint: Any|list|tuple,) -> bool: - """Check the collision between two lines defined by two points each, returns collision point by reference""" - ... + """Check the collision between two lines defined by two points each, returns collision point by reference.""" + ... def check_collision_point_circle(point: Vector2|list|tuple,center: Vector2|list|tuple,radius: float,) -> bool: - """Check if point is inside circle""" - ... + """Check if point is inside circle.""" + ... def check_collision_point_line(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,threshold: int,) -> bool: - """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]""" - ... + """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold].""" + ... def check_collision_point_poly(point: Vector2|list|tuple,points: Any|list|tuple,pointCount: int,) -> bool: - """Check if point is within a polygon described by array of vertices""" - ... + """Check if point is within a polygon described by array of vertices.""" + ... def check_collision_point_rec(point: Vector2|list|tuple,rec: Rectangle|list|tuple,) -> bool: - """Check if point is inside rectangle""" - ... + """Check if point is inside rectangle.""" + ... def check_collision_point_triangle(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,) -> bool: - """Check if point is inside a triangle""" - ... + """Check if point is inside a triangle.""" + ... def check_collision_recs(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> bool: - """Check collision between two rectangles""" - ... + """Check collision between two rectangles.""" + ... def check_collision_spheres(center1: Vector3|list|tuple,radius1: float,center2: Vector3|list|tuple,radius2: float,) -> bool: - """Check collision between two spheres""" - ... + """Check collision between two spheres.""" + ... def clamp(value: float,min_1: float,max_2: float,) -> float: - """""" - ... + """.""" + ... def clear_background(color: Color|list|tuple,) -> None: - """Set background color (framebuffer clear color)""" - ... + """Set background color (framebuffer clear color).""" + ... def clear_window_state(flags: int,) -> None: - """Clear window configuration state flags""" - ... + """Clear window configuration state flags.""" + ... def close_audio_device() -> None: - """Close the audio device and context""" - ... + """Close the audio device and context.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def close_physics() -> None: - """Close physics system and unload used memory""" - ... + """Close physics system and unload used memory.""" + ... def close_window() -> None: - """Close window and unload OpenGL context""" - ... + """Close window and unload OpenGL context.""" + ... def codepoint_to_utf8(codepoint: int,utf8Size: Any,) -> str: - """Encode one codepoint into UTF-8 byte array (array length returned as parameter)""" - ... + """Encode one codepoint into UTF-8 byte array (array length returned as parameter).""" + ... def color_alpha(color: Color|list|tuple,alpha: float,) -> Color: - """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" - ... + """Get color with alpha applied, alpha goes from 0.0f to 1.0f.""" + ... def color_alpha_blend(dst: Color|list|tuple,src: Color|list|tuple,tint: Color|list|tuple,) -> Color: - """Get src alpha-blended into dst color with tint""" - ... + """Get src alpha-blended into dst color with tint.""" + ... def color_brightness(color: Color|list|tuple,factor: float,) -> Color: - """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f""" - ... + """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f.""" + ... def color_contrast(color: Color|list|tuple,contrast: float,) -> Color: - """Get color with contrast correction, contrast values between -1.0f and 1.0f""" - ... + """Get color with contrast correction, contrast values between -1.0f and 1.0f.""" + ... def color_from_hsv(hue: float,saturation: float,value: float,) -> Color: - """Get a Color from HSV values, hue [0..360], saturation/value [0..1]""" - ... + """Get a Color from HSV values, hue [0..360], saturation/value [0..1].""" + ... def color_from_normalized(normalized: Vector4|list|tuple,) -> Color: - """Get Color from normalized values [0..1]""" - ... + """Get Color from normalized values [0..1].""" + ... def color_is_equal(col1: Color|list|tuple,col2: Color|list|tuple,) -> bool: - """Check if two colors are equal""" - ... + """Check if two colors are equal.""" + ... def color_lerp(color1: Color|list|tuple,color2: Color|list|tuple,factor: float,) -> Color: - """Get color lerp interpolation between two colors, factor [0.0f..1.0f]""" - ... + """Get color lerp interpolation between two colors, factor [0.0f..1.0f].""" + ... def color_normalize(color: Color|list|tuple,) -> Vector4: - """Get Color normalized as float [0..1]""" - ... + """Get Color normalized as float [0..1].""" + ... def color_tint(color: Color|list|tuple,tint: Color|list|tuple,) -> Color: - """Get color multiplied with another color""" - ... + """Get color multiplied with another color.""" + ... def color_to_hsv(color: Color|list|tuple,) -> Vector3: - """Get HSV values for a Color, hue [0..360], saturation/value [0..1]""" - ... + """Get HSV values for a Color, hue [0..360], saturation/value [0..1].""" + ... def color_to_int(color: Color|list|tuple,) -> int: - """Get hexadecimal value for a Color (0xRRGGBBAA)""" - ... + """Get hexadecimal value for a Color (0xRRGGBBAA).""" + ... def compress_data(data: str,dataSize: int,compDataSize: Any,) -> str: - """Compress data (DEFLATE algorithm), memory must be MemFree()""" - ... + """Compress data (DEFLATE algorithm), memory must be MemFree().""" + ... def compute_crc32(data: str,dataSize: int,) -> int: - """Compute CRC32 hash code""" - ... + """Compute CRC32 hash code.""" + ... def compute_md5(data: str,dataSize: int,) -> Any: - """Compute MD5 hash code, returns static int[4] (16 bytes)""" - ... + """Compute MD5 hash code, returns static int[4] (16 bytes).""" + ... def compute_sha1(data: str,dataSize: int,) -> Any: - """Compute SHA1 hash code, returns static int[5] (20 bytes)""" - ... + """Compute SHA1 hash code, returns static int[5] (20 bytes).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def create_physics_body_circle(pos: Vector2|list|tuple,radius: float,density: float,) -> Any: - """Creates a new circle physics body with generic parameters""" - ... + """Creates a new circle physics body with generic parameters.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def create_physics_body_polygon(pos: Vector2|list|tuple,radius: float,sides: int,density: float,) -> Any: - """Creates a new polygon physics body with generic parameters""" - ... + """Creates a new polygon physics body with generic parameters.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def create_physics_body_rectangle(pos: Vector2|list|tuple,width: float,height: float,density: float,) -> Any: - """Creates a new rectangle physics body with generic parameters""" - ... + """Creates a new rectangle physics body with generic parameters.""" + ... def decode_data_base64(data: str,outputSize: Any,) -> str: - """Decode Base64 string data, memory must be MemFree()""" - ... + """Decode Base64 string data, memory must be MemFree().""" + ... def decompress_data(compData: str,compDataSize: int,dataSize: Any,) -> str: - """Decompress data (DEFLATE algorithm), memory must be MemFree()""" - ... + """Decompress data (DEFLATE algorithm), memory must be MemFree().""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def destroy_physics_body(body: Any|list|tuple,) -> None: - """Destroy a physics body""" - ... + """Destroy a physics body.""" + ... def detach_audio_mixed_processor(processor: Any,) -> None: - """Detach audio stream processor from the entire audio pipeline""" - ... + """Detach audio stream processor from the entire audio pipeline.""" + ... def detach_audio_stream_processor(stream: AudioStream|list|tuple,processor: Any,) -> None: - """Detach audio stream processor from stream""" - ... + """Detach audio stream processor from stream.""" + ... def directory_exists(dirPath: str,) -> bool: - """Check if a directory path exists""" - ... + """Check if a directory path exists.""" + ... def disable_cursor() -> None: - """Disables cursor (lock cursor)""" - ... + """Disables cursor (lock cursor).""" + ... def disable_event_waiting() -> None: - """Disable waiting for events on EndDrawing(), automatic events polling""" - ... + """Disable waiting for events on EndDrawing(), automatic events polling.""" + ... def draw_billboard(camera: Camera3D|list|tuple,texture: Texture|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a billboard texture""" - ... + """Draw a billboard texture.""" + ... def draw_billboard_pro(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,up: Vector3|list|tuple,size: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draw a billboard texture defined by source and rotation""" - ... + """Draw a billboard texture defined by source and rotation.""" + ... def draw_billboard_rec(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,size: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a billboard texture defined by source""" - ... + """Draw a billboard texture defined by source.""" + ... def draw_bounding_box(box: BoundingBox|list|tuple,color: Color|list|tuple,) -> None: - """Draw bounding box (wires)""" - ... + """Draw bounding box (wires).""" + ... def draw_capsule(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None: - """Draw a capsule with the center of its sphere caps at startPos and endPos""" - ... + """Draw a capsule with the center of its sphere caps at startPos and endPos.""" + ... def draw_capsule_wires(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None: - """Draw capsule wireframe with the center of its sphere caps at startPos and endPos""" - ... + """Draw capsule wireframe with the center of its sphere caps at startPos and endPos.""" + ... def draw_circle(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None: - """Draw a color-filled circle""" - ... + """Draw a color-filled circle.""" + ... def draw_circle_3d(center: Vector3|list|tuple,radius: float,rotationAxis: Vector3|list|tuple,rotationAngle: float,color: Color|list|tuple,) -> None: - """Draw a circle in 3D world space""" - ... + """Draw a circle in 3D world space.""" + ... def draw_circle_gradient(centerX: int,centerY: int,radius: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> None: - """Draw a gradient-filled circle""" - ... + """Draw a gradient-filled circle.""" + ... def draw_circle_lines(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None: - """Draw circle outline""" - ... + """Draw circle outline.""" + ... def draw_circle_lines_v(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw circle outline (Vector version)""" - ... + """Draw circle outline (Vector version).""" + ... def draw_circle_sector(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw a piece of a circle""" - ... + """Draw a piece of a circle.""" + ... def draw_circle_sector_lines(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw circle sector outline""" - ... + """Draw circle sector outline.""" + ... def draw_circle_v(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw a color-filled circle (Vector version)""" - ... + """Draw a color-filled circle (Vector version).""" + ... def draw_cube(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None: - """Draw cube""" - ... + """Draw cube.""" + ... def draw_cube_v(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw cube (Vector version)""" - ... + """Draw cube (Vector version).""" + ... def draw_cube_wires(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None: - """Draw cube wires""" - ... + """Draw cube wires.""" + ... def draw_cube_wires_v(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw cube wires (Vector version)""" - ... + """Draw cube wires (Vector version).""" + ... def draw_cylinder(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None: - """Draw a cylinder/cone""" - ... + """Draw a cylinder/cone.""" + ... def draw_cylinder_ex(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None: - """Draw a cylinder with base at startPos and top at endPos""" - ... + """Draw a cylinder with base at startPos and top at endPos.""" + ... def draw_cylinder_wires(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None: - """Draw a cylinder/cone wires""" - ... + """Draw a cylinder/cone wires.""" + ... def draw_cylinder_wires_ex(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None: - """Draw a cylinder wires with base at startPos and top at endPos""" - ... + """Draw a cylinder wires with base at startPos and top at endPos.""" + ... def draw_ellipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None: - """Draw ellipse""" - ... + """Draw ellipse.""" + ... def draw_ellipse_lines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None: - """Draw ellipse outline""" - ... + """Draw ellipse outline.""" + ... def draw_fps(posX: int,posY: int,) -> None: - """Draw current FPS""" - ... + """Draw current FPS.""" + ... def draw_grid(slices: int,spacing: float,) -> None: - """Draw a grid (centered at (0, 0, 0))""" - ... + """Draw a grid (centered at (0, 0, 0)).""" + ... def draw_line(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None: - """Draw a line""" - ... + """Draw a line.""" + ... def draw_line_3d(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a line in 3D world space""" - ... + """Draw a line in 3D world space.""" + ... def draw_line_bezier(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw line segment cubic-bezier in-out interpolation""" - ... + """Draw line segment cubic-bezier in-out interpolation.""" + ... def draw_line_ex(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw a line (using triangles/quads)""" - ... + """Draw a line (using triangles/quads).""" + ... def draw_line_strip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw lines sequence (using gl lines)""" - ... + """Draw lines sequence (using gl lines).""" + ... def draw_line_v(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a line (using gl lines)""" - ... + """Draw a line (using gl lines).""" + ... def draw_mesh(mesh: Mesh|list|tuple,material: Material|list|tuple,transform: Matrix|list|tuple,) -> None: - """Draw a 3d mesh with material and transform""" - ... + """Draw a 3d mesh with material and transform.""" + ... def draw_mesh_instanced(mesh: Mesh|list|tuple,material: Material|list|tuple,transforms: Any|list|tuple,instances: int,) -> None: - """Draw multiple mesh instances with material and different transforms""" - ... + """Draw multiple mesh instances with material and different transforms.""" + ... def draw_model(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model (with texture if set)""" - ... + """Draw a model (with texture if set).""" + ... def draw_model_ex(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model with extended parameters""" - ... + """Draw a model with extended parameters.""" + ... def draw_model_points(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model as points""" - ... + """Draw a model as points.""" + ... def draw_model_points_ex(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model as points with extended parameters""" - ... + """Draw a model as points with extended parameters.""" + ... def draw_model_wires(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model wires (with texture if set)""" - ... + """Draw a model wires (with texture if set).""" + ... def draw_model_wires_ex(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model wires (with texture if set) with extended parameters""" - ... + """Draw a model wires (with texture if set) with extended parameters.""" + ... def draw_pixel(posX: int,posY: int,color: Color|list|tuple,) -> None: - """Draw a pixel using geometry [Can be slow, use with care]""" - ... + """Draw a pixel using geometry [Can be slow, use with care].""" + ... def draw_pixel_v(position: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a pixel using geometry (Vector version) [Can be slow, use with care]""" - ... + """Draw a pixel using geometry (Vector version) [Can be slow, use with care].""" + ... def draw_plane(centerPos: Vector3|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a plane XZ""" - ... + """Draw a plane XZ.""" + ... def draw_point_3d(position: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a point in 3D space, actually a small line""" - ... + """Draw a point in 3D space, actually a small line.""" + ... def draw_poly(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None: - """Draw a regular polygon (Vector version)""" - ... + """Draw a regular polygon (Vector version).""" + ... def draw_poly_lines(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None: - """Draw a polygon outline of n sides""" - ... + """Draw a polygon outline of n sides.""" + ... def draw_poly_lines_ex(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,lineThick: float,color: Color|list|tuple,) -> None: - """Draw a polygon outline of n sides with extended parameters""" - ... + """Draw a polygon outline of n sides with extended parameters.""" + ... def draw_ray(ray: Ray|list|tuple,color: Color|list|tuple,) -> None: - """Draw a ray line""" - ... + """Draw a ray line.""" + ... def draw_rectangle(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle""" - ... + """Draw a color-filled rectangle.""" + ... def draw_rectangle_gradient_ex(rec: Rectangle|list|tuple,topLeft: Color|list|tuple,bottomLeft: Color|list|tuple,topRight: Color|list|tuple,bottomRight: Color|list|tuple,) -> None: - """Draw a gradient-filled rectangle with custom vertex colors""" - ... + """Draw a gradient-filled rectangle with custom vertex colors.""" + ... def draw_rectangle_gradient_h(posX: int,posY: int,width: int,height: int,left: Color|list|tuple,right: Color|list|tuple,) -> None: - """Draw a horizontal-gradient-filled rectangle""" - ... + """Draw a horizontal-gradient-filled rectangle.""" + ... def draw_rectangle_gradient_v(posX: int,posY: int,width: int,height: int,top: Color|list|tuple,bottom: Color|list|tuple,) -> None: - """Draw a vertical-gradient-filled rectangle""" - ... + """Draw a vertical-gradient-filled rectangle.""" + ... def draw_rectangle_lines(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw rectangle outline""" - ... + """Draw rectangle outline.""" + ... def draw_rectangle_lines_ex(rec: Rectangle|list|tuple,lineThick: float,color: Color|list|tuple,) -> None: - """Draw rectangle outline with extended parameters""" - ... + """Draw rectangle outline with extended parameters.""" + ... def draw_rectangle_pro(rec: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle with pro parameters""" - ... + """Draw a color-filled rectangle with pro parameters.""" + ... def draw_rectangle_rec(rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle""" - ... + """Draw a color-filled rectangle.""" + ... def draw_rectangle_rounded(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None: - """Draw rectangle with rounded edges""" - ... + """Draw rectangle with rounded edges.""" + ... def draw_rectangle_rounded_lines(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None: - """Draw rectangle lines with rounded edges""" - ... + """Draw rectangle lines with rounded edges.""" + ... def draw_rectangle_rounded_lines_ex(rec: Rectangle|list|tuple,roundness: float,segments: int,lineThick: float,color: Color|list|tuple,) -> None: - """Draw rectangle with rounded edges outline""" - ... + """Draw rectangle with rounded edges outline.""" + ... def draw_rectangle_v(position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle (Vector version)""" - ... + """Draw a color-filled rectangle (Vector version).""" + ... def draw_ring(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw ring""" - ... + """Draw ring.""" + ... def draw_ring_lines(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw ring outline""" - ... + """Draw ring outline.""" + ... def draw_sphere(centerPos: Vector3|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw sphere""" - ... + """Draw sphere.""" + ... def draw_sphere_ex(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None: - """Draw sphere with extended parameters""" - ... + """Draw sphere with extended parameters.""" + ... def draw_sphere_wires(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None: - """Draw sphere wires""" - ... + """Draw sphere wires.""" + ... def draw_spline_basis(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: B-Spline, minimum 4 points""" - ... + """Draw spline: B-Spline, minimum 4 points.""" + ... def draw_spline_bezier_cubic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]""" - ... + """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...].""" + ... def draw_spline_bezier_quadratic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]""" - ... + """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...].""" + ... def draw_spline_catmull_rom(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Catmull-Rom, minimum 4 points""" - ... + """Draw spline: Catmull-Rom, minimum 4 points.""" + ... def draw_spline_linear(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Linear, minimum 2 points""" - ... + """Draw spline: Linear, minimum 2 points.""" + ... def draw_spline_segment_basis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: B-Spline, 4 points""" - ... + """Draw spline segment: B-Spline, 4 points.""" + ... def draw_spline_segment_bezier_cubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Cubic Bezier, 2 points, 2 control points""" - ... + """Draw spline segment: Cubic Bezier, 2 points, 2 control points.""" + ... def draw_spline_segment_bezier_quadratic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Quadratic Bezier, 2 points, 1 control point""" - ... + """Draw spline segment: Quadratic Bezier, 2 points, 1 control point.""" + ... def draw_spline_segment_catmull_rom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Catmull-Rom, 4 points""" - ... + """Draw spline segment: Catmull-Rom, 4 points.""" + ... def draw_spline_segment_linear(p1: Vector2|list|tuple,p2: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Linear, 2 points""" - ... + """Draw spline segment: Linear, 2 points.""" + ... def draw_text(text: str,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None: - """Draw text (using default font)""" - ... + """Draw text (using default font).""" + ... def draw_text_codepoint(font: Font|list|tuple,codepoint: int,position: Vector2|list|tuple,fontSize: float,tint: Color|list|tuple,) -> None: - """Draw one character (codepoint)""" - ... + """Draw one character (codepoint).""" + ... def draw_text_codepoints(font: Font|list|tuple,codepoints: Any,codepointCount: int,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw multiple character (codepoint)""" - ... + """Draw multiple character (codepoint).""" + ... def draw_text_ex(font: Font|list|tuple,text: str,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text using font and additional parameters""" - ... + """Draw text using font and additional parameters.""" + ... def draw_text_pro(font: Font|list|tuple,text: str,position: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text using Font and pro parameters (rotation)""" - ... + """Draw text using Font and pro parameters (rotation).""" + ... def draw_texture(texture: Texture|list|tuple,posX: int,posY: int,tint: Color|list|tuple,) -> None: - """Draw a Texture2D""" - ... + """Draw a Texture2D.""" + ... def draw_texture_ex(texture: Texture|list|tuple,position: Vector2|list|tuple,rotation: float,scale: float,tint: Color|list|tuple,) -> None: - """Draw a Texture2D with extended parameters""" - ... + """Draw a Texture2D with extended parameters.""" + ... def draw_texture_n_patch(texture: Texture|list|tuple,nPatchInfo: NPatchInfo|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draws a texture (or part of it) that stretches or shrinks nicely""" - ... + """Draws a texture (or part of it) that stretches or shrinks nicely.""" + ... def draw_texture_pro(texture: Texture|list|tuple,source: Rectangle|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draw a part of a texture defined by a rectangle with 'pro' parameters""" - ... + """Draw a part of a texture defined by a rectangle with 'pro' parameters.""" + ... def draw_texture_rec(texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a part of a texture defined by a rectangle""" - ... + """Draw a part of a texture defined by a rectangle.""" + ... def draw_texture_v(texture: Texture|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a Texture2D with position defined as Vector2""" - ... + """Draw a Texture2D with position defined as Vector2.""" + ... def draw_triangle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled triangle (vertex in counter-clockwise order!)""" - ... + """Draw a color-filled triangle (vertex in counter-clockwise order!).""" + ... def draw_triangle_3d(v1: Vector3|list|tuple,v2: Vector3|list|tuple,v3: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled triangle (vertex in counter-clockwise order!)""" - ... + """Draw a color-filled triangle (vertex in counter-clockwise order!).""" + ... def draw_triangle_fan(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle fan defined by points (first vertex is the center)""" - ... + """Draw a triangle fan defined by points (first vertex is the center).""" + ... def draw_triangle_lines(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle outline (vertex in counter-clockwise order!)""" - ... + """Draw triangle outline (vertex in counter-clockwise order!).""" + ... def draw_triangle_strip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points""" - ... + """Draw a triangle strip defined by points.""" + ... def draw_triangle_strip_3d(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points""" - ... + """Draw a triangle strip defined by points.""" + ... def enable_cursor() -> None: - """Enables cursor (unlock cursor)""" - ... + """Enables cursor (unlock cursor).""" + ... def enable_event_waiting() -> None: - """Enable waiting for events on EndDrawing(), no automatic event polling""" - ... + """Enable waiting for events on EndDrawing(), no automatic event polling.""" + ... def encode_data_base64(data: str,dataSize: int,outputSize: Any,) -> str: - """Encode data to Base64 string, memory must be MemFree()""" - ... + """Encode data to Base64 string, memory must be MemFree().""" + ... def end_blend_mode() -> None: - """End blending mode (reset to default: alpha blending)""" - ... + """End blending mode (reset to default: alpha blending).""" + ... def end_drawing() -> None: - """End canvas drawing and swap buffers (double buffering)""" - ... + """End canvas drawing and swap buffers (double buffering).""" + ... def end_mode_2d() -> None: - """Ends 2D mode with custom camera""" - ... + """Ends 2D mode with custom camera.""" + ... def end_mode_3d() -> None: - """Ends 3D mode and returns to default 2D orthographic mode""" - ... + """Ends 3D mode and returns to default 2D orthographic mode.""" + ... def end_scissor_mode() -> None: - """End scissor mode""" - ... + """End scissor mode.""" + ... def end_shader_mode() -> None: - """End custom shader drawing (use default shader)""" - ... + """End custom shader drawing (use default shader).""" + ... def end_texture_mode() -> None: - """Ends drawing to render texture""" - ... + """Ends drawing to render texture.""" + ... def end_vr_stereo_mode() -> None: - """End stereo rendering (requires VR simulator)""" - ... + """End stereo rendering (requires VR simulator).""" + ... def export_automation_event_list(list_0: AutomationEventList|list|tuple,fileName: str,) -> bool: - """Export automation events list as text file""" - ... + """Export automation events list as text file.""" + ... def export_data_as_code(data: str,dataSize: int,fileName: str,) -> bool: - """Export data to code (.h), returns true on success""" - ... + """Export data to code (.h), returns true on success.""" + ... def export_font_as_code(font: Font|list|tuple,fileName: str,) -> bool: - """Export font as code file, returns true on success""" - ... + """Export font as code file, returns true on success.""" + ... def export_image(image: Image|list|tuple,fileName: str,) -> bool: - """Export image data to file, returns true on success""" - ... + """Export image data to file, returns true on success.""" + ... def export_image_as_code(image: Image|list|tuple,fileName: str,) -> bool: - """Export image as code file defining an array of bytes, returns true on success""" - ... + """Export image as code file defining an array of bytes, returns true on success.""" + ... def export_image_to_memory(image: Image|list|tuple,fileType: str,fileSize: Any,) -> str: - """Export image to memory buffer""" - ... + """Export image to memory buffer.""" + ... def export_mesh(mesh: Mesh|list|tuple,fileName: str,) -> bool: - """Export mesh data to file, returns true on success""" - ... + """Export mesh data to file, returns true on success.""" + ... def export_mesh_as_code(mesh: Mesh|list|tuple,fileName: str,) -> bool: - """Export mesh as code file (.h) defining multiple arrays of vertex attributes""" - ... + """Export mesh as code file (.h) defining multiple arrays of vertex attributes.""" + ... def export_wave(wave: Wave|list|tuple,fileName: str,) -> bool: - """Export wave data to file, returns true on success""" - ... + """Export wave data to file, returns true on success.""" + ... def export_wave_as_code(wave: Wave|list|tuple,fileName: str,) -> bool: - """Export wave sample data to code (.h), returns true on success""" - ... + """Export wave sample data to code (.h), returns true on success.""" + ... def fade(color: Color|list|tuple,alpha: float,) -> Color: - """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" - ... + """Get color with alpha applied, alpha goes from 0.0f to 1.0f.""" + ... def file_exists(fileName: str,) -> bool: - """Check if file exists""" - ... + """Check if file exists.""" + ... def float_equals(x: float,y: float,) -> int: - """""" - ... + """.""" + ... def gen_image_cellular(width: int,height: int,tileSize: int,) -> Image: - """Generate image: cellular algorithm, bigger tileSize means bigger cells""" - ... + """Generate image: cellular algorithm, bigger tileSize means bigger cells.""" + ... def gen_image_checked(width: int,height: int,checksX: int,checksY: int,col1: Color|list|tuple,col2: Color|list|tuple,) -> Image: - """Generate image: checked""" - ... + """Generate image: checked.""" + ... def gen_image_color(width: int,height: int,color: Color|list|tuple,) -> Image: - """Generate image: plain color""" - ... + """Generate image: plain color.""" + ... def gen_image_font_atlas(glyphs: Any|list|tuple,glyphRecs: Any|list|tuple,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image: - """Generate image font atlas using chars info""" - ... + """Generate image font atlas using chars info.""" + ... def gen_image_gradient_linear(width: int,height: int,direction: int,start: Color|list|tuple,end: Color|list|tuple,) -> Image: - """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient""" - ... + """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient.""" + ... def gen_image_gradient_radial(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image: - """Generate image: radial gradient""" - ... + """Generate image: radial gradient.""" + ... def gen_image_gradient_square(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image: - """Generate image: square gradient""" - ... + """Generate image: square gradient.""" + ... def gen_image_perlin_noise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image: - """Generate image: perlin noise""" - ... + """Generate image: perlin noise.""" + ... def gen_image_text(width: int,height: int,text: str,) -> Image: - """Generate image: grayscale image from text data""" - ... + """Generate image: grayscale image from text data.""" + ... def gen_image_white_noise(width: int,height: int,factor: float,) -> Image: - """Generate image: white noise""" - ... + """Generate image: white noise.""" + ... def gen_mesh_cone(radius: float,height: float,slices: int,) -> Mesh: - """Generate cone/pyramid mesh""" - ... + """Generate cone/pyramid mesh.""" + ... def gen_mesh_cube(width: float,height: float,length: float,) -> Mesh: - """Generate cuboid mesh""" - ... + """Generate cuboid mesh.""" + ... def gen_mesh_cubicmap(cubicmap: Image|list|tuple,cubeSize: Vector3|list|tuple,) -> Mesh: - """Generate cubes-based map mesh from image data""" - ... + """Generate cubes-based map mesh from image data.""" + ... def gen_mesh_cylinder(radius: float,height: float,slices: int,) -> Mesh: - """Generate cylinder mesh""" - ... + """Generate cylinder mesh.""" + ... def gen_mesh_heightmap(heightmap: Image|list|tuple,size: Vector3|list|tuple,) -> Mesh: - """Generate heightmap mesh from image data""" - ... + """Generate heightmap mesh from image data.""" + ... def gen_mesh_hemi_sphere(radius: float,rings: int,slices: int,) -> Mesh: - """Generate half-sphere mesh (no bottom cap)""" - ... + """Generate half-sphere mesh (no bottom cap).""" + ... def gen_mesh_knot(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: - """Generate trefoil knot mesh""" - ... + """Generate trefoil knot mesh.""" + ... def gen_mesh_plane(width: float,length: float,resX: int,resZ: int,) -> Mesh: - """Generate plane mesh (with subdivisions)""" - ... + """Generate plane mesh (with subdivisions).""" + ... def gen_mesh_poly(sides: int,radius: float,) -> Mesh: - """Generate polygonal mesh""" - ... + """Generate polygonal mesh.""" + ... def gen_mesh_sphere(radius: float,rings: int,slices: int,) -> Mesh: - """Generate sphere mesh (standard sphere)""" - ... + """Generate sphere mesh (standard sphere).""" + ... def gen_mesh_tangents(mesh: Any|list|tuple,) -> None: - """Compute mesh tangents""" - ... + """Compute mesh tangents.""" + ... def gen_mesh_torus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: - """Generate torus mesh""" - ... + """Generate torus mesh.""" + ... def gen_texture_mipmaps(texture: Any|list|tuple,) -> None: - """Generate GPU mipmaps for a texture""" - ... + """Generate GPU mipmaps for a texture.""" + ... def get_application_directory() -> str: - """Get the directory of the running application (uses static string)""" - ... + """Get the directory of the running application (uses static string).""" + ... def get_camera_matrix(camera: Camera3D|list|tuple,) -> Matrix: - """Get camera transform matrix (view matrix)""" - ... + """Get camera transform matrix (view matrix).""" + ... def get_camera_matrix_2d(camera: Camera2D|list|tuple,) -> Matrix: - """Get camera 2d transform matrix""" - ... + """Get camera 2d transform matrix.""" + ... def get_char_pressed() -> int: - """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty""" - ... + """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty.""" + ... def get_clipboard_image() -> Image: - """Get clipboard image content""" - ... + """Get clipboard image content.""" + ... def get_clipboard_text() -> str: - """Get clipboard text content""" - ... + """Get clipboard text content.""" + ... def get_codepoint(text: str,codepointSize: Any,) -> int: - """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def get_codepoint_count(text: str,) -> int: - """Get total number of codepoints in a UTF-8 encoded string""" - ... + """Get total number of codepoints in a UTF-8 encoded string.""" + ... def get_codepoint_next(text: str,codepointSize: Any,) -> int: - """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def get_codepoint_previous(text: str,codepointSize: Any,) -> int: - """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def get_collision_rec(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> Rectangle: - """Get collision rectangle for two rectangles collision""" - ... + """Get collision rectangle for two rectangles collision.""" + ... def get_color(hexValue: int,) -> Color: - """Get Color structure from hexadecimal value""" - ... + """Get Color structure from hexadecimal value.""" + ... def get_current_monitor() -> int: - """Get current monitor where window is placed""" - ... + """Get current monitor where window is placed.""" + ... def get_directory_path(filePath: str,) -> str: - """Get full path for a given fileName with path (uses static string)""" - ... + """Get full path for a given fileName with path (uses static string).""" + ... def get_fps() -> int: - """Get current FPS""" - ... + """Get current FPS.""" + ... def get_file_extension(fileName: str,) -> str: - """Get pointer to extension for a filename string (includes dot: '.png')""" - ... + """Get pointer to extension for a filename string (includes dot: '.png').""" + ... def get_file_length(fileName: str,) -> int: - """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)""" - ... + """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h).""" + ... def get_file_mod_time(fileName: str,) -> int: - """Get file modification time (last write time)""" - ... + """Get file modification time (last write time).""" + ... def get_file_name(filePath: str,) -> str: - """Get pointer to filename for a path string""" - ... + """Get pointer to filename for a path string.""" + ... def get_file_name_without_ext(filePath: str,) -> str: - """Get filename string without extension (uses static string)""" - ... + """Get filename string without extension (uses static string).""" + ... def get_font_default() -> Font: - """Get the default Font""" - ... + """Get the default Font.""" + ... def get_frame_time() -> float: - """Get time in seconds for last frame drawn (delta time)""" - ... + """Get time in seconds for last frame drawn (delta time).""" + ... def get_gamepad_axis_count(gamepad: int,) -> int: - """Get gamepad axis count for a gamepad""" - ... + """Get gamepad axis count for a gamepad.""" + ... def get_gamepad_axis_movement(gamepad: int,axis: int,) -> float: - """Get axis movement value for a gamepad axis""" - ... + """Get axis movement value for a gamepad axis.""" + ... def get_gamepad_button_pressed() -> int: - """Get the last gamepad button pressed""" - ... + """Get the last gamepad button pressed.""" + ... def get_gamepad_name(gamepad: int,) -> str: - """Get gamepad internal name id""" - ... + """Get gamepad internal name id.""" + ... def get_gesture_detected() -> int: - """Get latest detected gesture""" - ... + """Get latest detected gesture.""" + ... def get_gesture_drag_angle() -> float: - """Get gesture drag angle""" - ... + """Get gesture drag angle.""" + ... def get_gesture_drag_vector() -> Vector2: - """Get gesture drag vector""" - ... + """Get gesture drag vector.""" + ... def get_gesture_hold_duration() -> float: - """Get gesture hold time in seconds""" - ... + """Get gesture hold time in seconds.""" + ... def get_gesture_pinch_angle() -> float: - """Get gesture pinch angle""" - ... + """Get gesture pinch angle.""" + ... def get_gesture_pinch_vector() -> Vector2: - """Get gesture pinch delta""" - ... + """Get gesture pinch delta.""" + ... def get_glyph_atlas_rec(font: Font|list|tuple,codepoint: int,) -> Rectangle: - """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found.""" + ... def get_glyph_index(font: Font|list|tuple,codepoint: int,) -> int: - """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found.""" + ... def get_glyph_info(font: Font|list|tuple,codepoint: int,) -> GlyphInfo: - """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found.""" + ... def get_image_alpha_border(image: Image|list|tuple,threshold: float,) -> Rectangle: - """Get image alpha border rectangle""" - ... + """Get image alpha border rectangle.""" + ... def get_image_color(image: Image|list|tuple,x: int,y: int,) -> Color: - """Get image pixel color at (x, y) position""" - ... + """Get image pixel color at (x, y) position.""" + ... def get_key_pressed() -> int: - """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty""" - ... + """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty.""" + ... def get_master_volume() -> float: - """Get master volume (listener)""" - ... + """Get master volume (listener).""" + ... def get_mesh_bounding_box(mesh: Mesh|list|tuple,) -> BoundingBox: - """Compute mesh bounding box limits""" - ... + """Compute mesh bounding box limits.""" + ... def get_model_bounding_box(model: Model|list|tuple,) -> BoundingBox: - """Compute model bounding box limits (considers all meshes)""" - ... + """Compute model bounding box limits (considers all meshes).""" + ... def get_monitor_count() -> int: - """Get number of connected monitors""" - ... + """Get number of connected monitors.""" + ... def get_monitor_height(monitor: int,) -> int: - """Get specified monitor height (current video mode used by monitor)""" - ... + """Get specified monitor height (current video mode used by monitor).""" + ... def get_monitor_name(monitor: int,) -> str: - """Get the human-readable, UTF-8 encoded name of the specified monitor""" - ... + """Get the human-readable, UTF-8 encoded name of the specified monitor.""" + ... def get_monitor_physical_height(monitor: int,) -> int: - """Get specified monitor physical height in millimetres""" - ... + """Get specified monitor physical height in millimetres.""" + ... def get_monitor_physical_width(monitor: int,) -> int: - """Get specified monitor physical width in millimetres""" - ... + """Get specified monitor physical width in millimetres.""" + ... def get_monitor_position(monitor: int,) -> Vector2: - """Get specified monitor position""" - ... + """Get specified monitor position.""" + ... def get_monitor_refresh_rate(monitor: int,) -> int: - """Get specified monitor refresh rate""" - ... + """Get specified monitor refresh rate.""" + ... def get_monitor_width(monitor: int,) -> int: - """Get specified monitor width (current video mode used by monitor)""" - ... + """Get specified monitor width (current video mode used by monitor).""" + ... def get_mouse_delta() -> Vector2: - """Get mouse delta between frames""" - ... + """Get mouse delta between frames.""" + ... def get_mouse_position() -> Vector2: - """Get mouse position XY""" - ... + """Get mouse position XY.""" + ... def get_mouse_wheel_move() -> float: - """Get mouse wheel movement for X or Y, whichever is larger""" - ... + """Get mouse wheel movement for X or Y, whichever is larger.""" + ... def get_mouse_wheel_move_v() -> Vector2: - """Get mouse wheel movement for both X and Y""" - ... + """Get mouse wheel movement for both X and Y.""" + ... def get_mouse_x() -> int: - """Get mouse position X""" - ... + """Get mouse position X.""" + ... def get_mouse_y() -> int: - """Get mouse position Y""" - ... + """Get mouse position Y.""" + ... def get_music_time_length(music: Music|list|tuple,) -> float: - """Get music time length (in seconds)""" - ... + """Get music time length (in seconds).""" + ... def get_music_time_played(music: Music|list|tuple,) -> float: - """Get current music time played (in seconds)""" - ... + """Get current music time played (in seconds).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def get_physics_bodies_count() -> int: - """Returns the current amount of created physics bodies""" - ... + """Returns the current amount of created physics bodies.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def get_physics_body(index: int,) -> Any: - """Returns a physics body of the bodies pool at a specific index""" - ... + """Returns a physics body of the bodies pool at a specific index.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def get_physics_shape_type(index: int,) -> int: - """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)""" - ... + """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def get_physics_shape_vertex(body: Any|list|tuple,vertex: int,) -> Vector2: - """Returns transformed position of a body shape (body position + vertex transformed position)""" - ... + """Returns transformed position of a body shape (body position + vertex transformed position).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def get_physics_shape_vertices_count(index: int,) -> int: - """Returns the amount of vertices of a physics body shape""" - ... + """Returns the amount of vertices of a physics body shape.""" + ... def get_pixel_color(srcPtr: Any,format: int,) -> Color: - """Get Color from a source pixel pointer of certain format""" - ... + """Get Color from a source pixel pointer of certain format.""" + ... def get_pixel_data_size(width: int,height: int,format: int,) -> int: - """Get pixel data size in bytes for certain format""" - ... + """Get pixel data size in bytes for certain format.""" + ... def get_prev_directory_path(dirPath: str,) -> str: - """Get previous directory path for a given path (uses static string)""" - ... + """Get previous directory path for a given path (uses static string).""" + ... def get_random_value(min_0: int,max_1: int,) -> int: - """Get a random value between min and max (both included)""" - ... + """Get a random value between min and max (both included).""" + ... def get_ray_collision_box(ray: Ray|list|tuple,box: BoundingBox|list|tuple,) -> RayCollision: - """Get collision info between ray and box""" - ... + """Get collision info between ray and box.""" + ... def get_ray_collision_mesh(ray: Ray|list|tuple,mesh: Mesh|list|tuple,transform: Matrix|list|tuple,) -> RayCollision: - """Get collision info between ray and mesh""" - ... + """Get collision info between ray and mesh.""" + ... def get_ray_collision_quad(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,p4: Vector3|list|tuple,) -> RayCollision: - """Get collision info between ray and quad""" - ... + """Get collision info between ray and quad.""" + ... def get_ray_collision_sphere(ray: Ray|list|tuple,center: Vector3|list|tuple,radius: float,) -> RayCollision: - """Get collision info between ray and sphere""" - ... + """Get collision info between ray and sphere.""" + ... def get_ray_collision_triangle(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,) -> RayCollision: - """Get collision info between ray and triangle""" - ... + """Get collision info between ray and triangle.""" + ... def get_render_height() -> int: - """Get current render height (it considers HiDPI)""" - ... + """Get current render height (it considers HiDPI).""" + ... def get_render_width() -> int: - """Get current render width (it considers HiDPI)""" - ... + """Get current render width (it considers HiDPI).""" + ... def get_screen_height() -> int: - """Get current screen height""" - ... + """Get current screen height.""" + ... def get_screen_to_world_2d(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2: - """Get the world space position for a 2d camera screen space position""" - ... + """Get the world space position for a 2d camera screen space position.""" + ... def get_screen_to_world_ray(position: Vector2|list|tuple,camera: Camera3D|list|tuple,) -> Ray: - """Get a ray trace from screen position (i.e mouse)""" - ... + """Get a ray trace from screen position (i.e mouse).""" + ... def get_screen_to_world_ray_ex(position: Vector2|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Ray: - """Get a ray trace from screen position (i.e mouse) in a viewport""" - ... + """Get a ray trace from screen position (i.e mouse) in a viewport.""" + ... def get_screen_width() -> int: - """Get current screen width""" - ... + """Get current screen width.""" + ... def get_shader_location(shader: Shader|list|tuple,uniformName: str,) -> int: - """Get shader uniform location""" - ... + """Get shader uniform location.""" + ... def get_shader_location_attrib(shader: Shader|list|tuple,attribName: str,) -> int: - """Get shader attribute location""" - ... + """Get shader attribute location.""" + ... def get_shapes_texture() -> Texture: - """Get texture that is used for shapes drawing""" - ... + """Get texture that is used for shapes drawing.""" + ... def get_shapes_texture_rectangle() -> Rectangle: - """Get texture source rectangle that is used for shapes drawing""" - ... + """Get texture source rectangle that is used for shapes drawing.""" + ... def get_spline_point_basis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: B-Spline""" - ... + """Get (evaluate) spline point: B-Spline.""" + ... def get_spline_point_bezier_cubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Cubic Bezier""" - ... + """Get (evaluate) spline point: Cubic Bezier.""" + ... def get_spline_point_bezier_quad(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Quadratic Bezier""" - ... + """Get (evaluate) spline point: Quadratic Bezier.""" + ... def get_spline_point_catmull_rom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Catmull-Rom""" - ... + """Get (evaluate) spline point: Catmull-Rom.""" + ... def get_spline_point_linear(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Linear""" - ... + """Get (evaluate) spline point: Linear.""" + ... def get_time() -> float: - """Get elapsed time in seconds since InitWindow()""" - ... + """Get elapsed time in seconds since InitWindow().""" + ... def get_touch_point_count() -> int: - """Get number of touch points""" - ... + """Get number of touch points.""" + ... def get_touch_point_id(index: int,) -> int: - """Get touch point identifier for given index""" - ... + """Get touch point identifier for given index.""" + ... def get_touch_position(index: int,) -> Vector2: - """Get touch position XY for a touch point index (relative to screen size)""" - ... + """Get touch position XY for a touch point index (relative to screen size).""" + ... def get_touch_x() -> int: - """Get touch position X for touch point 0 (relative to screen size)""" - ... + """Get touch position X for touch point 0 (relative to screen size).""" + ... def get_touch_y() -> int: - """Get touch position Y for touch point 0 (relative to screen size)""" - ... + """Get touch position Y for touch point 0 (relative to screen size).""" + ... def get_window_handle() -> Any: - """Get native window handle""" - ... + """Get native window handle.""" + ... def get_window_position() -> Vector2: - """Get window position XY on monitor""" - ... + """Get window position XY on monitor.""" + ... def get_window_scale_dpi() -> Vector2: - """Get window scale DPI factor""" - ... + """Get window scale DPI factor.""" + ... def get_working_directory() -> str: - """Get current working directory (uses static string)""" - ... + """Get current working directory (uses static string).""" + ... def get_world_to_screen(position: Vector3|list|tuple,camera: Camera3D|list|tuple,) -> Vector2: - """Get the screen space position for a 3d world space position""" - ... + """Get the screen space position for a 3d world space position.""" + ... def get_world_to_screen_2d(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2: - """Get the screen space position for a 2d camera world space position""" - ... + """Get the screen space position for a 2d camera world space position.""" + ... def get_world_to_screen_ex(position: Vector3|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Vector2: - """Get size position for a 3d world space position""" - ... + """Get size position for a 3d world space position.""" + ... def gui_button(bounds: Rectangle|list|tuple,text: str,) -> int: - """Button control, returns true when clicked""" - ... + """Button control, returns true when clicked.""" + ... def gui_check_box(bounds: Rectangle|list|tuple,text: str,checked: Any,) -> int: - """Check Box control, returns true when active""" - ... + """Check Box control, returns true when active.""" + ... def gui_color_bar_alpha(bounds: Rectangle|list|tuple,text: str,alpha: Any,) -> int: - """Color Bar Alpha control""" - ... + """Color Bar Alpha control.""" + ... def gui_color_bar_hue(bounds: Rectangle|list|tuple,text: str,value: Any,) -> int: - """Color Bar Hue control""" - ... + """Color Bar Hue control.""" + ... def gui_color_panel(bounds: Rectangle|list|tuple,text: str,color: Any|list|tuple,) -> int: - """Color Panel control""" - ... + """Color Panel control.""" + ... def gui_color_panel_hsv(bounds: Rectangle|list|tuple,text: str,colorHsv: Any|list|tuple,) -> int: - """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()""" - ... + """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV().""" + ... def gui_color_picker(bounds: Rectangle|list|tuple,text: str,color: Any|list|tuple,) -> int: - """Color Picker control (multiple color controls)""" - ... + """Color Picker control (multiple color controls).""" + ... def gui_color_picker_hsv(bounds: Rectangle|list|tuple,text: str,colorHsv: Any|list|tuple,) -> int: - """Color Picker control that avoids conversion to RGB on each call (multiple color controls)""" - ... + """Color Picker control that avoids conversion to RGB on each call (multiple color controls).""" + ... def gui_combo_box(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int: - """Combo Box control""" - ... + """Combo Box control.""" + ... def gui_disable() -> None: - """Disable gui controls (global state)""" - ... + """Disable gui controls (global state).""" + ... def gui_disable_tooltip() -> None: - """Disable gui tooltips (global state)""" - ... + """Disable gui tooltips (global state).""" + ... def gui_draw_icon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color|list|tuple,) -> None: - """Draw icon using pixel size at specified position""" - ... + """Draw icon using pixel size at specified position.""" + ... def gui_dropdown_box(bounds: Rectangle|list|tuple,text: str,active: Any,editMode: bool,) -> int: - """Dropdown Box control""" - ... + """Dropdown Box control.""" + ... def gui_dummy_rec(bounds: Rectangle|list|tuple,text: str,) -> int: - """Dummy control for placeholders""" - ... + """Dummy control for placeholders.""" + ... def gui_enable() -> None: - """Enable gui controls (global state)""" - ... + """Enable gui controls (global state).""" + ... def gui_enable_tooltip() -> None: - """Enable gui tooltips (global state)""" - ... + """Enable gui tooltips (global state).""" + ... def gui_get_font() -> Font: - """Get gui custom font (global state)""" - ... + """Get gui custom font (global state).""" + ... def gui_get_icons() -> Any: - """Get raygui icons data pointer""" - ... + """Get raygui icons data pointer.""" + ... def gui_get_state() -> int: - """Get gui state (global state)""" - ... + """Get gui state (global state).""" + ... def gui_get_style(control: int,property: int,) -> int: - """Get one style property""" - ... + """Get one style property.""" + ... def gui_grid(bounds: Rectangle|list|tuple,text: str,spacing: float,subdivs: int,mouseCell: Any|list|tuple,) -> int: - """Grid control""" - ... + """Grid control.""" + ... def gui_group_box(bounds: Rectangle|list|tuple,text: str,) -> int: - """Group Box control with text name""" - ... + """Group Box control with text name.""" + ... def gui_icon_text(iconId: int,text: str,) -> str: - """Get text with icon id prepended (if supported)""" - ... + """Get text with icon id prepended (if supported).""" + ... def gui_is_locked() -> bool: - """Check if gui is locked (global state)""" - ... + """Check if gui is locked (global state).""" + ... def gui_label(bounds: Rectangle|list|tuple,text: str,) -> int: - """Label control""" - ... + """Label control.""" + ... def gui_label_button(bounds: Rectangle|list|tuple,text: str,) -> int: - """Label button control, returns true when clicked""" - ... + """Label button control, returns true when clicked.""" + ... def gui_line(bounds: Rectangle|list|tuple,text: str,) -> int: - """Line separator control, could contain text""" - ... + """Line separator control, could contain text.""" + ... def gui_list_view(bounds: Rectangle|list|tuple,text: str,scrollIndex: Any,active: Any,) -> int: - """List View control""" - ... + """List View control.""" + ... def gui_list_view_ex(bounds: Rectangle|list|tuple,text: list[str],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int: - """List View with extended parameters""" - ... + """List View with extended parameters.""" + ... def gui_load_icons(fileName: str,loadIconsName: bool,) -> list[str]: - """Load raygui icons file (.rgi) into internal icons data""" - ... + """Load raygui icons file (.rgi) into internal icons data.""" + ... def gui_load_style(fileName: str,) -> None: - """Load style file over global style variable (.rgs)""" - ... + """Load style file over global style variable (.rgs).""" + ... def gui_load_style_default() -> None: - """Load style default over global style""" - ... + """Load style default over global style.""" + ... def gui_lock() -> None: - """Lock gui controls (global state)""" - ... + """Lock gui controls (global state).""" + ... def gui_message_box(bounds: Rectangle|list|tuple,title: str,message: str,buttons: str,) -> int: - """Message Box control, displays a message""" - ... + """Message Box control, displays a message.""" + ... def gui_panel(bounds: Rectangle|list|tuple,text: str,) -> int: - """Panel control, useful to group controls""" - ... + """Panel control, useful to group controls.""" + ... def gui_progress_bar(bounds: Rectangle|list|tuple,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: - """Progress Bar control""" - ... + """Progress Bar control.""" + ... def gui_scroll_panel(bounds: Rectangle|list|tuple,text: str,content: Rectangle|list|tuple,scroll: Any|list|tuple,view: Any|list|tuple,) -> int: - """Scroll Panel control""" - ... + """Scroll Panel control.""" + ... def gui_set_alpha(alpha: float,) -> None: - """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f""" - ... + """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f.""" + ... def gui_set_font(font: Font|list|tuple,) -> None: - """Set gui custom font (global state)""" - ... + """Set gui custom font (global state).""" + ... def gui_set_icon_scale(scale: int,) -> None: - """Set default icon drawing size""" - ... + """Set default icon drawing size.""" + ... def gui_set_state(state: int,) -> None: - """Set gui state (global state)""" - ... + """Set gui state (global state).""" + ... def gui_set_style(control: int,property: int,value: int,) -> None: - """Set one style property""" - ... + """Set one style property.""" + ... def gui_set_tooltip(tooltip: str,) -> None: - """Set tooltip string""" - ... + """Set tooltip string.""" + ... def gui_slider(bounds: Rectangle|list|tuple,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: - """Slider control""" - ... + """Slider control.""" + ... def gui_slider_bar(bounds: Rectangle|list|tuple,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: - """Slider Bar control""" - ... + """Slider Bar control.""" + ... def gui_spinner(bounds: Rectangle|list|tuple,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: - """Spinner control""" - ... + """Spinner control.""" + ... def gui_status_bar(bounds: Rectangle|list|tuple,text: str,) -> int: - """Status Bar control, shows info text""" - ... + """Status Bar control, shows info text.""" + ... def gui_tab_bar(bounds: Rectangle|list|tuple,text: list[str],count: int,active: Any,) -> int: - """Tab Bar control, returns TAB to be closed or -1""" - ... + """Tab Bar control, returns TAB to be closed or -1.""" + ... def gui_text_box(bounds: Rectangle|list|tuple,text: str,textSize: int,editMode: bool,) -> int: - """Text Box control, updates input text""" - ... + """Text Box control, updates input text.""" + ... def gui_text_input_box(bounds: Rectangle|list|tuple,title: str,message: str,buttons: str,text: str,textMaxSize: int,secretViewActive: Any,) -> int: - """Text Input Box control, ask for text, supports secret""" - ... + """Text Input Box control, ask for text, supports secret.""" + ... def gui_toggle(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int: - """Toggle Button control""" - ... + """Toggle Button control.""" + ... def gui_toggle_group(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int: - """Toggle Group control""" - ... + """Toggle Group control.""" + ... def gui_toggle_slider(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int: - """Toggle Slider control""" - ... + """Toggle Slider control.""" + ... def gui_unlock() -> None: - """Unlock gui controls (global state)""" - ... + """Unlock gui controls (global state).""" + ... def gui_value_box(bounds: Rectangle|list|tuple,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: - """Value Box control, updates input text with numbers""" - ... + """Value Box control, updates input text with numbers.""" + ... def gui_value_box_float(bounds: Rectangle|list|tuple,text: str,textValue: str,value: Any,editMode: bool,) -> int: - """Value box control for float values""" - ... + """Value box control for float values.""" + ... def gui_window_box(bounds: Rectangle|list|tuple,title: str,) -> int: - """Window Box control, shows a window that can be closed""" - ... + """Window Box control, shows a window that can be closed.""" + ... def hide_cursor() -> None: - """Hides cursor""" - ... + """Hides cursor.""" + ... def image_alpha_clear(image: Any|list|tuple,color: Color|list|tuple,threshold: float,) -> None: - """Clear alpha channel to desired color""" - ... + """Clear alpha channel to desired color.""" + ... def image_alpha_crop(image: Any|list|tuple,threshold: float,) -> None: - """Crop image depending on alpha value""" - ... + """Crop image depending on alpha value.""" + ... def image_alpha_mask(image: Any|list|tuple,alphaMask: Image|list|tuple,) -> None: - """Apply alpha mask to image""" - ... + """Apply alpha mask to image.""" + ... def image_alpha_premultiply(image: Any|list|tuple,) -> None: - """Premultiply alpha channel""" - ... + """Premultiply alpha channel.""" + ... def image_blur_gaussian(image: Any|list|tuple,blurSize: int,) -> None: - """Apply Gaussian blur using a box blur approximation""" - ... + """Apply Gaussian blur using a box blur approximation.""" + ... def image_clear_background(dst: Any|list|tuple,color: Color|list|tuple,) -> None: - """Clear image background with given color""" - ... + """Clear image background with given color.""" + ... def image_color_brightness(image: Any|list|tuple,brightness: int,) -> None: - """Modify image color: brightness (-255 to 255)""" - ... + """Modify image color: brightness (-255 to 255).""" + ... def image_color_contrast(image: Any|list|tuple,contrast: float,) -> None: - """Modify image color: contrast (-100 to 100)""" - ... + """Modify image color: contrast (-100 to 100).""" + ... def image_color_grayscale(image: Any|list|tuple,) -> None: - """Modify image color: grayscale""" - ... + """Modify image color: grayscale.""" + ... def image_color_invert(image: Any|list|tuple,) -> None: - """Modify image color: invert""" - ... + """Modify image color: invert.""" + ... def image_color_replace(image: Any|list|tuple,color: Color|list|tuple,replace: Color|list|tuple,) -> None: - """Modify image color: replace color""" - ... + """Modify image color: replace color.""" + ... def image_color_tint(image: Any|list|tuple,color: Color|list|tuple,) -> None: - """Modify image color: tint""" - ... + """Modify image color: tint.""" + ... def image_copy(image: Image|list|tuple,) -> Image: - """Create an image duplicate (useful for transformations)""" - ... + """Create an image duplicate (useful for transformations).""" + ... def image_crop(image: Any|list|tuple,crop: Rectangle|list|tuple,) -> None: - """Crop an image to a defined rectangle""" - ... + """Crop an image to a defined rectangle.""" + ... def image_dither(image: Any|list|tuple,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None: - """Dither image data to 16bpp or lower (Floyd-Steinberg dithering)""" - ... + """Dither image data to 16bpp or lower (Floyd-Steinberg dithering).""" + ... def image_draw(dst: Any|list|tuple,src: Image|list|tuple,srcRec: Rectangle|list|tuple,dstRec: Rectangle|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a source image within a destination image (tint applied to source)""" - ... + """Draw a source image within a destination image (tint applied to source).""" + ... def image_draw_circle(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None: - """Draw a filled circle within an image""" - ... + """Draw a filled circle within an image.""" + ... def image_draw_circle_lines(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None: - """Draw circle outline within an image""" - ... + """Draw circle outline within an image.""" + ... def image_draw_circle_lines_v(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None: - """Draw circle outline within an image (Vector version)""" - ... + """Draw circle outline within an image (Vector version).""" + ... def image_draw_circle_v(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None: - """Draw a filled circle within an image (Vector version)""" - ... + """Draw a filled circle within an image (Vector version).""" + ... def image_draw_line(dst: Any|list|tuple,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None: - """Draw line within an image""" - ... + """Draw line within an image.""" + ... def image_draw_line_ex(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,thick: int,color: Color|list|tuple,) -> None: - """Draw a line defining thickness within an image""" - ... + """Draw a line defining thickness within an image.""" + ... def image_draw_line_v(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw line within an image (Vector version)""" - ... + """Draw line within an image (Vector version).""" + ... def image_draw_pixel(dst: Any|list|tuple,posX: int,posY: int,color: Color|list|tuple,) -> None: - """Draw pixel within an image""" - ... + """Draw pixel within an image.""" + ... def image_draw_pixel_v(dst: Any|list|tuple,position: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw pixel within an image (Vector version)""" - ... + """Draw pixel within an image (Vector version).""" + ... def image_draw_rectangle(dst: Any|list|tuple,posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw rectangle within an image""" - ... + """Draw rectangle within an image.""" + ... def image_draw_rectangle_lines(dst: Any|list|tuple,rec: Rectangle|list|tuple,thick: int,color: Color|list|tuple,) -> None: - """Draw rectangle lines within an image""" - ... + """Draw rectangle lines within an image.""" + ... def image_draw_rectangle_rec(dst: Any|list|tuple,rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None: - """Draw rectangle within an image""" - ... + """Draw rectangle within an image.""" + ... def image_draw_rectangle_v(dst: Any|list|tuple,position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw rectangle within an image (Vector version)""" - ... + """Draw rectangle within an image (Vector version).""" + ... def image_draw_text(dst: Any|list|tuple,text: str,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None: - """Draw text (using default font) within an image (destination)""" - ... + """Draw text (using default font) within an image (destination).""" + ... def image_draw_text_ex(dst: Any|list|tuple,font: Font|list|tuple,text: str,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text (custom sprite font) within an image (destination)""" - ... + """Draw text (custom sprite font) within an image (destination).""" + ... def image_draw_triangle(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle within an image""" - ... + """Draw triangle within an image.""" + ... def image_draw_triangle_ex(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,c1: Color|list|tuple,c2: Color|list|tuple,c3: Color|list|tuple,) -> None: - """Draw triangle with interpolated colors within an image""" - ... + """Draw triangle with interpolated colors within an image.""" + ... def image_draw_triangle_fan(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle fan defined by points within an image (first vertex is the center)""" - ... + """Draw a triangle fan defined by points within an image (first vertex is the center).""" + ... def image_draw_triangle_lines(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle outline within an image""" - ... + """Draw triangle outline within an image.""" + ... def image_draw_triangle_strip(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points within an image""" - ... + """Draw a triangle strip defined by points within an image.""" + ... def image_flip_horizontal(image: Any|list|tuple,) -> None: - """Flip image horizontally""" - ... + """Flip image horizontally.""" + ... def image_flip_vertical(image: Any|list|tuple,) -> None: - """Flip image vertically""" - ... + """Flip image vertically.""" + ... def image_format(image: Any|list|tuple,newFormat: int,) -> None: - """Convert image data to desired format""" - ... + """Convert image data to desired format.""" + ... def image_from_channel(image: Image|list|tuple,selectedChannel: int,) -> Image: - """Create an image from a selected channel of another image (GRAYSCALE)""" - ... + """Create an image from a selected channel of another image (GRAYSCALE).""" + ... def image_from_image(image: Image|list|tuple,rec: Rectangle|list|tuple,) -> Image: - """Create an image from another image piece""" - ... + """Create an image from another image piece.""" + ... def image_kernel_convolution(image: Any|list|tuple,kernel: Any,kernelSize: int,) -> None: - """Apply custom square convolution kernel to image""" - ... + """Apply custom square convolution kernel to image.""" + ... def image_mipmaps(image: Any|list|tuple,) -> None: - """Compute all mipmap levels for a provided image""" - ... + """Compute all mipmap levels for a provided image.""" + ... def image_resize(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None: - """Resize image (Bicubic scaling algorithm)""" - ... + """Resize image (Bicubic scaling algorithm).""" + ... def image_resize_canvas(image: Any|list|tuple,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color|list|tuple,) -> None: - """Resize canvas and fill with color""" - ... + """Resize canvas and fill with color.""" + ... def image_resize_nn(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None: - """Resize image (Nearest-Neighbor scaling algorithm)""" - ... + """Resize image (Nearest-Neighbor scaling algorithm).""" + ... def image_rotate(image: Any|list|tuple,degrees: int,) -> None: - """Rotate image by input angle in degrees (-359 to 359)""" - ... + """Rotate image by input angle in degrees (-359 to 359).""" + ... def image_rotate_ccw(image: Any|list|tuple,) -> None: - """Rotate image counter-clockwise 90deg""" - ... + """Rotate image counter-clockwise 90deg.""" + ... def image_rotate_cw(image: Any|list|tuple,) -> None: - """Rotate image clockwise 90deg""" - ... + """Rotate image clockwise 90deg.""" + ... def image_text(text: str,fontSize: int,color: Color|list|tuple,) -> Image: - """Create an image from text (default font)""" - ... + """Create an image from text (default font).""" + ... def image_text_ex(font: Font|list|tuple,text: str,fontSize: float,spacing: float,tint: Color|list|tuple,) -> Image: - """Create an image from text (custom sprite font)""" - ... + """Create an image from text (custom sprite font).""" + ... def image_to_pot(image: Any|list|tuple,fill: Color|list|tuple,) -> None: - """Convert image to POT (power-of-two)""" - ... + """Convert image to POT (power-of-two).""" + ... def init_audio_device() -> None: - """Initialize audio device and context""" - ... + """Initialize audio device and context.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def init_physics() -> None: - """Initializes physics system""" - ... + """Initializes physics system.""" + ... def init_window(width: int,height: int,title: str,) -> None: - """Initialize window and OpenGL context""" - ... + """Initialize window and OpenGL context.""" + ... def is_audio_device_ready() -> bool: - """Check if audio device has been initialized successfully""" - ... + """Check if audio device has been initialized successfully.""" + ... def is_audio_stream_playing(stream: AudioStream|list|tuple,) -> bool: - """Check if audio stream is playing""" - ... + """Check if audio stream is playing.""" + ... def is_audio_stream_processed(stream: AudioStream|list|tuple,) -> bool: - """Check if any audio stream buffers requires refill""" - ... + """Check if any audio stream buffers requires refill.""" + ... def is_audio_stream_valid(stream: AudioStream|list|tuple,) -> bool: - """Checks if an audio stream is valid (buffers initialized)""" - ... + """Checks if an audio stream is valid (buffers initialized).""" + ... def is_cursor_hidden() -> bool: - """Check if cursor is not visible""" - ... + """Check if cursor is not visible.""" + ... def is_cursor_on_screen() -> bool: - """Check if cursor is on the screen""" - ... + """Check if cursor is on the screen.""" + ... def is_file_dropped() -> bool: - """Check if a file has been dropped into window""" - ... + """Check if a file has been dropped into window.""" + ... def is_file_extension(fileName: str,ext: str,) -> bool: - """Check file extension (including point: .png, .wav)""" - ... + """Check file extension (including point: .png, .wav).""" + ... def is_file_name_valid(fileName: str,) -> bool: - """Check if fileName is valid for the platform/OS""" - ... + """Check if fileName is valid for the platform/OS.""" + ... def is_font_valid(font: Font|list|tuple,) -> bool: - """Check if a font is valid (font data loaded, WARNING: GPU texture not checked)""" - ... + """Check if a font is valid (font data loaded, WARNING: GPU texture not checked).""" + ... def is_gamepad_available(gamepad: int,) -> bool: - """Check if a gamepad is available""" - ... + """Check if a gamepad is available.""" + ... def is_gamepad_button_down(gamepad: int,button: int,) -> bool: - """Check if a gamepad button is being pressed""" - ... + """Check if a gamepad button is being pressed.""" + ... def is_gamepad_button_pressed(gamepad: int,button: int,) -> bool: - """Check if a gamepad button has been pressed once""" - ... + """Check if a gamepad button has been pressed once.""" + ... def is_gamepad_button_released(gamepad: int,button: int,) -> bool: - """Check if a gamepad button has been released once""" - ... + """Check if a gamepad button has been released once.""" + ... def is_gamepad_button_up(gamepad: int,button: int,) -> bool: - """Check if a gamepad button is NOT being pressed""" - ... + """Check if a gamepad button is NOT being pressed.""" + ... def is_gesture_detected(gesture: int,) -> bool: - """Check if a gesture have been detected""" - ... + """Check if a gesture have been detected.""" + ... def is_image_valid(image: Image|list|tuple,) -> bool: - """Check if an image is valid (data and parameters)""" - ... + """Check if an image is valid (data and parameters).""" + ... def is_key_down(key: int,) -> bool: - """Check if a key is being pressed""" - ... + """Check if a key is being pressed.""" + ... def is_key_pressed(key: int,) -> bool: - """Check if a key has been pressed once""" - ... + """Check if a key has been pressed once.""" + ... def is_key_pressed_repeat(key: int,) -> bool: - """Check if a key has been pressed again""" - ... + """Check if a key has been pressed again.""" + ... def is_key_released(key: int,) -> bool: - """Check if a key has been released once""" - ... + """Check if a key has been released once.""" + ... def is_key_up(key: int,) -> bool: - """Check if a key is NOT being pressed""" - ... + """Check if a key is NOT being pressed.""" + ... def is_material_valid(material: Material|list|tuple,) -> bool: - """Check if a material is valid (shader assigned, map textures loaded in GPU)""" - ... + """Check if a material is valid (shader assigned, map textures loaded in GPU).""" + ... def is_model_animation_valid(model: Model|list|tuple,anim: ModelAnimation|list|tuple,) -> bool: - """Check model animation skeleton match""" - ... + """Check model animation skeleton match.""" + ... def is_model_valid(model: Model|list|tuple,) -> bool: - """Check if a model is valid (loaded in GPU, VAO/VBOs)""" - ... + """Check if a model is valid (loaded in GPU, VAO/VBOs).""" + ... def is_mouse_button_down(button: int,) -> bool: - """Check if a mouse button is being pressed""" - ... + """Check if a mouse button is being pressed.""" + ... def is_mouse_button_pressed(button: int,) -> bool: - """Check if a mouse button has been pressed once""" - ... + """Check if a mouse button has been pressed once.""" + ... def is_mouse_button_released(button: int,) -> bool: - """Check if a mouse button has been released once""" - ... + """Check if a mouse button has been released once.""" + ... def is_mouse_button_up(button: int,) -> bool: - """Check if a mouse button is NOT being pressed""" - ... + """Check if a mouse button is NOT being pressed.""" + ... def is_music_stream_playing(music: Music|list|tuple,) -> bool: - """Check if music is playing""" - ... + """Check if music is playing.""" + ... def is_music_valid(music: Music|list|tuple,) -> bool: - """Checks if a music stream is valid (context and buffers initialized)""" - ... + """Checks if a music stream is valid (context and buffers initialized).""" + ... def is_path_file(path: str,) -> bool: - """Check if a given path is a file or a directory""" - ... + """Check if a given path is a file or a directory.""" + ... def is_render_texture_valid(target: RenderTexture|list|tuple,) -> bool: - """Check if a render texture is valid (loaded in GPU)""" - ... + """Check if a render texture is valid (loaded in GPU).""" + ... def is_shader_valid(shader: Shader|list|tuple,) -> bool: - """Check if a shader is valid (loaded on GPU)""" - ... + """Check if a shader is valid (loaded on GPU).""" + ... def is_sound_playing(sound: Sound|list|tuple,) -> bool: - """Check if a sound is currently playing""" - ... + """Check if a sound is currently playing.""" + ... def is_sound_valid(sound: Sound|list|tuple,) -> bool: - """Checks if a sound is valid (data loaded and buffers initialized)""" - ... + """Checks if a sound is valid (data loaded and buffers initialized).""" + ... def is_texture_valid(texture: Texture|list|tuple,) -> bool: - """Check if a texture is valid (loaded in GPU)""" - ... + """Check if a texture is valid (loaded in GPU).""" + ... def is_wave_valid(wave: Wave|list|tuple,) -> bool: - """Checks if wave data is valid (data loaded and parameters)""" - ... + """Checks if wave data is valid (data loaded and parameters).""" + ... def is_window_focused() -> bool: - """Check if window is currently focused""" - ... + """Check if window is currently focused.""" + ... def is_window_fullscreen() -> bool: - """Check if window is currently fullscreen""" - ... + """Check if window is currently fullscreen.""" + ... def is_window_hidden() -> bool: - """Check if window is currently hidden""" - ... + """Check if window is currently hidden.""" + ... def is_window_maximized() -> bool: - """Check if window is currently maximized""" - ... + """Check if window is currently maximized.""" + ... def is_window_minimized() -> bool: - """Check if window is currently minimized""" - ... + """Check if window is currently minimized.""" + ... def is_window_ready() -> bool: - """Check if window has been initialized successfully""" - ... + """Check if window has been initialized successfully.""" + ... def is_window_resized() -> bool: - """Check if window has been resized last frame""" - ... + """Check if window has been resized last frame.""" + ... def is_window_state(flag: int,) -> bool: - """Check if one specific window flag is enabled""" - ... + """Check if one specific window flag is enabled.""" + ... def lerp(start: float,end: float,amount: float,) -> float: - """""" - ... + """.""" + ... def load_audio_stream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream: - """Load audio stream (to stream raw audio pcm data)""" - ... + """Load audio stream (to stream raw audio pcm data).""" + ... def load_automation_event_list(fileName: str,) -> AutomationEventList: - """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS""" - ... + """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS.""" + ... def load_codepoints(text: str,count: Any,) -> Any: - """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter""" - ... + """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter.""" + ... def load_directory_files(dirPath: str,) -> FilePathList: - """Load directory filepaths""" - ... + """Load directory filepaths.""" + ... def load_directory_files_ex(basePath: str,filter: str,scanSubdirs: bool,) -> FilePathList: - """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result""" - ... + """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result.""" + ... def load_dropped_files() -> FilePathList: - """Load dropped filepaths""" - ... + """Load dropped filepaths.""" + ... def load_file_data(fileName: str,dataSize: Any,) -> str: - """Load file data as byte array (read)""" - ... + """Load file data as byte array (read).""" + ... def load_file_text(fileName: str,) -> str: - """Load text data from file (read), returns a '\0' terminated string""" - ... + """Load text data from file (read), returns a '\0' terminated string.""" + ... def load_font(fileName: str,) -> Font: - """Load font from file into GPU memory (VRAM)""" - ... + """Load font from file into GPU memory (VRAM).""" + ... def load_font_data(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any: - """Load font data for further use""" - ... + """Load font data for further use.""" + ... def load_font_ex(fileName: str,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: - """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height""" - ... + """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height.""" + ... def load_font_from_image(image: Image|list|tuple,key: Color|list|tuple,firstChar: int,) -> Font: - """Load font from Image (XNA style)""" - ... + """Load font from Image (XNA style).""" + ... def load_font_from_memory(fileType: str,fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: - """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'""" - ... + """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'.""" + ... def load_image(fileName: str,) -> Image: - """Load image from file into CPU memory (RAM)""" - ... + """Load image from file into CPU memory (RAM).""" + ... def load_image_anim(fileName: str,frames: Any,) -> Image: - """Load image sequence from file (frames appended to image.data)""" - ... + """Load image sequence from file (frames appended to image.data).""" + ... def load_image_anim_from_memory(fileType: str,fileData: str,dataSize: int,frames: Any,) -> Image: - """Load image sequence from memory buffer""" - ... + """Load image sequence from memory buffer.""" + ... def load_image_colors(image: Image|list|tuple,) -> Any: - """Load color data from image as a Color array (RGBA - 32bit)""" - ... + """Load color data from image as a Color array (RGBA - 32bit).""" + ... def load_image_from_memory(fileType: str,fileData: str,dataSize: int,) -> Image: - """Load image from memory buffer, fileType refers to extension: i.e. '.png'""" - ... + """Load image from memory buffer, fileType refers to extension: i.e. '.png'.""" + ... def load_image_from_screen() -> Image: - """Load image from screen buffer and (screenshot)""" - ... + """Load image from screen buffer and (screenshot).""" + ... def load_image_from_texture(texture: Texture|list|tuple,) -> Image: - """Load image from GPU texture data""" - ... + """Load image from GPU texture data.""" + ... def load_image_palette(image: Image|list|tuple,maxPaletteSize: int,colorCount: Any,) -> Any: - """Load colors palette from image as a Color array (RGBA - 32bit)""" - ... + """Load colors palette from image as a Color array (RGBA - 32bit).""" + ... def load_image_raw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image: - """Load image from RAW file data""" - ... + """Load image from RAW file data.""" + ... def load_material_default() -> Material: - """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)""" - ... + """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps).""" + ... def load_materials(fileName: str,materialCount: Any,) -> Any: - """Load materials from model file""" - ... + """Load materials from model file.""" + ... def load_model(fileName: str,) -> Model: - """Load model from files (meshes and materials)""" - ... + """Load model from files (meshes and materials).""" + ... def load_model_animations(fileName: str,animCount: Any,) -> Any: - """Load model animations from file""" - ... + """Load model animations from file.""" + ... def load_model_from_mesh(mesh: Mesh|list|tuple,) -> Model: - """Load model from generated mesh (default material)""" - ... + """Load model from generated mesh (default material).""" + ... def load_music_stream(fileName: str,) -> Music: - """Load music stream from file""" - ... + """Load music stream from file.""" + ... def load_music_stream_from_memory(fileType: str,data: str,dataSize: int,) -> Music: - """Load music stream from data""" - ... + """Load music stream from data.""" + ... def load_random_sequence(count: int,min_1: int,max_2: int,) -> Any: - """Load random values sequence, no values repeated""" - ... + """Load random values sequence, no values repeated.""" + ... def load_render_texture(width: int,height: int,) -> RenderTexture: - """Load texture for rendering (framebuffer)""" - ... + """Load texture for rendering (framebuffer).""" + ... def load_shader(vsFileName: str,fsFileName: str,) -> Shader: - """Load shader from files and bind default locations""" - ... + """Load shader from files and bind default locations.""" + ... def load_shader_from_memory(vsCode: str,fsCode: str,) -> Shader: - """Load shader from code strings and bind default locations""" - ... + """Load shader from code strings and bind default locations.""" + ... def load_sound(fileName: str,) -> Sound: - """Load sound from file""" - ... + """Load sound from file.""" + ... def load_sound_alias(source: Sound|list|tuple,) -> Sound: - """Create a new sound that shares the same sample data as the source sound, does not own the sound data""" - ... + """Create a new sound that shares the same sample data as the source sound, does not own the sound data.""" + ... def load_sound_from_wave(wave: Wave|list|tuple,) -> Sound: - """Load sound from wave data""" - ... + """Load sound from wave data.""" + ... def load_texture(fileName: str,) -> Texture: - """Load texture from file into GPU memory (VRAM)""" - ... + """Load texture from file into GPU memory (VRAM).""" + ... def load_texture_cubemap(image: Image|list|tuple,layout: int,) -> Texture: - """Load cubemap from image, multiple image cubemap layouts supported""" - ... + """Load cubemap from image, multiple image cubemap layouts supported.""" + ... def load_texture_from_image(image: Image|list|tuple,) -> Texture: - """Load texture from image data""" - ... + """Load texture from image data.""" + ... def load_utf8(codepoints: Any,length: int,) -> str: - """Load UTF-8 text encoded from codepoints array""" - ... + """Load UTF-8 text encoded from codepoints array.""" + ... def load_vr_stereo_config(device: VrDeviceInfo|list|tuple,) -> VrStereoConfig: - """Load VR stereo config for VR simulator device parameters""" - ... + """Load VR stereo config for VR simulator device parameters.""" + ... def load_wave(fileName: str,) -> Wave: - """Load wave data from file""" - ... + """Load wave data from file.""" + ... def load_wave_from_memory(fileType: str,fileData: str,dataSize: int,) -> Wave: - """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'""" - ... + """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'.""" + ... def load_wave_samples(wave: Wave|list|tuple,) -> Any: - """Load samples data from wave as a 32bit float data array""" - ... + """Load samples data from wave as a 32bit float data array.""" + ... def make_directory(dirPath: str,) -> int: - """Create directories (including full path requested), returns 0 on success""" - ... + """Create directories (including full path requested), returns 0 on success.""" + ... def matrix_add(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def matrix_decompose(mat: Matrix|list|tuple,translation: Any|list|tuple,rotation: Any|list|tuple,scale: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def matrix_determinant(mat: Matrix|list|tuple,) -> float: - """""" - ... + """.""" + ... def matrix_frustum(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_identity() -> Matrix: - """""" - ... + """.""" + ... def matrix_invert(mat: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def matrix_look_at(eye: Vector3|list|tuple,target: Vector3|list|tuple,up: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def matrix_multiply(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def matrix_ortho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_perspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_rotate(axis: Vector3|list|tuple,angle: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_rotate_x(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_rotate_xyz(angle: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def matrix_rotate_y(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_rotate_z(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_rotate_zyx(angle: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def matrix_scale(x: float,y: float,z: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_subtract(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def matrix_to_float_v(mat: Matrix|list|tuple,) -> float16: - """""" - ... + """.""" + ... def matrix_trace(mat: Matrix|list|tuple,) -> float: - """""" - ... + """.""" + ... def matrix_translate(x: float,y: float,z: float,) -> Matrix: - """""" - ... + """.""" + ... def matrix_transpose(mat: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def maximize_window() -> None: - """Set window state: maximized, if resizable""" - ... + """Set window state: maximized, if resizable.""" + ... def measure_text(text: str,fontSize: int,) -> int: - """Measure string width for default font""" - ... + """Measure string width for default font.""" + ... def measure_text_ex(font: Font|list|tuple,text: str,fontSize: float,spacing: float,) -> Vector2: - """Measure string size for Font""" - ... + """Measure string size for Font.""" + ... def mem_alloc(size: int,) -> Any: - """Internal memory allocator""" - ... + """Internal memory allocator.""" + ... def mem_free(ptr: Any,) -> None: - """Internal memory free""" - ... + """Internal memory free.""" + ... def mem_realloc(ptr: Any,size: int,) -> Any: - """Internal memory reallocator""" - ... + """Internal memory reallocator.""" + ... def minimize_window() -> None: - """Set window state: minimized, if resizable""" - ... + """Set window state: minimized, if resizable.""" + ... def normalize(value: float,start: float,end: float,) -> float: - """""" - ... + """.""" + ... def open_url(url: str,) -> None: - """Open URL with default system browser (if available)""" - ... + """Open URL with default system browser (if available).""" + ... def pause_audio_stream(stream: AudioStream|list|tuple,) -> None: - """Pause audio stream""" - ... + """Pause audio stream.""" + ... def pause_music_stream(music: Music|list|tuple,) -> None: - """Pause music playing""" - ... + """Pause music playing.""" + ... def pause_sound(sound: Sound|list|tuple,) -> None: - """Pause a sound""" - ... + """Pause a sound.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def physics_add_force(body: Any|list|tuple,force: Vector2|list|tuple,) -> None: - """Adds a force to a physics body""" - ... + """Adds a force to a physics body.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def physics_add_torque(body: Any|list|tuple,amount: float,) -> None: - """Adds an angular force to a physics body""" - ... + """Adds an angular force to a physics body.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def physics_shatter(body: Any|list|tuple,position: Vector2|list|tuple,force: float,) -> None: - """Shatters a polygon shape physics body to little physics bodies with explosion force""" - ... + """Shatters a polygon shape physics body to little physics bodies with explosion force.""" + ... def play_audio_stream(stream: AudioStream|list|tuple,) -> None: - """Play audio stream""" - ... + """Play audio stream.""" + ... def play_automation_event(event: AutomationEvent|list|tuple,) -> None: - """Play a recorded automation event""" - ... + """Play a recorded automation event.""" + ... def play_music_stream(music: Music|list|tuple,) -> None: - """Start music playing""" - ... + """Start music playing.""" + ... def play_sound(sound: Sound|list|tuple,) -> None: - """Play a sound""" - ... + """Play a sound.""" + ... def poll_input_events() -> None: - """Register all input events""" - ... + """Register all input events.""" + ... def quaternion_add(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_add_value(q: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_cubic_hermite_spline(q1: Vector4|list|tuple,outTangent1: Vector4|list|tuple,q2: Vector4|list|tuple,inTangent2: Vector4|list|tuple,t: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_divide(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int: - """""" - ... + """.""" + ... def quaternion_from_axis_angle(axis: Vector3|list|tuple,angle: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_from_euler(pitch: float,yaw: float,roll: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_from_matrix(mat: Matrix|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_from_vector3_to_vector3(from_0: Vector3|list|tuple,to: Vector3|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_identity() -> Vector4: - """""" - ... + """.""" + ... def quaternion_invert(q: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_length(q: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def quaternion_lerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_multiply(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_nlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_normalize(q: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_scale(q: Vector4|list|tuple,mul: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_slerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_subtract(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_subtract_value(q: Vector4|list|tuple,sub: float,) -> Vector4: - """""" - ... + """.""" + ... def quaternion_to_axis_angle(q: Vector4|list|tuple,outAxis: Any|list|tuple,outAngle: Any,) -> None: - """""" - ... + """.""" + ... def quaternion_to_euler(q: Vector4|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def quaternion_to_matrix(q: Vector4|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def quaternion_transform(q: Vector4|list|tuple,mat: Matrix|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float: - """""" - ... + """.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def reset_physics() -> None: - """Reset physics system (global variables)""" - ... + """Reset physics system (global variables).""" + ... def restore_window() -> None: - """Set window state: not minimized/maximized""" - ... + """Set window state: not minimized/maximized.""" + ... def resume_audio_stream(stream: AudioStream|list|tuple,) -> None: - """Resume audio stream""" - ... + """Resume audio stream.""" + ... def resume_music_stream(music: Music|list|tuple,) -> None: - """Resume playing paused music""" - ... + """Resume playing paused music.""" + ... def resume_sound(sound: Sound|list|tuple,) -> None: - """Resume a paused sound""" - ... + """Resume a paused sound.""" + ... def save_file_data(fileName: str,data: Any,dataSize: int,) -> bool: - """Save data to file from byte array (write), returns true on success""" - ... + """Save data to file from byte array (write), returns true on success.""" + ... def save_file_text(fileName: str,text: str,) -> bool: - """Save text data to file (write), string must be '\0' terminated, returns true on success""" - ... + """Save text data to file (write), string must be '\0' terminated, returns true on success.""" + ... def seek_music_stream(music: Music|list|tuple,position: float,) -> None: - """Seek music to a position (in seconds)""" - ... + """Seek music to a position (in seconds).""" + ... def set_audio_stream_buffer_size_default(size: int,) -> None: - """Default size for new audio streams""" - ... + """Default size for new audio streams.""" + ... def set_audio_stream_callback(stream: AudioStream|list|tuple,callback: Any,) -> None: - """Audio thread callback to request new data""" - ... + """Audio thread callback to request new data.""" + ... def set_audio_stream_pan(stream: AudioStream|list|tuple,pan: float,) -> None: - """Set pan for audio stream (0.5 is centered)""" - ... + """Set pan for audio stream (0.5 is centered).""" + ... def set_audio_stream_pitch(stream: AudioStream|list|tuple,pitch: float,) -> None: - """Set pitch for audio stream (1.0 is base level)""" - ... + """Set pitch for audio stream (1.0 is base level).""" + ... def set_audio_stream_volume(stream: AudioStream|list|tuple,volume: float,) -> None: - """Set volume for audio stream (1.0 is max level)""" - ... + """Set volume for audio stream (1.0 is max level).""" + ... def set_automation_event_base_frame(frame: int,) -> None: - """Set automation event internal base frame to start recording""" - ... + """Set automation event internal base frame to start recording.""" + ... def set_automation_event_list(list_0: Any|list|tuple,) -> None: - """Set automation event list to record to""" - ... + """Set automation event list to record to.""" + ... def set_clipboard_text(text: str,) -> None: - """Set clipboard text content""" - ... + """Set clipboard text content.""" + ... def set_config_flags(flags: int,) -> None: - """Setup init configuration flags (view FLAGS)""" - ... + """Setup init configuration flags (view FLAGS).""" + ... def set_exit_key(key: int,) -> None: - """Set a custom key to exit program (default is ESC)""" - ... + """Set a custom key to exit program (default is ESC).""" + ... def set_gamepad_mappings(mappings: str,) -> int: - """Set internal gamepad mappings (SDL_GameControllerDB)""" - ... + """Set internal gamepad mappings (SDL_GameControllerDB).""" + ... def set_gamepad_vibration(gamepad: int,leftMotor: float,rightMotor: float,duration: float,) -> None: - """Set gamepad vibration for both motors (duration in seconds)""" - ... + """Set gamepad vibration for both motors (duration in seconds).""" + ... def set_gestures_enabled(flags: int,) -> None: - """Enable a set of gestures using flags""" - ... + """Enable a set of gestures using flags.""" + ... def set_load_file_data_callback(callback: str,) -> None: - """Set custom file binary data loader""" - ... + """Set custom file binary data loader.""" + ... def set_load_file_text_callback(callback: str,) -> None: - """Set custom file text data loader""" - ... + """Set custom file text data loader.""" + ... def set_master_volume(volume: float,) -> None: - """Set master volume (listener)""" - ... + """Set master volume (listener).""" + ... def set_material_texture(material: Any|list|tuple,mapType: int,texture: Texture|list|tuple,) -> None: - """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)""" - ... + """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...).""" + ... def set_model_mesh_material(model: Any|list|tuple,meshId: int,materialId: int,) -> None: - """Set material for a mesh""" - ... + """Set material for a mesh.""" + ... def set_mouse_cursor(cursor: int,) -> None: - """Set mouse cursor""" - ... + """Set mouse cursor.""" + ... def set_mouse_offset(offsetX: int,offsetY: int,) -> None: - """Set mouse offset""" - ... + """Set mouse offset.""" + ... def set_mouse_position(x: int,y: int,) -> None: - """Set mouse position XY""" - ... + """Set mouse position XY.""" + ... def set_mouse_scale(scaleX: float,scaleY: float,) -> None: - """Set mouse scaling""" - ... + """Set mouse scaling.""" + ... def set_music_pan(music: Music|list|tuple,pan: float,) -> None: - """Set pan for a music (0.5 is center)""" - ... + """Set pan for a music (0.5 is center).""" + ... def set_music_pitch(music: Music|list|tuple,pitch: float,) -> None: - """Set pitch for a music (1.0 is base level)""" - ... + """Set pitch for a music (1.0 is base level).""" + ... def set_music_volume(music: Music|list|tuple,volume: float,) -> None: - """Set volume for music (1.0 is max level)""" - ... + """Set volume for music (1.0 is max level).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def set_physics_body_rotation(body: Any|list|tuple,radians: float,) -> None: - """Sets physics body shape transform based on radians parameter""" - ... + """Sets physics body shape transform based on radians parameter.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def set_physics_gravity(x: float,y: float,) -> None: - """Sets physics global gravity force""" - ... + """Sets physics global gravity force.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def set_physics_time_step(delta: float,) -> None: - """Sets physics fixed time step in milliseconds. 1.666666 by default""" - ... + """Sets physics fixed time step in milliseconds. 1.666666 by default.""" + ... def set_pixel_color(dstPtr: Any,color: Color|list|tuple,format: int,) -> None: - """Set color formatted into destination pixel pointer""" - ... + """Set color formatted into destination pixel pointer.""" + ... def set_random_seed(seed: int,) -> None: - """Set the seed for the random number generator""" - ... + """Set the seed for the random number generator.""" + ... def set_save_file_data_callback(callback: str,) -> None: - """Set custom file binary data saver""" - ... + """Set custom file binary data saver.""" + ... def set_save_file_text_callback(callback: str,) -> None: - """Set custom file text data saver""" - ... + """Set custom file text data saver.""" + ... def set_shader_value(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,) -> None: - """Set shader uniform value""" - ... + """Set shader uniform value.""" + ... def set_shader_value_matrix(shader: Shader|list|tuple,locIndex: int,mat: Matrix|list|tuple,) -> None: - """Set shader uniform value (matrix 4x4)""" - ... + """Set shader uniform value (matrix 4x4).""" + ... def set_shader_value_texture(shader: Shader|list|tuple,locIndex: int,texture: Texture|list|tuple,) -> None: - """Set shader uniform value for texture (sampler2d)""" - ... + """Set shader uniform value for texture (sampler2d).""" + ... def set_shader_value_v(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,count: int,) -> None: - """Set shader uniform value vector""" - ... + """Set shader uniform value vector.""" + ... def set_shapes_texture(texture: Texture|list|tuple,source: Rectangle|list|tuple,) -> None: - """Set texture and rectangle to be used on shapes drawing""" - ... + """Set texture and rectangle to be used on shapes drawing.""" + ... def set_sound_pan(sound: Sound|list|tuple,pan: float,) -> None: - """Set pan for a sound (0.5 is center)""" - ... + """Set pan for a sound (0.5 is center).""" + ... def set_sound_pitch(sound: Sound|list|tuple,pitch: float,) -> None: - """Set pitch for a sound (1.0 is base level)""" - ... + """Set pitch for a sound (1.0 is base level).""" + ... def set_sound_volume(sound: Sound|list|tuple,volume: float,) -> None: - """Set volume for a sound (1.0 is max level)""" - ... + """Set volume for a sound (1.0 is max level).""" + ... def set_target_fps(fps: int,) -> None: - """Set target FPS (maximum)""" - ... + """Set target FPS (maximum).""" + ... def set_text_line_spacing(spacing: int,) -> None: - """Set vertical line spacing when drawing with line-breaks""" - ... + """Set vertical line spacing when drawing with line-breaks.""" + ... def set_texture_filter(texture: Texture|list|tuple,filter: int,) -> None: - """Set texture scaling filter mode""" - ... + """Set texture scaling filter mode.""" + ... def set_texture_wrap(texture: Texture|list|tuple,wrap: int,) -> None: - """Set texture wrapping mode""" - ... + """Set texture wrapping mode.""" + ... def set_trace_log_callback(callback: str,) -> None: - """Set custom trace log""" - ... + """Set custom trace log.""" + ... def set_trace_log_level(logLevel: int,) -> None: - """Set the current threshold (minimum) log level""" - ... + """Set the current threshold (minimum) log level.""" + ... def set_window_focused() -> None: - """Set window focused""" - ... + """Set window focused.""" + ... def set_window_icon(image: Image|list|tuple,) -> None: - """Set icon for window (single image, RGBA 32bit)""" - ... + """Set icon for window (single image, RGBA 32bit).""" + ... def set_window_icons(images: Any|list|tuple,count: int,) -> None: - """Set icon for window (multiple images, RGBA 32bit)""" - ... + """Set icon for window (multiple images, RGBA 32bit).""" + ... def set_window_max_size(width: int,height: int,) -> None: - """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)""" - ... + """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE).""" + ... def set_window_min_size(width: int,height: int,) -> None: - """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)""" - ... + """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE).""" + ... def set_window_monitor(monitor: int,) -> None: - """Set monitor for the current window""" - ... + """Set monitor for the current window.""" + ... def set_window_opacity(opacity: float,) -> None: - """Set window opacity [0.0f..1.0f]""" - ... + """Set window opacity [0.0f..1.0f].""" + ... def set_window_position(x: int,y: int,) -> None: - """Set window position on screen""" - ... + """Set window position on screen.""" + ... def set_window_size(width: int,height: int,) -> None: - """Set window dimensions""" - ... + """Set window dimensions.""" + ... def set_window_state(flags: int,) -> None: - """Set window configuration state using flags""" - ... + """Set window configuration state using flags.""" + ... def set_window_title(title: str,) -> None: - """Set title for window""" - ... + """Set title for window.""" + ... def show_cursor() -> None: - """Shows cursor""" - ... + """Shows cursor.""" + ... def start_automation_event_recording() -> None: - """Start recording automation events (AutomationEventList must be set)""" - ... + """Start recording automation events (AutomationEventList must be set).""" + ... def stop_audio_stream(stream: AudioStream|list|tuple,) -> None: - """Stop audio stream""" - ... + """Stop audio stream.""" + ... def stop_automation_event_recording() -> None: - """Stop recording automation events""" - ... + """Stop recording automation events.""" + ... def stop_music_stream(music: Music|list|tuple,) -> None: - """Stop music playing""" - ... + """Stop music playing.""" + ... def stop_sound(sound: Sound|list|tuple,) -> None: - """Stop playing a sound""" - ... + """Stop playing a sound.""" + ... def swap_screen_buffer() -> None: - """Swap back buffer with front buffer (screen drawing)""" - ... + """Swap back buffer with front buffer (screen drawing).""" + ... def take_screenshot(fileName: str,) -> None: - """Takes a screenshot of current screen (filename extension defines format)""" - ... + """Takes a screenshot of current screen (filename extension defines format).""" + ... def text_append(text: str,append: str,position: Any,) -> None: - """Append text at specific position and move cursor!""" - ... + """Append text at specific position and move cursor!.""" + ... def text_copy(dst: str,src: str,) -> int: - """Copy one string to another, returns bytes copied""" - ... + """Copy one string to another, returns bytes copied.""" + ... def text_find_index(text: str,find: str,) -> int: - """Find first text occurrence within a string""" - ... + """Find first text occurrence within a string.""" + ... def text_format(*args) -> str: """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" ... def text_insert(text: str,insert: str,position: int,) -> str: - """Insert text in a position (WARNING: memory must be freed!)""" - ... + """Insert text in a position (WARNING: memory must be freed!).""" + ... def text_is_equal(text1: str,text2: str,) -> bool: - """Check if two text string are equal""" - ... + """Check if two text string are equal.""" + ... def text_join(textList: list[str],count: int,delimiter: str,) -> str: - """Join text strings with delimiter""" - ... + """Join text strings with delimiter.""" + ... def text_length(text: str,) -> int: - """Get text length, checks for '\0' ending""" - ... + """Get text length, checks for '\0' ending.""" + ... def text_replace(text: str,replace: str,by: str,) -> str: - """Replace text string (WARNING: memory must be freed!)""" - ... + """Replace text string (WARNING: memory must be freed!).""" + ... def text_split(text: str,delimiter: str,count: Any,) -> list[str]: - """Split text into multiple strings""" - ... + """Split text into multiple strings.""" + ... def text_subtext(text: str,position: int,length: int,) -> str: - """Get a piece of a text string""" - ... + """Get a piece of a text string.""" + ... def text_to_camel(text: str,) -> str: - """Get Camel case notation version of provided string""" - ... + """Get Camel case notation version of provided string.""" + ... def text_to_float(text: str,) -> float: - """Get float value from text (negative values not supported)""" - ... + """Get float value from text (negative values not supported).""" + ... def text_to_integer(text: str,) -> int: - """Get integer value from text (negative values not supported)""" - ... + """Get integer value from text (negative values not supported).""" + ... def text_to_lower(text: str,) -> str: - """Get lower case version of provided string""" - ... + """Get lower case version of provided string.""" + ... def text_to_pascal(text: str,) -> str: - """Get Pascal case notation version of provided string""" - ... + """Get Pascal case notation version of provided string.""" + ... def text_to_snake(text: str,) -> str: - """Get Snake case notation version of provided string""" - ... + """Get Snake case notation version of provided string.""" + ... def text_to_upper(text: str,) -> str: - """Get upper case version of provided string""" - ... + """Get upper case version of provided string.""" + ... def toggle_borderless_windowed() -> None: - """Toggle window state: borderless windowed, resizes window to match monitor resolution""" - ... + """Toggle window state: borderless windowed, resizes window to match monitor resolution.""" + ... def toggle_fullscreen() -> None: - """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution""" - ... + """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution.""" + ... def trace_log(*args) -> None: """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" ... def unload_audio_stream(stream: AudioStream|list|tuple,) -> None: - """Unload audio stream and free memory""" - ... + """Unload audio stream and free memory.""" + ... def unload_automation_event_list(list_0: AutomationEventList|list|tuple,) -> None: - """Unload automation events list from file""" - ... + """Unload automation events list from file.""" + ... def unload_codepoints(codepoints: Any,) -> None: - """Unload codepoints data from memory""" - ... + """Unload codepoints data from memory.""" + ... def unload_directory_files(files: FilePathList|list|tuple,) -> None: - """Unload filepaths""" - ... + """Unload filepaths.""" + ... def unload_dropped_files(files: FilePathList|list|tuple,) -> None: - """Unload dropped filepaths""" - ... + """Unload dropped filepaths.""" + ... def unload_file_data(data: str,) -> None: - """Unload file data allocated by LoadFileData()""" - ... + """Unload file data allocated by LoadFileData().""" + ... def unload_file_text(text: str,) -> None: - """Unload file text data allocated by LoadFileText()""" - ... + """Unload file text data allocated by LoadFileText().""" + ... def unload_font(font: Font|list|tuple,) -> None: - """Unload font from GPU memory (VRAM)""" - ... + """Unload font from GPU memory (VRAM).""" + ... def unload_font_data(glyphs: Any|list|tuple,glyphCount: int,) -> None: - """Unload font chars info data (RAM)""" - ... + """Unload font chars info data (RAM).""" + ... def unload_image(image: Image|list|tuple,) -> None: - """Unload image from CPU memory (RAM)""" - ... + """Unload image from CPU memory (RAM).""" + ... def unload_image_colors(colors: Any|list|tuple,) -> None: - """Unload color data loaded with LoadImageColors()""" - ... + """Unload color data loaded with LoadImageColors().""" + ... def unload_image_palette(colors: Any|list|tuple,) -> None: - """Unload colors palette loaded with LoadImagePalette()""" - ... + """Unload colors palette loaded with LoadImagePalette().""" + ... def unload_material(material: Material|list|tuple,) -> None: - """Unload material from GPU memory (VRAM)""" - ... + """Unload material from GPU memory (VRAM).""" + ... def unload_mesh(mesh: Mesh|list|tuple,) -> None: - """Unload mesh data from CPU and GPU""" - ... + """Unload mesh data from CPU and GPU.""" + ... def unload_model(model: Model|list|tuple,) -> None: - """Unload model (including meshes) from memory (RAM and/or VRAM)""" - ... + """Unload model (including meshes) from memory (RAM and/or VRAM).""" + ... def unload_model_animation(anim: ModelAnimation|list|tuple,) -> None: - """Unload animation data""" - ... + """Unload animation data.""" + ... def unload_model_animations(animations: Any|list|tuple,animCount: int,) -> None: - """Unload animation array data""" - ... + """Unload animation array data.""" + ... def unload_music_stream(music: Music|list|tuple,) -> None: - """Unload music stream""" - ... + """Unload music stream.""" + ... def unload_random_sequence(sequence: Any,) -> None: - """Unload random values sequence""" - ... + """Unload random values sequence.""" + ... def unload_render_texture(target: RenderTexture|list|tuple,) -> None: - """Unload render texture from GPU memory (VRAM)""" - ... + """Unload render texture from GPU memory (VRAM).""" + ... def unload_shader(shader: Shader|list|tuple,) -> None: - """Unload shader from GPU memory (VRAM)""" - ... + """Unload shader from GPU memory (VRAM).""" + ... def unload_sound(sound: Sound|list|tuple,) -> None: - """Unload sound""" - ... + """Unload sound.""" + ... def unload_sound_alias(alias: Sound|list|tuple,) -> None: - """Unload a sound alias (does not deallocate sample data)""" - ... + """Unload a sound alias (does not deallocate sample data).""" + ... def unload_texture(texture: Texture|list|tuple,) -> None: - """Unload texture from GPU memory (VRAM)""" - ... + """Unload texture from GPU memory (VRAM).""" + ... def unload_utf8(text: str,) -> None: - """Unload UTF-8 text encoded from codepoints array""" - ... + """Unload UTF-8 text encoded from codepoints array.""" + ... def unload_vr_stereo_config(config: VrStereoConfig|list|tuple,) -> None: - """Unload VR stereo config""" - ... + """Unload VR stereo config.""" + ... def unload_wave(wave: Wave|list|tuple,) -> None: - """Unload wave data""" - ... + """Unload wave data.""" + ... def unload_wave_samples(samples: Any,) -> None: - """Unload samples data loaded with LoadWaveSamples()""" - ... + """Unload samples data loaded with LoadWaveSamples().""" + ... def update_audio_stream(stream: AudioStream|list|tuple,data: Any,frameCount: int,) -> None: - """Update audio stream buffers with data""" - ... + """Update audio stream buffers with data.""" + ... def update_camera(camera: Any|list|tuple,mode: int,) -> None: - """Update camera position for selected mode""" - ... + """Update camera position for selected mode.""" + ... def update_camera_pro(camera: Any|list|tuple,movement: Vector3|list|tuple,rotation: Vector3|list|tuple,zoom: float,) -> None: - """Update camera movement/rotation""" - ... + """Update camera movement/rotation.""" + ... def update_mesh_buffer(mesh: Mesh|list|tuple,index: int,data: Any,dataSize: int,offset: int,) -> None: - """Update mesh vertex data in GPU for a specific buffer index""" - ... + """Update mesh vertex data in GPU for a specific buffer index.""" + ... def update_model_animation(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None: - """Update model animation pose (CPU)""" - ... + """Update model animation pose (CPU).""" + ... def update_model_animation_bones(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None: - """Update model animation mesh bone matrices (GPU skinning)""" - ... + """Update model animation mesh bone matrices (GPU skinning).""" + ... def update_music_stream(music: Music|list|tuple,) -> None: - """Updates buffers for music streaming""" - ... + """Updates buffers for music streaming.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def update_physics() -> None: - """Update physics system""" - ... + """Update physics system.""" + ... def update_sound(sound: Sound|list|tuple,data: Any,sampleCount: int,) -> None: - """Update sound buffer with new data""" - ... + """Update sound buffer with new data.""" + ... def update_texture(texture: Texture|list|tuple,pixels: Any,) -> None: - """Update GPU texture with new data""" - ... + """Update GPU texture with new data.""" + ... def update_texture_rec(texture: Texture|list|tuple,rec: Rectangle|list|tuple,pixels: Any,) -> None: - """Update GPU texture rectangle with new data""" - ... + """Update GPU texture rectangle with new data.""" + ... def upload_mesh(mesh: Any|list|tuple,dynamic: bool,) -> None: - """Upload mesh vertex data in GPU and provide VAO/VBO ids""" - ... + """Upload mesh vertex data in GPU and provide VAO/VBO ids.""" + ... def vector2_add(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_add_value(v: Vector2|list|tuple,add: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_angle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector2_clamp(v: Vector2|list|tuple,min_1: Vector2|list|tuple,max_2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_clamp_value(v: Vector2|list|tuple,min_1: float,max_2: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_distance(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector2_distance_sqr(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector2_divide(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_dot_product(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector2_equals(p: Vector2|list|tuple,q: Vector2|list|tuple,) -> int: - """""" - ... + """.""" + ... def vector2_invert(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_length(v: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector2_length_sqr(v: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector2_lerp(v1: Vector2|list|tuple,v2: Vector2|list|tuple,amount: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_line_angle(start: Vector2|list|tuple,end: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector2_max(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_min(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_move_towards(v: Vector2|list|tuple,target: Vector2|list|tuple,maxDistance: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_multiply(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_negate(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_normalize(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_one() -> Vector2: - """""" - ... + """.""" + ... def vector2_reflect(v: Vector2|list|tuple,normal: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_refract(v: Vector2|list|tuple,n: Vector2|list|tuple,r: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_rotate(v: Vector2|list|tuple,angle: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_scale(v: Vector2|list|tuple,scale: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_subtract(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_subtract_value(v: Vector2|list|tuple,sub: float,) -> Vector2: - """""" - ... + """.""" + ... def vector2_transform(v: Vector2|list|tuple,mat: Matrix|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def vector2_zero() -> Vector2: - """""" - ... + """.""" + ... def vector3_add(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_add_value(v: Vector3|list|tuple,add: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_angle(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector3_barycenter(p: Vector3|list|tuple,a: Vector3|list|tuple,b: Vector3|list|tuple,c: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_clamp(v: Vector3|list|tuple,min_1: Vector3|list|tuple,max_2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_clamp_value(v: Vector3|list|tuple,min_1: float,max_2: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_cross_product(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_cubic_hermite(v1: Vector3|list|tuple,tangent1: Vector3|list|tuple,v2: Vector3|list|tuple,tangent2: Vector3|list|tuple,amount: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_distance(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector3_distance_sqr(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector3_divide(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_dot_product(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector3_equals(p: Vector3|list|tuple,q: Vector3|list|tuple,) -> int: - """""" - ... + """.""" + ... def vector3_invert(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_length(v: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector3_length_sqr(v: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector3_lerp(v1: Vector3|list|tuple,v2: Vector3|list|tuple,amount: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_max(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_min(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_move_towards(v: Vector3|list|tuple,target: Vector3|list|tuple,maxDistance: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_multiply(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_negate(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_normalize(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_one() -> Vector3: - """""" - ... + """.""" + ... def vector3_ortho_normalize(v1: Any|list|tuple,v2: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def vector3_perpendicular(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_project(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_reflect(v: Vector3|list|tuple,normal: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_refract(v: Vector3|list|tuple,n: Vector3|list|tuple,r: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_reject(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_rotate_by_axis_angle(v: Vector3|list|tuple,axis: Vector3|list|tuple,angle: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_rotate_by_quaternion(v: Vector3|list|tuple,q: Vector4|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_scale(v: Vector3|list|tuple,scalar: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_subtract(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_subtract_value(v: Vector3|list|tuple,sub: float,) -> Vector3: - """""" - ... + """.""" + ... def vector3_to_float_v(v: Vector3|list|tuple,) -> float3: - """""" - ... + """.""" + ... def vector3_transform(v: Vector3|list|tuple,mat: Matrix|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_unproject(source: Vector3|list|tuple,projection: Matrix|list|tuple,view: Matrix|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def vector3_zero() -> Vector3: - """""" - ... + """.""" + ... def vector4_add(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_add_value(v: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def vector4_distance(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector4_distance_sqr(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector4_divide(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_dot_product(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector4_equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int: - """""" - ... + """.""" + ... def vector4_invert(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_length(v: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector4_length_sqr(v: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def vector4_lerp(v1: Vector4|list|tuple,v2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def vector4_max(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_min(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_move_towards(v: Vector4|list|tuple,target: Vector4|list|tuple,maxDistance: float,) -> Vector4: - """""" - ... + """.""" + ... def vector4_multiply(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_negate(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_normalize(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_one() -> Vector4: - """""" - ... + """.""" + ... def vector4_scale(v: Vector4|list|tuple,scale: float,) -> Vector4: - """""" - ... + """.""" + ... def vector4_subtract(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def vector4_subtract_value(v: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def vector4_zero() -> Vector4: - """""" - ... + """.""" + ... def wait_time(seconds: float,) -> None: - """Wait for some time (halt program execution)""" - ... + """Wait for some time (halt program execution).""" + ... def wave_copy(wave: Wave|list|tuple,) -> Wave: - """Copy a wave to a new wave""" - ... + """Copy a wave to a new wave.""" + ... def wave_crop(wave: Any|list|tuple,initFrame: int,finalFrame: int,) -> None: - """Crop a wave to defined frames range""" - ... + """Crop a wave to defined frames range.""" + ... def wave_format(wave: Any|list|tuple,sampleRate: int,sampleSize: int,channels: int,) -> None: - """Convert wave data to desired format""" - ... + """Convert wave data to desired format.""" + ... def window_should_close() -> bool: - """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)""" - ... + """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked).""" + ... def wrap(value: float,min_1: float,max_2: float,) -> float: - """""" - ... + """.""" + ... def glfw_create_cursor(image: Any|list|tuple,xhot: int,yhot: int,) -> Any: - """""" - ... + """.""" + ... def glfw_create_standard_cursor(shape: int,) -> Any: - """""" - ... + """.""" + ... def glfw_create_window(width: int,height: int,title: str,monitor: Any|list|tuple,share: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_default_window_hints() -> None: - """""" - ... + """.""" + ... def glfw_destroy_cursor(cursor: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_destroy_window(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_extension_supported(extension: str,) -> int: - """""" - ... + """.""" + ... def glfw_focus_window(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_get_clipboard_string(window: Any|list|tuple,) -> str: - """""" - ... + """.""" + ... def glfw_get_current_context() -> Any: - """""" - ... + """.""" + ... def glfw_get_cursor_pos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_error(description: list[str],) -> int: - """""" - ... + """.""" + ... def glfw_get_framebuffer_size(window: Any|list|tuple,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_gamepad_name(jid: int,) -> str: - """""" - ... + """.""" + ... def glfw_get_gamepad_state(jid: int,state: Any|list|tuple,) -> int: - """""" - ... + """.""" + ... def glfw_get_gamma_ramp(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_get_input_mode(window: Any|list|tuple,mode: int,) -> int: - """""" - ... + """.""" + ... def glfw_get_joystick_axes(jid: int,count: Any,) -> Any: - """""" - ... + """.""" + ... def glfw_get_joystick_buttons(jid: int,count: Any,) -> str: - """""" - ... + """.""" + ... def glfw_get_joystick_guid(jid: int,) -> str: - """""" - ... + """.""" + ... def glfw_get_joystick_hats(jid: int,count: Any,) -> str: - """""" - ... + """.""" + ... def glfw_get_joystick_name(jid: int,) -> str: - """""" - ... + """.""" + ... def glfw_get_joystick_user_pointer(jid: int,) -> Any: - """""" - ... + """.""" + ... def glfw_get_key(window: Any|list|tuple,key: int,) -> int: - """""" - ... + """.""" + ... def glfw_get_key_name(key: int,scancode: int,) -> str: - """""" - ... + """.""" + ... def glfw_get_key_scancode(key: int,) -> int: - """""" - ... + """.""" + ... def glfw_get_monitor_content_scale(monitor: Any|list|tuple,xscale: Any,yscale: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_monitor_name(monitor: Any|list|tuple,) -> str: - """""" - ... + """.""" + ... def glfw_get_monitor_physical_size(monitor: Any|list|tuple,widthMM: Any,heightMM: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_monitor_pos(monitor: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_monitor_user_pointer(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_get_monitor_workarea(monitor: Any|list|tuple,xpos: Any,ypos: Any,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_monitors(count: Any,) -> Any: - """""" - ... + """.""" + ... def glfw_get_mouse_button(window: Any|list|tuple,button: int,) -> int: - """""" - ... + """.""" + ... def glfw_get_platform() -> int: - """""" - ... + """.""" + ... def glfw_get_primary_monitor() -> Any: - """""" - ... + """.""" + ... def glfw_get_proc_address(procname: str,) -> Any: - """""" - ... + """.""" + ... def glfw_get_required_instance_extensions(count: Any,) -> list[str]: - """""" - ... + """.""" + ... def glfw_get_time() -> float: - """""" - ... + """.""" + ... def glfw_get_timer_frequency() -> int: - """""" - ... + """.""" + ... def glfw_get_timer_value() -> int: - """""" - ... + """.""" + ... def glfw_get_version(major: Any,minor: Any,rev: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_version_string() -> str: - """""" - ... + """.""" + ... def glfw_get_video_mode(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_get_video_modes(monitor: Any|list|tuple,count: Any,) -> Any: - """""" - ... + """.""" + ... def glfw_get_window_attrib(window: Any|list|tuple,attrib: int,) -> int: - """""" - ... + """.""" + ... def glfw_get_window_content_scale(window: Any|list|tuple,xscale: Any,yscale: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_window_frame_size(window: Any|list|tuple,left: Any,top: Any,right: Any,bottom: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_window_monitor(window: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_get_window_opacity(window: Any|list|tuple,) -> float: - """""" - ... + """.""" + ... def glfw_get_window_pos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_window_size(window: Any|list|tuple,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfw_get_window_title(window: Any|list|tuple,) -> str: - """""" - ... + """.""" + ... def glfw_get_window_user_pointer(window: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_hide_window(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_iconify_window(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_init() -> int: - """""" - ... + """.""" + ... def glfw_init_allocator(allocator: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_init_hint(hint: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfw_joystick_is_gamepad(jid: int,) -> int: - """""" - ... + """.""" + ... def glfw_joystick_present(jid: int,) -> int: - """""" - ... + """.""" + ... def glfw_make_context_current(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_maximize_window(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_platform_supported(platform: int,) -> int: - """""" - ... + """.""" + ... def glfw_poll_events() -> None: - """""" - ... + """.""" + ... def glfw_post_empty_event() -> None: - """""" - ... + """.""" + ... def glfw_raw_mouse_motion_supported() -> int: - """""" - ... + """.""" + ... def glfw_request_window_attention(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_restore_window(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_set_char_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_char_mods_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_clipboard_string(window: Any|list|tuple,string: str,) -> None: - """""" - ... + """.""" + ... def glfw_set_cursor(window: Any|list|tuple,cursor: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_set_cursor_enter_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_cursor_pos(window: Any|list|tuple,xpos: float,ypos: float,) -> None: - """""" - ... + """.""" + ... def glfw_set_cursor_pos_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_drop_callback(window: Any|list|tuple,callback: list[str]|list|tuple,) -> list[str]: - """""" - ... + """.""" + ... def glfw_set_error_callback(callback: str,) -> str: - """""" - ... + """.""" + ... def glfw_set_framebuffer_size_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_gamma(monitor: Any|list|tuple,gamma: float,) -> None: - """""" - ... + """.""" + ... def glfw_set_gamma_ramp(monitor: Any|list|tuple,ramp: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_set_input_mode(window: Any|list|tuple,mode: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_joystick_callback(callback: Any,) -> Any: - """""" - ... + """.""" + ... def glfw_set_joystick_user_pointer(jid: int,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfw_set_key_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_monitor_callback(callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_monitor_user_pointer(monitor: Any|list|tuple,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfw_set_mouse_button_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_scroll_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_time(time: float,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_aspect_ratio(window: Any|list|tuple,numer: int,denom: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_attrib(window: Any|list|tuple,attrib: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_close_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_content_scale_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_focus_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_icon(window: Any|list|tuple,count: int,images: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_iconify_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_maximize_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_monitor(window: Any|list|tuple,monitor: Any|list|tuple,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_opacity(window: Any|list|tuple,opacity: float,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_pos(window: Any|list|tuple,xpos: int,ypos: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_pos_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_refresh_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_should_close(window: Any|list|tuple,value: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_size(window: Any|list|tuple,width: int,height: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_size_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfw_set_window_size_limits(window: Any|list|tuple,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_title(window: Any|list|tuple,title: str,) -> None: - """""" - ... + """.""" + ... def glfw_set_window_user_pointer(window: Any|list|tuple,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfw_show_window(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_swap_buffers(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfw_swap_interval(interval: int,) -> None: - """""" - ... + """.""" + ... def glfw_terminate() -> None: - """""" - ... + """.""" + ... def glfw_update_gamepad_mappings(string: str,) -> int: - """""" - ... + """.""" + ... def glfw_vulkan_supported() -> int: - """""" - ... + """.""" + ... def glfw_wait_events() -> None: - """""" - ... + """.""" + ... def glfw_wait_events_timeout(timeout: float,) -> None: - """""" - ... + """.""" + ... def glfw_window_hint(hint: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfw_window_hint_string(hint: int,value: str,) -> None: - """""" - ... + """.""" + ... def glfw_window_should_close(window: Any|list|tuple,) -> int: - """""" - ... + """.""" + ... def rl_active_draw_buffers(count: int,) -> None: - """Activate multiple draw color buffers""" - ... + """Activate multiple draw color buffers.""" + ... def rl_active_texture_slot(slot: int,) -> None: - """Select and active a texture slot""" - ... + """Select and active a texture slot.""" + ... def rl_begin(mode: int,) -> None: - """Initialize drawing mode (how to organize vertex)""" - ... + """Initialize drawing mode (how to organize vertex).""" + ... def rl_bind_framebuffer(target: int,framebuffer: int,) -> None: - """Bind framebuffer (FBO)""" - ... + """Bind framebuffer (FBO).""" + ... def rl_bind_image_texture(id: int,index: int,format: int,readonly: bool,) -> None: - """Bind image texture""" - ... + """Bind image texture.""" + ... def rl_bind_shader_buffer(id: int,index: int,) -> None: - """Bind SSBO buffer""" - ... + """Bind SSBO buffer.""" + ... def rl_blit_framebuffer(srcX: int,srcY: int,srcWidth: int,srcHeight: int,dstX: int,dstY: int,dstWidth: int,dstHeight: int,bufferMask: int,) -> None: - """Blit active framebuffer to main framebuffer""" - ... + """Blit active framebuffer to main framebuffer.""" + ... def rl_check_errors() -> None: - """Check and log OpenGL error codes""" - ... + """Check and log OpenGL error codes.""" + ... def rl_check_render_batch_limit(vCount: int,) -> bool: - """Check internal buffer overflow for a given number of vertex""" - ... + """Check internal buffer overflow for a given number of vertex.""" + ... def rl_clear_color(r: int,g: int,b: int,a: int,) -> None: - """Clear color buffer with color""" - ... + """Clear color buffer with color.""" + ... def rl_clear_screen_buffers() -> None: - """Clear used screen buffers (color and depth)""" - ... + """Clear used screen buffers (color and depth).""" + ... def rl_color3f(x: float,y: float,z: float,) -> None: - """Define one vertex (color) - 3 float""" - ... + """Define one vertex (color) - 3 float.""" + ... def rl_color4f(x: float,y: float,z: float,w: float,) -> None: - """Define one vertex (color) - 4 float""" - ... + """Define one vertex (color) - 4 float.""" + ... def rl_color4ub(r: int,g: int,b: int,a: int,) -> None: - """Define one vertex (color) - 4 byte""" - ... + """Define one vertex (color) - 4 byte.""" + ... def rl_color_mask(r: bool,g: bool,b: bool,a: bool,) -> None: - """Color mask control""" - ... + """Color mask control.""" + ... def rl_compile_shader(shaderCode: str,type: int,) -> int: - """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)""" - ... + """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER).""" + ... def rl_compute_shader_dispatch(groupX: int,groupY: int,groupZ: int,) -> None: - """Dispatch compute shader (equivalent to *draw* for graphics pipeline)""" - ... + """Dispatch compute shader (equivalent to *draw* for graphics pipeline).""" + ... def rl_copy_shader_buffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None: - """Copy SSBO data between buffers""" - ... + """Copy SSBO data between buffers.""" + ... def rl_cubemap_parameters(id: int,param: int,value: int,) -> None: - """Set cubemap parameters (filter, wrap)""" - ... + """Set cubemap parameters (filter, wrap).""" + ... def rl_disable_backface_culling() -> None: - """Disable backface culling""" - ... + """Disable backface culling.""" + ... def rl_disable_color_blend() -> None: - """Disable color blending""" - ... + """Disable color blending.""" + ... def rl_disable_depth_mask() -> None: - """Disable depth write""" - ... + """Disable depth write.""" + ... def rl_disable_depth_test() -> None: - """Disable depth test""" - ... + """Disable depth test.""" + ... def rl_disable_framebuffer() -> None: - """Disable render texture (fbo), return to default framebuffer""" - ... + """Disable render texture (fbo), return to default framebuffer.""" + ... def rl_disable_scissor_test() -> None: - """Disable scissor test""" - ... + """Disable scissor test.""" + ... def rl_disable_shader() -> None: - """Disable shader program""" - ... + """Disable shader program.""" + ... def rl_disable_smooth_lines() -> None: - """Disable line aliasing""" - ... + """Disable line aliasing.""" + ... def rl_disable_stereo_render() -> None: - """Disable stereo rendering""" - ... + """Disable stereo rendering.""" + ... def rl_disable_texture() -> None: - """Disable texture""" - ... + """Disable texture.""" + ... def rl_disable_texture_cubemap() -> None: - """Disable texture cubemap""" - ... + """Disable texture cubemap.""" + ... def rl_disable_vertex_array() -> None: - """Disable vertex array (VAO, if supported)""" - ... + """Disable vertex array (VAO, if supported).""" + ... def rl_disable_vertex_attribute(index: int,) -> None: - """Disable vertex attribute index""" - ... + """Disable vertex attribute index.""" + ... def rl_disable_vertex_buffer() -> None: - """Disable vertex buffer (VBO)""" - ... + """Disable vertex buffer (VBO).""" + ... def rl_disable_vertex_buffer_element() -> None: - """Disable vertex buffer element (VBO element)""" - ... + """Disable vertex buffer element (VBO element).""" + ... def rl_disable_wire_mode() -> None: - """Disable wire (and point) mode""" - ... + """Disable wire (and point) mode.""" + ... def rl_draw_render_batch(batch: Any|list|tuple,) -> None: - """Draw render batch data (Update->Draw->Reset)""" - ... + """Draw render batch data (Update->Draw->Reset).""" + ... def rl_draw_render_batch_active() -> None: - """Update and draw internal render batch""" - ... + """Update and draw internal render batch.""" + ... def rl_draw_vertex_array(offset: int,count: int,) -> None: - """Draw vertex array (currently active vao)""" - ... + """Draw vertex array (currently active vao).""" + ... def rl_draw_vertex_array_elements(offset: int,count: int,buffer: Any,) -> None: - """Draw vertex array elements""" - ... + """Draw vertex array elements.""" + ... def rl_draw_vertex_array_elements_instanced(offset: int,count: int,buffer: Any,instances: int,) -> None: - """Draw vertex array elements with instancing""" - ... + """Draw vertex array elements with instancing.""" + ... def rl_draw_vertex_array_instanced(offset: int,count: int,instances: int,) -> None: - """Draw vertex array (currently active vao) with instancing""" - ... + """Draw vertex array (currently active vao) with instancing.""" + ... def rl_enable_backface_culling() -> None: - """Enable backface culling""" - ... + """Enable backface culling.""" + ... def rl_enable_color_blend() -> None: - """Enable color blending""" - ... + """Enable color blending.""" + ... def rl_enable_depth_mask() -> None: - """Enable depth write""" - ... + """Enable depth write.""" + ... def rl_enable_depth_test() -> None: - """Enable depth test""" - ... + """Enable depth test.""" + ... def rl_enable_framebuffer(id: int,) -> None: - """Enable render texture (fbo)""" - ... + """Enable render texture (fbo).""" + ... def rl_enable_point_mode() -> None: - """Enable point mode""" - ... + """Enable point mode.""" + ... def rl_enable_scissor_test() -> None: - """Enable scissor test""" - ... + """Enable scissor test.""" + ... def rl_enable_shader(id: int,) -> None: - """Enable shader program""" - ... + """Enable shader program.""" + ... def rl_enable_smooth_lines() -> None: - """Enable line aliasing""" - ... + """Enable line aliasing.""" + ... def rl_enable_stereo_render() -> None: - """Enable stereo rendering""" - ... + """Enable stereo rendering.""" + ... def rl_enable_texture(id: int,) -> None: - """Enable texture""" - ... + """Enable texture.""" + ... def rl_enable_texture_cubemap(id: int,) -> None: - """Enable texture cubemap""" - ... + """Enable texture cubemap.""" + ... def rl_enable_vertex_array(vaoId: int,) -> bool: - """Enable vertex array (VAO, if supported)""" - ... + """Enable vertex array (VAO, if supported).""" + ... def rl_enable_vertex_attribute(index: int,) -> None: - """Enable vertex attribute index""" - ... + """Enable vertex attribute index.""" + ... def rl_enable_vertex_buffer(id: int,) -> None: - """Enable vertex buffer (VBO)""" - ... + """Enable vertex buffer (VBO).""" + ... def rl_enable_vertex_buffer_element(id: int,) -> None: - """Enable vertex buffer element (VBO element)""" - ... + """Enable vertex buffer element (VBO element).""" + ... def rl_enable_wire_mode() -> None: - """Enable wire mode""" - ... + """Enable wire mode.""" + ... def rl_end() -> None: - """Finish vertex providing""" - ... + """Finish vertex providing.""" + ... def rl_framebuffer_attach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None: - """Attach texture/renderbuffer to a framebuffer""" - ... + """Attach texture/renderbuffer to a framebuffer.""" + ... def rl_framebuffer_complete(id: int,) -> bool: - """Verify framebuffer is complete""" - ... + """Verify framebuffer is complete.""" + ... def rl_frustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: - """""" - ... + """.""" + ... def rl_gen_texture_mipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None: - """Generate mipmap data for selected texture""" - ... + """Generate mipmap data for selected texture.""" + ... def rl_get_active_framebuffer() -> int: - """Get the currently active render texture (fbo), 0 for default framebuffer""" - ... + """Get the currently active render texture (fbo), 0 for default framebuffer.""" + ... def rl_get_cull_distance_far() -> float: - """Get cull plane distance far""" - ... + """Get cull plane distance far.""" + ... def rl_get_cull_distance_near() -> float: - """Get cull plane distance near""" - ... + """Get cull plane distance near.""" + ... def rl_get_framebuffer_height() -> int: - """Get default framebuffer height""" - ... + """Get default framebuffer height.""" + ... def rl_get_framebuffer_width() -> int: - """Get default framebuffer width""" - ... + """Get default framebuffer width.""" + ... def rl_get_gl_texture_formats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None: - """Get OpenGL internal formats""" - ... + """Get OpenGL internal formats.""" + ... def rl_get_line_width() -> float: - """Get the line drawing width""" - ... + """Get the line drawing width.""" + ... def rl_get_location_attrib(shaderId: int,attribName: str,) -> int: - """Get shader location attribute""" - ... + """Get shader location attribute.""" + ... def rl_get_location_uniform(shaderId: int,uniformName: str,) -> int: - """Get shader location uniform""" - ... + """Get shader location uniform.""" + ... def rl_get_matrix_modelview() -> Matrix: - """Get internal modelview matrix""" - ... + """Get internal modelview matrix.""" + ... def rl_get_matrix_projection() -> Matrix: - """Get internal projection matrix""" - ... + """Get internal projection matrix.""" + ... def rl_get_matrix_projection_stereo(eye: int,) -> Matrix: - """Get internal projection matrix for stereo render (selected eye)""" - ... + """Get internal projection matrix for stereo render (selected eye).""" + ... def rl_get_matrix_transform() -> Matrix: - """Get internal accumulated transform matrix""" - ... + """Get internal accumulated transform matrix.""" + ... def rl_get_matrix_view_offset_stereo(eye: int,) -> Matrix: - """Get internal view offset matrix for stereo render (selected eye)""" - ... + """Get internal view offset matrix for stereo render (selected eye).""" + ... def rl_get_pixel_format_name(format: int,) -> str: - """Get name string for pixel format""" - ... + """Get name string for pixel format.""" + ... def rl_get_shader_buffer_size(id: int,) -> int: - """Get SSBO buffer size""" - ... + """Get SSBO buffer size.""" + ... def rl_get_shader_id_default() -> int: - """Get default shader id""" - ... + """Get default shader id.""" + ... def rl_get_shader_locs_default() -> Any: - """Get default shader locations""" - ... + """Get default shader locations.""" + ... def rl_get_texture_id_default() -> int: - """Get default texture id""" - ... + """Get default texture id.""" + ... def rl_get_version() -> int: - """Get current OpenGL version""" - ... + """Get current OpenGL version.""" + ... def rl_is_stereo_render_enabled() -> bool: - """Check if stereo render is enabled""" - ... + """Check if stereo render is enabled.""" + ... def rl_load_compute_shader_program(shaderId: int,) -> int: - """Load compute shader program""" - ... + """Load compute shader program.""" + ... def rl_load_draw_cube() -> None: - """Load and draw a cube""" - ... + """Load and draw a cube.""" + ... def rl_load_draw_quad() -> None: - """Load and draw a quad""" - ... + """Load and draw a quad.""" + ... def rl_load_extensions(loader: Any,) -> None: - """Load OpenGL extensions (loader function required)""" - ... + """Load OpenGL extensions (loader function required).""" + ... def rl_load_framebuffer() -> int: - """Load an empty framebuffer""" - ... + """Load an empty framebuffer.""" + ... def rl_load_identity() -> None: - """Reset current matrix to identity matrix""" - ... + """Reset current matrix to identity matrix.""" + ... def rl_load_render_batch(numBuffers: int,bufferElements: int,) -> rlRenderBatch: - """Load a render batch system""" - ... + """Load a render batch system.""" + ... def rl_load_shader_buffer(size: int,data: Any,usageHint: int,) -> int: - """Load shader storage buffer object (SSBO)""" - ... + """Load shader storage buffer object (SSBO).""" + ... def rl_load_shader_code(vsCode: str,fsCode: str,) -> int: - """Load shader from code strings""" - ... + """Load shader from code strings.""" + ... def rl_load_shader_program(vShaderId: int,fShaderId: int,) -> int: - """Load custom shader program""" - ... + """Load custom shader program.""" + ... def rl_load_texture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int: - """Load texture data""" - ... + """Load texture data.""" + ... def rl_load_texture_cubemap(data: Any,size: int,format: int,mipmapCount: int,) -> int: - """Load texture cubemap data""" - ... + """Load texture cubemap data.""" + ... def rl_load_texture_depth(width: int,height: int,useRenderBuffer: bool,) -> int: - """Load depth texture/renderbuffer (to be attached to fbo)""" - ... + """Load depth texture/renderbuffer (to be attached to fbo).""" + ... def rl_load_vertex_array() -> int: - """Load vertex array (vao) if supported""" - ... + """Load vertex array (vao) if supported.""" + ... def rl_load_vertex_buffer(buffer: Any,size: int,dynamic: bool,) -> int: - """Load a vertex buffer object""" - ... + """Load a vertex buffer object.""" + ... def rl_load_vertex_buffer_element(buffer: Any,size: int,dynamic: bool,) -> int: - """Load vertex buffer elements object""" - ... + """Load vertex buffer elements object.""" + ... def rl_matrix_mode(mode: int,) -> None: - """Choose the current matrix to be transformed""" - ... + """Choose the current matrix to be transformed.""" + ... def rl_mult_matrixf(matf: Any,) -> None: - """Multiply the current matrix by another matrix""" - ... + """Multiply the current matrix by another matrix.""" + ... def rl_normal3f(x: float,y: float,z: float,) -> None: - """Define one vertex (normal) - 3 float""" - ... + """Define one vertex (normal) - 3 float.""" + ... def rl_ortho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: - """""" - ... + """.""" + ... def rl_pop_matrix() -> None: - """Pop latest inserted matrix from stack""" - ... + """Pop latest inserted matrix from stack.""" + ... def rl_push_matrix() -> None: - """Push the current matrix to stack""" - ... + """Push the current matrix to stack.""" + ... def rl_read_screen_pixels(width: int,height: int,) -> str: - """Read screen pixel data (color buffer)""" - ... + """Read screen pixel data (color buffer).""" + ... def rl_read_shader_buffer(id: int,dest: Any,count: int,offset: int,) -> None: - """Read SSBO buffer data (GPU->CPU)""" - ... + """Read SSBO buffer data (GPU->CPU).""" + ... def rl_read_texture_pixels(id: int,width: int,height: int,format: int,) -> Any: - """Read texture pixel data""" - ... + """Read texture pixel data.""" + ... def rl_rotatef(angle: float,x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a rotation matrix""" - ... + """Multiply the current matrix by a rotation matrix.""" + ... def rl_scalef(x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a scaling matrix""" - ... + """Multiply the current matrix by a scaling matrix.""" + ... def rl_scissor(x: int,y: int,width: int,height: int,) -> None: - """Scissor test""" - ... + """Scissor test.""" + ... def rl_set_blend_factors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None: - """Set blending mode factor and equation (using OpenGL factors)""" - ... + """Set blending mode factor and equation (using OpenGL factors).""" + ... def rl_set_blend_factors_separate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstAlpha: int,glEqRGB: int,glEqAlpha: int,) -> None: - """Set blending mode factors and equations separately (using OpenGL factors)""" - ... + """Set blending mode factors and equations separately (using OpenGL factors).""" + ... def rl_set_blend_mode(mode: int,) -> None: - """Set blending mode""" - ... + """Set blending mode.""" + ... def rl_set_clip_planes(nearPlane: float,farPlane: float,) -> None: - """Set clip planes distances""" - ... + """Set clip planes distances.""" + ... def rl_set_cull_face(mode: int,) -> None: - """Set face culling mode""" - ... + """Set face culling mode.""" + ... def rl_set_framebuffer_height(height: int,) -> None: - """Set current framebuffer height""" - ... + """Set current framebuffer height.""" + ... def rl_set_framebuffer_width(width: int,) -> None: - """Set current framebuffer width""" - ... + """Set current framebuffer width.""" + ... def rl_set_line_width(width: float,) -> None: - """Set the line drawing width""" - ... + """Set the line drawing width.""" + ... def rl_set_matrix_modelview(view: Matrix|list|tuple,) -> None: - """Set a custom modelview matrix (replaces internal modelview matrix)""" - ... + """Set a custom modelview matrix (replaces internal modelview matrix).""" + ... def rl_set_matrix_projection(proj: Matrix|list|tuple,) -> None: - """Set a custom projection matrix (replaces internal projection matrix)""" - ... + """Set a custom projection matrix (replaces internal projection matrix).""" + ... def rl_set_matrix_projection_stereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None: - """Set eyes projection matrices for stereo rendering""" - ... + """Set eyes projection matrices for stereo rendering.""" + ... def rl_set_matrix_view_offset_stereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None: - """Set eyes view offsets matrices for stereo rendering""" - ... + """Set eyes view offsets matrices for stereo rendering.""" + ... def rl_set_render_batch_active(batch: Any|list|tuple,) -> None: - """Set the active render batch for rlgl (NULL for default internal)""" - ... + """Set the active render batch for rlgl (NULL for default internal).""" + ... def rl_set_shader(id: int,locs: Any,) -> None: - """Set shader currently active (id and locations)""" - ... + """Set shader currently active (id and locations).""" + ... def rl_set_texture(id: int,) -> None: - """Set current texture for render batch and check buffers limits""" - ... + """Set current texture for render batch and check buffers limits.""" + ... def rl_set_uniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None: - """Set shader value uniform""" - ... + """Set shader value uniform.""" + ... def rl_set_uniform_matrices(locIndex: int,mat: Any|list|tuple,count: int,) -> None: - """Set shader value matrices""" - ... + """Set shader value matrices.""" + ... def rl_set_uniform_matrix(locIndex: int,mat: Matrix|list|tuple,) -> None: - """Set shader value matrix""" - ... + """Set shader value matrix.""" + ... def rl_set_uniform_sampler(locIndex: int,textureId: int,) -> None: - """Set shader value sampler""" - ... + """Set shader value sampler.""" + ... def rl_set_vertex_attribute(index: int,compSize: int,type: int,normalized: bool,stride: int,offset: int,) -> None: - """Set vertex attribute data configuration""" - ... + """Set vertex attribute data configuration.""" + ... def rl_set_vertex_attribute_default(locIndex: int,value: Any,attribType: int,count: int,) -> None: - """Set vertex attribute default value, when attribute to provided""" - ... + """Set vertex attribute default value, when attribute to provided.""" + ... def rl_set_vertex_attribute_divisor(index: int,divisor: int,) -> None: - """Set vertex attribute data divisor""" - ... + """Set vertex attribute data divisor.""" + ... def rl_tex_coord2f(x: float,y: float,) -> None: - """Define one vertex (texture coordinate) - 2 float""" - ... + """Define one vertex (texture coordinate) - 2 float.""" + ... def rl_texture_parameters(id: int,param: int,value: int,) -> None: - """Set texture parameters (filter, wrap)""" - ... + """Set texture parameters (filter, wrap).""" + ... def rl_translatef(x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a translation matrix""" - ... + """Multiply the current matrix by a translation matrix.""" + ... def rl_unload_framebuffer(id: int,) -> None: - """Delete framebuffer from GPU""" - ... + """Delete framebuffer from GPU.""" + ... def rl_unload_render_batch(batch: rlRenderBatch|list|tuple,) -> None: - """Unload render batch system""" - ... + """Unload render batch system.""" + ... def rl_unload_shader_buffer(ssboId: int,) -> None: - """Unload shader storage buffer object (SSBO)""" - ... + """Unload shader storage buffer object (SSBO).""" + ... def rl_unload_shader_program(id: int,) -> None: - """Unload shader program""" - ... + """Unload shader program.""" + ... def rl_unload_texture(id: int,) -> None: - """Unload texture from GPU memory""" - ... + """Unload texture from GPU memory.""" + ... def rl_unload_vertex_array(vaoId: int,) -> None: - """Unload vertex array (vao)""" - ... + """Unload vertex array (vao).""" + ... def rl_unload_vertex_buffer(vboId: int,) -> None: - """Unload vertex buffer object""" - ... + """Unload vertex buffer object.""" + ... def rl_update_shader_buffer(id: int,data: Any,dataSize: int,offset: int,) -> None: - """Update SSBO buffer data""" - ... + """Update SSBO buffer data.""" + ... def rl_update_texture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None: - """Update texture with new data on GPU""" - ... + """Update texture with new data on GPU.""" + ... def rl_update_vertex_buffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None: - """Update vertex buffer object data on GPU buffer""" - ... + """Update vertex buffer object data on GPU buffer.""" + ... def rl_update_vertex_buffer_elements(id: int,data: Any,dataSize: int,offset: int,) -> None: - """Update vertex buffer elements data on GPU buffer""" - ... + """Update vertex buffer elements data on GPU buffer.""" + ... def rl_vertex2f(x: float,y: float,) -> None: - """Define one vertex (position) - 2 float""" - ... + """Define one vertex (position) - 2 float.""" + ... def rl_vertex2i(x: int,y: int,) -> None: - """Define one vertex (position) - 2 int""" - ... + """Define one vertex (position) - 2 int.""" + ... def rl_vertex3f(x: float,y: float,z: float,) -> None: - """Define one vertex (position) - 3 float""" - ... + """Define one vertex (position) - 3 float.""" + ... def rl_viewport(x: int,y: int,width: int,height: int,) -> None: - """Set the viewport area""" - ... + """Set the viewport area.""" + ... def rlgl_close() -> None: - """De-initialize rlgl (buffers, shaders, textures)""" - ... + """De-initialize rlgl (buffers, shaders, textures).""" + ... def rlgl_init(width: int,height: int,) -> None: - """Initialize rlgl (buffers, shaders, textures, states)""" - ... + """Initialize rlgl (buffers, shaders, textures, states).""" + ... class AudioStream: """AudioStream, custom audio stream.""" def __init__(self, buffer: Any|None = None, processor: Any|None = None, sampleRate: int|None = None, sampleSize: int|None = None, channels: int|None = None): diff --git a/raylib/__init__.pyi b/raylib/__init__.pyi index 307658b..fcfc1df 100644 --- a/raylib/__init__.pyi +++ b/raylib/__init__.pyi @@ -1,5 +1,5 @@ from typing import Any - +from warnings import deprecated import _cffi_backend # type: ignore ffi: _cffi_backend.FFI @@ -12,11 +12,11 @@ ARROWS_SIZE: int ARROWS_VISIBLE: int ARROW_PADDING: int def AttachAudioMixedProcessor(processor: Any,) -> None: - """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'""" - ... + """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'.""" + ... def AttachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None: - """Attach audio stream processor to stream, receives the samples as 'float'""" - ... + """Attach audio stream processor to stream, receives the samples as 'float'.""" + ... BACKGROUND_COLOR: int BASE_COLOR_DISABLED: int BASE_COLOR_FOCUSED: int @@ -37,29 +37,29 @@ BORDER_COLOR_PRESSED: int BORDER_WIDTH: int BUTTON: int def BeginBlendMode(mode: int,) -> None: - """Begin blending mode (alpha, additive, multiplied, subtract, custom)""" - ... + """Begin blending mode (alpha, additive, multiplied, subtract, custom).""" + ... def BeginDrawing() -> None: - """Setup canvas (framebuffer) to start drawing""" - ... + """Setup canvas (framebuffer) to start drawing.""" + ... def BeginMode2D(camera: Camera2D|list|tuple,) -> None: - """Begin 2D mode with custom camera (2D)""" - ... + """Begin 2D mode with custom camera (2D).""" + ... def BeginMode3D(camera: Camera3D|list|tuple,) -> None: - """Begin 3D mode with custom camera (3D)""" - ... + """Begin 3D mode with custom camera (3D).""" + ... def BeginScissorMode(x: int,y: int,width: int,height: int,) -> None: - """Begin scissor mode (define screen area for following drawing)""" - ... + """Begin scissor mode (define screen area for following drawing).""" + ... def BeginShaderMode(shader: Shader|list|tuple,) -> None: - """Begin custom shader drawing""" - ... + """Begin custom shader drawing.""" + ... def BeginTextureMode(target: RenderTexture|list|tuple,) -> None: - """Begin drawing to render texture""" - ... + """Begin drawing to render texture.""" + ... def BeginVrStereoMode(config: VrStereoConfig|list|tuple,) -> None: - """Begin stereo rendering (requires VR simulator)""" - ... + """Begin stereo rendering (requires VR simulator).""" + ... CAMERA_CUSTOM: int CAMERA_FIRST_PERSON: int CAMERA_FREE: int @@ -80,493 +80,498 @@ CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR: int CUBEMAP_LAYOUT_LINE_HORIZONTAL: int CUBEMAP_LAYOUT_LINE_VERTICAL: int def ChangeDirectory(dir: bytes,) -> bool: - """Change working directory, return true on success""" - ... + """Change working directory, return true on success.""" + ... def CheckCollisionBoxSphere(box: BoundingBox|list|tuple,center: Vector3|list|tuple,radius: float,) -> bool: - """Check collision between box and sphere""" - ... + """Check collision between box and sphere.""" + ... def CheckCollisionBoxes(box1: BoundingBox|list|tuple,box2: BoundingBox|list|tuple,) -> bool: - """Check collision between two bounding boxes""" - ... + """Check collision between two bounding boxes.""" + ... def CheckCollisionCircleLine(center: Vector2|list|tuple,radius: float,p1: Vector2|list|tuple,p2: Vector2|list|tuple,) -> bool: - """Check if circle collides with a line created betweeen two points [p1] and [p2]""" - ... + """Check if circle collides with a line created betweeen two points [p1] and [p2].""" + ... def CheckCollisionCircleRec(center: Vector2|list|tuple,radius: float,rec: Rectangle|list|tuple,) -> bool: - """Check collision between circle and rectangle""" - ... + """Check collision between circle and rectangle.""" + ... def CheckCollisionCircles(center1: Vector2|list|tuple,radius1: float,center2: Vector2|list|tuple,radius2: float,) -> bool: - """Check collision between two circles""" - ... + """Check collision between two circles.""" + ... def CheckCollisionLines(startPos1: Vector2|list|tuple,endPos1: Vector2|list|tuple,startPos2: Vector2|list|tuple,endPos2: Vector2|list|tuple,collisionPoint: Any|list|tuple,) -> bool: - """Check the collision between two lines defined by two points each, returns collision point by reference""" - ... + """Check the collision between two lines defined by two points each, returns collision point by reference.""" + ... def CheckCollisionPointCircle(point: Vector2|list|tuple,center: Vector2|list|tuple,radius: float,) -> bool: - """Check if point is inside circle""" - ... + """Check if point is inside circle.""" + ... def CheckCollisionPointLine(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,threshold: int,) -> bool: - """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]""" - ... + """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold].""" + ... def CheckCollisionPointPoly(point: Vector2|list|tuple,points: Any|list|tuple,pointCount: int,) -> bool: - """Check if point is within a polygon described by array of vertices""" - ... + """Check if point is within a polygon described by array of vertices.""" + ... def CheckCollisionPointRec(point: Vector2|list|tuple,rec: Rectangle|list|tuple,) -> bool: - """Check if point is inside rectangle""" - ... + """Check if point is inside rectangle.""" + ... def CheckCollisionPointTriangle(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,) -> bool: - """Check if point is inside a triangle""" - ... + """Check if point is inside a triangle.""" + ... def CheckCollisionRecs(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> bool: - """Check collision between two rectangles""" - ... + """Check collision between two rectangles.""" + ... def CheckCollisionSpheres(center1: Vector3|list|tuple,radius1: float,center2: Vector3|list|tuple,radius2: float,) -> bool: - """Check collision between two spheres""" - ... + """Check collision between two spheres.""" + ... def Clamp(value: float,min_1: float,max_2: float,) -> float: - """""" - ... + """.""" + ... def ClearBackground(color: Color|list|tuple,) -> None: - """Set background color (framebuffer clear color)""" - ... + """Set background color (framebuffer clear color).""" + ... def ClearWindowState(flags: int,) -> None: - """Clear window configuration state flags""" - ... + """Clear window configuration state flags.""" + ... def CloseAudioDevice() -> None: - """Close the audio device and context""" - ... + """Close the audio device and context.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def ClosePhysics() -> None: - """Close physics system and unload used memory""" - ... + """Close physics system and unload used memory.""" + ... def CloseWindow() -> None: - """Close window and unload OpenGL context""" - ... + """Close window and unload OpenGL context.""" + ... def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> bytes: - """Encode one codepoint into UTF-8 byte array (array length returned as parameter)""" - ... + """Encode one codepoint into UTF-8 byte array (array length returned as parameter).""" + ... def ColorAlpha(color: Color|list|tuple,alpha: float,) -> Color: - """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" - ... + """Get color with alpha applied, alpha goes from 0.0f to 1.0f.""" + ... def ColorAlphaBlend(dst: Color|list|tuple,src: Color|list|tuple,tint: Color|list|tuple,) -> Color: - """Get src alpha-blended into dst color with tint""" - ... + """Get src alpha-blended into dst color with tint.""" + ... def ColorBrightness(color: Color|list|tuple,factor: float,) -> Color: - """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f""" - ... + """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f.""" + ... def ColorContrast(color: Color|list|tuple,contrast: float,) -> Color: - """Get color with contrast correction, contrast values between -1.0f and 1.0f""" - ... + """Get color with contrast correction, contrast values between -1.0f and 1.0f.""" + ... def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color: - """Get a Color from HSV values, hue [0..360], saturation/value [0..1]""" - ... + """Get a Color from HSV values, hue [0..360], saturation/value [0..1].""" + ... def ColorFromNormalized(normalized: Vector4|list|tuple,) -> Color: - """Get Color from normalized values [0..1]""" - ... + """Get Color from normalized values [0..1].""" + ... def ColorIsEqual(col1: Color|list|tuple,col2: Color|list|tuple,) -> bool: - """Check if two colors are equal""" - ... + """Check if two colors are equal.""" + ... def ColorLerp(color1: Color|list|tuple,color2: Color|list|tuple,factor: float,) -> Color: - """Get color lerp interpolation between two colors, factor [0.0f..1.0f]""" - ... + """Get color lerp interpolation between two colors, factor [0.0f..1.0f].""" + ... def ColorNormalize(color: Color|list|tuple,) -> Vector4: - """Get Color normalized as float [0..1]""" - ... + """Get Color normalized as float [0..1].""" + ... def ColorTint(color: Color|list|tuple,tint: Color|list|tuple,) -> Color: - """Get color multiplied with another color""" - ... + """Get color multiplied with another color.""" + ... def ColorToHSV(color: Color|list|tuple,) -> Vector3: - """Get HSV values for a Color, hue [0..360], saturation/value [0..1]""" - ... + """Get HSV values for a Color, hue [0..360], saturation/value [0..1].""" + ... def ColorToInt(color: Color|list|tuple,) -> int: - """Get hexadecimal value for a Color (0xRRGGBBAA)""" - ... + """Get hexadecimal value for a Color (0xRRGGBBAA).""" + ... def CompressData(data: bytes,dataSize: int,compDataSize: Any,) -> bytes: - """Compress data (DEFLATE algorithm), memory must be MemFree()""" - ... + """Compress data (DEFLATE algorithm), memory must be MemFree().""" + ... def ComputeCRC32(data: bytes,dataSize: int,) -> int: - """Compute CRC32 hash code""" - ... + """Compute CRC32 hash code.""" + ... def ComputeMD5(data: bytes,dataSize: int,) -> Any: - """Compute MD5 hash code, returns static int[4] (16 bytes)""" - ... + """Compute MD5 hash code, returns static int[4] (16 bytes).""" + ... def ComputeSHA1(data: bytes,dataSize: int,) -> Any: - """Compute SHA1 hash code, returns static int[5] (20 bytes)""" - ... + """Compute SHA1 hash code, returns static int[5] (20 bytes).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def CreatePhysicsBodyCircle(pos: Vector2|list|tuple,radius: float,density: float,) -> Any: - """Creates a new circle physics body with generic parameters""" - ... + """Creates a new circle physics body with generic parameters.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def CreatePhysicsBodyPolygon(pos: Vector2|list|tuple,radius: float,sides: int,density: float,) -> Any: - """Creates a new polygon physics body with generic parameters""" - ... + """Creates a new polygon physics body with generic parameters.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def CreatePhysicsBodyRectangle(pos: Vector2|list|tuple,width: float,height: float,density: float,) -> Any: - """Creates a new rectangle physics body with generic parameters""" - ... + """Creates a new rectangle physics body with generic parameters.""" + ... DEFAULT: int DROPDOWNBOX: int DROPDOWN_ARROW_HIDDEN: int DROPDOWN_ITEMS_SPACING: int DROPDOWN_ROLL_UP: int def DecodeDataBase64(data: bytes,outputSize: Any,) -> bytes: - """Decode Base64 string data, memory must be MemFree()""" - ... + """Decode Base64 string data, memory must be MemFree().""" + ... def DecompressData(compData: bytes,compDataSize: int,dataSize: Any,) -> bytes: - """Decompress data (DEFLATE algorithm), memory must be MemFree()""" - ... + """Decompress data (DEFLATE algorithm), memory must be MemFree().""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def DestroyPhysicsBody(body: Any|list|tuple,) -> None: - """Destroy a physics body""" - ... + """Destroy a physics body.""" + ... def DetachAudioMixedProcessor(processor: Any,) -> None: - """Detach audio stream processor from the entire audio pipeline""" - ... + """Detach audio stream processor from the entire audio pipeline.""" + ... def DetachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None: - """Detach audio stream processor from stream""" - ... + """Detach audio stream processor from stream.""" + ... def DirectoryExists(dirPath: bytes,) -> bool: - """Check if a directory path exists""" - ... + """Check if a directory path exists.""" + ... def DisableCursor() -> None: - """Disables cursor (lock cursor)""" - ... + """Disables cursor (lock cursor).""" + ... def DisableEventWaiting() -> None: - """Disable waiting for events on EndDrawing(), automatic events polling""" - ... + """Disable waiting for events on EndDrawing(), automatic events polling.""" + ... def DrawBillboard(camera: Camera3D|list|tuple,texture: Texture|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a billboard texture""" - ... + """Draw a billboard texture.""" + ... def DrawBillboardPro(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,up: Vector3|list|tuple,size: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draw a billboard texture defined by source and rotation""" - ... + """Draw a billboard texture defined by source and rotation.""" + ... def DrawBillboardRec(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,size: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a billboard texture defined by source""" - ... + """Draw a billboard texture defined by source.""" + ... def DrawBoundingBox(box: BoundingBox|list|tuple,color: Color|list|tuple,) -> None: - """Draw bounding box (wires)""" - ... + """Draw bounding box (wires).""" + ... def DrawCapsule(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None: - """Draw a capsule with the center of its sphere caps at startPos and endPos""" - ... + """Draw a capsule with the center of its sphere caps at startPos and endPos.""" + ... def DrawCapsuleWires(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None: - """Draw capsule wireframe with the center of its sphere caps at startPos and endPos""" - ... + """Draw capsule wireframe with the center of its sphere caps at startPos and endPos.""" + ... def DrawCircle(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None: - """Draw a color-filled circle""" - ... + """Draw a color-filled circle.""" + ... def DrawCircle3D(center: Vector3|list|tuple,radius: float,rotationAxis: Vector3|list|tuple,rotationAngle: float,color: Color|list|tuple,) -> None: - """Draw a circle in 3D world space""" - ... + """Draw a circle in 3D world space.""" + ... def DrawCircleGradient(centerX: int,centerY: int,radius: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> None: - """Draw a gradient-filled circle""" - ... + """Draw a gradient-filled circle.""" + ... def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None: - """Draw circle outline""" - ... + """Draw circle outline.""" + ... def DrawCircleLinesV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw circle outline (Vector version)""" - ... + """Draw circle outline (Vector version).""" + ... def DrawCircleSector(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw a piece of a circle""" - ... + """Draw a piece of a circle.""" + ... def DrawCircleSectorLines(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw circle sector outline""" - ... + """Draw circle sector outline.""" + ... def DrawCircleV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw a color-filled circle (Vector version)""" - ... + """Draw a color-filled circle (Vector version).""" + ... def DrawCube(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None: - """Draw cube""" - ... + """Draw cube.""" + ... def DrawCubeV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw cube (Vector version)""" - ... + """Draw cube (Vector version).""" + ... def DrawCubeWires(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None: - """Draw cube wires""" - ... + """Draw cube wires.""" + ... def DrawCubeWiresV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw cube wires (Vector version)""" - ... + """Draw cube wires (Vector version).""" + ... def DrawCylinder(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None: - """Draw a cylinder/cone""" - ... + """Draw a cylinder/cone.""" + ... def DrawCylinderEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None: - """Draw a cylinder with base at startPos and top at endPos""" - ... + """Draw a cylinder with base at startPos and top at endPos.""" + ... def DrawCylinderWires(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None: - """Draw a cylinder/cone wires""" - ... + """Draw a cylinder/cone wires.""" + ... def DrawCylinderWiresEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None: - """Draw a cylinder wires with base at startPos and top at endPos""" - ... + """Draw a cylinder wires with base at startPos and top at endPos.""" + ... def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None: - """Draw ellipse""" - ... + """Draw ellipse.""" + ... def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None: - """Draw ellipse outline""" - ... + """Draw ellipse outline.""" + ... def DrawFPS(posX: int,posY: int,) -> None: - """Draw current FPS""" - ... + """Draw current FPS.""" + ... def DrawGrid(slices: int,spacing: float,) -> None: - """Draw a grid (centered at (0, 0, 0))""" - ... + """Draw a grid (centered at (0, 0, 0)).""" + ... def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None: - """Draw a line""" - ... + """Draw a line.""" + ... def DrawLine3D(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a line in 3D world space""" - ... + """Draw a line in 3D world space.""" + ... def DrawLineBezier(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw line segment cubic-bezier in-out interpolation""" - ... + """Draw line segment cubic-bezier in-out interpolation.""" + ... def DrawLineEx(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw a line (using triangles/quads)""" - ... + """Draw a line (using triangles/quads).""" + ... def DrawLineStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw lines sequence (using gl lines)""" - ... + """Draw lines sequence (using gl lines).""" + ... def DrawLineV(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a line (using gl lines)""" - ... + """Draw a line (using gl lines).""" + ... def DrawMesh(mesh: Mesh|list|tuple,material: Material|list|tuple,transform: Matrix|list|tuple,) -> None: - """Draw a 3d mesh with material and transform""" - ... + """Draw a 3d mesh with material and transform.""" + ... def DrawMeshInstanced(mesh: Mesh|list|tuple,material: Material|list|tuple,transforms: Any|list|tuple,instances: int,) -> None: - """Draw multiple mesh instances with material and different transforms""" - ... + """Draw multiple mesh instances with material and different transforms.""" + ... def DrawModel(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model (with texture if set)""" - ... + """Draw a model (with texture if set).""" + ... def DrawModelEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model with extended parameters""" - ... + """Draw a model with extended parameters.""" + ... def DrawModelPoints(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model as points""" - ... + """Draw a model as points.""" + ... def DrawModelPointsEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model as points with extended parameters""" - ... + """Draw a model as points with extended parameters.""" + ... def DrawModelWires(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None: - """Draw a model wires (with texture if set)""" - ... + """Draw a model wires (with texture if set).""" + ... def DrawModelWiresEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a model wires (with texture if set) with extended parameters""" - ... + """Draw a model wires (with texture if set) with extended parameters.""" + ... def DrawPixel(posX: int,posY: int,color: Color|list|tuple,) -> None: - """Draw a pixel using geometry [Can be slow, use with care]""" - ... + """Draw a pixel using geometry [Can be slow, use with care].""" + ... def DrawPixelV(position: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a pixel using geometry (Vector version) [Can be slow, use with care]""" - ... + """Draw a pixel using geometry (Vector version) [Can be slow, use with care].""" + ... def DrawPlane(centerPos: Vector3|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a plane XZ""" - ... + """Draw a plane XZ.""" + ... def DrawPoint3D(position: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a point in 3D space, actually a small line""" - ... + """Draw a point in 3D space, actually a small line.""" + ... def DrawPoly(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None: - """Draw a regular polygon (Vector version)""" - ... + """Draw a regular polygon (Vector version).""" + ... def DrawPolyLines(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None: - """Draw a polygon outline of n sides""" - ... + """Draw a polygon outline of n sides.""" + ... def DrawPolyLinesEx(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,lineThick: float,color: Color|list|tuple,) -> None: - """Draw a polygon outline of n sides with extended parameters""" - ... + """Draw a polygon outline of n sides with extended parameters.""" + ... def DrawRay(ray: Ray|list|tuple,color: Color|list|tuple,) -> None: - """Draw a ray line""" - ... + """Draw a ray line.""" + ... def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle""" - ... + """Draw a color-filled rectangle.""" + ... def DrawRectangleGradientEx(rec: Rectangle|list|tuple,topLeft: Color|list|tuple,bottomLeft: Color|list|tuple,topRight: Color|list|tuple,bottomRight: Color|list|tuple,) -> None: - """Draw a gradient-filled rectangle with custom vertex colors""" - ... + """Draw a gradient-filled rectangle with custom vertex colors.""" + ... def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,left: Color|list|tuple,right: Color|list|tuple,) -> None: - """Draw a horizontal-gradient-filled rectangle""" - ... + """Draw a horizontal-gradient-filled rectangle.""" + ... def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,top: Color|list|tuple,bottom: Color|list|tuple,) -> None: - """Draw a vertical-gradient-filled rectangle""" - ... + """Draw a vertical-gradient-filled rectangle.""" + ... def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw rectangle outline""" - ... + """Draw rectangle outline.""" + ... def DrawRectangleLinesEx(rec: Rectangle|list|tuple,lineThick: float,color: Color|list|tuple,) -> None: - """Draw rectangle outline with extended parameters""" - ... + """Draw rectangle outline with extended parameters.""" + ... def DrawRectanglePro(rec: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle with pro parameters""" - ... + """Draw a color-filled rectangle with pro parameters.""" + ... def DrawRectangleRec(rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle""" - ... + """Draw a color-filled rectangle.""" + ... def DrawRectangleRounded(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None: - """Draw rectangle with rounded edges""" - ... + """Draw rectangle with rounded edges.""" + ... def DrawRectangleRoundedLines(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None: - """Draw rectangle lines with rounded edges""" - ... + """Draw rectangle lines with rounded edges.""" + ... def DrawRectangleRoundedLinesEx(rec: Rectangle|list|tuple,roundness: float,segments: int,lineThick: float,color: Color|list|tuple,) -> None: - """Draw rectangle with rounded edges outline""" - ... + """Draw rectangle with rounded edges outline.""" + ... def DrawRectangleV(position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled rectangle (Vector version)""" - ... + """Draw a color-filled rectangle (Vector version).""" + ... def DrawRing(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw ring""" - ... + """Draw ring.""" + ... def DrawRingLines(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None: - """Draw ring outline""" - ... + """Draw ring outline.""" + ... def DrawSphere(centerPos: Vector3|list|tuple,radius: float,color: Color|list|tuple,) -> None: - """Draw sphere""" - ... + """Draw sphere.""" + ... def DrawSphereEx(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None: - """Draw sphere with extended parameters""" - ... + """Draw sphere with extended parameters.""" + ... def DrawSphereWires(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None: - """Draw sphere wires""" - ... + """Draw sphere wires.""" + ... def DrawSplineBasis(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: B-Spline, minimum 4 points""" - ... + """Draw spline: B-Spline, minimum 4 points.""" + ... def DrawSplineBezierCubic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]""" - ... + """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...].""" + ... def DrawSplineBezierQuadratic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]""" - ... + """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...].""" + ... def DrawSplineCatmullRom(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Catmull-Rom, minimum 4 points""" - ... + """Draw spline: Catmull-Rom, minimum 4 points.""" + ... def DrawSplineLinear(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None: - """Draw spline: Linear, minimum 2 points""" - ... + """Draw spline: Linear, minimum 2 points.""" + ... def DrawSplineSegmentBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: B-Spline, 4 points""" - ... + """Draw spline segment: B-Spline, 4 points.""" + ... def DrawSplineSegmentBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Cubic Bezier, 2 points, 2 control points""" - ... + """Draw spline segment: Cubic Bezier, 2 points, 2 control points.""" + ... def DrawSplineSegmentBezierQuadratic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Quadratic Bezier, 2 points, 1 control point""" - ... + """Draw spline segment: Quadratic Bezier, 2 points, 1 control point.""" + ... def DrawSplineSegmentCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Catmull-Rom, 4 points""" - ... + """Draw spline segment: Catmull-Rom, 4 points.""" + ... def DrawSplineSegmentLinear(p1: Vector2|list|tuple,p2: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None: - """Draw spline segment: Linear, 2 points""" - ... + """Draw spline segment: Linear, 2 points.""" + ... def DrawText(text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None: - """Draw text (using default font)""" - ... + """Draw text (using default font).""" + ... def DrawTextCodepoint(font: Font|list|tuple,codepoint: int,position: Vector2|list|tuple,fontSize: float,tint: Color|list|tuple,) -> None: - """Draw one character (codepoint)""" - ... + """Draw one character (codepoint).""" + ... def DrawTextCodepoints(font: Font|list|tuple,codepoints: Any,codepointCount: int,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw multiple character (codepoint)""" - ... + """Draw multiple character (codepoint).""" + ... def DrawTextEx(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text using font and additional parameters""" - ... + """Draw text using font and additional parameters.""" + ... def DrawTextPro(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text using Font and pro parameters (rotation)""" - ... + """Draw text using Font and pro parameters (rotation).""" + ... def DrawTexture(texture: Texture|list|tuple,posX: int,posY: int,tint: Color|list|tuple,) -> None: - """Draw a Texture2D""" - ... + """Draw a Texture2D.""" + ... def DrawTextureEx(texture: Texture|list|tuple,position: Vector2|list|tuple,rotation: float,scale: float,tint: Color|list|tuple,) -> None: - """Draw a Texture2D with extended parameters""" - ... + """Draw a Texture2D with extended parameters.""" + ... def DrawTextureNPatch(texture: Texture|list|tuple,nPatchInfo: NPatchInfo|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draws a texture (or part of it) that stretches or shrinks nicely""" - ... + """Draws a texture (or part of it) that stretches or shrinks nicely.""" + ... def DrawTexturePro(texture: Texture|list|tuple,source: Rectangle|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None: - """Draw a part of a texture defined by a rectangle with 'pro' parameters""" - ... + """Draw a part of a texture defined by a rectangle with 'pro' parameters.""" + ... def DrawTextureRec(texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a part of a texture defined by a rectangle""" - ... + """Draw a part of a texture defined by a rectangle.""" + ... def DrawTextureV(texture: Texture|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a Texture2D with position defined as Vector2""" - ... + """Draw a Texture2D with position defined as Vector2.""" + ... def DrawTriangle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled triangle (vertex in counter-clockwise order!)""" - ... + """Draw a color-filled triangle (vertex in counter-clockwise order!).""" + ... def DrawTriangle3D(v1: Vector3|list|tuple,v2: Vector3|list|tuple,v3: Vector3|list|tuple,color: Color|list|tuple,) -> None: - """Draw a color-filled triangle (vertex in counter-clockwise order!)""" - ... + """Draw a color-filled triangle (vertex in counter-clockwise order!).""" + ... def DrawTriangleFan(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle fan defined by points (first vertex is the center)""" - ... + """Draw a triangle fan defined by points (first vertex is the center).""" + ... def DrawTriangleLines(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle outline (vertex in counter-clockwise order!)""" - ... + """Draw triangle outline (vertex in counter-clockwise order!).""" + ... def DrawTriangleStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points""" - ... + """Draw a triangle strip defined by points.""" + ... def DrawTriangleStrip3D(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points""" - ... + """Draw a triangle strip defined by points.""" + ... def EnableCursor() -> None: - """Enables cursor (unlock cursor)""" - ... + """Enables cursor (unlock cursor).""" + ... def EnableEventWaiting() -> None: - """Enable waiting for events on EndDrawing(), no automatic event polling""" - ... + """Enable waiting for events on EndDrawing(), no automatic event polling.""" + ... def EncodeDataBase64(data: bytes,dataSize: int,outputSize: Any,) -> bytes: - """Encode data to Base64 string, memory must be MemFree()""" - ... + """Encode data to Base64 string, memory must be MemFree().""" + ... def EndBlendMode() -> None: - """End blending mode (reset to default: alpha blending)""" - ... + """End blending mode (reset to default: alpha blending).""" + ... def EndDrawing() -> None: - """End canvas drawing and swap buffers (double buffering)""" - ... + """End canvas drawing and swap buffers (double buffering).""" + ... def EndMode2D() -> None: - """Ends 2D mode with custom camera""" - ... + """Ends 2D mode with custom camera.""" + ... def EndMode3D() -> None: - """Ends 3D mode and returns to default 2D orthographic mode""" - ... + """Ends 3D mode and returns to default 2D orthographic mode.""" + ... def EndScissorMode() -> None: - """End scissor mode""" - ... + """End scissor mode.""" + ... def EndShaderMode() -> None: - """End custom shader drawing (use default shader)""" - ... + """End custom shader drawing (use default shader).""" + ... def EndTextureMode() -> None: - """Ends drawing to render texture""" - ... + """Ends drawing to render texture.""" + ... def EndVrStereoMode() -> None: - """End stereo rendering (requires VR simulator)""" - ... + """End stereo rendering (requires VR simulator).""" + ... def ExportAutomationEventList(list_0: AutomationEventList|list|tuple,fileName: bytes,) -> bool: - """Export automation events list as text file""" - ... + """Export automation events list as text file.""" + ... def ExportDataAsCode(data: bytes,dataSize: int,fileName: bytes,) -> bool: - """Export data to code (.h), returns true on success""" - ... + """Export data to code (.h), returns true on success.""" + ... def ExportFontAsCode(font: Font|list|tuple,fileName: bytes,) -> bool: - """Export font as code file, returns true on success""" - ... + """Export font as code file, returns true on success.""" + ... def ExportImage(image: Image|list|tuple,fileName: bytes,) -> bool: - """Export image data to file, returns true on success""" - ... + """Export image data to file, returns true on success.""" + ... def ExportImageAsCode(image: Image|list|tuple,fileName: bytes,) -> bool: - """Export image as code file defining an array of bytes, returns true on success""" - ... + """Export image as code file defining an array of bytes, returns true on success.""" + ... def ExportImageToMemory(image: Image|list|tuple,fileType: bytes,fileSize: Any,) -> bytes: - """Export image to memory buffer""" - ... + """Export image to memory buffer.""" + ... def ExportMesh(mesh: Mesh|list|tuple,fileName: bytes,) -> bool: - """Export mesh data to file, returns true on success""" - ... + """Export mesh data to file, returns true on success.""" + ... def ExportMeshAsCode(mesh: Mesh|list|tuple,fileName: bytes,) -> bool: - """Export mesh as code file (.h) defining multiple arrays of vertex attributes""" - ... + """Export mesh as code file (.h) defining multiple arrays of vertex attributes.""" + ... def ExportWave(wave: Wave|list|tuple,fileName: bytes,) -> bool: - """Export wave data to file, returns true on success""" - ... + """Export wave data to file, returns true on success.""" + ... def ExportWaveAsCode(wave: Wave|list|tuple,fileName: bytes,) -> bool: - """Export wave sample data to code (.h), returns true on success""" - ... + """Export wave sample data to code (.h), returns true on success.""" + ... FLAG_BORDERLESS_WINDOWED_MODE: int FLAG_FULLSCREEN_MODE: int FLAG_INTERLACED_HINT: int @@ -587,14 +592,14 @@ FONT_BITMAP: int FONT_DEFAULT: int FONT_SDF: int def Fade(color: Color|list|tuple,alpha: float,) -> Color: - """Get color with alpha applied, alpha goes from 0.0f to 1.0f""" - ... + """Get color with alpha applied, alpha goes from 0.0f to 1.0f.""" + ... def FileExists(fileName: bytes,) -> bool: - """Check if file exists""" - ... + """Check if file exists.""" + ... def FloatEquals(x: float,y: float,) -> int: - """""" - ... + """.""" + ... GAMEPAD_AXIS_LEFT_TRIGGER: int GAMEPAD_AXIS_LEFT_X: int GAMEPAD_AXIS_LEFT_Y: int @@ -632,552 +637,557 @@ GESTURE_SWIPE_UP: int GESTURE_TAP: int GROUP_PADDING: int def GenImageCellular(width: int,height: int,tileSize: int,) -> Image: - """Generate image: cellular algorithm, bigger tileSize means bigger cells""" - ... + """Generate image: cellular algorithm, bigger tileSize means bigger cells.""" + ... def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color|list|tuple,col2: Color|list|tuple,) -> Image: - """Generate image: checked""" - ... + """Generate image: checked.""" + ... def GenImageColor(width: int,height: int,color: Color|list|tuple,) -> Image: - """Generate image: plain color""" - ... + """Generate image: plain color.""" + ... def GenImageFontAtlas(glyphs: Any|list|tuple,glyphRecs: Any|list|tuple,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image: - """Generate image font atlas using chars info""" - ... + """Generate image font atlas using chars info.""" + ... def GenImageGradientLinear(width: int,height: int,direction: int,start: Color|list|tuple,end: Color|list|tuple,) -> Image: - """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient""" - ... + """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient.""" + ... def GenImageGradientRadial(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image: - """Generate image: radial gradient""" - ... + """Generate image: radial gradient.""" + ... def GenImageGradientSquare(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image: - """Generate image: square gradient""" - ... + """Generate image: square gradient.""" + ... def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image: - """Generate image: perlin noise""" - ... + """Generate image: perlin noise.""" + ... def GenImageText(width: int,height: int,text: bytes,) -> Image: - """Generate image: grayscale image from text data""" - ... + """Generate image: grayscale image from text data.""" + ... def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image: - """Generate image: white noise""" - ... + """Generate image: white noise.""" + ... def GenMeshCone(radius: float,height: float,slices: int,) -> Mesh: - """Generate cone/pyramid mesh""" - ... + """Generate cone/pyramid mesh.""" + ... def GenMeshCube(width: float,height: float,length: float,) -> Mesh: - """Generate cuboid mesh""" - ... + """Generate cuboid mesh.""" + ... def GenMeshCubicmap(cubicmap: Image|list|tuple,cubeSize: Vector3|list|tuple,) -> Mesh: - """Generate cubes-based map mesh from image data""" - ... + """Generate cubes-based map mesh from image data.""" + ... def GenMeshCylinder(radius: float,height: float,slices: int,) -> Mesh: - """Generate cylinder mesh""" - ... + """Generate cylinder mesh.""" + ... def GenMeshHeightmap(heightmap: Image|list|tuple,size: Vector3|list|tuple,) -> Mesh: - """Generate heightmap mesh from image data""" - ... + """Generate heightmap mesh from image data.""" + ... def GenMeshHemiSphere(radius: float,rings: int,slices: int,) -> Mesh: - """Generate half-sphere mesh (no bottom cap)""" - ... + """Generate half-sphere mesh (no bottom cap).""" + ... def GenMeshKnot(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: - """Generate trefoil knot mesh""" - ... + """Generate trefoil knot mesh.""" + ... def GenMeshPlane(width: float,length: float,resX: int,resZ: int,) -> Mesh: - """Generate plane mesh (with subdivisions)""" - ... + """Generate plane mesh (with subdivisions).""" + ... def GenMeshPoly(sides: int,radius: float,) -> Mesh: - """Generate polygonal mesh""" - ... + """Generate polygonal mesh.""" + ... def GenMeshSphere(radius: float,rings: int,slices: int,) -> Mesh: - """Generate sphere mesh (standard sphere)""" - ... + """Generate sphere mesh (standard sphere).""" + ... def GenMeshTangents(mesh: Any|list|tuple,) -> None: - """Compute mesh tangents""" - ... + """Compute mesh tangents.""" + ... def GenMeshTorus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh: - """Generate torus mesh""" - ... + """Generate torus mesh.""" + ... def GenTextureMipmaps(texture: Any|list|tuple,) -> None: - """Generate GPU mipmaps for a texture""" - ... + """Generate GPU mipmaps for a texture.""" + ... def GetApplicationDirectory() -> bytes: - """Get the directory of the running application (uses static string)""" - ... + """Get the directory of the running application (uses static string).""" + ... def GetCameraMatrix(camera: Camera3D|list|tuple,) -> Matrix: - """Get camera transform matrix (view matrix)""" - ... + """Get camera transform matrix (view matrix).""" + ... def GetCameraMatrix2D(camera: Camera2D|list|tuple,) -> Matrix: - """Get camera 2d transform matrix""" - ... + """Get camera 2d transform matrix.""" + ... def GetCharPressed() -> int: - """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty""" - ... + """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty.""" + ... def GetClipboardImage() -> Image: - """Get clipboard image content""" - ... + """Get clipboard image content.""" + ... def GetClipboardText() -> bytes: - """Get clipboard text content""" - ... + """Get clipboard text content.""" + ... def GetCodepoint(text: bytes,codepointSize: Any,) -> int: - """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def GetCodepointCount(text: bytes,) -> int: - """Get total number of codepoints in a UTF-8 encoded string""" - ... + """Get total number of codepoints in a UTF-8 encoded string.""" + ... def GetCodepointNext(text: bytes,codepointSize: Any,) -> int: - """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def GetCodepointPrevious(text: bytes,codepointSize: Any,) -> int: - """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure""" - ... + """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure.""" + ... def GetCollisionRec(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> Rectangle: - """Get collision rectangle for two rectangles collision""" - ... + """Get collision rectangle for two rectangles collision.""" + ... def GetColor(hexValue: int,) -> Color: - """Get Color structure from hexadecimal value""" - ... + """Get Color structure from hexadecimal value.""" + ... def GetCurrentMonitor() -> int: - """Get current monitor where window is placed""" - ... + """Get current monitor where window is placed.""" + ... def GetDirectoryPath(filePath: bytes,) -> bytes: - """Get full path for a given fileName with path (uses static string)""" - ... + """Get full path for a given fileName with path (uses static string).""" + ... def GetFPS() -> int: - """Get current FPS""" - ... + """Get current FPS.""" + ... def GetFileExtension(fileName: bytes,) -> bytes: - """Get pointer to extension for a filename string (includes dot: '.png')""" - ... + """Get pointer to extension for a filename string (includes dot: '.png').""" + ... def GetFileLength(fileName: bytes,) -> int: - """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)""" - ... + """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h).""" + ... def GetFileModTime(fileName: bytes,) -> int: - """Get file modification time (last write time)""" - ... + """Get file modification time (last write time).""" + ... def GetFileName(filePath: bytes,) -> bytes: - """Get pointer to filename for a path string""" - ... + """Get pointer to filename for a path string.""" + ... def GetFileNameWithoutExt(filePath: bytes,) -> bytes: - """Get filename string without extension (uses static string)""" - ... + """Get filename string without extension (uses static string).""" + ... def GetFontDefault() -> Font: - """Get the default Font""" - ... + """Get the default Font.""" + ... def GetFrameTime() -> float: - """Get time in seconds for last frame drawn (delta time)""" - ... + """Get time in seconds for last frame drawn (delta time).""" + ... def GetGamepadAxisCount(gamepad: int,) -> int: - """Get gamepad axis count for a gamepad""" - ... + """Get gamepad axis count for a gamepad.""" + ... def GetGamepadAxisMovement(gamepad: int,axis: int,) -> float: - """Get axis movement value for a gamepad axis""" - ... + """Get axis movement value for a gamepad axis.""" + ... def GetGamepadButtonPressed() -> int: - """Get the last gamepad button pressed""" - ... + """Get the last gamepad button pressed.""" + ... def GetGamepadName(gamepad: int,) -> bytes: - """Get gamepad internal name id""" - ... + """Get gamepad internal name id.""" + ... def GetGestureDetected() -> int: - """Get latest detected gesture""" - ... + """Get latest detected gesture.""" + ... def GetGestureDragAngle() -> float: - """Get gesture drag angle""" - ... + """Get gesture drag angle.""" + ... def GetGestureDragVector() -> Vector2: - """Get gesture drag vector""" - ... + """Get gesture drag vector.""" + ... def GetGestureHoldDuration() -> float: - """Get gesture hold time in seconds""" - ... + """Get gesture hold time in seconds.""" + ... def GetGesturePinchAngle() -> float: - """Get gesture pinch angle""" - ... + """Get gesture pinch angle.""" + ... def GetGesturePinchVector() -> Vector2: - """Get gesture pinch delta""" - ... + """Get gesture pinch delta.""" + ... def GetGlyphAtlasRec(font: Font|list|tuple,codepoint: int,) -> Rectangle: - """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found.""" + ... def GetGlyphIndex(font: Font|list|tuple,codepoint: int,) -> int: - """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found.""" + ... def GetGlyphInfo(font: Font|list|tuple,codepoint: int,) -> GlyphInfo: - """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found""" - ... + """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found.""" + ... def GetImageAlphaBorder(image: Image|list|tuple,threshold: float,) -> Rectangle: - """Get image alpha border rectangle""" - ... + """Get image alpha border rectangle.""" + ... def GetImageColor(image: Image|list|tuple,x: int,y: int,) -> Color: - """Get image pixel color at (x, y) position""" - ... + """Get image pixel color at (x, y) position.""" + ... def GetKeyPressed() -> int: - """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty""" - ... + """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty.""" + ... def GetMasterVolume() -> float: - """Get master volume (listener)""" - ... + """Get master volume (listener).""" + ... def GetMeshBoundingBox(mesh: Mesh|list|tuple,) -> BoundingBox: - """Compute mesh bounding box limits""" - ... + """Compute mesh bounding box limits.""" + ... def GetModelBoundingBox(model: Model|list|tuple,) -> BoundingBox: - """Compute model bounding box limits (considers all meshes)""" - ... + """Compute model bounding box limits (considers all meshes).""" + ... def GetMonitorCount() -> int: - """Get number of connected monitors""" - ... + """Get number of connected monitors.""" + ... def GetMonitorHeight(monitor: int,) -> int: - """Get specified monitor height (current video mode used by monitor)""" - ... + """Get specified monitor height (current video mode used by monitor).""" + ... def GetMonitorName(monitor: int,) -> bytes: - """Get the human-readable, UTF-8 encoded name of the specified monitor""" - ... + """Get the human-readable, UTF-8 encoded name of the specified monitor.""" + ... def GetMonitorPhysicalHeight(monitor: int,) -> int: - """Get specified monitor physical height in millimetres""" - ... + """Get specified monitor physical height in millimetres.""" + ... def GetMonitorPhysicalWidth(monitor: int,) -> int: - """Get specified monitor physical width in millimetres""" - ... + """Get specified monitor physical width in millimetres.""" + ... def GetMonitorPosition(monitor: int,) -> Vector2: - """Get specified monitor position""" - ... + """Get specified monitor position.""" + ... def GetMonitorRefreshRate(monitor: int,) -> int: - """Get specified monitor refresh rate""" - ... + """Get specified monitor refresh rate.""" + ... def GetMonitorWidth(monitor: int,) -> int: - """Get specified monitor width (current video mode used by monitor)""" - ... + """Get specified monitor width (current video mode used by monitor).""" + ... def GetMouseDelta() -> Vector2: - """Get mouse delta between frames""" - ... + """Get mouse delta between frames.""" + ... def GetMousePosition() -> Vector2: - """Get mouse position XY""" - ... + """Get mouse position XY.""" + ... def GetMouseWheelMove() -> float: - """Get mouse wheel movement for X or Y, whichever is larger""" - ... + """Get mouse wheel movement for X or Y, whichever is larger.""" + ... def GetMouseWheelMoveV() -> Vector2: - """Get mouse wheel movement for both X and Y""" - ... + """Get mouse wheel movement for both X and Y.""" + ... def GetMouseX() -> int: - """Get mouse position X""" - ... + """Get mouse position X.""" + ... def GetMouseY() -> int: - """Get mouse position Y""" - ... + """Get mouse position Y.""" + ... def GetMusicTimeLength(music: Music|list|tuple,) -> float: - """Get music time length (in seconds)""" - ... + """Get music time length (in seconds).""" + ... def GetMusicTimePlayed(music: Music|list|tuple,) -> float: - """Get current music time played (in seconds)""" - ... + """Get current music time played (in seconds).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsBodiesCount() -> int: - """Returns the current amount of created physics bodies""" - ... + """Returns the current amount of created physics bodies.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsBody(index: int,) -> Any: - """Returns a physics body of the bodies pool at a specific index""" - ... + """Returns a physics body of the bodies pool at a specific index.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsShapeType(index: int,) -> int: - """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)""" - ... + """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsShapeVertex(body: Any|list|tuple,vertex: int,) -> Vector2: - """Returns transformed position of a body shape (body position + vertex transformed position)""" - ... + """Returns transformed position of a body shape (body position + vertex transformed position).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def GetPhysicsShapeVerticesCount(index: int,) -> int: - """Returns the amount of vertices of a physics body shape""" - ... + """Returns the amount of vertices of a physics body shape.""" + ... def GetPixelColor(srcPtr: Any,format: int,) -> Color: - """Get Color from a source pixel pointer of certain format""" - ... + """Get Color from a source pixel pointer of certain format.""" + ... def GetPixelDataSize(width: int,height: int,format: int,) -> int: - """Get pixel data size in bytes for certain format""" - ... + """Get pixel data size in bytes for certain format.""" + ... def GetPrevDirectoryPath(dirPath: bytes,) -> bytes: - """Get previous directory path for a given path (uses static string)""" - ... + """Get previous directory path for a given path (uses static string).""" + ... def GetRandomValue(min_0: int,max_1: int,) -> int: - """Get a random value between min and max (both included)""" - ... + """Get a random value between min and max (both included).""" + ... def GetRayCollisionBox(ray: Ray|list|tuple,box: BoundingBox|list|tuple,) -> RayCollision: - """Get collision info between ray and box""" - ... + """Get collision info between ray and box.""" + ... def GetRayCollisionMesh(ray: Ray|list|tuple,mesh: Mesh|list|tuple,transform: Matrix|list|tuple,) -> RayCollision: - """Get collision info between ray and mesh""" - ... + """Get collision info between ray and mesh.""" + ... def GetRayCollisionQuad(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,p4: Vector3|list|tuple,) -> RayCollision: - """Get collision info between ray and quad""" - ... + """Get collision info between ray and quad.""" + ... def GetRayCollisionSphere(ray: Ray|list|tuple,center: Vector3|list|tuple,radius: float,) -> RayCollision: - """Get collision info between ray and sphere""" - ... + """Get collision info between ray and sphere.""" + ... def GetRayCollisionTriangle(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,) -> RayCollision: - """Get collision info between ray and triangle""" - ... + """Get collision info between ray and triangle.""" + ... def GetRenderHeight() -> int: - """Get current render height (it considers HiDPI)""" - ... + """Get current render height (it considers HiDPI).""" + ... def GetRenderWidth() -> int: - """Get current render width (it considers HiDPI)""" - ... + """Get current render width (it considers HiDPI).""" + ... def GetScreenHeight() -> int: - """Get current screen height""" - ... + """Get current screen height.""" + ... def GetScreenToWorld2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2: - """Get the world space position for a 2d camera screen space position""" - ... + """Get the world space position for a 2d camera screen space position.""" + ... def GetScreenToWorldRay(position: Vector2|list|tuple,camera: Camera3D|list|tuple,) -> Ray: - """Get a ray trace from screen position (i.e mouse)""" - ... + """Get a ray trace from screen position (i.e mouse).""" + ... def GetScreenToWorldRayEx(position: Vector2|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Ray: - """Get a ray trace from screen position (i.e mouse) in a viewport""" - ... + """Get a ray trace from screen position (i.e mouse) in a viewport.""" + ... def GetScreenWidth() -> int: - """Get current screen width""" - ... + """Get current screen width.""" + ... def GetShaderLocation(shader: Shader|list|tuple,uniformName: bytes,) -> int: - """Get shader uniform location""" - ... + """Get shader uniform location.""" + ... def GetShaderLocationAttrib(shader: Shader|list|tuple,attribName: bytes,) -> int: - """Get shader attribute location""" - ... + """Get shader attribute location.""" + ... def GetShapesTexture() -> Texture: - """Get texture that is used for shapes drawing""" - ... + """Get texture that is used for shapes drawing.""" + ... def GetShapesTextureRectangle() -> Rectangle: - """Get texture source rectangle that is used for shapes drawing""" - ... + """Get texture source rectangle that is used for shapes drawing.""" + ... def GetSplinePointBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: B-Spline""" - ... + """Get (evaluate) spline point: B-Spline.""" + ... def GetSplinePointBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Cubic Bezier""" - ... + """Get (evaluate) spline point: Cubic Bezier.""" + ... def GetSplinePointBezierQuad(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Quadratic Bezier""" - ... + """Get (evaluate) spline point: Quadratic Bezier.""" + ... def GetSplinePointCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Catmull-Rom""" - ... + """Get (evaluate) spline point: Catmull-Rom.""" + ... def GetSplinePointLinear(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,t: float,) -> Vector2: - """Get (evaluate) spline point: Linear""" - ... + """Get (evaluate) spline point: Linear.""" + ... def GetTime() -> float: - """Get elapsed time in seconds since InitWindow()""" - ... + """Get elapsed time in seconds since InitWindow().""" + ... def GetTouchPointCount() -> int: - """Get number of touch points""" - ... + """Get number of touch points.""" + ... def GetTouchPointId(index: int,) -> int: - """Get touch point identifier for given index""" - ... + """Get touch point identifier for given index.""" + ... def GetTouchPosition(index: int,) -> Vector2: - """Get touch position XY for a touch point index (relative to screen size)""" - ... + """Get touch position XY for a touch point index (relative to screen size).""" + ... def GetTouchX() -> int: - """Get touch position X for touch point 0 (relative to screen size)""" - ... + """Get touch position X for touch point 0 (relative to screen size).""" + ... def GetTouchY() -> int: - """Get touch position Y for touch point 0 (relative to screen size)""" - ... + """Get touch position Y for touch point 0 (relative to screen size).""" + ... def GetWindowHandle() -> Any: - """Get native window handle""" - ... + """Get native window handle.""" + ... def GetWindowPosition() -> Vector2: - """Get window position XY on monitor""" - ... + """Get window position XY on monitor.""" + ... def GetWindowScaleDPI() -> Vector2: - """Get window scale DPI factor""" - ... + """Get window scale DPI factor.""" + ... def GetWorkingDirectory() -> bytes: - """Get current working directory (uses static string)""" - ... + """Get current working directory (uses static string).""" + ... def GetWorldToScreen(position: Vector3|list|tuple,camera: Camera3D|list|tuple,) -> Vector2: - """Get the screen space position for a 3d world space position""" - ... + """Get the screen space position for a 3d world space position.""" + ... def GetWorldToScreen2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2: - """Get the screen space position for a 2d camera world space position""" - ... + """Get the screen space position for a 2d camera world space position.""" + ... def GetWorldToScreenEx(position: Vector3|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Vector2: - """Get size position for a 3d world space position""" - ... + """Get size position for a 3d world space position.""" + ... def GuiButton(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Button control, returns true when clicked""" - ... + """Button control, returns true when clicked.""" + ... def GuiCheckBox(bounds: Rectangle|list|tuple,text: bytes,checked: Any,) -> int: - """Check Box control, returns true when active""" - ... + """Check Box control, returns true when active.""" + ... def GuiColorBarAlpha(bounds: Rectangle|list|tuple,text: bytes,alpha: Any,) -> int: - """Color Bar Alpha control""" - ... + """Color Bar Alpha control.""" + ... def GuiColorBarHue(bounds: Rectangle|list|tuple,text: bytes,value: Any,) -> int: - """Color Bar Hue control""" - ... + """Color Bar Hue control.""" + ... def GuiColorPanel(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int: - """Color Panel control""" - ... + """Color Panel control.""" + ... def GuiColorPanelHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int: - """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()""" - ... + """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV().""" + ... def GuiColorPicker(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int: - """Color Picker control (multiple color controls)""" - ... + """Color Picker control (multiple color controls).""" + ... def GuiColorPickerHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int: - """Color Picker control that avoids conversion to RGB on each call (multiple color controls)""" - ... + """Color Picker control that avoids conversion to RGB on each call (multiple color controls).""" + ... def GuiComboBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Combo Box control""" - ... + """Combo Box control.""" + ... def GuiDisable() -> None: - """Disable gui controls (global state)""" - ... + """Disable gui controls (global state).""" + ... def GuiDisableTooltip() -> None: - """Disable gui tooltips (global state)""" - ... + """Disable gui tooltips (global state).""" + ... def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color|list|tuple,) -> None: - """Draw icon using pixel size at specified position""" - ... + """Draw icon using pixel size at specified position.""" + ... def GuiDropdownBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,editMode: bool,) -> int: - """Dropdown Box control""" - ... + """Dropdown Box control.""" + ... def GuiDummyRec(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Dummy control for placeholders""" - ... + """Dummy control for placeholders.""" + ... def GuiEnable() -> None: - """Enable gui controls (global state)""" - ... + """Enable gui controls (global state).""" + ... def GuiEnableTooltip() -> None: - """Enable gui tooltips (global state)""" - ... + """Enable gui tooltips (global state).""" + ... def GuiGetFont() -> Font: - """Get gui custom font (global state)""" - ... + """Get gui custom font (global state).""" + ... def GuiGetIcons() -> Any: - """Get raygui icons data pointer""" - ... + """Get raygui icons data pointer.""" + ... def GuiGetState() -> int: - """Get gui state (global state)""" - ... + """Get gui state (global state).""" + ... def GuiGetStyle(control: int,property: int,) -> int: - """Get one style property""" - ... + """Get one style property.""" + ... def GuiGrid(bounds: Rectangle|list|tuple,text: bytes,spacing: float,subdivs: int,mouseCell: Any|list|tuple,) -> int: - """Grid control""" - ... + """Grid control.""" + ... def GuiGroupBox(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Group Box control with text name""" - ... + """Group Box control with text name.""" + ... def GuiIconText(iconId: int,text: bytes,) -> bytes: - """Get text with icon id prepended (if supported)""" - ... + """Get text with icon id prepended (if supported).""" + ... def GuiIsLocked() -> bool: - """Check if gui is locked (global state)""" - ... + """Check if gui is locked (global state).""" + ... def GuiLabel(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Label control""" - ... + """Label control.""" + ... def GuiLabelButton(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Label button control, returns true when clicked""" - ... + """Label button control, returns true when clicked.""" + ... def GuiLine(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Line separator control, could contain text""" - ... + """Line separator control, could contain text.""" + ... def GuiListView(bounds: Rectangle|list|tuple,text: bytes,scrollIndex: Any,active: Any,) -> int: - """List View control""" - ... + """List View control.""" + ... def GuiListViewEx(bounds: Rectangle|list|tuple,text: list[bytes],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int: - """List View with extended parameters""" - ... + """List View with extended parameters.""" + ... def GuiLoadIcons(fileName: bytes,loadIconsName: bool,) -> list[bytes]: - """Load raygui icons file (.rgi) into internal icons data""" - ... + """Load raygui icons file (.rgi) into internal icons data.""" + ... def GuiLoadStyle(fileName: bytes,) -> None: - """Load style file over global style variable (.rgs)""" - ... + """Load style file over global style variable (.rgs).""" + ... def GuiLoadStyleDefault() -> None: - """Load style default over global style""" - ... + """Load style default over global style.""" + ... def GuiLock() -> None: - """Lock gui controls (global state)""" - ... + """Lock gui controls (global state).""" + ... def GuiMessageBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,) -> int: - """Message Box control, displays a message""" - ... + """Message Box control, displays a message.""" + ... def GuiPanel(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Panel control, useful to group controls""" - ... + """Panel control, useful to group controls.""" + ... def GuiProgressBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int: - """Progress Bar control""" - ... + """Progress Bar control.""" + ... def GuiScrollPanel(bounds: Rectangle|list|tuple,text: bytes,content: Rectangle|list|tuple,scroll: Any|list|tuple,view: Any|list|tuple,) -> int: - """Scroll Panel control""" - ... + """Scroll Panel control.""" + ... def GuiSetAlpha(alpha: float,) -> None: - """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f""" - ... + """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f.""" + ... def GuiSetFont(font: Font|list|tuple,) -> None: - """Set gui custom font (global state)""" - ... + """Set gui custom font (global state).""" + ... def GuiSetIconScale(scale: int,) -> None: - """Set default icon drawing size""" - ... + """Set default icon drawing size.""" + ... def GuiSetState(state: int,) -> None: - """Set gui state (global state)""" - ... + """Set gui state (global state).""" + ... def GuiSetStyle(control: int,property: int,value: int,) -> None: - """Set one style property""" - ... + """Set one style property.""" + ... def GuiSetTooltip(tooltip: bytes,) -> None: - """Set tooltip string""" - ... + """Set tooltip string.""" + ... def GuiSlider(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int: - """Slider control""" - ... + """Slider control.""" + ... def GuiSliderBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int: - """Slider Bar control""" - ... + """Slider Bar control.""" + ... def GuiSpinner(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: - """Spinner control""" - ... + """Spinner control.""" + ... def GuiStatusBar(bounds: Rectangle|list|tuple,text: bytes,) -> int: - """Status Bar control, shows info text""" - ... + """Status Bar control, shows info text.""" + ... def GuiTabBar(bounds: Rectangle|list|tuple,text: list[bytes],count: int,active: Any,) -> int: - """Tab Bar control, returns TAB to be closed or -1""" - ... + """Tab Bar control, returns TAB to be closed or -1.""" + ... def GuiTextBox(bounds: Rectangle|list|tuple,text: bytes,textSize: int,editMode: bool,) -> int: - """Text Box control, updates input text""" - ... + """Text Box control, updates input text.""" + ... def GuiTextInputBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,text: bytes,textMaxSize: int,secretViewActive: Any,) -> int: - """Text Input Box control, ask for text, supports secret""" - ... + """Text Input Box control, ask for text, supports secret.""" + ... def GuiToggle(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Toggle Button control""" - ... + """Toggle Button control.""" + ... def GuiToggleGroup(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Toggle Group control""" - ... + """Toggle Group control.""" + ... def GuiToggleSlider(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int: - """Toggle Slider control""" - ... + """Toggle Slider control.""" + ... def GuiUnlock() -> None: - """Unlock gui controls (global state)""" - ... + """Unlock gui controls (global state).""" + ... def GuiValueBox(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: - """Value Box control, updates input text with numbers""" - ... + """Value Box control, updates input text with numbers.""" + ... def GuiValueBoxFloat(bounds: Rectangle|list|tuple,text: bytes,textValue: bytes,value: Any,editMode: bool,) -> int: - """Value box control for float values""" - ... + """Value box control for float values.""" + ... def GuiWindowBox(bounds: Rectangle|list|tuple,title: bytes,) -> int: - """Window Box control, shows a window that can be closed""" - ... + """Window Box control, shows a window that can be closed.""" + ... HUEBAR_PADDING: int HUEBAR_SELECTOR_HEIGHT: int HUEBAR_SELECTOR_OVERFLOW: int HUEBAR_WIDTH: int def HideCursor() -> None: - """Hides cursor""" - ... + """Hides cursor.""" + ... ICON_1UP: int ICON_229: int ICON_230: int @@ -1435,308 +1445,309 @@ ICON_ZOOM_CENTER: int ICON_ZOOM_MEDIUM: int ICON_ZOOM_SMALL: int def ImageAlphaClear(image: Any|list|tuple,color: Color|list|tuple,threshold: float,) -> None: - """Clear alpha channel to desired color""" - ... + """Clear alpha channel to desired color.""" + ... def ImageAlphaCrop(image: Any|list|tuple,threshold: float,) -> None: - """Crop image depending on alpha value""" - ... + """Crop image depending on alpha value.""" + ... def ImageAlphaMask(image: Any|list|tuple,alphaMask: Image|list|tuple,) -> None: - """Apply alpha mask to image""" - ... + """Apply alpha mask to image.""" + ... def ImageAlphaPremultiply(image: Any|list|tuple,) -> None: - """Premultiply alpha channel""" - ... + """Premultiply alpha channel.""" + ... def ImageBlurGaussian(image: Any|list|tuple,blurSize: int,) -> None: - """Apply Gaussian blur using a box blur approximation""" - ... + """Apply Gaussian blur using a box blur approximation.""" + ... def ImageClearBackground(dst: Any|list|tuple,color: Color|list|tuple,) -> None: - """Clear image background with given color""" - ... + """Clear image background with given color.""" + ... def ImageColorBrightness(image: Any|list|tuple,brightness: int,) -> None: - """Modify image color: brightness (-255 to 255)""" - ... + """Modify image color: brightness (-255 to 255).""" + ... def ImageColorContrast(image: Any|list|tuple,contrast: float,) -> None: - """Modify image color: contrast (-100 to 100)""" - ... + """Modify image color: contrast (-100 to 100).""" + ... def ImageColorGrayscale(image: Any|list|tuple,) -> None: - """Modify image color: grayscale""" - ... + """Modify image color: grayscale.""" + ... def ImageColorInvert(image: Any|list|tuple,) -> None: - """Modify image color: invert""" - ... + """Modify image color: invert.""" + ... def ImageColorReplace(image: Any|list|tuple,color: Color|list|tuple,replace: Color|list|tuple,) -> None: - """Modify image color: replace color""" - ... + """Modify image color: replace color.""" + ... def ImageColorTint(image: Any|list|tuple,color: Color|list|tuple,) -> None: - """Modify image color: tint""" - ... + """Modify image color: tint.""" + ... def ImageCopy(image: Image|list|tuple,) -> Image: - """Create an image duplicate (useful for transformations)""" - ... + """Create an image duplicate (useful for transformations).""" + ... def ImageCrop(image: Any|list|tuple,crop: Rectangle|list|tuple,) -> None: - """Crop an image to a defined rectangle""" - ... + """Crop an image to a defined rectangle.""" + ... def ImageDither(image: Any|list|tuple,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None: - """Dither image data to 16bpp or lower (Floyd-Steinberg dithering)""" - ... + """Dither image data to 16bpp or lower (Floyd-Steinberg dithering).""" + ... def ImageDraw(dst: Any|list|tuple,src: Image|list|tuple,srcRec: Rectangle|list|tuple,dstRec: Rectangle|list|tuple,tint: Color|list|tuple,) -> None: - """Draw a source image within a destination image (tint applied to source)""" - ... + """Draw a source image within a destination image (tint applied to source).""" + ... def ImageDrawCircle(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None: - """Draw a filled circle within an image""" - ... + """Draw a filled circle within an image.""" + ... def ImageDrawCircleLines(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None: - """Draw circle outline within an image""" - ... + """Draw circle outline within an image.""" + ... def ImageDrawCircleLinesV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None: - """Draw circle outline within an image (Vector version)""" - ... + """Draw circle outline within an image (Vector version).""" + ... def ImageDrawCircleV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None: - """Draw a filled circle within an image (Vector version)""" - ... + """Draw a filled circle within an image (Vector version).""" + ... def ImageDrawLine(dst: Any|list|tuple,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None: - """Draw line within an image""" - ... + """Draw line within an image.""" + ... def ImageDrawLineEx(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,thick: int,color: Color|list|tuple,) -> None: - """Draw a line defining thickness within an image""" - ... + """Draw a line defining thickness within an image.""" + ... def ImageDrawLineV(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw line within an image (Vector version)""" - ... + """Draw line within an image (Vector version).""" + ... def ImageDrawPixel(dst: Any|list|tuple,posX: int,posY: int,color: Color|list|tuple,) -> None: - """Draw pixel within an image""" - ... + """Draw pixel within an image.""" + ... def ImageDrawPixelV(dst: Any|list|tuple,position: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw pixel within an image (Vector version)""" - ... + """Draw pixel within an image (Vector version).""" + ... def ImageDrawRectangle(dst: Any|list|tuple,posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None: - """Draw rectangle within an image""" - ... + """Draw rectangle within an image.""" + ... def ImageDrawRectangleLines(dst: Any|list|tuple,rec: Rectangle|list|tuple,thick: int,color: Color|list|tuple,) -> None: - """Draw rectangle lines within an image""" - ... + """Draw rectangle lines within an image.""" + ... def ImageDrawRectangleRec(dst: Any|list|tuple,rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None: - """Draw rectangle within an image""" - ... + """Draw rectangle within an image.""" + ... def ImageDrawRectangleV(dst: Any|list|tuple,position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw rectangle within an image (Vector version)""" - ... + """Draw rectangle within an image (Vector version).""" + ... def ImageDrawText(dst: Any|list|tuple,text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None: - """Draw text (using default font) within an image (destination)""" - ... + """Draw text (using default font) within an image (destination).""" + ... def ImageDrawTextEx(dst: Any|list|tuple,font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None: - """Draw text (custom sprite font) within an image (destination)""" - ... + """Draw text (custom sprite font) within an image (destination).""" + ... def ImageDrawTriangle(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle within an image""" - ... + """Draw triangle within an image.""" + ... def ImageDrawTriangleEx(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,c1: Color|list|tuple,c2: Color|list|tuple,c3: Color|list|tuple,) -> None: - """Draw triangle with interpolated colors within an image""" - ... + """Draw triangle with interpolated colors within an image.""" + ... def ImageDrawTriangleFan(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle fan defined by points within an image (first vertex is the center)""" - ... + """Draw a triangle fan defined by points within an image (first vertex is the center).""" + ... def ImageDrawTriangleLines(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None: - """Draw triangle outline within an image""" - ... + """Draw triangle outline within an image.""" + ... def ImageDrawTriangleStrip(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None: - """Draw a triangle strip defined by points within an image""" - ... + """Draw a triangle strip defined by points within an image.""" + ... def ImageFlipHorizontal(image: Any|list|tuple,) -> None: - """Flip image horizontally""" - ... + """Flip image horizontally.""" + ... def ImageFlipVertical(image: Any|list|tuple,) -> None: - """Flip image vertically""" - ... + """Flip image vertically.""" + ... def ImageFormat(image: Any|list|tuple,newFormat: int,) -> None: - """Convert image data to desired format""" - ... + """Convert image data to desired format.""" + ... def ImageFromChannel(image: Image|list|tuple,selectedChannel: int,) -> Image: - """Create an image from a selected channel of another image (GRAYSCALE)""" - ... + """Create an image from a selected channel of another image (GRAYSCALE).""" + ... def ImageFromImage(image: Image|list|tuple,rec: Rectangle|list|tuple,) -> Image: - """Create an image from another image piece""" - ... + """Create an image from another image piece.""" + ... def ImageKernelConvolution(image: Any|list|tuple,kernel: Any,kernelSize: int,) -> None: - """Apply custom square convolution kernel to image""" - ... + """Apply custom square convolution kernel to image.""" + ... def ImageMipmaps(image: Any|list|tuple,) -> None: - """Compute all mipmap levels for a provided image""" - ... + """Compute all mipmap levels for a provided image.""" + ... def ImageResize(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None: - """Resize image (Bicubic scaling algorithm)""" - ... + """Resize image (Bicubic scaling algorithm).""" + ... def ImageResizeCanvas(image: Any|list|tuple,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color|list|tuple,) -> None: - """Resize canvas and fill with color""" - ... + """Resize canvas and fill with color.""" + ... def ImageResizeNN(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None: - """Resize image (Nearest-Neighbor scaling algorithm)""" - ... + """Resize image (Nearest-Neighbor scaling algorithm).""" + ... def ImageRotate(image: Any|list|tuple,degrees: int,) -> None: - """Rotate image by input angle in degrees (-359 to 359)""" - ... + """Rotate image by input angle in degrees (-359 to 359).""" + ... def ImageRotateCCW(image: Any|list|tuple,) -> None: - """Rotate image counter-clockwise 90deg""" - ... + """Rotate image counter-clockwise 90deg.""" + ... def ImageRotateCW(image: Any|list|tuple,) -> None: - """Rotate image clockwise 90deg""" - ... + """Rotate image clockwise 90deg.""" + ... def ImageText(text: bytes,fontSize: int,color: Color|list|tuple,) -> Image: - """Create an image from text (default font)""" - ... + """Create an image from text (default font).""" + ... def ImageTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,tint: Color|list|tuple,) -> Image: - """Create an image from text (custom sprite font)""" - ... + """Create an image from text (custom sprite font).""" + ... def ImageToPOT(image: Any|list|tuple,fill: Color|list|tuple,) -> None: - """Convert image to POT (power-of-two)""" - ... + """Convert image to POT (power-of-two).""" + ... def InitAudioDevice() -> None: - """Initialize audio device and context""" - ... + """Initialize audio device and context.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def InitPhysics() -> None: - """Initializes physics system""" - ... + """Initializes physics system.""" + ... def InitWindow(width: int,height: int,title: bytes,) -> None: - """Initialize window and OpenGL context""" - ... + """Initialize window and OpenGL context.""" + ... def IsAudioDeviceReady() -> bool: - """Check if audio device has been initialized successfully""" - ... + """Check if audio device has been initialized successfully.""" + ... def IsAudioStreamPlaying(stream: AudioStream|list|tuple,) -> bool: - """Check if audio stream is playing""" - ... + """Check if audio stream is playing.""" + ... def IsAudioStreamProcessed(stream: AudioStream|list|tuple,) -> bool: - """Check if any audio stream buffers requires refill""" - ... + """Check if any audio stream buffers requires refill.""" + ... def IsAudioStreamValid(stream: AudioStream|list|tuple,) -> bool: - """Checks if an audio stream is valid (buffers initialized)""" - ... + """Checks if an audio stream is valid (buffers initialized).""" + ... def IsCursorHidden() -> bool: - """Check if cursor is not visible""" - ... + """Check if cursor is not visible.""" + ... def IsCursorOnScreen() -> bool: - """Check if cursor is on the screen""" - ... + """Check if cursor is on the screen.""" + ... def IsFileDropped() -> bool: - """Check if a file has been dropped into window""" - ... + """Check if a file has been dropped into window.""" + ... def IsFileExtension(fileName: bytes,ext: bytes,) -> bool: - """Check file extension (including point: .png, .wav)""" - ... + """Check file extension (including point: .png, .wav).""" + ... def IsFileNameValid(fileName: bytes,) -> bool: - """Check if fileName is valid for the platform/OS""" - ... + """Check if fileName is valid for the platform/OS.""" + ... def IsFontValid(font: Font|list|tuple,) -> bool: - """Check if a font is valid (font data loaded, WARNING: GPU texture not checked)""" - ... + """Check if a font is valid (font data loaded, WARNING: GPU texture not checked).""" + ... def IsGamepadAvailable(gamepad: int,) -> bool: - """Check if a gamepad is available""" - ... + """Check if a gamepad is available.""" + ... def IsGamepadButtonDown(gamepad: int,button: int,) -> bool: - """Check if a gamepad button is being pressed""" - ... + """Check if a gamepad button is being pressed.""" + ... def IsGamepadButtonPressed(gamepad: int,button: int,) -> bool: - """Check if a gamepad button has been pressed once""" - ... + """Check if a gamepad button has been pressed once.""" + ... def IsGamepadButtonReleased(gamepad: int,button: int,) -> bool: - """Check if a gamepad button has been released once""" - ... + """Check if a gamepad button has been released once.""" + ... def IsGamepadButtonUp(gamepad: int,button: int,) -> bool: - """Check if a gamepad button is NOT being pressed""" - ... + """Check if a gamepad button is NOT being pressed.""" + ... def IsGestureDetected(gesture: int,) -> bool: - """Check if a gesture have been detected""" - ... + """Check if a gesture have been detected.""" + ... def IsImageValid(image: Image|list|tuple,) -> bool: - """Check if an image is valid (data and parameters)""" - ... + """Check if an image is valid (data and parameters).""" + ... def IsKeyDown(key: int,) -> bool: - """Check if a key is being pressed""" - ... + """Check if a key is being pressed.""" + ... def IsKeyPressed(key: int,) -> bool: - """Check if a key has been pressed once""" - ... + """Check if a key has been pressed once.""" + ... def IsKeyPressedRepeat(key: int,) -> bool: - """Check if a key has been pressed again""" - ... + """Check if a key has been pressed again.""" + ... def IsKeyReleased(key: int,) -> bool: - """Check if a key has been released once""" - ... + """Check if a key has been released once.""" + ... def IsKeyUp(key: int,) -> bool: - """Check if a key is NOT being pressed""" - ... + """Check if a key is NOT being pressed.""" + ... def IsMaterialValid(material: Material|list|tuple,) -> bool: - """Check if a material is valid (shader assigned, map textures loaded in GPU)""" - ... + """Check if a material is valid (shader assigned, map textures loaded in GPU).""" + ... def IsModelAnimationValid(model: Model|list|tuple,anim: ModelAnimation|list|tuple,) -> bool: - """Check model animation skeleton match""" - ... + """Check model animation skeleton match.""" + ... def IsModelValid(model: Model|list|tuple,) -> bool: - """Check if a model is valid (loaded in GPU, VAO/VBOs)""" - ... + """Check if a model is valid (loaded in GPU, VAO/VBOs).""" + ... def IsMouseButtonDown(button: int,) -> bool: - """Check if a mouse button is being pressed""" - ... + """Check if a mouse button is being pressed.""" + ... def IsMouseButtonPressed(button: int,) -> bool: - """Check if a mouse button has been pressed once""" - ... + """Check if a mouse button has been pressed once.""" + ... def IsMouseButtonReleased(button: int,) -> bool: - """Check if a mouse button has been released once""" - ... + """Check if a mouse button has been released once.""" + ... def IsMouseButtonUp(button: int,) -> bool: - """Check if a mouse button is NOT being pressed""" - ... + """Check if a mouse button is NOT being pressed.""" + ... def IsMusicStreamPlaying(music: Music|list|tuple,) -> bool: - """Check if music is playing""" - ... + """Check if music is playing.""" + ... def IsMusicValid(music: Music|list|tuple,) -> bool: - """Checks if a music stream is valid (context and buffers initialized)""" - ... + """Checks if a music stream is valid (context and buffers initialized).""" + ... def IsPathFile(path: bytes,) -> bool: - """Check if a given path is a file or a directory""" - ... + """Check if a given path is a file or a directory.""" + ... def IsRenderTextureValid(target: RenderTexture|list|tuple,) -> bool: - """Check if a render texture is valid (loaded in GPU)""" - ... + """Check if a render texture is valid (loaded in GPU).""" + ... def IsShaderValid(shader: Shader|list|tuple,) -> bool: - """Check if a shader is valid (loaded on GPU)""" - ... + """Check if a shader is valid (loaded on GPU).""" + ... def IsSoundPlaying(sound: Sound|list|tuple,) -> bool: - """Check if a sound is currently playing""" - ... + """Check if a sound is currently playing.""" + ... def IsSoundValid(sound: Sound|list|tuple,) -> bool: - """Checks if a sound is valid (data loaded and buffers initialized)""" - ... + """Checks if a sound is valid (data loaded and buffers initialized).""" + ... def IsTextureValid(texture: Texture|list|tuple,) -> bool: - """Check if a texture is valid (loaded in GPU)""" - ... + """Check if a texture is valid (loaded in GPU).""" + ... def IsWaveValid(wave: Wave|list|tuple,) -> bool: - """Checks if wave data is valid (data loaded and parameters)""" - ... + """Checks if wave data is valid (data loaded and parameters).""" + ... def IsWindowFocused() -> bool: - """Check if window is currently focused""" - ... + """Check if window is currently focused.""" + ... def IsWindowFullscreen() -> bool: - """Check if window is currently fullscreen""" - ... + """Check if window is currently fullscreen.""" + ... def IsWindowHidden() -> bool: - """Check if window is currently hidden""" - ... + """Check if window is currently hidden.""" + ... def IsWindowMaximized() -> bool: - """Check if window is currently maximized""" - ... + """Check if window is currently maximized.""" + ... def IsWindowMinimized() -> bool: - """Check if window is currently minimized""" - ... + """Check if window is currently minimized.""" + ... def IsWindowReady() -> bool: - """Check if window has been initialized successfully""" - ... + """Check if window has been initialized successfully.""" + ... def IsWindowResized() -> bool: - """Check if window has been resized last frame""" - ... + """Check if window has been resized last frame.""" + ... def IsWindowState(flag: int,) -> bool: - """Check if one specific window flag is enabled""" - ... + """Check if one specific window flag is enabled.""" + ... KEY_A: int KEY_APOSTROPHE: int KEY_B: int @@ -1862,140 +1873,140 @@ LOG_NONE: int LOG_TRACE: int LOG_WARNING: int def Lerp(start: float,end: float,amount: float,) -> float: - """""" - ... + """.""" + ... def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream: - """Load audio stream (to stream raw audio pcm data)""" - ... + """Load audio stream (to stream raw audio pcm data).""" + ... def LoadAutomationEventList(fileName: bytes,) -> AutomationEventList: - """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS""" - ... + """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS.""" + ... def LoadCodepoints(text: bytes,count: Any,) -> Any: - """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter""" - ... + """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter.""" + ... def LoadDirectoryFiles(dirPath: bytes,) -> FilePathList: - """Load directory filepaths""" - ... + """Load directory filepaths.""" + ... def LoadDirectoryFilesEx(basePath: bytes,filter: bytes,scanSubdirs: bool,) -> FilePathList: - """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result""" - ... + """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result.""" + ... def LoadDroppedFiles() -> FilePathList: - """Load dropped filepaths""" - ... + """Load dropped filepaths.""" + ... def LoadFileData(fileName: bytes,dataSize: Any,) -> bytes: - """Load file data as byte array (read)""" - ... + """Load file data as byte array (read).""" + ... def LoadFileText(fileName: bytes,) -> bytes: - """Load text data from file (read), returns a '\0' terminated string""" - ... + """Load text data from file (read), returns a '\0' terminated string.""" + ... def LoadFont(fileName: bytes,) -> Font: - """Load font from file into GPU memory (VRAM)""" - ... + """Load font from file into GPU memory (VRAM).""" + ... def LoadFontData(fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any: - """Load font data for further use""" - ... + """Load font data for further use.""" + ... def LoadFontEx(fileName: bytes,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: - """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height""" - ... + """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height.""" + ... def LoadFontFromImage(image: Image|list|tuple,key: Color|list|tuple,firstChar: int,) -> Font: - """Load font from Image (XNA style)""" - ... + """Load font from Image (XNA style).""" + ... def LoadFontFromMemory(fileType: bytes,fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font: - """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'""" - ... + """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'.""" + ... def LoadImage(fileName: bytes,) -> Image: - """Load image from file into CPU memory (RAM)""" - ... + """Load image from file into CPU memory (RAM).""" + ... def LoadImageAnim(fileName: bytes,frames: Any,) -> Image: - """Load image sequence from file (frames appended to image.data)""" - ... + """Load image sequence from file (frames appended to image.data).""" + ... def LoadImageAnimFromMemory(fileType: bytes,fileData: bytes,dataSize: int,frames: Any,) -> Image: - """Load image sequence from memory buffer""" - ... + """Load image sequence from memory buffer.""" + ... def LoadImageColors(image: Image|list|tuple,) -> Any: - """Load color data from image as a Color array (RGBA - 32bit)""" - ... + """Load color data from image as a Color array (RGBA - 32bit).""" + ... def LoadImageFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Image: - """Load image from memory buffer, fileType refers to extension: i.e. '.png'""" - ... + """Load image from memory buffer, fileType refers to extension: i.e. '.png'.""" + ... def LoadImageFromScreen() -> Image: - """Load image from screen buffer and (screenshot)""" - ... + """Load image from screen buffer and (screenshot).""" + ... def LoadImageFromTexture(texture: Texture|list|tuple,) -> Image: - """Load image from GPU texture data""" - ... + """Load image from GPU texture data.""" + ... def LoadImagePalette(image: Image|list|tuple,maxPaletteSize: int,colorCount: Any,) -> Any: - """Load colors palette from image as a Color array (RGBA - 32bit)""" - ... + """Load colors palette from image as a Color array (RGBA - 32bit).""" + ... def LoadImageRaw(fileName: bytes,width: int,height: int,format: int,headerSize: int,) -> Image: - """Load image from RAW file data""" - ... + """Load image from RAW file data.""" + ... def LoadMaterialDefault() -> Material: - """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)""" - ... + """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps).""" + ... def LoadMaterials(fileName: bytes,materialCount: Any,) -> Any: - """Load materials from model file""" - ... + """Load materials from model file.""" + ... def LoadModel(fileName: bytes,) -> Model: - """Load model from files (meshes and materials)""" - ... + """Load model from files (meshes and materials).""" + ... def LoadModelAnimations(fileName: bytes,animCount: Any,) -> Any: - """Load model animations from file""" - ... + """Load model animations from file.""" + ... def LoadModelFromMesh(mesh: Mesh|list|tuple,) -> Model: - """Load model from generated mesh (default material)""" - ... + """Load model from generated mesh (default material).""" + ... def LoadMusicStream(fileName: bytes,) -> Music: - """Load music stream from file""" - ... + """Load music stream from file.""" + ... def LoadMusicStreamFromMemory(fileType: bytes,data: bytes,dataSize: int,) -> Music: - """Load music stream from data""" - ... + """Load music stream from data.""" + ... def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any: - """Load random values sequence, no values repeated""" - ... + """Load random values sequence, no values repeated.""" + ... def LoadRenderTexture(width: int,height: int,) -> RenderTexture: - """Load texture for rendering (framebuffer)""" - ... + """Load texture for rendering (framebuffer).""" + ... def LoadShader(vsFileName: bytes,fsFileName: bytes,) -> Shader: - """Load shader from files and bind default locations""" - ... + """Load shader from files and bind default locations.""" + ... def LoadShaderFromMemory(vsCode: bytes,fsCode: bytes,) -> Shader: - """Load shader from code strings and bind default locations""" - ... + """Load shader from code strings and bind default locations.""" + ... def LoadSound(fileName: bytes,) -> Sound: - """Load sound from file""" - ... + """Load sound from file.""" + ... def LoadSoundAlias(source: Sound|list|tuple,) -> Sound: - """Create a new sound that shares the same sample data as the source sound, does not own the sound data""" - ... + """Create a new sound that shares the same sample data as the source sound, does not own the sound data.""" + ... def LoadSoundFromWave(wave: Wave|list|tuple,) -> Sound: - """Load sound from wave data""" - ... + """Load sound from wave data.""" + ... def LoadTexture(fileName: bytes,) -> Texture: - """Load texture from file into GPU memory (VRAM)""" - ... + """Load texture from file into GPU memory (VRAM).""" + ... def LoadTextureCubemap(image: Image|list|tuple,layout: int,) -> Texture: - """Load cubemap from image, multiple image cubemap layouts supported""" - ... + """Load cubemap from image, multiple image cubemap layouts supported.""" + ... def LoadTextureFromImage(image: Image|list|tuple,) -> Texture: - """Load texture from image data""" - ... + """Load texture from image data.""" + ... def LoadUTF8(codepoints: Any,length: int,) -> bytes: - """Load UTF-8 text encoded from codepoints array""" - ... + """Load UTF-8 text encoded from codepoints array.""" + ... def LoadVrStereoConfig(device: VrDeviceInfo|list|tuple,) -> VrStereoConfig: - """Load VR stereo config for VR simulator device parameters""" - ... + """Load VR stereo config for VR simulator device parameters.""" + ... def LoadWave(fileName: bytes,) -> Wave: - """Load wave data from file""" - ... + """Load wave data from file.""" + ... def LoadWaveFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Wave: - """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'""" - ... + """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'.""" + ... def LoadWaveSamples(wave: Wave|list|tuple,) -> Any: - """Load samples data from wave as a 32bit float data array""" - ... + """Load samples data from wave as a 32bit float data array.""" + ... MATERIAL_MAP_ALBEDO: int MATERIAL_MAP_BRDF: int MATERIAL_MAP_CUBEMAP: int @@ -2026,104 +2037,104 @@ MOUSE_CURSOR_RESIZE_NESW: int MOUSE_CURSOR_RESIZE_NS: int MOUSE_CURSOR_RESIZE_NWSE: int def MakeDirectory(dirPath: bytes,) -> int: - """Create directories (including full path requested), returns 0 on success""" - ... + """Create directories (including full path requested), returns 0 on success.""" + ... def MatrixAdd(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixDecompose(mat: Matrix|list|tuple,translation: Any|list|tuple,rotation: Any|list|tuple,scale: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def MatrixDeterminant(mat: Matrix|list|tuple,) -> float: - """""" - ... + """.""" + ... def MatrixFrustum(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixIdentity() -> Matrix: - """""" - ... + """.""" + ... def MatrixInvert(mat: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixLookAt(eye: Vector3|list|tuple,target: Vector3|list|tuple,up: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixMultiply(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixPerspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotate(axis: Vector3|list|tuple,angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateX(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateXYZ(angle: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateY(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateZ(angle: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixRotateZYX(angle: Vector3|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixScale(x: float,y: float,z: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixSubtract(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MatrixToFloatV(mat: Matrix|list|tuple,) -> float16: - """""" - ... + """.""" + ... def MatrixTrace(mat: Matrix|list|tuple,) -> float: - """""" - ... + """.""" + ... def MatrixTranslate(x: float,y: float,z: float,) -> Matrix: - """""" - ... + """.""" + ... def MatrixTranspose(mat: Matrix|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def MaximizeWindow() -> None: - """Set window state: maximized, if resizable""" - ... + """Set window state: maximized, if resizable.""" + ... def MeasureText(text: bytes,fontSize: int,) -> int: - """Measure string width for default font""" - ... + """Measure string width for default font.""" + ... def MeasureTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,) -> Vector2: - """Measure string size for Font""" - ... + """Measure string size for Font.""" + ... def MemAlloc(size: int,) -> Any: - """Internal memory allocator""" - ... + """Internal memory allocator.""" + ... def MemFree(ptr: Any,) -> None: - """Internal memory free""" - ... + """Internal memory free.""" + ... def MemRealloc(ptr: Any,size: int,) -> Any: - """Internal memory reallocator""" - ... + """Internal memory reallocator.""" + ... def MinimizeWindow() -> None: - """Set window state: minimized, if resizable""" - ... + """Set window state: minimized, if resizable.""" + ... NPATCH_NINE_PATCH: int NPATCH_THREE_PATCH_HORIZONTAL: int NPATCH_THREE_PATCH_VERTICAL: int def Normalize(value: float,start: float,end: float,) -> float: - """""" - ... + """.""" + ... def OpenURL(url: bytes,) -> None: - """Open URL with default system browser (if available)""" - ... + """Open URL with default system browser (if available).""" + ... PHYSICS_CIRCLE: int PHYSICS_POLYGON: int PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int @@ -2153,110 +2164,113 @@ PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int PROGRESSBAR: int PROGRESS_PADDING: int def PauseAudioStream(stream: AudioStream|list|tuple,) -> None: - """Pause audio stream""" - ... + """Pause audio stream.""" + ... def PauseMusicStream(music: Music|list|tuple,) -> None: - """Pause music playing""" - ... + """Pause music playing.""" + ... def PauseSound(sound: Sound|list|tuple,) -> None: - """Pause a sound""" - ... + """Pause a sound.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def PhysicsAddForce(body: Any|list|tuple,force: Vector2|list|tuple,) -> None: - """Adds a force to a physics body""" - ... + """Adds a force to a physics body.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def PhysicsAddTorque(body: Any|list|tuple,amount: float,) -> None: - """Adds an angular force to a physics body""" - ... + """Adds an angular force to a physics body.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def PhysicsShatter(body: Any|list|tuple,position: Vector2|list|tuple,force: float,) -> None: - """Shatters a polygon shape physics body to little physics bodies with explosion force""" - ... + """Shatters a polygon shape physics body to little physics bodies with explosion force.""" + ... def PlayAudioStream(stream: AudioStream|list|tuple,) -> None: - """Play audio stream""" - ... + """Play audio stream.""" + ... def PlayAutomationEvent(event: AutomationEvent|list|tuple,) -> None: - """Play a recorded automation event""" - ... + """Play a recorded automation event.""" + ... def PlayMusicStream(music: Music|list|tuple,) -> None: - """Start music playing""" - ... + """Start music playing.""" + ... def PlaySound(sound: Sound|list|tuple,) -> None: - """Play a sound""" - ... + """Play a sound.""" + ... def PollInputEvents() -> None: - """Register all input events""" - ... + """Register all input events.""" + ... def QuaternionAdd(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionAddValue(q: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionCubicHermiteSpline(q1: Vector4|list|tuple,outTangent1: Vector4|list|tuple,q2: Vector4|list|tuple,inTangent2: Vector4|list|tuple,t: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionDivide(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionEquals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int: - """""" - ... + """.""" + ... def QuaternionFromAxisAngle(axis: Vector3|list|tuple,angle: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionFromEuler(pitch: float,yaw: float,roll: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionFromMatrix(mat: Matrix|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionFromVector3ToVector3(from_0: Vector3|list|tuple,to: Vector3|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionIdentity() -> Vector4: - """""" - ... + """.""" + ... def QuaternionInvert(q: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionLength(q: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def QuaternionLerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionMultiply(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionNlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionNormalize(q: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionScale(q: Vector4|list|tuple,mul: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionSlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionSubtract(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionSubtractValue(q: Vector4|list|tuple,sub: float,) -> Vector4: - """""" - ... + """.""" + ... def QuaternionToAxisAngle(q: Vector4|list|tuple,outAxis: Any|list|tuple,outAngle: Any,) -> None: - """""" - ... + """.""" + ... def QuaternionToEuler(q: Vector4|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def QuaternionToMatrix(q: Vector4|list|tuple,) -> Matrix: - """""" - ... + """.""" + ... def QuaternionTransform(q: Vector4|list|tuple,mat: Matrix|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... RL_ATTACHMENT_COLOR_CHANNEL0: int RL_ATTACHMENT_COLOR_CHANNEL1: int RL_ATTACHMENT_COLOR_CHANNEL2: int @@ -2373,23 +2387,24 @@ RL_TEXTURE_FILTER_BILINEAR: int RL_TEXTURE_FILTER_POINT: int RL_TEXTURE_FILTER_TRILINEAR: int def Remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float: - """""" - ... + """.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def ResetPhysics() -> None: - """Reset physics system (global variables)""" - ... + """Reset physics system (global variables).""" + ... def RestoreWindow() -> None: - """Set window state: not minimized/maximized""" - ... + """Set window state: not minimized/maximized.""" + ... def ResumeAudioStream(stream: AudioStream|list|tuple,) -> None: - """Resume audio stream""" - ... + """Resume audio stream.""" + ... def ResumeMusicStream(music: Music|list|tuple,) -> None: - """Resume playing paused music""" - ... + """Resume playing paused music.""" + ... def ResumeSound(sound: Sound|list|tuple,) -> None: - """Resume a paused sound""" - ... + """Resume a paused sound.""" + ... SCROLLBAR: int SCROLLBAR_SIDE: int SCROLLBAR_WIDTH: int @@ -2451,206 +2466,209 @@ STATE_NORMAL: int STATE_PRESSED: int STATUSBAR: int def SaveFileData(fileName: bytes,data: Any,dataSize: int,) -> bool: - """Save data to file from byte array (write), returns true on success""" - ... + """Save data to file from byte array (write), returns true on success.""" + ... def SaveFileText(fileName: bytes,text: bytes,) -> bool: - """Save text data to file (write), string must be '\0' terminated, returns true on success""" - ... + """Save text data to file (write), string must be '\0' terminated, returns true on success.""" + ... def SeekMusicStream(music: Music|list|tuple,position: float,) -> None: - """Seek music to a position (in seconds)""" - ... + """Seek music to a position (in seconds).""" + ... def SetAudioStreamBufferSizeDefault(size: int,) -> None: - """Default size for new audio streams""" - ... + """Default size for new audio streams.""" + ... def SetAudioStreamCallback(stream: AudioStream|list|tuple,callback: Any,) -> None: - """Audio thread callback to request new data""" - ... + """Audio thread callback to request new data.""" + ... def SetAudioStreamPan(stream: AudioStream|list|tuple,pan: float,) -> None: - """Set pan for audio stream (0.5 is centered)""" - ... + """Set pan for audio stream (0.5 is centered).""" + ... def SetAudioStreamPitch(stream: AudioStream|list|tuple,pitch: float,) -> None: - """Set pitch for audio stream (1.0 is base level)""" - ... + """Set pitch for audio stream (1.0 is base level).""" + ... def SetAudioStreamVolume(stream: AudioStream|list|tuple,volume: float,) -> None: - """Set volume for audio stream (1.0 is max level)""" - ... + """Set volume for audio stream (1.0 is max level).""" + ... def SetAutomationEventBaseFrame(frame: int,) -> None: - """Set automation event internal base frame to start recording""" - ... + """Set automation event internal base frame to start recording.""" + ... def SetAutomationEventList(list_0: Any|list|tuple,) -> None: - """Set automation event list to record to""" - ... + """Set automation event list to record to.""" + ... def SetClipboardText(text: bytes,) -> None: - """Set clipboard text content""" - ... + """Set clipboard text content.""" + ... def SetConfigFlags(flags: int,) -> None: - """Setup init configuration flags (view FLAGS)""" - ... + """Setup init configuration flags (view FLAGS).""" + ... def SetExitKey(key: int,) -> None: - """Set a custom key to exit program (default is ESC)""" - ... + """Set a custom key to exit program (default is ESC).""" + ... def SetGamepadMappings(mappings: bytes,) -> int: - """Set internal gamepad mappings (SDL_GameControllerDB)""" - ... + """Set internal gamepad mappings (SDL_GameControllerDB).""" + ... def SetGamepadVibration(gamepad: int,leftMotor: float,rightMotor: float,duration: float,) -> None: - """Set gamepad vibration for both motors (duration in seconds)""" - ... + """Set gamepad vibration for both motors (duration in seconds).""" + ... def SetGesturesEnabled(flags: int,) -> None: - """Enable a set of gestures using flags""" - ... + """Enable a set of gestures using flags.""" + ... def SetLoadFileDataCallback(callback: bytes,) -> None: - """Set custom file binary data loader""" - ... + """Set custom file binary data loader.""" + ... def SetLoadFileTextCallback(callback: bytes,) -> None: - """Set custom file text data loader""" - ... + """Set custom file text data loader.""" + ... def SetMasterVolume(volume: float,) -> None: - """Set master volume (listener)""" - ... + """Set master volume (listener).""" + ... def SetMaterialTexture(material: Any|list|tuple,mapType: int,texture: Texture|list|tuple,) -> None: - """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)""" - ... + """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...).""" + ... def SetModelMeshMaterial(model: Any|list|tuple,meshId: int,materialId: int,) -> None: - """Set material for a mesh""" - ... + """Set material for a mesh.""" + ... def SetMouseCursor(cursor: int,) -> None: - """Set mouse cursor""" - ... + """Set mouse cursor.""" + ... def SetMouseOffset(offsetX: int,offsetY: int,) -> None: - """Set mouse offset""" - ... + """Set mouse offset.""" + ... def SetMousePosition(x: int,y: int,) -> None: - """Set mouse position XY""" - ... + """Set mouse position XY.""" + ... def SetMouseScale(scaleX: float,scaleY: float,) -> None: - """Set mouse scaling""" - ... + """Set mouse scaling.""" + ... def SetMusicPan(music: Music|list|tuple,pan: float,) -> None: - """Set pan for a music (0.5 is center)""" - ... + """Set pan for a music (0.5 is center).""" + ... def SetMusicPitch(music: Music|list|tuple,pitch: float,) -> None: - """Set pitch for a music (1.0 is base level)""" - ... + """Set pitch for a music (1.0 is base level).""" + ... def SetMusicVolume(music: Music|list|tuple,volume: float,) -> None: - """Set volume for music (1.0 is max level)""" - ... + """Set volume for music (1.0 is max level).""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def SetPhysicsBodyRotation(body: Any|list|tuple,radians: float,) -> None: - """Sets physics body shape transform based on radians parameter""" - ... + """Sets physics body shape transform based on radians parameter.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def SetPhysicsGravity(x: float,y: float,) -> None: - """Sets physics global gravity force""" - ... + """Sets physics global gravity force.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def SetPhysicsTimeStep(delta: float,) -> None: - """Sets physics fixed time step in milliseconds. 1.666666 by default""" - ... + """Sets physics fixed time step in milliseconds. 1.666666 by default.""" + ... def SetPixelColor(dstPtr: Any,color: Color|list|tuple,format: int,) -> None: - """Set color formatted into destination pixel pointer""" - ... + """Set color formatted into destination pixel pointer.""" + ... def SetRandomSeed(seed: int,) -> None: - """Set the seed for the random number generator""" - ... + """Set the seed for the random number generator.""" + ... def SetSaveFileDataCallback(callback: bytes,) -> None: - """Set custom file binary data saver""" - ... + """Set custom file binary data saver.""" + ... def SetSaveFileTextCallback(callback: bytes,) -> None: - """Set custom file text data saver""" - ... + """Set custom file text data saver.""" + ... def SetShaderValue(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,) -> None: - """Set shader uniform value""" - ... + """Set shader uniform value.""" + ... def SetShaderValueMatrix(shader: Shader|list|tuple,locIndex: int,mat: Matrix|list|tuple,) -> None: - """Set shader uniform value (matrix 4x4)""" - ... + """Set shader uniform value (matrix 4x4).""" + ... def SetShaderValueTexture(shader: Shader|list|tuple,locIndex: int,texture: Texture|list|tuple,) -> None: - """Set shader uniform value for texture (sampler2d)""" - ... + """Set shader uniform value for texture (sampler2d).""" + ... def SetShaderValueV(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,count: int,) -> None: - """Set shader uniform value vector""" - ... + """Set shader uniform value vector.""" + ... def SetShapesTexture(texture: Texture|list|tuple,source: Rectangle|list|tuple,) -> None: - """Set texture and rectangle to be used on shapes drawing""" - ... + """Set texture and rectangle to be used on shapes drawing.""" + ... def SetSoundPan(sound: Sound|list|tuple,pan: float,) -> None: - """Set pan for a sound (0.5 is center)""" - ... + """Set pan for a sound (0.5 is center).""" + ... def SetSoundPitch(sound: Sound|list|tuple,pitch: float,) -> None: - """Set pitch for a sound (1.0 is base level)""" - ... + """Set pitch for a sound (1.0 is base level).""" + ... def SetSoundVolume(sound: Sound|list|tuple,volume: float,) -> None: - """Set volume for a sound (1.0 is max level)""" - ... + """Set volume for a sound (1.0 is max level).""" + ... def SetTargetFPS(fps: int,) -> None: - """Set target FPS (maximum)""" - ... + """Set target FPS (maximum).""" + ... def SetTextLineSpacing(spacing: int,) -> None: - """Set vertical line spacing when drawing with line-breaks""" - ... + """Set vertical line spacing when drawing with line-breaks.""" + ... def SetTextureFilter(texture: Texture|list|tuple,filter: int,) -> None: - """Set texture scaling filter mode""" - ... + """Set texture scaling filter mode.""" + ... def SetTextureWrap(texture: Texture|list|tuple,wrap: int,) -> None: - """Set texture wrapping mode""" - ... + """Set texture wrapping mode.""" + ... def SetTraceLogCallback(callback: bytes,) -> None: - """Set custom trace log""" - ... + """Set custom trace log.""" + ... def SetTraceLogLevel(logLevel: int,) -> None: - """Set the current threshold (minimum) log level""" - ... + """Set the current threshold (minimum) log level.""" + ... def SetWindowFocused() -> None: - """Set window focused""" - ... + """Set window focused.""" + ... def SetWindowIcon(image: Image|list|tuple,) -> None: - """Set icon for window (single image, RGBA 32bit)""" - ... + """Set icon for window (single image, RGBA 32bit).""" + ... def SetWindowIcons(images: Any|list|tuple,count: int,) -> None: - """Set icon for window (multiple images, RGBA 32bit)""" - ... + """Set icon for window (multiple images, RGBA 32bit).""" + ... def SetWindowMaxSize(width: int,height: int,) -> None: - """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)""" - ... + """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE).""" + ... def SetWindowMinSize(width: int,height: int,) -> None: - """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)""" - ... + """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE).""" + ... def SetWindowMonitor(monitor: int,) -> None: - """Set monitor for the current window""" - ... + """Set monitor for the current window.""" + ... def SetWindowOpacity(opacity: float,) -> None: - """Set window opacity [0.0f..1.0f]""" - ... + """Set window opacity [0.0f..1.0f].""" + ... def SetWindowPosition(x: int,y: int,) -> None: - """Set window position on screen""" - ... + """Set window position on screen.""" + ... def SetWindowSize(width: int,height: int,) -> None: - """Set window dimensions""" - ... + """Set window dimensions.""" + ... def SetWindowState(flags: int,) -> None: - """Set window configuration state using flags""" - ... + """Set window configuration state using flags.""" + ... def SetWindowTitle(title: bytes,) -> None: - """Set title for window""" - ... + """Set title for window.""" + ... def ShowCursor() -> None: - """Shows cursor""" - ... + """Shows cursor.""" + ... def StartAutomationEventRecording() -> None: - """Start recording automation events (AutomationEventList must be set)""" - ... + """Start recording automation events (AutomationEventList must be set).""" + ... def StopAudioStream(stream: AudioStream|list|tuple,) -> None: - """Stop audio stream""" - ... + """Stop audio stream.""" + ... def StopAutomationEventRecording() -> None: - """Stop recording automation events""" - ... + """Stop recording automation events.""" + ... def StopMusicStream(music: Music|list|tuple,) -> None: - """Stop music playing""" - ... + """Stop music playing.""" + ... def StopSound(sound: Sound|list|tuple,) -> None: - """Stop playing a sound""" - ... + """Stop playing a sound.""" + ... def SwapScreenBuffer() -> None: - """Swap back buffer with front buffer (screen drawing)""" - ... + """Swap back buffer with front buffer (screen drawing).""" + ... TEXTBOX: int TEXTURE_FILTER_ANISOTROPIC_16X: int TEXTURE_FILTER_ANISOTROPIC_4X: int @@ -2685,1305 +2703,1306 @@ TEXT_WRAP_NONE: int TEXT_WRAP_WORD: int TOGGLE: int def TakeScreenshot(fileName: bytes,) -> None: - """Takes a screenshot of current screen (filename extension defines format)""" - ... + """Takes a screenshot of current screen (filename extension defines format).""" + ... def TextAppend(text: bytes,append: bytes,position: Any,) -> None: - """Append text at specific position and move cursor!""" - ... + """Append text at specific position and move cursor!.""" + ... def TextCopy(dst: bytes,src: bytes,) -> int: - """Copy one string to another, returns bytes copied""" - ... + """Copy one string to another, returns bytes copied.""" + ... def TextFindIndex(text: bytes,find: bytes,) -> int: - """Find first text occurrence within a string""" - ... + """Find first text occurrence within a string.""" + ... def TextFormat(*args) -> bytes: """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" ... def TextInsert(text: bytes,insert: bytes,position: int,) -> bytes: - """Insert text in a position (WARNING: memory must be freed!)""" - ... + """Insert text in a position (WARNING: memory must be freed!).""" + ... def TextIsEqual(text1: bytes,text2: bytes,) -> bool: - """Check if two text string are equal""" - ... + """Check if two text string are equal.""" + ... def TextJoin(textList: list[bytes],count: int,delimiter: bytes,) -> bytes: - """Join text strings with delimiter""" - ... + """Join text strings with delimiter.""" + ... def TextLength(text: bytes,) -> int: - """Get text length, checks for '\0' ending""" - ... + """Get text length, checks for '\0' ending.""" + ... def TextReplace(text: bytes,replace: bytes,by: bytes,) -> bytes: - """Replace text string (WARNING: memory must be freed!)""" - ... + """Replace text string (WARNING: memory must be freed!).""" + ... def TextSplit(text: bytes,delimiter: bytes,count: Any,) -> list[bytes]: - """Split text into multiple strings""" - ... + """Split text into multiple strings.""" + ... def TextSubtext(text: bytes,position: int,length: int,) -> bytes: - """Get a piece of a text string""" - ... + """Get a piece of a text string.""" + ... def TextToCamel(text: bytes,) -> bytes: - """Get Camel case notation version of provided string""" - ... + """Get Camel case notation version of provided string.""" + ... def TextToFloat(text: bytes,) -> float: - """Get float value from text (negative values not supported)""" - ... + """Get float value from text (negative values not supported).""" + ... def TextToInteger(text: bytes,) -> int: - """Get integer value from text (negative values not supported)""" - ... + """Get integer value from text (negative values not supported).""" + ... def TextToLower(text: bytes,) -> bytes: - """Get lower case version of provided string""" - ... + """Get lower case version of provided string.""" + ... def TextToPascal(text: bytes,) -> bytes: - """Get Pascal case notation version of provided string""" - ... + """Get Pascal case notation version of provided string.""" + ... def TextToSnake(text: bytes,) -> bytes: - """Get Snake case notation version of provided string""" - ... + """Get Snake case notation version of provided string.""" + ... def TextToUpper(text: bytes,) -> bytes: - """Get upper case version of provided string""" - ... + """Get upper case version of provided string.""" + ... def ToggleBorderlessWindowed() -> None: - """Toggle window state: borderless windowed, resizes window to match monitor resolution""" - ... + """Toggle window state: borderless windowed, resizes window to match monitor resolution.""" + ... def ToggleFullscreen() -> None: - """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution""" - ... + """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution.""" + ... def TraceLog(*args) -> None: """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI""" ... def UnloadAudioStream(stream: AudioStream|list|tuple,) -> None: - """Unload audio stream and free memory""" - ... + """Unload audio stream and free memory.""" + ... def UnloadAutomationEventList(list_0: AutomationEventList|list|tuple,) -> None: - """Unload automation events list from file""" - ... + """Unload automation events list from file.""" + ... def UnloadCodepoints(codepoints: Any,) -> None: - """Unload codepoints data from memory""" - ... + """Unload codepoints data from memory.""" + ... def UnloadDirectoryFiles(files: FilePathList|list|tuple,) -> None: - """Unload filepaths""" - ... + """Unload filepaths.""" + ... def UnloadDroppedFiles(files: FilePathList|list|tuple,) -> None: - """Unload dropped filepaths""" - ... + """Unload dropped filepaths.""" + ... def UnloadFileData(data: bytes,) -> None: - """Unload file data allocated by LoadFileData()""" - ... + """Unload file data allocated by LoadFileData().""" + ... def UnloadFileText(text: bytes,) -> None: - """Unload file text data allocated by LoadFileText()""" - ... + """Unload file text data allocated by LoadFileText().""" + ... def UnloadFont(font: Font|list|tuple,) -> None: - """Unload font from GPU memory (VRAM)""" - ... + """Unload font from GPU memory (VRAM).""" + ... def UnloadFontData(glyphs: Any|list|tuple,glyphCount: int,) -> None: - """Unload font chars info data (RAM)""" - ... + """Unload font chars info data (RAM).""" + ... def UnloadImage(image: Image|list|tuple,) -> None: - """Unload image from CPU memory (RAM)""" - ... + """Unload image from CPU memory (RAM).""" + ... def UnloadImageColors(colors: Any|list|tuple,) -> None: - """Unload color data loaded with LoadImageColors()""" - ... + """Unload color data loaded with LoadImageColors().""" + ... def UnloadImagePalette(colors: Any|list|tuple,) -> None: - """Unload colors palette loaded with LoadImagePalette()""" - ... + """Unload colors palette loaded with LoadImagePalette().""" + ... def UnloadMaterial(material: Material|list|tuple,) -> None: - """Unload material from GPU memory (VRAM)""" - ... + """Unload material from GPU memory (VRAM).""" + ... def UnloadMesh(mesh: Mesh|list|tuple,) -> None: - """Unload mesh data from CPU and GPU""" - ... + """Unload mesh data from CPU and GPU.""" + ... def UnloadModel(model: Model|list|tuple,) -> None: - """Unload model (including meshes) from memory (RAM and/or VRAM)""" - ... + """Unload model (including meshes) from memory (RAM and/or VRAM).""" + ... def UnloadModelAnimation(anim: ModelAnimation|list|tuple,) -> None: - """Unload animation data""" - ... + """Unload animation data.""" + ... def UnloadModelAnimations(animations: Any|list|tuple,animCount: int,) -> None: - """Unload animation array data""" - ... + """Unload animation array data.""" + ... def UnloadMusicStream(music: Music|list|tuple,) -> None: - """Unload music stream""" - ... + """Unload music stream.""" + ... def UnloadRandomSequence(sequence: Any,) -> None: - """Unload random values sequence""" - ... + """Unload random values sequence.""" + ... def UnloadRenderTexture(target: RenderTexture|list|tuple,) -> None: - """Unload render texture from GPU memory (VRAM)""" - ... + """Unload render texture from GPU memory (VRAM).""" + ... def UnloadShader(shader: Shader|list|tuple,) -> None: - """Unload shader from GPU memory (VRAM)""" - ... + """Unload shader from GPU memory (VRAM).""" + ... def UnloadSound(sound: Sound|list|tuple,) -> None: - """Unload sound""" - ... + """Unload sound.""" + ... def UnloadSoundAlias(alias: Sound|list|tuple,) -> None: - """Unload a sound alias (does not deallocate sample data)""" - ... + """Unload a sound alias (does not deallocate sample data).""" + ... def UnloadTexture(texture: Texture|list|tuple,) -> None: - """Unload texture from GPU memory (VRAM)""" - ... + """Unload texture from GPU memory (VRAM).""" + ... def UnloadUTF8(text: bytes,) -> None: - """Unload UTF-8 text encoded from codepoints array""" - ... + """Unload UTF-8 text encoded from codepoints array.""" + ... def UnloadVrStereoConfig(config: VrStereoConfig|list|tuple,) -> None: - """Unload VR stereo config""" - ... + """Unload VR stereo config.""" + ... def UnloadWave(wave: Wave|list|tuple,) -> None: - """Unload wave data""" - ... + """Unload wave data.""" + ... def UnloadWaveSamples(samples: Any,) -> None: - """Unload samples data loaded with LoadWaveSamples()""" - ... + """Unload samples data loaded with LoadWaveSamples().""" + ... def UpdateAudioStream(stream: AudioStream|list|tuple,data: Any,frameCount: int,) -> None: - """Update audio stream buffers with data""" - ... + """Update audio stream buffers with data.""" + ... def UpdateCamera(camera: Any|list|tuple,mode: int,) -> None: - """Update camera position for selected mode""" - ... + """Update camera position for selected mode.""" + ... def UpdateCameraPro(camera: Any|list|tuple,movement: Vector3|list|tuple,rotation: Vector3|list|tuple,zoom: float,) -> None: - """Update camera movement/rotation""" - ... + """Update camera movement/rotation.""" + ... def UpdateMeshBuffer(mesh: Mesh|list|tuple,index: int,data: Any,dataSize: int,offset: int,) -> None: - """Update mesh vertex data in GPU for a specific buffer index""" - ... + """Update mesh vertex data in GPU for a specific buffer index.""" + ... def UpdateModelAnimation(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None: - """Update model animation pose (CPU)""" - ... + """Update model animation pose (CPU).""" + ... def UpdateModelAnimationBones(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None: - """Update model animation mesh bone matrices (GPU skinning)""" - ... + """Update model animation mesh bone matrices (GPU skinning).""" + ... def UpdateMusicStream(music: Music|list|tuple,) -> None: - """Updates buffers for music streaming""" - ... + """Updates buffers for music streaming.""" + ... +@deprecated("Raylib no longer recommends the use of Physac library") def UpdatePhysics() -> None: - """Update physics system""" - ... + """Update physics system.""" + ... def UpdateSound(sound: Sound|list|tuple,data: Any,sampleCount: int,) -> None: - """Update sound buffer with new data""" - ... + """Update sound buffer with new data.""" + ... def UpdateTexture(texture: Texture|list|tuple,pixels: Any,) -> None: - """Update GPU texture with new data""" - ... + """Update GPU texture with new data.""" + ... def UpdateTextureRec(texture: Texture|list|tuple,rec: Rectangle|list|tuple,pixels: Any,) -> None: - """Update GPU texture rectangle with new data""" - ... + """Update GPU texture rectangle with new data.""" + ... def UploadMesh(mesh: Any|list|tuple,dynamic: bool,) -> None: - """Upload mesh vertex data in GPU and provide VAO/VBO ids""" - ... + """Upload mesh vertex data in GPU and provide VAO/VBO ids.""" + ... VALUEBOX: int def Vector2Add(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2AddValue(v: Vector2|list|tuple,add: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Angle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Clamp(v: Vector2|list|tuple,min_1: Vector2|list|tuple,max_2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2ClampValue(v: Vector2|list|tuple,min_1: float,max_2: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Distance(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2DistanceSqr(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Divide(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2DotProduct(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Equals(p: Vector2|list|tuple,q: Vector2|list|tuple,) -> int: - """""" - ... + """.""" + ... def Vector2Invert(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Length(v: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2LengthSqr(v: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Lerp(v1: Vector2|list|tuple,v2: Vector2|list|tuple,amount: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2LineAngle(start: Vector2|list|tuple,end: Vector2|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector2Max(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Min(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2MoveTowards(v: Vector2|list|tuple,target: Vector2|list|tuple,maxDistance: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Multiply(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Negate(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Normalize(v: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2One() -> Vector2: - """""" - ... + """.""" + ... def Vector2Reflect(v: Vector2|list|tuple,normal: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Refract(v: Vector2|list|tuple,n: Vector2|list|tuple,r: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Rotate(v: Vector2|list|tuple,angle: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Scale(v: Vector2|list|tuple,scale: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Subtract(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2SubtractValue(v: Vector2|list|tuple,sub: float,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Transform(v: Vector2|list|tuple,mat: Matrix|list|tuple,) -> Vector2: - """""" - ... + """.""" + ... def Vector2Zero() -> Vector2: - """""" - ... + """.""" + ... def Vector3Add(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3AddValue(v: Vector3|list|tuple,add: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Angle(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Barycenter(p: Vector3|list|tuple,a: Vector3|list|tuple,b: Vector3|list|tuple,c: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Clamp(v: Vector3|list|tuple,min_1: Vector3|list|tuple,max_2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3ClampValue(v: Vector3|list|tuple,min_1: float,max_2: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3CrossProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3CubicHermite(v1: Vector3|list|tuple,tangent1: Vector3|list|tuple,v2: Vector3|list|tuple,tangent2: Vector3|list|tuple,amount: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Distance(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3DistanceSqr(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Divide(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3DotProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Equals(p: Vector3|list|tuple,q: Vector3|list|tuple,) -> int: - """""" - ... + """.""" + ... def Vector3Invert(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Length(v: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3LengthSqr(v: Vector3|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector3Lerp(v1: Vector3|list|tuple,v2: Vector3|list|tuple,amount: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Max(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Min(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3MoveTowards(v: Vector3|list|tuple,target: Vector3|list|tuple,maxDistance: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Multiply(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Negate(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Normalize(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3One() -> Vector3: - """""" - ... + """.""" + ... def Vector3OrthoNormalize(v1: Any|list|tuple,v2: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def Vector3Perpendicular(v: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Project(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Reflect(v: Vector3|list|tuple,normal: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Refract(v: Vector3|list|tuple,n: Vector3|list|tuple,r: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Reject(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3RotateByAxisAngle(v: Vector3|list|tuple,axis: Vector3|list|tuple,angle: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3RotateByQuaternion(v: Vector3|list|tuple,q: Vector4|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Scale(v: Vector3|list|tuple,scalar: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Subtract(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3SubtractValue(v: Vector3|list|tuple,sub: float,) -> Vector3: - """""" - ... + """.""" + ... def Vector3ToFloatV(v: Vector3|list|tuple,) -> float3: - """""" - ... + """.""" + ... def Vector3Transform(v: Vector3|list|tuple,mat: Matrix|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Unproject(source: Vector3|list|tuple,projection: Matrix|list|tuple,view: Matrix|list|tuple,) -> Vector3: - """""" - ... + """.""" + ... def Vector3Zero() -> Vector3: - """""" - ... + """.""" + ... def Vector4Add(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4AddValue(v: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Distance(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4DistanceSqr(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4Divide(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4DotProduct(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4Equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int: - """""" - ... + """.""" + ... def Vector4Invert(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Length(v: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4LengthSqr(v: Vector4|list|tuple,) -> float: - """""" - ... + """.""" + ... def Vector4Lerp(v1: Vector4|list|tuple,v2: Vector4|list|tuple,amount: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Max(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Min(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4MoveTowards(v: Vector4|list|tuple,target: Vector4|list|tuple,maxDistance: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Multiply(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Negate(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Normalize(v: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4One() -> Vector4: - """""" - ... + """.""" + ... def Vector4Scale(v: Vector4|list|tuple,scale: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Subtract(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4: - """""" - ... + """.""" + ... def Vector4SubtractValue(v: Vector4|list|tuple,add: float,) -> Vector4: - """""" - ... + """.""" + ... def Vector4Zero() -> Vector4: - """""" - ... + """.""" + ... def WaitTime(seconds: float,) -> None: - """Wait for some time (halt program execution)""" - ... + """Wait for some time (halt program execution).""" + ... def WaveCopy(wave: Wave|list|tuple,) -> Wave: - """Copy a wave to a new wave""" - ... + """Copy a wave to a new wave.""" + ... def WaveCrop(wave: Any|list|tuple,initFrame: int,finalFrame: int,) -> None: - """Crop a wave to defined frames range""" - ... + """Crop a wave to defined frames range.""" + ... def WaveFormat(wave: Any|list|tuple,sampleRate: int,sampleSize: int,channels: int,) -> None: - """Convert wave data to desired format""" - ... + """Convert wave data to desired format.""" + ... def WindowShouldClose() -> bool: - """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)""" - ... + """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked).""" + ... def Wrap(value: float,min_1: float,max_2: float,) -> float: - """""" - ... + """.""" + ... def glfwCreateCursor(image: Any|list|tuple,xhot: int,yhot: int,) -> Any: - """""" - ... + """.""" + ... def glfwCreateStandardCursor(shape: int,) -> Any: - """""" - ... + """.""" + ... def glfwCreateWindow(width: int,height: int,title: bytes,monitor: Any|list|tuple,share: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwDefaultWindowHints() -> None: - """""" - ... + """.""" + ... def glfwDestroyCursor(cursor: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwDestroyWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwExtensionSupported(extension: bytes,) -> int: - """""" - ... + """.""" + ... def glfwFocusWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwGetClipboardString(window: Any|list|tuple,) -> bytes: - """""" - ... + """.""" + ... def glfwGetCurrentContext() -> Any: - """""" - ... + """.""" + ... def glfwGetCursorPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetError(description: list[bytes],) -> int: - """""" - ... + """.""" + ... def glfwGetFramebufferSize(window: Any|list|tuple,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetGamepadName(jid: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetGamepadState(jid: int,state: Any|list|tuple,) -> int: - """""" - ... + """.""" + ... def glfwGetGammaRamp(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetInputMode(window: Any|list|tuple,mode: int,) -> int: - """""" - ... + """.""" + ... def glfwGetJoystickAxes(jid: int,count: Any,) -> Any: - """""" - ... + """.""" + ... def glfwGetJoystickButtons(jid: int,count: Any,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickGUID(jid: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickHats(jid: int,count: Any,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickName(jid: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetJoystickUserPointer(jid: int,) -> Any: - """""" - ... + """.""" + ... def glfwGetKey(window: Any|list|tuple,key: int,) -> int: - """""" - ... + """.""" + ... def glfwGetKeyName(key: int,scancode: int,) -> bytes: - """""" - ... + """.""" + ... def glfwGetKeyScancode(key: int,) -> int: - """""" - ... + """.""" + ... def glfwGetMonitorContentScale(monitor: Any|list|tuple,xscale: Any,yscale: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitorName(monitor: Any|list|tuple,) -> bytes: - """""" - ... + """.""" + ... def glfwGetMonitorPhysicalSize(monitor: Any|list|tuple,widthMM: Any,heightMM: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitorPos(monitor: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitorUserPointer(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetMonitorWorkarea(monitor: Any|list|tuple,xpos: Any,ypos: Any,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetMonitors(count: Any,) -> Any: - """""" - ... + """.""" + ... def glfwGetMouseButton(window: Any|list|tuple,button: int,) -> int: - """""" - ... + """.""" + ... def glfwGetPlatform() -> int: - """""" - ... + """.""" + ... def glfwGetPrimaryMonitor() -> Any: - """""" - ... + """.""" + ... def glfwGetProcAddress(procname: bytes,) -> Any: - """""" - ... + """.""" + ... def glfwGetRequiredInstanceExtensions(count: Any,) -> list[bytes]: - """""" - ... + """.""" + ... def glfwGetTime() -> float: - """""" - ... + """.""" + ... def glfwGetTimerFrequency() -> int: - """""" - ... + """.""" + ... def glfwGetTimerValue() -> int: - """""" - ... + """.""" + ... def glfwGetVersion(major: Any,minor: Any,rev: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetVersionString() -> bytes: - """""" - ... + """.""" + ... def glfwGetVideoMode(monitor: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetVideoModes(monitor: Any|list|tuple,count: Any,) -> Any: - """""" - ... + """.""" + ... def glfwGetWindowAttrib(window: Any|list|tuple,attrib: int,) -> int: - """""" - ... + """.""" + ... def glfwGetWindowContentScale(window: Any|list|tuple,xscale: Any,yscale: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowFrameSize(window: Any|list|tuple,left: Any,top: Any,right: Any,bottom: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowMonitor(window: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwGetWindowOpacity(window: Any|list|tuple,) -> float: - """""" - ... + """.""" + ... def glfwGetWindowPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowSize(window: Any|list|tuple,width: Any,height: Any,) -> None: - """""" - ... + """.""" + ... def glfwGetWindowTitle(window: Any|list|tuple,) -> bytes: - """""" - ... + """.""" + ... def glfwGetWindowUserPointer(window: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwHideWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwIconifyWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwInit() -> int: - """""" - ... + """.""" + ... def glfwInitAllocator(allocator: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwInitHint(hint: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwJoystickIsGamepad(jid: int,) -> int: - """""" - ... + """.""" + ... def glfwJoystickPresent(jid: int,) -> int: - """""" - ... + """.""" + ... def glfwMakeContextCurrent(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwMaximizeWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwPlatformSupported(platform: int,) -> int: - """""" - ... + """.""" + ... def glfwPollEvents() -> None: - """""" - ... + """.""" + ... def glfwPostEmptyEvent() -> None: - """""" - ... + """.""" + ... def glfwRawMouseMotionSupported() -> int: - """""" - ... + """.""" + ... def glfwRequestWindowAttention(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwRestoreWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetCharCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetCharModsCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetClipboardString(window: Any|list|tuple,string: bytes,) -> None: - """""" - ... + """.""" + ... def glfwSetCursor(window: Any|list|tuple,cursor: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetCursorEnterCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetCursorPos(window: Any|list|tuple,xpos: float,ypos: float,) -> None: - """""" - ... + """.""" + ... def glfwSetCursorPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetDropCallback(window: Any|list|tuple,callback: list[bytes]|list|tuple,) -> list[bytes]: - """""" - ... + """.""" + ... def glfwSetErrorCallback(callback: bytes,) -> bytes: - """""" - ... + """.""" + ... def glfwSetFramebufferSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetGamma(monitor: Any|list|tuple,gamma: float,) -> None: - """""" - ... + """.""" + ... def glfwSetGammaRamp(monitor: Any|list|tuple,ramp: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetInputMode(window: Any|list|tuple,mode: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwSetJoystickCallback(callback: Any,) -> Any: - """""" - ... + """.""" + ... def glfwSetJoystickUserPointer(jid: int,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfwSetKeyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetMonitorCallback(callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetMonitorUserPointer(monitor: Any|list|tuple,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfwSetMouseButtonCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetScrollCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetTime(time: float,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowAspectRatio(window: Any|list|tuple,numer: int,denom: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowAttrib(window: Any|list|tuple,attrib: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowCloseCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowContentScaleCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowFocusCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowIcon(window: Any|list|tuple,count: int,images: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowIconifyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowMaximizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowMonitor(window: Any|list|tuple,monitor: Any|list|tuple,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowOpacity(window: Any|list|tuple,opacity: float,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowPos(window: Any|list|tuple,xpos: int,ypos: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowRefreshCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowShouldClose(window: Any|list|tuple,value: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowSize(window: Any|list|tuple,width: int,height: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any: - """""" - ... + """.""" + ... def glfwSetWindowSizeLimits(window: Any|list|tuple,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowTitle(window: Any|list|tuple,title: bytes,) -> None: - """""" - ... + """.""" + ... def glfwSetWindowUserPointer(window: Any|list|tuple,pointer: Any,) -> None: - """""" - ... + """.""" + ... def glfwShowWindow(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSwapBuffers(window: Any|list|tuple,) -> None: - """""" - ... + """.""" + ... def glfwSwapInterval(interval: int,) -> None: - """""" - ... + """.""" + ... def glfwTerminate() -> None: - """""" - ... + """.""" + ... def glfwUpdateGamepadMappings(string: bytes,) -> int: - """""" - ... + """.""" + ... def glfwVulkanSupported() -> int: - """""" - ... + """.""" + ... def glfwWaitEvents() -> None: - """""" - ... + """.""" + ... def glfwWaitEventsTimeout(timeout: float,) -> None: - """""" - ... + """.""" + ... def glfwWindowHint(hint: int,value: int,) -> None: - """""" - ... + """.""" + ... def glfwWindowHintString(hint: int,value: bytes,) -> None: - """""" - ... + """.""" + ... def glfwWindowShouldClose(window: Any|list|tuple,) -> int: - """""" - ... + """.""" + ... def rlActiveDrawBuffers(count: int,) -> None: - """Activate multiple draw color buffers""" - ... + """Activate multiple draw color buffers.""" + ... def rlActiveTextureSlot(slot: int,) -> None: - """Select and active a texture slot""" - ... + """Select and active a texture slot.""" + ... def rlBegin(mode: int,) -> None: - """Initialize drawing mode (how to organize vertex)""" - ... + """Initialize drawing mode (how to organize vertex).""" + ... def rlBindFramebuffer(target: int,framebuffer: int,) -> None: - """Bind framebuffer (FBO)""" - ... + """Bind framebuffer (FBO).""" + ... def rlBindImageTexture(id: int,index: int,format: int,readonly: bool,) -> None: - """Bind image texture""" - ... + """Bind image texture.""" + ... def rlBindShaderBuffer(id: int,index: int,) -> None: - """Bind SSBO buffer""" - ... + """Bind SSBO buffer.""" + ... def rlBlitFramebuffer(srcX: int,srcY: int,srcWidth: int,srcHeight: int,dstX: int,dstY: int,dstWidth: int,dstHeight: int,bufferMask: int,) -> None: - """Blit active framebuffer to main framebuffer""" - ... + """Blit active framebuffer to main framebuffer.""" + ... def rlCheckErrors() -> None: - """Check and log OpenGL error codes""" - ... + """Check and log OpenGL error codes.""" + ... def rlCheckRenderBatchLimit(vCount: int,) -> bool: - """Check internal buffer overflow for a given number of vertex""" - ... + """Check internal buffer overflow for a given number of vertex.""" + ... def rlClearColor(r: bytes,g: bytes,b: bytes,a: bytes,) -> None: - """Clear color buffer with color""" - ... + """Clear color buffer with color.""" + ... def rlClearScreenBuffers() -> None: - """Clear used screen buffers (color and depth)""" - ... + """Clear used screen buffers (color and depth).""" + ... def rlColor3f(x: float,y: float,z: float,) -> None: - """Define one vertex (color) - 3 float""" - ... + """Define one vertex (color) - 3 float.""" + ... def rlColor4f(x: float,y: float,z: float,w: float,) -> None: - """Define one vertex (color) - 4 float""" - ... + """Define one vertex (color) - 4 float.""" + ... def rlColor4ub(r: bytes,g: bytes,b: bytes,a: bytes,) -> None: - """Define one vertex (color) - 4 byte""" - ... + """Define one vertex (color) - 4 byte.""" + ... def rlColorMask(r: bool,g: bool,b: bool,a: bool,) -> None: - """Color mask control""" - ... + """Color mask control.""" + ... def rlCompileShader(shaderCode: bytes,type: int,) -> int: - """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)""" - ... + """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER).""" + ... def rlComputeShaderDispatch(groupX: int,groupY: int,groupZ: int,) -> None: - """Dispatch compute shader (equivalent to *draw* for graphics pipeline)""" - ... + """Dispatch compute shader (equivalent to *draw* for graphics pipeline).""" + ... def rlCopyShaderBuffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None: - """Copy SSBO data between buffers""" - ... + """Copy SSBO data between buffers.""" + ... def rlCubemapParameters(id: int,param: int,value: int,) -> None: - """Set cubemap parameters (filter, wrap)""" - ... + """Set cubemap parameters (filter, wrap).""" + ... def rlDisableBackfaceCulling() -> None: - """Disable backface culling""" - ... + """Disable backface culling.""" + ... def rlDisableColorBlend() -> None: - """Disable color blending""" - ... + """Disable color blending.""" + ... def rlDisableDepthMask() -> None: - """Disable depth write""" - ... + """Disable depth write.""" + ... def rlDisableDepthTest() -> None: - """Disable depth test""" - ... + """Disable depth test.""" + ... def rlDisableFramebuffer() -> None: - """Disable render texture (fbo), return to default framebuffer""" - ... + """Disable render texture (fbo), return to default framebuffer.""" + ... def rlDisableScissorTest() -> None: - """Disable scissor test""" - ... + """Disable scissor test.""" + ... def rlDisableShader() -> None: - """Disable shader program""" - ... + """Disable shader program.""" + ... def rlDisableSmoothLines() -> None: - """Disable line aliasing""" - ... + """Disable line aliasing.""" + ... def rlDisableStereoRender() -> None: - """Disable stereo rendering""" - ... + """Disable stereo rendering.""" + ... def rlDisableTexture() -> None: - """Disable texture""" - ... + """Disable texture.""" + ... def rlDisableTextureCubemap() -> None: - """Disable texture cubemap""" - ... + """Disable texture cubemap.""" + ... def rlDisableVertexArray() -> None: - """Disable vertex array (VAO, if supported)""" - ... + """Disable vertex array (VAO, if supported).""" + ... def rlDisableVertexAttribute(index: int,) -> None: - """Disable vertex attribute index""" - ... + """Disable vertex attribute index.""" + ... def rlDisableVertexBuffer() -> None: - """Disable vertex buffer (VBO)""" - ... + """Disable vertex buffer (VBO).""" + ... def rlDisableVertexBufferElement() -> None: - """Disable vertex buffer element (VBO element)""" - ... + """Disable vertex buffer element (VBO element).""" + ... def rlDisableWireMode() -> None: - """Disable wire (and point) mode""" - ... + """Disable wire (and point) mode.""" + ... def rlDrawRenderBatch(batch: Any|list|tuple,) -> None: - """Draw render batch data (Update->Draw->Reset)""" - ... + """Draw render batch data (Update->Draw->Reset).""" + ... def rlDrawRenderBatchActive() -> None: - """Update and draw internal render batch""" - ... + """Update and draw internal render batch.""" + ... def rlDrawVertexArray(offset: int,count: int,) -> None: - """Draw vertex array (currently active vao)""" - ... + """Draw vertex array (currently active vao).""" + ... def rlDrawVertexArrayElements(offset: int,count: int,buffer: Any,) -> None: - """Draw vertex array elements""" - ... + """Draw vertex array elements.""" + ... def rlDrawVertexArrayElementsInstanced(offset: int,count: int,buffer: Any,instances: int,) -> None: - """Draw vertex array elements with instancing""" - ... + """Draw vertex array elements with instancing.""" + ... def rlDrawVertexArrayInstanced(offset: int,count: int,instances: int,) -> None: - """Draw vertex array (currently active vao) with instancing""" - ... + """Draw vertex array (currently active vao) with instancing.""" + ... def rlEnableBackfaceCulling() -> None: - """Enable backface culling""" - ... + """Enable backface culling.""" + ... def rlEnableColorBlend() -> None: - """Enable color blending""" - ... + """Enable color blending.""" + ... def rlEnableDepthMask() -> None: - """Enable depth write""" - ... + """Enable depth write.""" + ... def rlEnableDepthTest() -> None: - """Enable depth test""" - ... + """Enable depth test.""" + ... def rlEnableFramebuffer(id: int,) -> None: - """Enable render texture (fbo)""" - ... + """Enable render texture (fbo).""" + ... def rlEnablePointMode() -> None: - """Enable point mode""" - ... + """Enable point mode.""" + ... def rlEnableScissorTest() -> None: - """Enable scissor test""" - ... + """Enable scissor test.""" + ... def rlEnableShader(id: int,) -> None: - """Enable shader program""" - ... + """Enable shader program.""" + ... def rlEnableSmoothLines() -> None: - """Enable line aliasing""" - ... + """Enable line aliasing.""" + ... def rlEnableStereoRender() -> None: - """Enable stereo rendering""" - ... + """Enable stereo rendering.""" + ... def rlEnableTexture(id: int,) -> None: - """Enable texture""" - ... + """Enable texture.""" + ... def rlEnableTextureCubemap(id: int,) -> None: - """Enable texture cubemap""" - ... + """Enable texture cubemap.""" + ... def rlEnableVertexArray(vaoId: int,) -> bool: - """Enable vertex array (VAO, if supported)""" - ... + """Enable vertex array (VAO, if supported).""" + ... def rlEnableVertexAttribute(index: int,) -> None: - """Enable vertex attribute index""" - ... + """Enable vertex attribute index.""" + ... def rlEnableVertexBuffer(id: int,) -> None: - """Enable vertex buffer (VBO)""" - ... + """Enable vertex buffer (VBO).""" + ... def rlEnableVertexBufferElement(id: int,) -> None: - """Enable vertex buffer element (VBO element)""" - ... + """Enable vertex buffer element (VBO element).""" + ... def rlEnableWireMode() -> None: - """Enable wire mode""" - ... + """Enable wire mode.""" + ... def rlEnd() -> None: - """Finish vertex providing""" - ... + """Finish vertex providing.""" + ... def rlFramebufferAttach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None: - """Attach texture/renderbuffer to a framebuffer""" - ... + """Attach texture/renderbuffer to a framebuffer.""" + ... def rlFramebufferComplete(id: int,) -> bool: - """Verify framebuffer is complete""" - ... + """Verify framebuffer is complete.""" + ... def rlFrustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: - """""" - ... + """.""" + ... def rlGenTextureMipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None: - """Generate mipmap data for selected texture""" - ... + """Generate mipmap data for selected texture.""" + ... def rlGetActiveFramebuffer() -> int: - """Get the currently active render texture (fbo), 0 for default framebuffer""" - ... + """Get the currently active render texture (fbo), 0 for default framebuffer.""" + ... def rlGetCullDistanceFar() -> float: - """Get cull plane distance far""" - ... + """Get cull plane distance far.""" + ... def rlGetCullDistanceNear() -> float: - """Get cull plane distance near""" - ... + """Get cull plane distance near.""" + ... def rlGetFramebufferHeight() -> int: - """Get default framebuffer height""" - ... + """Get default framebuffer height.""" + ... def rlGetFramebufferWidth() -> int: - """Get default framebuffer width""" - ... + """Get default framebuffer width.""" + ... def rlGetGlTextureFormats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None: - """Get OpenGL internal formats""" - ... + """Get OpenGL internal formats.""" + ... def rlGetLineWidth() -> float: - """Get the line drawing width""" - ... + """Get the line drawing width.""" + ... def rlGetLocationAttrib(shaderId: int,attribName: bytes,) -> int: - """Get shader location attribute""" - ... + """Get shader location attribute.""" + ... def rlGetLocationUniform(shaderId: int,uniformName: bytes,) -> int: - """Get shader location uniform""" - ... + """Get shader location uniform.""" + ... def rlGetMatrixModelview() -> Matrix: - """Get internal modelview matrix""" - ... + """Get internal modelview matrix.""" + ... def rlGetMatrixProjection() -> Matrix: - """Get internal projection matrix""" - ... + """Get internal projection matrix.""" + ... def rlGetMatrixProjectionStereo(eye: int,) -> Matrix: - """Get internal projection matrix for stereo render (selected eye)""" - ... + """Get internal projection matrix for stereo render (selected eye).""" + ... def rlGetMatrixTransform() -> Matrix: - """Get internal accumulated transform matrix""" - ... + """Get internal accumulated transform matrix.""" + ... def rlGetMatrixViewOffsetStereo(eye: int,) -> Matrix: - """Get internal view offset matrix for stereo render (selected eye)""" - ... + """Get internal view offset matrix for stereo render (selected eye).""" + ... def rlGetPixelFormatName(format: int,) -> bytes: - """Get name string for pixel format""" - ... + """Get name string for pixel format.""" + ... def rlGetShaderBufferSize(id: int,) -> int: - """Get SSBO buffer size""" - ... + """Get SSBO buffer size.""" + ... def rlGetShaderIdDefault() -> int: - """Get default shader id""" - ... + """Get default shader id.""" + ... def rlGetShaderLocsDefault() -> Any: - """Get default shader locations""" - ... + """Get default shader locations.""" + ... def rlGetTextureIdDefault() -> int: - """Get default texture id""" - ... + """Get default texture id.""" + ... def rlGetVersion() -> int: - """Get current OpenGL version""" - ... + """Get current OpenGL version.""" + ... def rlIsStereoRenderEnabled() -> bool: - """Check if stereo render is enabled""" - ... + """Check if stereo render is enabled.""" + ... def rlLoadComputeShaderProgram(shaderId: int,) -> int: - """Load compute shader program""" - ... + """Load compute shader program.""" + ... def rlLoadDrawCube() -> None: - """Load and draw a cube""" - ... + """Load and draw a cube.""" + ... def rlLoadDrawQuad() -> None: - """Load and draw a quad""" - ... + """Load and draw a quad.""" + ... def rlLoadExtensions(loader: Any,) -> None: - """Load OpenGL extensions (loader function required)""" - ... + """Load OpenGL extensions (loader function required).""" + ... def rlLoadFramebuffer() -> int: - """Load an empty framebuffer""" - ... + """Load an empty framebuffer.""" + ... def rlLoadIdentity() -> None: - """Reset current matrix to identity matrix""" - ... + """Reset current matrix to identity matrix.""" + ... def rlLoadRenderBatch(numBuffers: int,bufferElements: int,) -> rlRenderBatch: - """Load a render batch system""" - ... + """Load a render batch system.""" + ... def rlLoadShaderBuffer(size: int,data: Any,usageHint: int,) -> int: - """Load shader storage buffer object (SSBO)""" - ... + """Load shader storage buffer object (SSBO).""" + ... def rlLoadShaderCode(vsCode: bytes,fsCode: bytes,) -> int: - """Load shader from code strings""" - ... + """Load shader from code strings.""" + ... def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int: - """Load custom shader program""" - ... + """Load custom shader program.""" + ... def rlLoadTexture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int: - """Load texture data""" - ... + """Load texture data.""" + ... def rlLoadTextureCubemap(data: Any,size: int,format: int,mipmapCount: int,) -> int: - """Load texture cubemap data""" - ... + """Load texture cubemap data.""" + ... def rlLoadTextureDepth(width: int,height: int,useRenderBuffer: bool,) -> int: - """Load depth texture/renderbuffer (to be attached to fbo)""" - ... + """Load depth texture/renderbuffer (to be attached to fbo).""" + ... def rlLoadVertexArray() -> int: - """Load vertex array (vao) if supported""" - ... + """Load vertex array (vao) if supported.""" + ... def rlLoadVertexBuffer(buffer: Any,size: int,dynamic: bool,) -> int: - """Load a vertex buffer object""" - ... + """Load a vertex buffer object.""" + ... def rlLoadVertexBufferElement(buffer: Any,size: int,dynamic: bool,) -> int: - """Load vertex buffer elements object""" - ... + """Load vertex buffer elements object.""" + ... def rlMatrixMode(mode: int,) -> None: - """Choose the current matrix to be transformed""" - ... + """Choose the current matrix to be transformed.""" + ... def rlMultMatrixf(matf: Any,) -> None: - """Multiply the current matrix by another matrix""" - ... + """Multiply the current matrix by another matrix.""" + ... def rlNormal3f(x: float,y: float,z: float,) -> None: - """Define one vertex (normal) - 3 float""" - ... + """Define one vertex (normal) - 3 float.""" + ... def rlOrtho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: - """""" - ... + """.""" + ... def rlPopMatrix() -> None: - """Pop latest inserted matrix from stack""" - ... + """Pop latest inserted matrix from stack.""" + ... def rlPushMatrix() -> None: - """Push the current matrix to stack""" - ... + """Push the current matrix to stack.""" + ... def rlReadScreenPixels(width: int,height: int,) -> bytes: - """Read screen pixel data (color buffer)""" - ... + """Read screen pixel data (color buffer).""" + ... def rlReadShaderBuffer(id: int,dest: Any,count: int,offset: int,) -> None: - """Read SSBO buffer data (GPU->CPU)""" - ... + """Read SSBO buffer data (GPU->CPU).""" + ... def rlReadTexturePixels(id: int,width: int,height: int,format: int,) -> Any: - """Read texture pixel data""" - ... + """Read texture pixel data.""" + ... def rlRotatef(angle: float,x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a rotation matrix""" - ... + """Multiply the current matrix by a rotation matrix.""" + ... def rlScalef(x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a scaling matrix""" - ... + """Multiply the current matrix by a scaling matrix.""" + ... def rlScissor(x: int,y: int,width: int,height: int,) -> None: - """Scissor test""" - ... + """Scissor test.""" + ... def rlSetBlendFactors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None: - """Set blending mode factor and equation (using OpenGL factors)""" - ... + """Set blending mode factor and equation (using OpenGL factors).""" + ... def rlSetBlendFactorsSeparate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstAlpha: int,glEqRGB: int,glEqAlpha: int,) -> None: - """Set blending mode factors and equations separately (using OpenGL factors)""" - ... + """Set blending mode factors and equations separately (using OpenGL factors).""" + ... def rlSetBlendMode(mode: int,) -> None: - """Set blending mode""" - ... + """Set blending mode.""" + ... def rlSetClipPlanes(nearPlane: float,farPlane: float,) -> None: - """Set clip planes distances""" - ... + """Set clip planes distances.""" + ... def rlSetCullFace(mode: int,) -> None: - """Set face culling mode""" - ... + """Set face culling mode.""" + ... def rlSetFramebufferHeight(height: int,) -> None: - """Set current framebuffer height""" - ... + """Set current framebuffer height.""" + ... def rlSetFramebufferWidth(width: int,) -> None: - """Set current framebuffer width""" - ... + """Set current framebuffer width.""" + ... def rlSetLineWidth(width: float,) -> None: - """Set the line drawing width""" - ... + """Set the line drawing width.""" + ... def rlSetMatrixModelview(view: Matrix|list|tuple,) -> None: - """Set a custom modelview matrix (replaces internal modelview matrix)""" - ... + """Set a custom modelview matrix (replaces internal modelview matrix).""" + ... def rlSetMatrixProjection(proj: Matrix|list|tuple,) -> None: - """Set a custom projection matrix (replaces internal projection matrix)""" - ... + """Set a custom projection matrix (replaces internal projection matrix).""" + ... def rlSetMatrixProjectionStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None: - """Set eyes projection matrices for stereo rendering""" - ... + """Set eyes projection matrices for stereo rendering.""" + ... def rlSetMatrixViewOffsetStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None: - """Set eyes view offsets matrices for stereo rendering""" - ... + """Set eyes view offsets matrices for stereo rendering.""" + ... def rlSetRenderBatchActive(batch: Any|list|tuple,) -> None: - """Set the active render batch for rlgl (NULL for default internal)""" - ... + """Set the active render batch for rlgl (NULL for default internal).""" + ... def rlSetShader(id: int,locs: Any,) -> None: - """Set shader currently active (id and locations)""" - ... + """Set shader currently active (id and locations).""" + ... def rlSetTexture(id: int,) -> None: - """Set current texture for render batch and check buffers limits""" - ... + """Set current texture for render batch and check buffers limits.""" + ... def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None: - """Set shader value uniform""" - ... + """Set shader value uniform.""" + ... def rlSetUniformMatrices(locIndex: int,mat: Any|list|tuple,count: int,) -> None: - """Set shader value matrices""" - ... + """Set shader value matrices.""" + ... def rlSetUniformMatrix(locIndex: int,mat: Matrix|list|tuple,) -> None: - """Set shader value matrix""" - ... + """Set shader value matrix.""" + ... def rlSetUniformSampler(locIndex: int,textureId: int,) -> None: - """Set shader value sampler""" - ... + """Set shader value sampler.""" + ... def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,offset: int,) -> None: - """Set vertex attribute data configuration""" - ... + """Set vertex attribute data configuration.""" + ... def rlSetVertexAttributeDefault(locIndex: int,value: Any,attribType: int,count: int,) -> None: - """Set vertex attribute default value, when attribute to provided""" - ... + """Set vertex attribute default value, when attribute to provided.""" + ... def rlSetVertexAttributeDivisor(index: int,divisor: int,) -> None: - """Set vertex attribute data divisor""" - ... + """Set vertex attribute data divisor.""" + ... def rlTexCoord2f(x: float,y: float,) -> None: - """Define one vertex (texture coordinate) - 2 float""" - ... + """Define one vertex (texture coordinate) - 2 float.""" + ... def rlTextureParameters(id: int,param: int,value: int,) -> None: - """Set texture parameters (filter, wrap)""" - ... + """Set texture parameters (filter, wrap).""" + ... def rlTranslatef(x: float,y: float,z: float,) -> None: - """Multiply the current matrix by a translation matrix""" - ... + """Multiply the current matrix by a translation matrix.""" + ... def rlUnloadFramebuffer(id: int,) -> None: - """Delete framebuffer from GPU""" - ... + """Delete framebuffer from GPU.""" + ... def rlUnloadRenderBatch(batch: rlRenderBatch|list|tuple,) -> None: - """Unload render batch system""" - ... + """Unload render batch system.""" + ... def rlUnloadShaderBuffer(ssboId: int,) -> None: - """Unload shader storage buffer object (SSBO)""" - ... + """Unload shader storage buffer object (SSBO).""" + ... def rlUnloadShaderProgram(id: int,) -> None: - """Unload shader program""" - ... + """Unload shader program.""" + ... def rlUnloadTexture(id: int,) -> None: - """Unload texture from GPU memory""" - ... + """Unload texture from GPU memory.""" + ... def rlUnloadVertexArray(vaoId: int,) -> None: - """Unload vertex array (vao)""" - ... + """Unload vertex array (vao).""" + ... def rlUnloadVertexBuffer(vboId: int,) -> None: - """Unload vertex buffer object""" - ... + """Unload vertex buffer object.""" + ... def rlUpdateShaderBuffer(id: int,data: Any,dataSize: int,offset: int,) -> None: - """Update SSBO buffer data""" - ... + """Update SSBO buffer data.""" + ... def rlUpdateTexture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None: - """Update texture with new data on GPU""" - ... + """Update texture with new data on GPU.""" + ... def rlUpdateVertexBuffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None: - """Update vertex buffer object data on GPU buffer""" - ... + """Update vertex buffer object data on GPU buffer.""" + ... def rlUpdateVertexBufferElements(id: int,data: Any,dataSize: int,offset: int,) -> None: - """Update vertex buffer elements data on GPU buffer""" - ... + """Update vertex buffer elements data on GPU buffer.""" + ... def rlVertex2f(x: float,y: float,) -> None: - """Define one vertex (position) - 2 float""" - ... + """Define one vertex (position) - 2 float.""" + ... def rlVertex2i(x: int,y: int,) -> None: - """Define one vertex (position) - 2 int""" - ... + """Define one vertex (position) - 2 int.""" + ... def rlVertex3f(x: float,y: float,z: float,) -> None: - """Define one vertex (position) - 3 float""" - ... + """Define one vertex (position) - 3 float.""" + ... def rlViewport(x: int,y: int,width: int,height: int,) -> None: - """Set the viewport area""" - ... + """Set the viewport area.""" + ... def rlglClose() -> None: - """De-initialize rlgl (buffers, shaders, textures)""" - ... + """De-initialize rlgl (buffers, shaders, textures).""" + ... def rlglInit(width: int,height: int,) -> None: - """Initialize rlgl (buffers, shaders, textures, states)""" - ... + """Initialize rlgl (buffers, shaders, textures, states).""" + ... class AudioStream: buffer: Any processor: Any