diff --git a/create_stub_pyray.py b/create_stub_pyray.py index 01c4cd3..33b27d4 100644 --- a/create_stub_pyray.py +++ b/create_stub_pyray.py @@ -12,13 +12,23 @@ # # SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 +from pathlib import Path from raylib import rl, ffi - from inspect import ismethod, getmembers, isbuiltin import inflection, sys, json -f = open("raylib.json", "r") -js = json.load(f) +known_functions = {} +known_structs = {} +for filename in (Path("raylib.json"), Path("raymath.json"), Path("rlgl.json"), Path("raygui.json"), Path("physac.json")): + f = open(filename, "r") + js = json.load(f) + for fn in js["functions"]: + if fn["name"] not in known_functions: + known_functions[fn["name"]] = fn + for st in js["structs"]: + if st["name"] not in known_structs: + known_structs[st["name"]] = st + def ctype_to_python_type(t): if t == '_Bool': @@ -51,16 +61,17 @@ def pointer(struct): ... """) - - +# These words can be used for c arg names, but not in python +reserved_words = ("in", "list", "tuple", "set", "dict", "from", "range", "min", "max", "any", "all", "len") for name, attr in getmembers(rl): uname = inflection.underscore(name).replace('3_d', '_3d').replace('2_d', '_2d') if isbuiltin(attr) or str(type(attr)) == "": - json_array = [x for x in js['functions'] if x['name'] == name] - json_object = {} - if len(json_array) > 0: - json_object = json_array[0] + json_object = known_functions.get(name, None) + if json_object is None: + # this is _not_ an exported function from raylib, raymath, rlgl raygui or physac + # so we don't want it in the pyray API + continue sig = "" for i, arg in enumerate(ffi.typeof(attr).args): param_name = arg.cname.replace("struct", "").replace("char *", "str").replace("*", @@ -69,7 +80,9 @@ for name, attr in getmembers(rl): if 'params' in json_object: p = json_object['params'] param_name = list(p)[i]['name'] - + # don't use a python reserved word: + if param_name in reserved_words: + param_name = param_name + "_" + str(i) param_type = ctype_to_python_type(arg.cname) sig += f"{param_name}: {param_type}," @@ -95,11 +108,13 @@ for name, attr in getmembers(rl): for struct in ffi.list_types()[0]: print("processing", struct, file=sys.stderr) - # json_array = [x for x in js['structs'] if x['name'] == name] - # json_object = {} - # if len(json_array) > 0: - # json_object = json_array[0] + if ffi.typeof(struct).kind == "struct": + json_object = known_structs.get(struct, None) + if json_object is None: + # this is _not_ an exported struct from raylib, raymath, rlgl raygui or physac + # so we don't want it in the pyray API + continue if ffi.typeof(struct).fields is None: print("weird empty struct, skipping "+struct, file=sys.stderr) continue diff --git a/create_stub_static.py b/create_stub_static.py index f2e36f0..989fdfa 100644 --- a/create_stub_static.py +++ b/create_stub_static.py @@ -12,14 +12,22 @@ # # SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 +from pathlib import Path from raylib import rl, ffi - from inspect import ismethod, getmembers, isbuiltin import inflection, sys, json -f = open("raylib.json", "r") -js = json.load(f) - +known_functions = {} +known_structs = {} +for filename in (Path("raylib.json"), Path("raymath.json"), Path("rlgl.json"), Path("raygui.json"), Path("physac.json"), Path("glfw3.json")): + f = open(filename, "r") + js = json.load(f) + for fn in js["functions"]: + if fn["name"] not in known_functions: + known_functions[fn["name"]] = fn + for st in js["structs"]: + if st["name"] not in known_structs: + known_structs[st["name"]] = st @@ -59,22 +67,28 @@ class struct: ... """) +# These words can be used for c arg names, but not in python +reserved_words = ("in", "list", "tuple", "set", "dict", "from", "range", "min", "max", "any", "all", "len") + for name, attr in getmembers(rl): uname = name if isbuiltin(attr) or str(type(attr)) == "": - json_array = [x for x in js['functions'] if x['name'] == name] - json_object = {} - if len(json_array) > 0: - json_object = json_array[0] + json_object = known_functions.get(name, {}) sig = "" for i, arg in enumerate(ffi.typeof(attr).args): - param_name = arg.cname.replace("struct", "").replace("char *", "str").replace("*", - "_pointer").replace( - " ", "")+"_"+str(i) + if ")(" in arg.cname: + # fn signature in arg types + param_name = str(arg.cname).split("(", 1)[0] + "_callback_" + str(i) + else: + param_name = arg.cname.replace("struct", "").replace("char *", "str").replace("*", + "_pointer").replace(" ", "")+"_"+str(i) if 'params' in json_object: p = json_object['params'] #print("param_name: ", param_name, "i", i, "params: ",p,file=sys.stderr) param_name = list(p)[i]['name'] + # don't use a python reserved word: + if param_name in reserved_words: + param_name = param_name+"_"+str(i) param_type = ctype_to_python_type(arg.cname) sig += f"{param_name}: {param_type}," diff --git a/make_docs.sh b/make_docs.sh index c2d5888..367d9f9 100755 --- a/make_docs.sh +++ b/make_docs.sh @@ -23,9 +23,13 @@ gcc raylib-c/parser/raylib_parser.c echo "running parser" -./a.out -i raygui/src/raygui.h -o raygui.json -f JSON -./a.out -i physac/src/physac.h -o physac.json -f JSON +./a.out -i raygui/src/raygui.h -d RAYGUIAPI -o raygui.json -f JSON +./a.out -i physac/src/physac.h -d PHYSACDEF -o physac.json -f JSON ./a.out -i raylib-c/src/raylib.h -o raylib.json -f JSON +./a.out -i raylib-c/src/rlgl.h -o rlgl.json -f JSON +./a.out -i raylib-c/src/raymath.h -d RMAPI -o raymath.json -f JSON +./a.out -i raylib-c/src/external/glfw/include/GLFW/glfw3.h -d GLFWAPI -o glfw3.json -f JSON +sed -i "s|\/\*.*,$|,|g" glfw3.json echo "building raylib_python_cffi" @@ -42,6 +46,7 @@ echo "creating pyi files" python3 create_stub_pyray.py > pyray/__init__.pyi python3 create_enums.py >> pyray/__init__.pyi cat raylib/colors.py >> pyray/__init__.pyi + python3 create_stub_static.py >raylib/__init__.pyi cat raylib/colors.py >> raylib/__init__.pyi diff --git a/pyray/__init__.pyi b/pyray/__init__.pyi index 5db239a..304214b 100644 --- a/pyray/__init__.pyi +++ b/pyray/__init__.pyi @@ -73,10 +73,8 @@ def check_collision_recs(rec1: Rectangle,rec2: Rectangle,) -> bool: def check_collision_spheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool: """Check collision between two spheres""" ... -def clamp(float_0: float,float_1: float,float_2: float,) -> float: - """float Clamp(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def clamp(value: float,min_1: float,max_2: float,) -> float: + """""" ... def clear_background(color: Color,) -> None: """Set background color (framebuffer clear color)""" @@ -88,9 +86,7 @@ def close_audio_device() -> None: """Close the audio device and context""" ... def close_physics() -> None: - """void ClosePhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Close physics system and unload used memory""" ... def close_window() -> None: """Close window and unload OpenGL context""" @@ -131,20 +127,14 @@ def color_to_int(color: Color,) -> int: def compress_data(data: str,dataSize: int,compDataSize: Any,) -> str: """Compress data (DEFLATE algorithm), memory must be MemFree()""" ... -def create_physics_body_circle(Vector2_0: Vector2,float_1: float,float_2: float,) -> Any: - """struct PhysicsBodyData *CreatePhysicsBodyCircle(struct Vector2, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def create_physics_body_circle(pos: Vector2,radius: float,density: float,) -> Any: + """Creates a new circle physics body with generic parameters""" ... -def create_physics_body_polygon(Vector2_0: Vector2,float_1: float,int_2: int,float_3: float,) -> Any: - """struct PhysicsBodyData *CreatePhysicsBodyPolygon(struct Vector2, float, int, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def create_physics_body_polygon(pos: Vector2,radius: float,sides: int,density: float,) -> Any: + """Creates a new polygon physics body with generic parameters""" ... -def create_physics_body_rectangle(Vector2_0: Vector2,float_1: float,float_2: float,float_3: float,) -> Any: - """struct PhysicsBodyData *CreatePhysicsBodyRectangle(struct Vector2, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def create_physics_body_rectangle(pos: Vector2,width: float,height: float,density: float,) -> Any: + """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()""" @@ -152,10 +142,8 @@ def decode_data_base64(data: str,outputSize: Any,) -> str: def decompress_data(compData: str,compDataSize: int,dataSize: Any,) -> str: """Decompress data (DEFLATE algorithm), memory must be MemFree()""" ... -def destroy_physics_body(PhysicsBodyData_pointer_0: Any,) -> None: - """void DestroyPhysicsBody(struct PhysicsBodyData *); - -CFFI C function from raylib._raylib_cffi.lib""" +def destroy_physics_body(body: Any,) -> None: + """Destroy a physics body""" ... def detach_audio_mixed_processor(processor: Any,) -> None: """Detach audio stream processor from the entire audio pipeline""" @@ -472,7 +460,7 @@ def end_texture_mode() -> None: def end_vr_stereo_mode() -> None: """End stereo rendering (requires VR simulator)""" ... -def export_automation_event_list(list: AutomationEventList,fileName: str,) -> bool: +def export_automation_event_list(list_0: AutomationEventList,fileName: str,) -> bool: """Export automation events list as text file""" ... def export_data_as_code(data: str,dataSize: int,fileName: str,) -> bool: @@ -505,10 +493,8 @@ def fade(color: Color,alpha: float,) -> Color: def file_exists(fileName: str,) -> bool: """Check if file exists""" ... -def float_equals(float_0: float,float_1: float,) -> int: - """int FloatEquals(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +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""" @@ -751,29 +737,19 @@ def get_music_time_played(music: Music,) -> float: """Get current music time played (in seconds)""" ... def get_physics_bodies_count() -> int: - """int GetPhysicsBodiesCount(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Returns the current amount of created physics bodies""" ... -def get_physics_body(int_0: int,) -> Any: - """struct PhysicsBodyData *GetPhysicsBody(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def get_physics_body(index: int,) -> Any: + """Returns a physics body of the bodies pool at a specific index""" ... -def get_physics_shape_type(int_0: int,) -> int: - """int GetPhysicsShapeType(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def get_physics_shape_type(index: int,) -> int: + """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)""" ... -def get_physics_shape_vertex(PhysicsBodyData_pointer_0: Any,int_1: int,) -> Vector2: - """struct Vector2 GetPhysicsShapeVertex(struct PhysicsBodyData *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def get_physics_shape_vertex(body: Any,vertex: int,) -> Vector2: + """Returns transformed position of a body shape (body position + vertex transformed position)""" ... -def get_physics_shape_vertices_count(int_0: int,) -> int: - """int GetPhysicsShapeVerticesCount(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def get_physics_shape_vertices_count(index: int,) -> int: + """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""" @@ -784,7 +760,7 @@ def get_pixel_data_size(width: int,height: int,format: int,) -> int: def get_prev_directory_path(dirPath: str,) -> str: """Get previous directory path for a given path (uses static string)""" ... -def get_random_value(min: int,max: int,) -> int: +def get_random_value(min_0: int,max_1: int,) -> int: """Get a random value between min and max (both included)""" ... def get_ray_collision_box(ray: Ray,box: BoundingBox,) -> RayCollision: @@ -877,285 +853,173 @@ def get_world_to_screen_2d(position: Vector2,camera: Camera2D,) -> Vector2: def get_world_to_screen_ex(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2: """Get size position for a 3d world space position""" ... -def gui_button(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiButton(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_button(bounds: Rectangle,text: str,) -> int: + """Button control, returns true when clicked""" ... -def gui_check_box(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: - """int GuiCheckBox(struct Rectangle, char *, _Bool *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_check_box(bounds: Rectangle,text: str,checked: Any,) -> int: + """Check Box control, returns true when active""" ... -def gui_color_bar_alpha(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: - """int GuiColorBarAlpha(struct Rectangle, char *, float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_color_bar_alpha(bounds: Rectangle,text: str,alpha: Any,) -> int: + """Color Bar Alpha control""" ... -def gui_color_bar_hue(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: - """int GuiColorBarHue(struct Rectangle, char *, float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_color_bar_hue(bounds: Rectangle,text: str,value: Any,) -> int: + """Color Bar Hue control""" ... -def gui_color_panel(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: - """int GuiColorPanel(struct Rectangle, char *, struct Color *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_color_panel(bounds: Rectangle,text: str,color: Any,) -> int: + """Color Panel control""" ... -def gui_color_panel_hsv(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: - """int GuiColorPanelHSV(struct Rectangle, char *, struct Vector3 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_color_panel_hsv(bounds: Rectangle,text: str,colorHsv: Any,) -> int: + """Color Panel control that returns HSV color value, used by GuiColorPickerHSV()""" ... -def gui_color_picker(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: - """int GuiColorPicker(struct Rectangle, char *, struct Color *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_color_picker(bounds: Rectangle,text: str,color: Any,) -> int: + """Color Picker control (multiple color controls)""" ... -def gui_color_picker_hsv(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: - """int GuiColorPickerHSV(struct Rectangle, char *, struct Vector3 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_color_picker_hsv(bounds: Rectangle,text: str,colorHsv: Any,) -> int: + """Color Picker control that avoids conversion to RGB on each call (multiple color controls)""" ... -def gui_combo_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: - """int GuiComboBox(struct Rectangle, char *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_combo_box(bounds: Rectangle,text: str,active: Any,) -> int: + """Combo Box control, returns selected item index""" ... def gui_disable() -> None: - """void GuiDisable(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable gui controls (global state)""" ... def gui_disable_tooltip() -> None: - """void GuiDisableTooltip(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable gui tooltips (global state)""" ... -def gui_draw_icon(int_0: int,int_1: int,int_2: int,int_3: int,Color_4: Color,) -> None: - """void GuiDrawIcon(int, int, int, int, struct Color); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_draw_icon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color,) -> None: + """Draw icon using pixel size at specified position""" ... -def gui_dropdown_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) -> int: - """int GuiDropdownBox(struct Rectangle, char *, int *, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_dropdown_box(bounds: Rectangle,text: str,active: Any,editMode: bool,) -> int: + """Dropdown Box control, returns selected item""" ... -def gui_dummy_rec(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiDummyRec(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_dummy_rec(bounds: Rectangle,text: str,) -> int: + """Dummy control for placeholders""" ... def gui_enable() -> None: - """void GuiEnable(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable gui controls (global state)""" ... def gui_enable_tooltip() -> None: - """void GuiEnableTooltip(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable gui tooltips (global state)""" ... def gui_get_font() -> Font: - """struct Font GuiGetFont(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get gui custom font (global state)""" ... def gui_get_icons() -> Any: - """unsigned int *GuiGetIcons(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get raygui icons data pointer""" ... def gui_get_state() -> int: - """int GuiGetState(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get gui state (global state)""" ... -def gui_get_style(int_0: int,int_1: int,) -> int: - """int GuiGetStyle(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_get_style(control: int,property: int,) -> int: + """Get one style property""" ... -def gui_grid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,Vector2_pointer_4: Any,) -> int: - """int GuiGrid(struct Rectangle, char *, float, int, struct Vector2 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_grid(bounds: Rectangle,text: str,spacing: float,subdivs: int,mouseCell: Any,) -> int: + """Grid control, returns mouse cell position""" ... -def gui_group_box(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiGroupBox(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_group_box(bounds: Rectangle,text: str,) -> int: + """Group Box control with text name""" ... -def gui_icon_text(int_0: int,str_1: str,) -> str: - """char *GuiIconText(int, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_icon_text(iconId: int,text: str,) -> str: + """Get text with icon id prepended (if supported)""" ... def gui_is_locked() -> bool: - """_Bool GuiIsLocked(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Check if gui is locked (global state)""" ... -def gui_label(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiLabel(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_label(bounds: Rectangle,text: str,) -> int: + """Label control, shows text""" ... -def gui_label_button(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiLabelButton(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_label_button(bounds: Rectangle,text: str,) -> int: + """Label button control, show true when clicked""" ... -def gui_line(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiLine(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_line(bounds: Rectangle,text: str,) -> int: + """Line separator control, could contain text""" ... -def gui_list_view(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_pointer_3: Any,) -> int: - """int GuiListView(struct Rectangle, char *, int *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_list_view(bounds: Rectangle,text: str,scrollIndex: Any,active: Any,) -> int: + """List View control, returns selected list item index""" ... -def gui_list_view_ex(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,int_pointer_5: Any,) -> int: - """int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_list_view_ex(bounds: Rectangle,text: str,count: int,scrollIndex: Any,active: Any,focus: Any,) -> int: + """List View with extended parameters""" ... -def gui_load_icons(str_0: str,_Bool_1: bool,) -> str: - """char * *GuiLoadIcons(char *, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_load_icons(fileName: str,loadIconsName: bool,) -> str: + """Load raygui icons file (.rgi) into internal icons data""" ... -def gui_load_style(str_0: str,) -> None: - """void GuiLoadStyle(char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_load_style(fileName: str,) -> None: + """Load style file over global style variable (.rgs)""" ... def gui_load_style_default() -> None: - """void GuiLoadStyleDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load style default over global style""" ... def gui_lock() -> None: - """void GuiLock(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Lock gui controls (global state)""" ... -def gui_message_box(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,) -> int: - """int GuiMessageBox(struct Rectangle, char *, char *, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_message_box(bounds: Rectangle,title: str,message: str,buttons: str,) -> int: + """Message Box control, displays a message""" ... -def gui_panel(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiPanel(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_panel(bounds: Rectangle,text: str,) -> int: + """Panel control, useful to group controls""" ... -def gui_progress_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: - """int GuiProgressBar(struct Rectangle, char *, char *, float *, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_progress_bar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: + """Progress Bar control, shows current progress value""" ... -def gui_scroll_panel(Rectangle_0: Rectangle,str_1: str,Rectangle_2: Rectangle,Vector2_pointer_3: Any,Rectangle_pointer_4: Any,) -> int: - """int GuiScrollPanel(struct Rectangle, char *, struct Rectangle, struct Vector2 *, struct Rectangle *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_scroll_panel(bounds: Rectangle,text: str,content: Rectangle,scroll: Any,view: Any,) -> int: + """Scroll Panel control""" ... -def gui_set_alpha(float_0: float,) -> None: - """void GuiSetAlpha(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_set_alpha(alpha: float,) -> None: + """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f""" ... -def gui_set_font(Font_0: Font,) -> None: - """void GuiSetFont(struct Font); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_set_font(font: Font,) -> None: + """Set gui custom font (global state)""" ... -def gui_set_icon_scale(int_0: int,) -> None: - """void GuiSetIconScale(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_set_icon_scale(scale: int,) -> None: + """Set default icon drawing size""" ... -def gui_set_state(int_0: int,) -> None: - """void GuiSetState(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_set_state(state: int,) -> None: + """Set gui state (global state)""" ... -def gui_set_style(int_0: int,int_1: int,int_2: int,) -> None: - """void GuiSetStyle(int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_set_style(control: int,property: int,value: int,) -> None: + """Set one style property""" ... -def gui_set_tooltip(str_0: str,) -> None: - """void GuiSetTooltip(char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_set_tooltip(tooltip: str,) -> None: + """Set tooltip string""" ... -def gui_slider(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: - """int GuiSlider(struct Rectangle, char *, char *, float *, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_slider(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: + """Slider control, returns selected value""" ... -def gui_slider_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: - """int GuiSliderBar(struct Rectangle, char *, char *, float *, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_slider_bar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: + """Slider Bar control, returns selected value""" ... -def gui_spinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: - """int GuiSpinner(struct Rectangle, char *, int *, int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_spinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: + """Spinner control, returns selected value""" ... -def gui_status_bar(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiStatusBar(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_status_bar(bounds: Rectangle,text: str,) -> int: + """Status Bar control, shows info text""" ... -def gui_tab_bar(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,) -> int: - """int GuiTabBar(struct Rectangle, char * *, int, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_tab_bar(bounds: Rectangle,text: str,count: int,active: Any,) -> int: + """Tab Bar control, returns TAB to be closed or -1""" ... -def gui_text_box(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> int: - """int GuiTextBox(struct Rectangle, char *, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_text_box(bounds: Rectangle,text: str,textSize: int,editMode: bool,) -> int: + """Text Box control, updates input text""" ... -def gui_text_input_box(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,_Bool_pointer_6: Any,) -> int: - """int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int, _Bool *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_text_input_box(bounds: Rectangle,title: str,message: str,buttons: str,text: str,textMaxSize: int,secretViewActive: Any,) -> int: + """Text Input Box control, ask for text, supports secret""" ... -def gui_toggle(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: - """int GuiToggle(struct Rectangle, char *, _Bool *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_toggle(bounds: Rectangle,text: str,active: Any,) -> int: + """Toggle Button control, returns true when active""" ... -def gui_toggle_group(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: - """int GuiToggleGroup(struct Rectangle, char *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_toggle_group(bounds: Rectangle,text: str,active: Any,) -> int: + """Toggle Group control, returns active toggle index""" ... -def gui_toggle_slider(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: - """int GuiToggleSlider(struct Rectangle, char *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_toggle_slider(bounds: Rectangle,text: str,active: Any,) -> int: + """Toggle Slider control, returns true when clicked""" ... def gui_unlock() -> None: - """void GuiUnlock(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Unlock gui controls (global state)""" ... -def gui_value_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: - """int GuiValueBox(struct Rectangle, char *, int *, int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_value_box(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: + """Value Box control, updates input text with numbers""" ... -def gui_window_box(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiWindowBox(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def gui_window_box(bounds: Rectangle,title: str,) -> int: + """Window Box control, shows a window that can be closed""" ... def hide_cursor() -> None: """Hides cursor""" @@ -1296,9 +1160,7 @@ def init_audio_device() -> None: """Initialize audio device and context""" ... def init_physics() -> None: - """void InitPhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Initializes physics system""" ... def init_window(width: int,height: int,title: str,) -> None: """Initialize window and OpenGL context""" @@ -1438,10 +1300,8 @@ def is_window_resized() -> bool: def is_window_state(flag: int,) -> bool: """Check if one specific window flag is enabled""" ... -def lerp(float_0: float,float_1: float,float_2: float,) -> float: - """float Lerp(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +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)""" @@ -1530,7 +1390,7 @@ def load_music_stream(fileName: str,) -> Music: def load_music_stream_from_memory(fileType: str,data: str,dataSize: int,) -> Music: """Load music stream from data""" ... -def load_random_sequence(count: int,min: int,max: int,) -> Any: +def load_random_sequence(count: int,min_1: int,max_2: int,) -> Any: """Load random values sequence, no values repeated""" ... def load_render_texture(width: int,height: int,) -> RenderTexture: @@ -1575,110 +1435,68 @@ def load_wave_from_memory(fileType: str,fileData: str,dataSize: int,) -> Wave: def load_wave_samples(wave: Wave,) -> Any: """Load samples data from wave as a 32bit float data array""" ... -def matrix_add(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: - """struct Matrix MatrixAdd(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_add(left: Matrix,right: Matrix,) -> Matrix: + """""" ... -def matrix_determinant(Matrix_0: Matrix,) -> float: - """float MatrixDeterminant(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_determinant(mat: Matrix,) -> float: + """""" ... -def matrix_frustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: - """struct Matrix MatrixFrustum(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_frustum(left: float,right: float,bottom: float,top: float,near: float,far: float,) -> Matrix: + """""" ... def matrix_identity() -> Matrix: - """struct Matrix MatrixIdentity(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def matrix_invert(Matrix_0: Matrix,) -> Matrix: - """struct Matrix MatrixInvert(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_invert(mat: Matrix,) -> Matrix: + """""" ... -def matrix_look_at(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Matrix: - """struct Matrix MatrixLookAt(struct Vector3, struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_look_at(eye: Vector3,target: Vector3,up: Vector3,) -> Matrix: + """""" ... -def matrix_multiply(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: - """struct Matrix MatrixMultiply(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_multiply(left: Matrix,right: Matrix,) -> Matrix: + """""" ... -def matrix_ortho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: - """struct Matrix MatrixOrtho(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_ortho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: + """""" ... -def matrix_perspective(double_0: float,double_1: float,double_2: float,double_3: float,) -> Matrix: - """struct Matrix MatrixPerspective(double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_perspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix: + """""" ... -def matrix_rotate(Vector3_0: Vector3,float_1: float,) -> Matrix: - """struct Matrix MatrixRotate(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_rotate(axis: Vector3,angle: float,) -> Matrix: + """""" ... -def matrix_rotate_x(float_0: float,) -> Matrix: - """struct Matrix MatrixRotateX(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_rotate_x(angle: float,) -> Matrix: + """""" ... -def matrix_rotate_xyz(Vector3_0: Vector3,) -> Matrix: - """struct Matrix MatrixRotateXYZ(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_rotate_xyz(angle: Vector3,) -> Matrix: + """""" ... -def matrix_rotate_y(float_0: float,) -> Matrix: - """struct Matrix MatrixRotateY(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_rotate_y(angle: float,) -> Matrix: + """""" ... -def matrix_rotate_z(float_0: float,) -> Matrix: - """struct Matrix MatrixRotateZ(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_rotate_z(angle: float,) -> Matrix: + """""" ... -def matrix_rotate_zyx(Vector3_0: Vector3,) -> Matrix: - """struct Matrix MatrixRotateZYX(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_rotate_zyx(angle: Vector3,) -> Matrix: + """""" ... -def matrix_scale(float_0: float,float_1: float,float_2: float,) -> Matrix: - """struct Matrix MatrixScale(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_scale(x: float,y: float,z: float,) -> Matrix: + """""" ... -def matrix_subtract(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: - """struct Matrix MatrixSubtract(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_subtract(left: Matrix,right: Matrix,) -> Matrix: + """""" ... -def matrix_to_float_v(Matrix_0: Matrix,) -> float16: - """struct float16 MatrixToFloatV(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_to_float_v(mat: Matrix,) -> float16: + """""" ... -def matrix_trace(Matrix_0: Matrix,) -> float: - """float MatrixTrace(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_trace(mat: Matrix,) -> float: + """""" ... -def matrix_translate(float_0: float,float_1: float,float_2: float,) -> Matrix: - """struct Matrix MatrixTranslate(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_translate(x: float,y: float,z: float,) -> Matrix: + """""" ... -def matrix_transpose(Matrix_0: Matrix,) -> Matrix: - """struct Matrix MatrixTranspose(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def matrix_transpose(mat: Matrix,) -> Matrix: + """""" ... def maximize_window() -> None: """Set window state: maximized, if resizable (only PLATFORM_DESKTOP)""" @@ -1701,10 +1519,8 @@ def mem_realloc(ptr: Any,size: int,) -> Any: def minimize_window() -> None: """Set window state: minimized, if resizable (only PLATFORM_DESKTOP)""" ... -def normalize(float_0: float,float_1: float,float_2: float,) -> float: - """float Normalize(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def normalize(value: float,start: float,end: float,) -> float: + """""" ... def open_url(url: str,) -> None: """Open URL with default system browser (if available)""" @@ -1718,20 +1534,14 @@ def pause_music_stream(music: Music,) -> None: def pause_sound(sound: Sound,) -> None: """Pause a sound""" ... -def physics_add_force(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,) -> None: - """void PhysicsAddForce(struct PhysicsBodyData *, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def physics_add_force(body: Any,force: Vector2,) -> None: + """Adds a force to a physics body""" ... -def physics_add_torque(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: - """void PhysicsAddTorque(struct PhysicsBodyData *, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def physics_add_torque(body: Any,amount: float,) -> None: + """Adds an angular force to a physics body""" ... -def physics_shatter(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,float_2: float,) -> None: - """void PhysicsShatter(struct PhysicsBodyData *, struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def physics_shatter(body: Any,position: Vector2,force: float,) -> None: + """Shatters a polygon shape physics body to little physics bodies with explosion force""" ... def play_audio_stream(stream: AudioStream,) -> None: """Play audio stream""" @@ -1748,130 +1558,80 @@ def play_sound(sound: Sound,) -> None: def poll_input_events() -> None: """Register all input events""" ... -def quaternion_add(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionAdd(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_add(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def quaternion_add_value(Vector4_0: Vector4,float_1: float,) -> Vector4: - """struct Vector4 QuaternionAddValue(struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_add_value(q: Vector4,add: float,) -> Vector4: + """""" ... -def quaternion_divide(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionDivide(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_divide(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def quaternion_equals(Vector4_0: Vector4,Vector4_1: Vector4,) -> int: - """int QuaternionEquals(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_equals(p: Vector4,q: Vector4,) -> int: + """""" ... -def quaternion_from_axis_angle(Vector3_0: Vector3,float_1: float,) -> Vector4: - """struct Vector4 QuaternionFromAxisAngle(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_from_axis_angle(axis: Vector3,angle: float,) -> Vector4: + """""" ... -def quaternion_from_euler(float_0: float,float_1: float,float_2: float,) -> Vector4: - """struct Vector4 QuaternionFromEuler(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_from_euler(pitch: float,yaw: float,roll: float,) -> Vector4: + """""" ... -def quaternion_from_matrix(Matrix_0: Matrix,) -> Vector4: - """struct Vector4 QuaternionFromMatrix(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_from_matrix(mat: Matrix,) -> Vector4: + """""" ... -def quaternion_from_vector3_to_vector3(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector4: - """struct Vector4 QuaternionFromVector3ToVector3(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_from_vector3_to_vector3(from_0: Vector3,to: Vector3,) -> Vector4: + """""" ... def quaternion_identity() -> Vector4: - """struct Vector4 QuaternionIdentity(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def quaternion_invert(Vector4_0: Vector4,) -> Vector4: - """struct Vector4 QuaternionInvert(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_invert(q: Vector4,) -> Vector4: + """""" ... -def quaternion_length(Vector4_0: Vector4,) -> float: - """float QuaternionLength(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_length(q: Vector4,) -> float: + """""" ... -def quaternion_lerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: - """struct Vector4 QuaternionLerp(struct Vector4, struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_lerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4: + """""" ... -def quaternion_multiply(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionMultiply(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_multiply(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def quaternion_nlerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: - """struct Vector4 QuaternionNlerp(struct Vector4, struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_nlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4: + """""" ... -def quaternion_normalize(Vector4_0: Vector4,) -> Vector4: - """struct Vector4 QuaternionNormalize(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_normalize(q: Vector4,) -> Vector4: + """""" ... -def quaternion_scale(Vector4_0: Vector4,float_1: float,) -> Vector4: - """struct Vector4 QuaternionScale(struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_scale(q: Vector4,mul: float,) -> Vector4: + """""" ... -def quaternion_slerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: - """struct Vector4 QuaternionSlerp(struct Vector4, struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_slerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4: + """""" ... -def quaternion_subtract(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionSubtract(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_subtract(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def quaternion_subtract_value(Vector4_0: Vector4,float_1: float,) -> Vector4: - """struct Vector4 QuaternionSubtractValue(struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_subtract_value(q: Vector4,sub: float,) -> Vector4: + """""" ... -def quaternion_to_axis_angle(Vector4_0: Vector4,Vector3_pointer_1: Any,float_pointer_2: Any,) -> None: - """void QuaternionToAxisAngle(struct Vector4, struct Vector3 *, float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_to_axis_angle(q: Vector4,outAxis: Any,outAngle: Any,) -> None: + """""" ... -def quaternion_to_euler(Vector4_0: Vector4,) -> Vector3: - """struct Vector3 QuaternionToEuler(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_to_euler(q: Vector4,) -> Vector3: + """""" ... -def quaternion_to_matrix(Vector4_0: Vector4,) -> Matrix: - """struct Matrix QuaternionToMatrix(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_to_matrix(q: Vector4,) -> Matrix: + """""" ... -def quaternion_transform(Vector4_0: Vector4,Matrix_1: Matrix,) -> Vector4: - """struct Vector4 QuaternionTransform(struct Vector4, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def quaternion_transform(q: Vector4,mat: Matrix,) -> Vector4: + """""" ... -def remap(float_0: float,float_1: float,float_2: float,float_3: float,float_4: float,) -> float: - """float Remap(float, float, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float: + """""" ... def reset_physics() -> None: - """void ResetPhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Reset physics system (global variables)""" ... def restore_window() -> None: """Set window state: not minimized/maximized (only PLATFORM_DESKTOP)""" @@ -1912,7 +1672,7 @@ def set_audio_stream_volume(stream: AudioStream,volume: float,) -> None: def set_automation_event_base_frame(frame: int,) -> None: """Set automation event internal base frame to start recording""" ... -def set_automation_event_list(list: Any,) -> None: +def set_automation_event_list(list_0: Any,) -> None: """Set automation event list to record to""" ... def set_clipboard_text(text: str,) -> None: @@ -1966,20 +1726,14 @@ def set_music_pitch(music: Music,pitch: float,) -> None: def set_music_volume(music: Music,volume: float,) -> None: """Set volume for music (1.0 is max level)""" ... -def set_physics_body_rotation(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: - """void SetPhysicsBodyRotation(struct PhysicsBodyData *, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def set_physics_body_rotation(body: Any,radians: float,) -> None: + """Sets physics body shape transform based on radians parameter""" ... -def set_physics_gravity(float_0: float,float_1: float,) -> None: - """void SetPhysicsGravity(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def set_physics_gravity(x: float,y: float,) -> None: + """Sets physics global gravity force""" ... -def set_physics_time_step(double_0: float,) -> None: - """void SetPhysicsTimeStep(double); - -CFFI C function from raylib._raylib_cffi.lib""" +def set_physics_time_step(delta: float,) -> None: + """Sets physics fixed time step in milliseconds. 1.666666 by default""" ... def set_pixel_color(dstPtr: Any,color: Color,format: int,) -> None: """Set color formatted into destination pixel pointer""" @@ -2149,7 +1903,7 @@ def trace_log(*args) -> None: def unload_audio_stream(stream: AudioStream,) -> None: """Unload audio stream and free memory""" ... -def unload_automation_event_list(list: Any,) -> None: +def unload_automation_event_list(list_0: Any,) -> None: """Unload automation events list from file""" ... def unload_codepoints(codepoints: Any,) -> None: @@ -2249,9 +2003,7 @@ def update_music_stream(music: Music,) -> None: """Updates buffers for music streaming""" ... def update_physics() -> None: - """void UpdatePhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Update physics system""" ... def update_sound(sound: Sound,data: Any,sampleCount: int,) -> None: """Update sound buffer with new data""" @@ -2265,325 +2017,197 @@ def update_texture_rec(texture: Texture,rec: Rectangle,pixels: Any,) -> None: def upload_mesh(mesh: Any,dynamic: bool,) -> None: """Upload mesh vertex data in GPU and provide VAO/VBO ids""" ... -def vector2_add(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Add(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_add(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def vector2_add_value(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2AddValue(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_add_value(v: Vector2,add: float,) -> Vector2: + """""" ... -def vector2_angle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2Angle(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_angle(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def vector2_clamp(Vector2_0: Vector2,Vector2_1: Vector2,Vector2_2: Vector2,) -> Vector2: - """struct Vector2 Vector2Clamp(struct Vector2, struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_clamp(v: Vector2,min_1: Vector2,max_2: Vector2,) -> Vector2: + """""" ... -def vector2_clamp_value(Vector2_0: Vector2,float_1: float,float_2: float,) -> Vector2: - """struct Vector2 Vector2ClampValue(struct Vector2, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_clamp_value(v: Vector2,min_1: float,max_2: float,) -> Vector2: + """""" ... -def vector_2distance(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2Distance(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_2distance(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def vector_2distance_sqr(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2DistanceSqr(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_2distance_sqr(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def vector_2divide(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Divide(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_2divide(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def vector_2dot_product(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2DotProduct(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_2dot_product(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def vector2_equals(Vector2_0: Vector2,Vector2_1: Vector2,) -> int: - """int Vector2Equals(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_equals(p: Vector2,q: Vector2,) -> int: + """""" ... -def vector2_invert(Vector2_0: Vector2,) -> Vector2: - """struct Vector2 Vector2Invert(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_invert(v: Vector2,) -> Vector2: + """""" ... -def vector2_length(Vector2_0: Vector2,) -> float: - """float Vector2Length(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_length(v: Vector2,) -> float: + """""" ... -def vector2_length_sqr(Vector2_0: Vector2,) -> float: - """float Vector2LengthSqr(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_length_sqr(v: Vector2,) -> float: + """""" ... -def vector2_lerp(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: - """struct Vector2 Vector2Lerp(struct Vector2, struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_lerp(v1: Vector2,v2: Vector2,amount: float,) -> Vector2: + """""" ... -def vector2_line_angle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2LineAngle(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_line_angle(start: Vector2,end: Vector2,) -> float: + """""" ... -def vector2_move_towards(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: - """struct Vector2 Vector2MoveTowards(struct Vector2, struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_move_towards(v: Vector2,target: Vector2,maxDistance: float,) -> Vector2: + """""" ... -def vector2_multiply(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Multiply(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_multiply(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def vector2_negate(Vector2_0: Vector2,) -> Vector2: - """struct Vector2 Vector2Negate(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_negate(v: Vector2,) -> Vector2: + """""" ... -def vector2_normalize(Vector2_0: Vector2,) -> Vector2: - """struct Vector2 Vector2Normalize(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_normalize(v: Vector2,) -> Vector2: + """""" ... def vector2_one() -> Vector2: - """struct Vector2 Vector2One(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def vector2_reflect(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Reflect(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_reflect(v: Vector2,normal: Vector2,) -> Vector2: + """""" ... -def vector2_rotate(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2Rotate(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_rotate(v: Vector2,angle: float,) -> Vector2: + """""" ... -def vector2_scale(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2Scale(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_scale(v: Vector2,scale: float,) -> Vector2: + """""" ... -def vector2_subtract(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Subtract(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_subtract(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def vector2_subtract_value(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2SubtractValue(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_subtract_value(v: Vector2,sub: float,) -> Vector2: + """""" ... -def vector2_transform(Vector2_0: Vector2,Matrix_1: Matrix,) -> Vector2: - """struct Vector2 Vector2Transform(struct Vector2, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector2_transform(v: Vector2,mat: Matrix,) -> Vector2: + """""" ... def vector2_zero() -> Vector2: - """struct Vector2 Vector2Zero(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def vector3_add(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Add(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_add(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector3_add_value(Vector3_0: Vector3,float_1: float,) -> Vector3: - """struct Vector3 Vector3AddValue(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_add_value(v: Vector3,add: float,) -> Vector3: + """""" ... -def vector3_angle(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3Angle(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_angle(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def vector3_barycenter(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,Vector3_3: Vector3,) -> Vector3: - """struct Vector3 Vector3Barycenter(struct Vector3, struct Vector3, struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_barycenter(p: Vector3,a: Vector3,b: Vector3,c: Vector3,) -> Vector3: + """""" ... -def vector3_clamp(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Vector3: - """struct Vector3 Vector3Clamp(struct Vector3, struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_clamp(v: Vector3,min_1: Vector3,max_2: Vector3,) -> Vector3: + """""" ... -def vector3_clamp_value(Vector3_0: Vector3,float_1: float,float_2: float,) -> Vector3: - """struct Vector3 Vector3ClampValue(struct Vector3, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_clamp_value(v: Vector3,min_1: float,max_2: float,) -> Vector3: + """""" ... -def vector3_cross_product(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3CrossProduct(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_cross_product(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector_3distance(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3Distance(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_3distance(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def vector_3distance_sqr(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3DistanceSqr(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_3distance_sqr(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def vector_3divide(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Divide(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_3divide(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector_3dot_product(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3DotProduct(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector_3dot_product(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def vector3_equals(Vector3_0: Vector3,Vector3_1: Vector3,) -> int: - """int Vector3Equals(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_equals(p: Vector3,q: Vector3,) -> int: + """""" ... -def vector3_invert(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Invert(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_invert(v: Vector3,) -> Vector3: + """""" ... -def vector3_length(Vector3_0: Vector3,) -> float: - """float Vector3Length(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_length(v: Vector3,) -> float: + """""" ... -def vector3_length_sqr(Vector3_0: Vector3,) -> float: - """float Vector3LengthSqr(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_length_sqr(v: Vector3,) -> float: + """""" ... -def vector3_lerp(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: - """struct Vector3 Vector3Lerp(struct Vector3, struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_lerp(v1: Vector3,v2: Vector3,amount: float,) -> Vector3: + """""" ... -def vector3_max(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Max(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_max(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector3_min(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Min(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_min(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector3_multiply(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Multiply(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_multiply(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector3_negate(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Negate(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_negate(v: Vector3,) -> Vector3: + """""" ... -def vector3_normalize(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Normalize(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_normalize(v: Vector3,) -> Vector3: + """""" ... def vector3_one() -> Vector3: - """struct Vector3 Vector3One(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def vector3_ortho_normalize(Vector3_pointer_0: Any,Vector3_pointer_1: Any,) -> None: - """void Vector3OrthoNormalize(struct Vector3 *, struct Vector3 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_ortho_normalize(v1: Any,v2: Any,) -> None: + """""" ... -def vector3_perpendicular(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Perpendicular(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_perpendicular(v: Vector3,) -> Vector3: + """""" ... -def vector3_project(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Project(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_project(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector3_reflect(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Reflect(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_reflect(v: Vector3,normal: Vector3,) -> Vector3: + """""" ... -def vector3_refract(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: - """struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_refract(v: Vector3,n: Vector3,r: float,) -> Vector3: + """""" ... -def vector3_reject(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Reject(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_reject(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector3_rotate_by_axis_angle(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: - """struct Vector3 Vector3RotateByAxisAngle(struct Vector3, struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_rotate_by_axis_angle(v: Vector3,axis: Vector3,angle: float,) -> Vector3: + """""" ... -def vector3_rotate_by_quaternion(Vector3_0: Vector3,Vector4_1: Vector4,) -> Vector3: - """struct Vector3 Vector3RotateByQuaternion(struct Vector3, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_rotate_by_quaternion(v: Vector3,q: Vector4,) -> Vector3: + """""" ... -def vector3_scale(Vector3_0: Vector3,float_1: float,) -> Vector3: - """struct Vector3 Vector3Scale(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_scale(v: Vector3,scalar: float,) -> Vector3: + """""" ... -def vector3_subtract(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Subtract(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_subtract(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def vector3_subtract_value(Vector3_0: Vector3,float_1: float,) -> Vector3: - """struct Vector3 Vector3SubtractValue(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_subtract_value(v: Vector3,sub: float,) -> Vector3: + """""" ... -def vector3_to_float_v(Vector3_0: Vector3,) -> float3: - """struct float3 Vector3ToFloatV(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_to_float_v(v: Vector3,) -> float3: + """""" ... -def vector3_transform(Vector3_0: Vector3,Matrix_1: Matrix,) -> Vector3: - """struct Vector3 Vector3Transform(struct Vector3, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_transform(v: Vector3,mat: Matrix,) -> Vector3: + """""" ... -def vector3_unproject(Vector3_0: Vector3,Matrix_1: Matrix,Matrix_2: Matrix,) -> Vector3: - """struct Vector3 Vector3Unproject(struct Vector3, struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def vector3_unproject(source: Vector3,projection: Matrix,view: Matrix,) -> Vector3: + """""" ... def vector3_zero() -> Vector3: - """struct Vector3 Vector3Zero(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... def wait_time(seconds: float,) -> None: """Wait for some time (halt program execution)""" @@ -2600,745 +2224,449 @@ def wave_format(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> Non def window_should_close() -> bool: """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)""" ... -def wrap(float_0: float,float_1: float,float_2: float,) -> float: - """float Wrap(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def wrap(value: float,min_1: float,max_2: float,) -> float: + """""" ... -def rl_active_draw_buffers(int_0: int,) -> None: - """void rlActiveDrawBuffers(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_active_draw_buffers(count: int,) -> None: + """Activate multiple draw color buffers""" ... -def rl_active_texture_slot(int_0: int,) -> None: - """void rlActiveTextureSlot(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_active_texture_slot(slot: int,) -> None: + """Select and active a texture slot""" ... -def rl_begin(int_0: int,) -> None: - """void rlBegin(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_begin(mode: int,) -> None: + """Initialize drawing mode (how to organize vertex)""" ... -def rl_bind_image_texture(unsignedint_0: int,unsignedint_1: int,int_2: int,_Bool_3: bool,) -> None: - """void rlBindImageTexture(unsigned int, unsigned int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_bind_image_texture(id: int,index: int,format: int,readonly: bool,) -> None: + """Bind image texture""" ... -def rl_bind_shader_buffer(unsignedint_0: int,unsignedint_1: int,) -> None: - """void rlBindShaderBuffer(unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_bind_shader_buffer(id: int,index: int,) -> None: + """Bind SSBO buffer""" ... -def rl_blit_framebuffer(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,int_6: int,int_7: int,int_8: int,) -> None: - """void rlBlitFramebuffer(int, int, int, int, int, int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +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""" ... def rl_check_errors() -> None: - """void rlCheckErrors(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Check and log OpenGL error codes""" ... -def rl_check_render_batch_limit(int_0: int,) -> bool: - """_Bool rlCheckRenderBatchLimit(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_check_render_batch_limit(vCount: int,) -> bool: + """Check internal buffer overflow for a given number of vertex""" ... -def rl_clear_color(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: - """void rlClearColor(unsigned char, unsigned char, unsigned char, unsigned char); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_clear_color(r: str,g: str,b: str,a: str,) -> None: + """Clear color buffer with color""" ... def rl_clear_screen_buffers() -> None: - """void rlClearScreenBuffers(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Clear used screen buffers (color and depth)""" ... -def rl_color3f(float_0: float,float_1: float,float_2: float,) -> None: - """void rlColor3f(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_color3f(x: float,y: float,z: float,) -> None: + """Define one vertex (color) - 3 float""" ... -def rl_color4f(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: - """void rlColor4f(float, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_color4f(x: float,y: float,z: float,w: float,) -> None: + """Define one vertex (color) - 4 float""" ... -def rl_color4ub(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: - """void rlColor4ub(unsigned char, unsigned char, unsigned char, unsigned char); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_color4ub(r: str,g: str,b: str,a: str,) -> None: + """Define one vertex (color) - 4 byte""" ... -def rl_compile_shader(str_0: str,int_1: int,) -> int: - """unsigned int rlCompileShader(char *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +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)""" ... -def rl_compute_shader_dispatch(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,) -> None: - """void rlComputeShaderDispatch(unsigned int, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_compute_shader_dispatch(groupX: int,groupY: int,groupZ: int,) -> None: + """Dispatch compute shader (equivalent to *draw* for graphics pipeline)""" ... -def rl_copy_shader_buffer(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,unsignedint_3: int,unsignedint_4: int,) -> None: - """void rlCopyShaderBuffer(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_copy_shader_buffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None: + """Copy SSBO data between buffers""" ... -def rl_cubemap_parameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: - """void rlCubemapParameters(unsigned int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_cubemap_parameters(id: int,param: int,value: int,) -> None: + """Set cubemap parameters (filter, wrap)""" ... def rl_disable_backface_culling() -> None: - """void rlDisableBackfaceCulling(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable backface culling""" ... def rl_disable_color_blend() -> None: - """void rlDisableColorBlend(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable color blending""" ... def rl_disable_depth_mask() -> None: - """void rlDisableDepthMask(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable depth write""" ... def rl_disable_depth_test() -> None: - """void rlDisableDepthTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable depth test""" ... def rl_disable_framebuffer() -> None: - """void rlDisableFramebuffer(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable render texture (fbo), return to default framebuffer""" ... def rl_disable_scissor_test() -> None: - """void rlDisableScissorTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable scissor test""" ... def rl_disable_shader() -> None: - """void rlDisableShader(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable shader program""" ... def rl_disable_smooth_lines() -> None: - """void rlDisableSmoothLines(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable line aliasing""" ... def rl_disable_stereo_render() -> None: - """void rlDisableStereoRender(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable stereo rendering""" ... def rl_disable_texture() -> None: - """void rlDisableTexture(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable texture""" ... def rl_disable_texture_cubemap() -> None: - """void rlDisableTextureCubemap(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable texture cubemap""" ... def rl_disable_vertex_array() -> None: - """void rlDisableVertexArray(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable vertex array (VAO, if supported)""" ... -def rl_disable_vertex_attribute(unsignedint_0: int,) -> None: - """void rlDisableVertexAttribute(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_disable_vertex_attribute(index: int,) -> None: + """Disable vertex attribute index""" ... def rl_disable_vertex_buffer() -> None: - """void rlDisableVertexBuffer(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable vertex buffer (VBO)""" ... def rl_disable_vertex_buffer_element() -> None: - """void rlDisableVertexBufferElement(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable vertex buffer element (VBO element)""" ... def rl_disable_wire_mode() -> None: - """void rlDisableWireMode(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable wire mode ( and point ) maybe rename""" ... -def rl_draw_render_batch(rlRenderBatch_pointer_0: Any,) -> None: - """void rlDrawRenderBatch(struct rlRenderBatch *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_draw_render_batch(batch: Any,) -> None: + """Draw render batch data (Update->Draw->Reset)""" ... def rl_draw_render_batch_active() -> None: - """void rlDrawRenderBatchActive(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Update and draw internal render batch""" ... -def rl_draw_vertex_array(int_0: int,int_1: int,) -> None: - """void rlDrawVertexArray(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_draw_vertex_array(offset: int,count: int,) -> None: + """""" ... -def rl_draw_vertex_array_elements(int_0: int,int_1: int,void_pointer_2: Any,) -> None: - """void rlDrawVertexArrayElements(int, int, void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_draw_vertex_array_elements(offset: int,count: int,buffer: Any,) -> None: + """""" ... -def rl_draw_vertex_array_elements_instanced(int_0: int,int_1: int,void_pointer_2: Any,int_3: int,) -> None: - """void rlDrawVertexArrayElementsInstanced(int, int, void *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_draw_vertex_array_elements_instanced(offset: int,count: int,buffer: Any,instances: int,) -> None: + """""" ... -def rl_draw_vertex_array_instanced(int_0: int,int_1: int,int_2: int,) -> None: - """void rlDrawVertexArrayInstanced(int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_draw_vertex_array_instanced(offset: int,count: int,instances: int,) -> None: + """""" ... def rl_enable_backface_culling() -> None: - """void rlEnableBackfaceCulling(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable backface culling""" ... def rl_enable_color_blend() -> None: - """void rlEnableColorBlend(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable color blending""" ... def rl_enable_depth_mask() -> None: - """void rlEnableDepthMask(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable depth write""" ... def rl_enable_depth_test() -> None: - """void rlEnableDepthTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable depth test""" ... -def rl_enable_framebuffer(unsignedint_0: int,) -> None: - """void rlEnableFramebuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_framebuffer(id: int,) -> None: + """Enable render texture (fbo)""" ... def rl_enable_point_mode() -> None: - """void rlEnablePointMode(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable point mode""" ... def rl_enable_scissor_test() -> None: - """void rlEnableScissorTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable scissor test""" ... -def rl_enable_shader(unsignedint_0: int,) -> None: - """void rlEnableShader(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_shader(id: int,) -> None: + """Enable shader program""" ... def rl_enable_smooth_lines() -> None: - """void rlEnableSmoothLines(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable line aliasing""" ... def rl_enable_stereo_render() -> None: - """void rlEnableStereoRender(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable stereo rendering""" ... -def rl_enable_texture(unsignedint_0: int,) -> None: - """void rlEnableTexture(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_texture(id: int,) -> None: + """Enable texture""" ... -def rl_enable_texture_cubemap(unsignedint_0: int,) -> None: - """void rlEnableTextureCubemap(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_texture_cubemap(id: int,) -> None: + """Enable texture cubemap""" ... -def rl_enable_vertex_array(unsignedint_0: int,) -> bool: - """_Bool rlEnableVertexArray(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_vertex_array(vaoId: int,) -> bool: + """Enable vertex array (VAO, if supported)""" ... -def rl_enable_vertex_attribute(unsignedint_0: int,) -> None: - """void rlEnableVertexAttribute(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_vertex_attribute(index: int,) -> None: + """Enable vertex attribute index""" ... -def rl_enable_vertex_buffer(unsignedint_0: int,) -> None: - """void rlEnableVertexBuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_vertex_buffer(id: int,) -> None: + """Enable vertex buffer (VBO)""" ... -def rl_enable_vertex_buffer_element(unsignedint_0: int,) -> None: - """void rlEnableVertexBufferElement(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_enable_vertex_buffer_element(id: int,) -> None: + """Enable vertex buffer element (VBO element)""" ... def rl_enable_wire_mode() -> None: - """void rlEnableWireMode(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable wire mode""" ... def rl_end() -> None: - """void rlEnd(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Finish vertex providing""" ... -def rl_framebuffer_attach(unsignedint_0: int,unsignedint_1: int,int_2: int,int_3: int,int_4: int,) -> None: - """void rlFramebufferAttach(unsigned int, unsigned int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_framebuffer_attach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None: + """Attach texture/renderbuffer to a framebuffer""" ... -def rl_framebuffer_complete(unsignedint_0: int,) -> bool: - """_Bool rlFramebufferComplete(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_framebuffer_complete(id: int,) -> bool: + """Verify framebuffer is complete""" ... -def rl_frustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: - """void rlFrustum(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_frustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: + """""" ... -def rl_gen_texture_mipmaps(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_pointer_4: Any,) -> None: - """void rlGenTextureMipmaps(unsigned int, int, int, int, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_gen_texture_mipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None: + """Generate mipmap data for selected texture""" ... def rl_get_framebuffer_height() -> int: - """int rlGetFramebufferHeight(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default framebuffer height""" ... def rl_get_framebuffer_width() -> int: - """int rlGetFramebufferWidth(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default framebuffer width""" ... -def rl_get_gl_texture_formats(int_0: int,unsignedint_pointer_1: Any,unsignedint_pointer_2: Any,unsignedint_pointer_3: Any,) -> None: - """void rlGetGlTextureFormats(int, unsigned int *, unsigned int *, unsigned int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_get_gl_texture_formats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None: + """Get OpenGL internal formats""" ... def rl_get_line_width() -> float: - """float rlGetLineWidth(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get the line drawing width""" ... -def rl_get_location_attrib(unsignedint_0: int,str_1: str,) -> int: - """int rlGetLocationAttrib(unsigned int, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_get_location_attrib(shaderId: int,attribName: str,) -> int: + """Get shader location attribute""" ... -def rl_get_location_uniform(unsignedint_0: int,str_1: str,) -> int: - """int rlGetLocationUniform(unsigned int, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_get_location_uniform(shaderId: int,uniformName: str,) -> int: + """Get shader location uniform""" ... def rl_get_matrix_modelview() -> Matrix: - """struct Matrix rlGetMatrixModelview(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get internal modelview matrix""" ... def rl_get_matrix_projection() -> Matrix: - """struct Matrix rlGetMatrixProjection(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get internal projection matrix""" ... -def rl_get_matrix_projection_stereo(int_0: int,) -> Matrix: - """struct Matrix rlGetMatrixProjectionStereo(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_get_matrix_projection_stereo(eye: int,) -> Matrix: + """Get internal projection matrix for stereo render (selected eye)""" ... def rl_get_matrix_transform() -> Matrix: - """struct Matrix rlGetMatrixTransform(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get internal accumulated transform matrix""" ... -def rl_get_matrix_view_offset_stereo(int_0: int,) -> Matrix: - """struct Matrix rlGetMatrixViewOffsetStereo(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_get_matrix_view_offset_stereo(eye: int,) -> Matrix: + """Get internal view offset matrix for stereo render (selected eye)""" ... -def rl_get_pixel_format_name(unsignedint_0: int,) -> str: - """char *rlGetPixelFormatName(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_get_pixel_format_name(format: int,) -> str: + """Get name string for pixel format""" ... -def rl_get_shader_buffer_size(unsignedint_0: int,) -> int: - """unsigned int rlGetShaderBufferSize(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_get_shader_buffer_size(id: int,) -> int: + """Get SSBO buffer size""" ... def rl_get_shader_id_default() -> int: - """unsigned int rlGetShaderIdDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default shader id""" ... def rl_get_shader_locs_default() -> Any: - """int *rlGetShaderLocsDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default shader locations""" ... def rl_get_texture_id_default() -> int: - """unsigned int rlGetTextureIdDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default texture id""" ... def rl_get_version() -> int: - """int rlGetVersion(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get current OpenGL version""" ... def rl_is_stereo_render_enabled() -> bool: - """_Bool rlIsStereoRenderEnabled(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Check if stereo render is enabled""" ... -def rl_load_compute_shader_program(unsignedint_0: int,) -> int: - """unsigned int rlLoadComputeShaderProgram(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_compute_shader_program(shaderId: int,) -> int: + """Load compute shader program""" ... def rl_load_draw_cube() -> None: - """void rlLoadDrawCube(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load and draw a cube""" ... def rl_load_draw_quad() -> None: - """void rlLoadDrawQuad(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load and draw a quad""" ... -def rl_load_extensions(void_pointer_0: Any,) -> None: - """void rlLoadExtensions(void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_extensions(loader: Any,) -> None: + """Load OpenGL extensions (loader function required)""" ... -def rl_load_framebuffer(int_0: int,int_1: int,) -> int: - """unsigned int rlLoadFramebuffer(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_framebuffer(width: int,height: int,) -> int: + """Load an empty framebuffer""" ... def rl_load_identity() -> None: - """void rlLoadIdentity(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Reset current matrix to identity matrix""" ... -def rl_load_render_batch(int_0: int,int_1: int,) -> rlRenderBatch: - """struct rlRenderBatch rlLoadRenderBatch(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_render_batch(numBuffers: int,bufferElements: int,) -> rlRenderBatch: + """Load a render batch system""" ... -def rl_load_shader_buffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,) -> int: - """unsigned int rlLoadShaderBuffer(unsigned int, void *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_shader_buffer(size: int,data: Any,usageHint: int,) -> int: + """Load shader storage buffer object (SSBO)""" ... -def rl_load_shader_code(str_0: str,str_1: str,) -> int: - """unsigned int rlLoadShaderCode(char *, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_shader_code(vsCode: str,fsCode: str,) -> int: + """Load shader from code strings""" ... -def rl_load_shader_program(unsignedint_0: int,unsignedint_1: int,) -> int: - """unsigned int rlLoadShaderProgram(unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_shader_program(vShaderId: int,fShaderId: int,) -> int: + """Load custom shader program""" ... -def rl_load_texture(void_pointer_0: Any,int_1: int,int_2: int,int_3: int,int_4: int,) -> int: - """unsigned int rlLoadTexture(void *, int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_texture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int: + """Load texture in GPU""" ... -def rl_load_texture_cubemap(void_pointer_0: Any,int_1: int,int_2: int,) -> int: - """unsigned int rlLoadTextureCubemap(void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_texture_cubemap(data: Any,size: int,format: int,) -> int: + """Load texture cubemap""" ... -def rl_load_texture_depth(int_0: int,int_1: int,_Bool_2: bool,) -> int: - """unsigned int rlLoadTextureDepth(int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_texture_depth(width: int,height: int,useRenderBuffer: bool,) -> int: + """Load depth texture/renderbuffer (to be attached to fbo)""" ... def rl_load_vertex_array() -> int: - """unsigned int rlLoadVertexArray(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load vertex array (vao) if supported""" ... -def rl_load_vertex_buffer(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: - """unsigned int rlLoadVertexBuffer(void *, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_vertex_buffer(buffer: Any,size: int,dynamic: bool,) -> int: + """Load a vertex buffer attribute""" ... -def rl_load_vertex_buffer_element(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: - """unsigned int rlLoadVertexBufferElement(void *, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_load_vertex_buffer_element(buffer: Any,size: int,dynamic: bool,) -> int: + """Load a new attributes element buffer""" ... -def rl_matrix_mode(int_0: int,) -> None: - """void rlMatrixMode(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_matrix_mode(mode: int,) -> None: + """Choose the current matrix to be transformed""" ... -def rl_mult_matrixf(float_pointer_0: Any,) -> None: - """void rlMultMatrixf(float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_mult_matrixf(matf: Any,) -> None: + """Multiply the current matrix by another matrix""" ... -def rl_normal3f(float_0: float,float_1: float,float_2: float,) -> None: - """void rlNormal3f(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_normal3f(x: float,y: float,z: float,) -> None: + """Define one vertex (normal) - 3 float""" ... -def rl_ortho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: - """void rlOrtho(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_ortho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: + """""" ... def rl_pop_matrix() -> None: - """void rlPopMatrix(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Pop latest inserted matrix from stack""" ... def rl_push_matrix() -> None: - """void rlPushMatrix(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Push the current matrix to stack""" ... -def rl_read_screen_pixels(int_0: int,int_1: int,) -> str: - """unsigned char *rlReadScreenPixels(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_read_screen_pixels(width: int,height: int,) -> str: + """Read screen pixel data (color buffer)""" ... -def rl_read_shader_buffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: - """void rlReadShaderBuffer(unsigned int, void *, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_read_shader_buffer(id: int,dest: Any,count: int,offset: int,) -> None: + """Read SSBO buffer data (GPU->CPU)""" ... -def rl_read_texture_pixels(unsignedint_0: int,int_1: int,int_2: int,int_3: int,) -> Any: - """void *rlReadTexturePixels(unsigned int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_read_texture_pixels(id: int,width: int,height: int,format: int,) -> Any: + """Read texture pixel data""" ... -def rl_rotatef(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: - """void rlRotatef(float, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_rotatef(angle: float,x: float,y: float,z: float,) -> None: + """Multiply the current matrix by a rotation matrix""" ... -def rl_scalef(float_0: float,float_1: float,float_2: float,) -> None: - """void rlScalef(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_scalef(x: float,y: float,z: float,) -> None: + """Multiply the current matrix by a scaling matrix""" ... -def rl_scissor(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: - """void rlScissor(int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_scissor(x: int,y: int,width: int,height: int,) -> None: + """Scissor test""" ... -def rl_set_blend_factors(int_0: int,int_1: int,int_2: int,) -> None: - """void rlSetBlendFactors(int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_blend_factors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None: + """Set blending mode factor and equation (using OpenGL factors)""" ... -def rl_set_blend_factors_separate(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,) -> None: - """void rlSetBlendFactorsSeparate(int, int, int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +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)""" ... -def rl_set_blend_mode(int_0: int,) -> None: - """void rlSetBlendMode(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_blend_mode(mode: int,) -> None: + """Set blending mode""" ... -def rl_set_cull_face(int_0: int,) -> None: - """void rlSetCullFace(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_cull_face(mode: int,) -> None: + """Set face culling mode""" ... -def rl_set_framebuffer_height(int_0: int,) -> None: - """void rlSetFramebufferHeight(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_framebuffer_height(height: int,) -> None: + """Set current framebuffer height""" ... -def rl_set_framebuffer_width(int_0: int,) -> None: - """void rlSetFramebufferWidth(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_framebuffer_width(width: int,) -> None: + """Set current framebuffer width""" ... -def rl_set_line_width(float_0: float,) -> None: - """void rlSetLineWidth(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_line_width(width: float,) -> None: + """Set the line drawing width""" ... -def rl_set_matrix_modelview(Matrix_0: Matrix,) -> None: - """void rlSetMatrixModelview(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_matrix_modelview(view: Matrix,) -> None: + """Set a custom modelview matrix (replaces internal modelview matrix)""" ... -def rl_set_matrix_projection(Matrix_0: Matrix,) -> None: - """void rlSetMatrixProjection(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_matrix_projection(proj: Matrix,) -> None: + """Set a custom projection matrix (replaces internal projection matrix)""" ... -def rl_set_matrix_projection_stereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: - """void rlSetMatrixProjectionStereo(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_matrix_projection_stereo(right: Matrix,left: Matrix,) -> None: + """Set eyes projection matrices for stereo rendering""" ... -def rl_set_matrix_view_offset_stereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: - """void rlSetMatrixViewOffsetStereo(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_matrix_view_offset_stereo(right: Matrix,left: Matrix,) -> None: + """Set eyes view offsets matrices for stereo rendering""" ... -def rl_set_render_batch_active(rlRenderBatch_pointer_0: Any,) -> None: - """void rlSetRenderBatchActive(struct rlRenderBatch *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_render_batch_active(batch: Any,) -> None: + """Set the active render batch for rlgl (NULL for default internal)""" ... -def rl_set_shader(unsignedint_0: int,int_pointer_1: Any,) -> None: - """void rlSetShader(unsigned int, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_shader(id: int,locs: Any,) -> None: + """Set shader currently active (id and locations)""" ... -def rl_set_texture(unsignedint_0: int,) -> None: - """void rlSetTexture(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_texture(id: int,) -> None: + """Set current texture for render batch and check buffers limits""" ... -def rl_set_uniform(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlSetUniform(int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_uniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None: + """Set shader value uniform""" ... -def rl_set_uniform_matrix(int_0: int,Matrix_1: Matrix,) -> None: - """void rlSetUniformMatrix(int, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_uniform_matrix(locIndex: int,mat: Matrix,) -> None: + """Set shader value matrix""" ... -def rl_set_uniform_sampler(int_0: int,unsignedint_1: int,) -> None: - """void rlSetUniformSampler(int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_uniform_sampler(locIndex: int,textureId: int,) -> None: + """Set shader value sampler""" ... -def rl_set_vertex_attribute(unsignedint_0: int,int_1: int,int_2: int,_Bool_3: bool,int_4: int,void_pointer_5: Any,) -> None: - """void rlSetVertexAttribute(unsigned int, int, int, _Bool, int, void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_vertex_attribute(index: int,compSize: int,type: int,normalized: bool,stride: int,pointer: Any,) -> None: + """""" ... -def rl_set_vertex_attribute_default(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlSetVertexAttributeDefault(int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_vertex_attribute_default(locIndex: int,value: Any,attribType: int,count: int,) -> None: + """Set vertex attribute default value""" ... -def rl_set_vertex_attribute_divisor(unsignedint_0: int,int_1: int,) -> None: - """void rlSetVertexAttributeDivisor(unsigned int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_set_vertex_attribute_divisor(index: int,divisor: int,) -> None: + """""" ... -def rl_tex_coord2f(float_0: float,float_1: float,) -> None: - """void rlTexCoord2f(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_tex_coord2f(x: float,y: float,) -> None: + """Define one vertex (texture coordinate) - 2 float""" ... -def rl_texture_parameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: - """void rlTextureParameters(unsigned int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_texture_parameters(id: int,param: int,value: int,) -> None: + """Set texture parameters (filter, wrap)""" ... -def rl_translatef(float_0: float,float_1: float,float_2: float,) -> None: - """void rlTranslatef(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_translatef(x: float,y: float,z: float,) -> None: + """Multiply the current matrix by a translation matrix""" ... -def rl_unload_framebuffer(unsignedint_0: int,) -> None: - """void rlUnloadFramebuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_unload_framebuffer(id: int,) -> None: + """Delete framebuffer from GPU""" ... -def rl_unload_render_batch(rlRenderBatch_0: rlRenderBatch,) -> None: - """void rlUnloadRenderBatch(struct rlRenderBatch); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_unload_render_batch(batch: rlRenderBatch,) -> None: + """Unload render batch system""" ... -def rl_unload_shader_buffer(unsignedint_0: int,) -> None: - """void rlUnloadShaderBuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_unload_shader_buffer(ssboId: int,) -> None: + """Unload shader storage buffer object (SSBO)""" ... -def rl_unload_shader_program(unsignedint_0: int,) -> None: - """void rlUnloadShaderProgram(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_unload_shader_program(id: int,) -> None: + """Unload shader program""" ... -def rl_unload_texture(unsignedint_0: int,) -> None: - """void rlUnloadTexture(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_unload_texture(id: int,) -> None: + """Unload texture from GPU memory""" ... -def rl_unload_vertex_array(unsignedint_0: int,) -> None: - """void rlUnloadVertexArray(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_unload_vertex_array(vaoId: int,) -> None: + """""" ... -def rl_unload_vertex_buffer(unsignedint_0: int,) -> None: - """void rlUnloadVertexBuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_unload_vertex_buffer(vboId: int,) -> None: + """""" ... -def rl_update_shader_buffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: - """void rlUpdateShaderBuffer(unsigned int, void *, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_update_shader_buffer(id: int,data: Any,dataSize: int,offset: int,) -> None: + """Update SSBO buffer data""" ... -def rl_update_texture(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,void_pointer_6: Any,) -> None: - """void rlUpdateTexture(unsigned int, int, int, int, int, int, void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_update_texture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None: + """Update GPU texture with new data""" ... -def rl_update_vertex_buffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlUpdateVertexBuffer(unsigned int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_update_vertex_buffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None: + """Update GPU buffer with new data""" ... -def rl_update_vertex_buffer_elements(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlUpdateVertexBufferElements(unsigned int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_update_vertex_buffer_elements(id: int,data: Any,dataSize: int,offset: int,) -> None: + """Update vertex buffer elements with new data""" ... -def rl_vertex2f(float_0: float,float_1: float,) -> None: - """void rlVertex2f(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_vertex2f(x: float,y: float,) -> None: + """Define one vertex (position) - 2 float""" ... -def rl_vertex2i(int_0: int,int_1: int,) -> None: - """void rlVertex2i(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_vertex2i(x: int,y: int,) -> None: + """Define one vertex (position) - 2 int""" ... -def rl_vertex3f(float_0: float,float_1: float,float_2: float,) -> None: - """void rlVertex3f(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_vertex3f(x: float,y: float,z: float,) -> None: + """Define one vertex (position) - 3 float""" ... -def rl_viewport(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: - """void rlViewport(int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rl_viewport(x: int,y: int,width: int,height: int,) -> None: + """Set the viewport area""" ... def rlgl_close() -> None: - """void rlglClose(); - -CFFI C function from raylib._raylib_cffi.lib""" + """De-initialize rlgl (buffers, shaders, textures)""" ... -def rlgl_init(int_0: int,int_1: int,) -> None: - """void rlglInit(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlgl_init(width: int,height: int,) -> None: + """Initialize rlgl (buffers, shaders, textures, states)""" ... class AudioStream: """ struct """ @@ -3370,14 +2698,6 @@ class BoundingBox: def __init__(self, min, max): self.min=min self.max=max -class Camera: - """ struct """ - def __init__(self, position, target, up, fovy, projection): - self.position=position - self.target=target - self.up=up - self.fovy=fovy - self.projection=projection class Camera2D: """ struct """ def __init__(self, offset, target, rotation, zoom): @@ -3579,13 +2899,6 @@ class PhysicsVertexData: self.vertexCount=vertexCount self.positions=positions self.normals=normals -class Quaternion: - """ struct """ - def __init__(self, x, y, z, w): - self.x=x - self.y=y - self.z=z - self.w=w class Ray: """ struct """ def __init__(self, position, direction): @@ -3611,12 +2924,6 @@ class RenderTexture: self.id=id self.texture=texture self.depth=depth -class RenderTexture2D: - """ struct """ - def __init__(self, id, texture, depth): - self.id=id - self.texture=texture - self.depth=depth class Shader: """ struct """ def __init__(self, id, locs): @@ -3643,14 +2950,6 @@ class Texture2D: self.height=height self.mipmaps=mipmaps self.format=format -class TextureCubemap: - """ struct """ - def __init__(self, id, width, height, mipmaps, format): - self.id=id - self.width=width - self.height=height - self.mipmaps=mipmaps - self.format=format class Transform: """ struct """ def __init__(self, translation, rotation, scale): diff --git a/raylib/__init__.pyi b/raylib/__init__.pyi index 5e19f03..647ba75 100644 --- a/raylib/__init__.pyi +++ b/raylib/__init__.pyi @@ -119,10 +119,8 @@ def CheckCollisionRecs(rec1: Rectangle,rec2: Rectangle,) -> bool: def CheckCollisionSpheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool: """Check collision between two spheres""" ... -def Clamp(float_0: float,float_1: float,float_2: float,) -> float: - """float Clamp(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Clamp(value: float,min_1: float,max_2: float,) -> float: + """""" ... def ClearBackground(color: Color,) -> None: """Set background color (framebuffer clear color)""" @@ -134,9 +132,7 @@ def CloseAudioDevice() -> None: """Close the audio device and context""" ... def ClosePhysics() -> None: - """void ClosePhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Close physics system and unload used memory""" ... def CloseWindow() -> None: """Close window and unload OpenGL context""" @@ -177,20 +173,14 @@ def ColorToInt(color: Color,) -> int: def CompressData(data: str,dataSize: int,compDataSize: Any,) -> str: """Compress data (DEFLATE algorithm), memory must be MemFree()""" ... -def CreatePhysicsBodyCircle(Vector2_0: Vector2,float_1: float,float_2: float,) -> Any: - """struct PhysicsBodyData *CreatePhysicsBodyCircle(struct Vector2, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def CreatePhysicsBodyCircle(pos: Vector2,radius: float,density: float,) -> Any: + """Creates a new circle physics body with generic parameters""" ... -def CreatePhysicsBodyPolygon(Vector2_0: Vector2,float_1: float,int_2: int,float_3: float,) -> Any: - """struct PhysicsBodyData *CreatePhysicsBodyPolygon(struct Vector2, float, int, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def CreatePhysicsBodyPolygon(pos: Vector2,radius: float,sides: int,density: float,) -> Any: + """Creates a new polygon physics body with generic parameters""" ... -def CreatePhysicsBodyRectangle(Vector2_0: Vector2,float_1: float,float_2: float,float_3: float,) -> Any: - """struct PhysicsBodyData *CreatePhysicsBodyRectangle(struct Vector2, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def CreatePhysicsBodyRectangle(pos: Vector2,width: float,height: float,density: float,) -> Any: + """Creates a new rectangle physics body with generic parameters""" ... DEFAULT: int DROPDOWNBOX: int @@ -201,10 +191,8 @@ def DecodeDataBase64(data: str,outputSize: Any,) -> str: def DecompressData(compData: str,compDataSize: int,dataSize: Any,) -> str: """Decompress data (DEFLATE algorithm), memory must be MemFree()""" ... -def DestroyPhysicsBody(PhysicsBodyData_pointer_0: Any,) -> None: - """void DestroyPhysicsBody(struct PhysicsBodyData *); - -CFFI C function from raylib._raylib_cffi.lib""" +def DestroyPhysicsBody(body: Any,) -> None: + """Destroy a physics body""" ... def DetachAudioMixedProcessor(processor: Any,) -> None: """Detach audio stream processor from the entire audio pipeline""" @@ -521,7 +509,7 @@ def EndTextureMode() -> None: def EndVrStereoMode() -> None: """End stereo rendering (requires VR simulator)""" ... -def ExportAutomationEventList(list: AutomationEventList,fileName: str,) -> bool: +def ExportAutomationEventList(list_0: AutomationEventList,fileName: str,) -> bool: """Export automation events list as text file""" ... def ExportDataAsCode(data: str,dataSize: int,fileName: str,) -> bool: @@ -573,10 +561,8 @@ def Fade(color: Color,alpha: float,) -> Color: def FileExists(fileName: str,) -> bool: """Check if file exists""" ... -def FloatEquals(float_0: float,float_1: float,) -> int: - """int FloatEquals(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def FloatEquals(x: float,y: float,) -> int: + """""" ... GAMEPAD_AXIS_LEFT_TRIGGER: int GAMEPAD_AXIS_LEFT_X: int @@ -855,29 +841,19 @@ def GetMusicTimePlayed(music: Music,) -> float: """Get current music time played (in seconds)""" ... def GetPhysicsBodiesCount() -> int: - """int GetPhysicsBodiesCount(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Returns the current amount of created physics bodies""" ... -def GetPhysicsBody(int_0: int,) -> Any: - """struct PhysicsBodyData *GetPhysicsBody(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GetPhysicsBody(index: int,) -> Any: + """Returns a physics body of the bodies pool at a specific index""" ... -def GetPhysicsShapeType(int_0: int,) -> int: - """int GetPhysicsShapeType(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GetPhysicsShapeType(index: int,) -> int: + """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)""" ... -def GetPhysicsShapeVertex(PhysicsBodyData_pointer_0: Any,int_1: int,) -> Vector2: - """struct Vector2 GetPhysicsShapeVertex(struct PhysicsBodyData *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GetPhysicsShapeVertex(body: Any,vertex: int,) -> Vector2: + """Returns transformed position of a body shape (body position + vertex transformed position)""" ... -def GetPhysicsShapeVerticesCount(int_0: int,) -> int: - """int GetPhysicsShapeVerticesCount(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GetPhysicsShapeVerticesCount(index: int,) -> int: + """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""" @@ -888,7 +864,7 @@ def GetPixelDataSize(width: int,height: int,format: int,) -> int: def GetPrevDirectoryPath(dirPath: str,) -> str: """Get previous directory path for a given path (uses static string)""" ... -def GetRandomValue(min: int,max: int,) -> int: +def GetRandomValue(min_0: int,max_1: int,) -> int: """Get a random value between min and max (both included)""" ... def GetRayCollisionBox(ray: Ray,box: BoundingBox,) -> RayCollision: @@ -981,285 +957,173 @@ def GetWorldToScreen2D(position: Vector2,camera: Camera2D,) -> Vector2: def GetWorldToScreenEx(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2: """Get size position for a 3d world space position""" ... -def GuiButton(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiButton(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiButton(bounds: Rectangle,text: str,) -> int: + """Button control, returns true when clicked""" ... -def GuiCheckBox(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: - """int GuiCheckBox(struct Rectangle, char *, _Bool *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiCheckBox(bounds: Rectangle,text: str,checked: Any,) -> int: + """Check Box control, returns true when active""" ... -def GuiColorBarAlpha(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: - """int GuiColorBarAlpha(struct Rectangle, char *, float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiColorBarAlpha(bounds: Rectangle,text: str,alpha: Any,) -> int: + """Color Bar Alpha control""" ... -def GuiColorBarHue(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int: - """int GuiColorBarHue(struct Rectangle, char *, float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiColorBarHue(bounds: Rectangle,text: str,value: Any,) -> int: + """Color Bar Hue control""" ... -def GuiColorPanel(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: - """int GuiColorPanel(struct Rectangle, char *, struct Color *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiColorPanel(bounds: Rectangle,text: str,color: Any,) -> int: + """Color Panel control""" ... -def GuiColorPanelHSV(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: - """int GuiColorPanelHSV(struct Rectangle, char *, struct Vector3 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiColorPanelHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int: + """Color Panel control that returns HSV color value, used by GuiColorPickerHSV()""" ... -def GuiColorPicker(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int: - """int GuiColorPicker(struct Rectangle, char *, struct Color *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiColorPicker(bounds: Rectangle,text: str,color: Any,) -> int: + """Color Picker control (multiple color controls)""" ... -def GuiColorPickerHSV(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int: - """int GuiColorPickerHSV(struct Rectangle, char *, struct Vector3 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiColorPickerHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int: + """Color Picker control that avoids conversion to RGB on each call (multiple color controls)""" ... -def GuiComboBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: - """int GuiComboBox(struct Rectangle, char *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiComboBox(bounds: Rectangle,text: str,active: Any,) -> int: + """Combo Box control, returns selected item index""" ... def GuiDisable() -> None: - """void GuiDisable(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable gui controls (global state)""" ... def GuiDisableTooltip() -> None: - """void GuiDisableTooltip(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable gui tooltips (global state)""" ... -def GuiDrawIcon(int_0: int,int_1: int,int_2: int,int_3: int,Color_4: Color,) -> None: - """void GuiDrawIcon(int, int, int, int, struct Color); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color,) -> None: + """Draw icon using pixel size at specified position""" ... -def GuiDropdownBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) -> int: - """int GuiDropdownBox(struct Rectangle, char *, int *, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiDropdownBox(bounds: Rectangle,text: str,active: Any,editMode: bool,) -> int: + """Dropdown Box control, returns selected item""" ... -def GuiDummyRec(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiDummyRec(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiDummyRec(bounds: Rectangle,text: str,) -> int: + """Dummy control for placeholders""" ... def GuiEnable() -> None: - """void GuiEnable(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable gui controls (global state)""" ... def GuiEnableTooltip() -> None: - """void GuiEnableTooltip(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable gui tooltips (global state)""" ... def GuiGetFont() -> Font: - """struct Font GuiGetFont(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get gui custom font (global state)""" ... def GuiGetIcons() -> Any: - """unsigned int *GuiGetIcons(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get raygui icons data pointer""" ... def GuiGetState() -> int: - """int GuiGetState(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get gui state (global state)""" ... -def GuiGetStyle(int_0: int,int_1: int,) -> int: - """int GuiGetStyle(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiGetStyle(control: int,property: int,) -> int: + """Get one style property""" ... -def GuiGrid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,Vector2_pointer_4: Any,) -> int: - """int GuiGrid(struct Rectangle, char *, float, int, struct Vector2 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiGrid(bounds: Rectangle,text: str,spacing: float,subdivs: int,mouseCell: Any,) -> int: + """Grid control, returns mouse cell position""" ... -def GuiGroupBox(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiGroupBox(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiGroupBox(bounds: Rectangle,text: str,) -> int: + """Group Box control with text name""" ... -def GuiIconText(int_0: int,str_1: str,) -> str: - """char *GuiIconText(int, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiIconText(iconId: int,text: str,) -> str: + """Get text with icon id prepended (if supported)""" ... def GuiIsLocked() -> bool: - """_Bool GuiIsLocked(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Check if gui is locked (global state)""" ... -def GuiLabel(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiLabel(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiLabel(bounds: Rectangle,text: str,) -> int: + """Label control, shows text""" ... -def GuiLabelButton(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiLabelButton(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiLabelButton(bounds: Rectangle,text: str,) -> int: + """Label button control, show true when clicked""" ... -def GuiLine(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiLine(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiLine(bounds: Rectangle,text: str,) -> int: + """Line separator control, could contain text""" ... -def GuiListView(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_pointer_3: Any,) -> int: - """int GuiListView(struct Rectangle, char *, int *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiListView(bounds: Rectangle,text: str,scrollIndex: Any,active: Any,) -> int: + """List View control, returns selected list item index""" ... -def GuiListViewEx(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,int_pointer_5: Any,) -> int: - """int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiListViewEx(bounds: Rectangle,text: str,count: int,scrollIndex: Any,active: Any,focus: Any,) -> int: + """List View with extended parameters""" ... -def GuiLoadIcons(str_0: str,_Bool_1: bool,) -> str: - """char * *GuiLoadIcons(char *, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiLoadIcons(fileName: str,loadIconsName: bool,) -> str: + """Load raygui icons file (.rgi) into internal icons data""" ... -def GuiLoadStyle(str_0: str,) -> None: - """void GuiLoadStyle(char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiLoadStyle(fileName: str,) -> None: + """Load style file over global style variable (.rgs)""" ... def GuiLoadStyleDefault() -> None: - """void GuiLoadStyleDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load style default over global style""" ... def GuiLock() -> None: - """void GuiLock(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Lock gui controls (global state)""" ... -def GuiMessageBox(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,) -> int: - """int GuiMessageBox(struct Rectangle, char *, char *, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiMessageBox(bounds: Rectangle,title: str,message: str,buttons: str,) -> int: + """Message Box control, displays a message""" ... -def GuiPanel(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiPanel(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiPanel(bounds: Rectangle,text: str,) -> int: + """Panel control, useful to group controls""" ... -def GuiProgressBar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: - """int GuiProgressBar(struct Rectangle, char *, char *, float *, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiProgressBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: + """Progress Bar control, shows current progress value""" ... -def GuiScrollPanel(Rectangle_0: Rectangle,str_1: str,Rectangle_2: Rectangle,Vector2_pointer_3: Any,Rectangle_pointer_4: Any,) -> int: - """int GuiScrollPanel(struct Rectangle, char *, struct Rectangle, struct Vector2 *, struct Rectangle *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiScrollPanel(bounds: Rectangle,text: str,content: Rectangle,scroll: Any,view: Any,) -> int: + """Scroll Panel control""" ... -def GuiSetAlpha(float_0: float,) -> None: - """void GuiSetAlpha(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSetAlpha(alpha: float,) -> None: + """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f""" ... -def GuiSetFont(Font_0: Font,) -> None: - """void GuiSetFont(struct Font); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSetFont(font: Font,) -> None: + """Set gui custom font (global state)""" ... -def GuiSetIconScale(int_0: int,) -> None: - """void GuiSetIconScale(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSetIconScale(scale: int,) -> None: + """Set default icon drawing size""" ... -def GuiSetState(int_0: int,) -> None: - """void GuiSetState(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSetState(state: int,) -> None: + """Set gui state (global state)""" ... -def GuiSetStyle(int_0: int,int_1: int,int_2: int,) -> None: - """void GuiSetStyle(int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSetStyle(control: int,property: int,value: int,) -> None: + """Set one style property""" ... -def GuiSetTooltip(str_0: str,) -> None: - """void GuiSetTooltip(char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSetTooltip(tooltip: str,) -> None: + """Set tooltip string""" ... -def GuiSlider(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: - """int GuiSlider(struct Rectangle, char *, char *, float *, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSlider(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: + """Slider control, returns selected value""" ... -def GuiSliderBar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int: - """int GuiSliderBar(struct Rectangle, char *, char *, float *, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSliderBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int: + """Slider Bar control, returns selected value""" ... -def GuiSpinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: - """int GuiSpinner(struct Rectangle, char *, int *, int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiSpinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: + """Spinner control, returns selected value""" ... -def GuiStatusBar(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiStatusBar(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiStatusBar(bounds: Rectangle,text: str,) -> int: + """Status Bar control, shows info text""" ... -def GuiTabBar(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,) -> int: - """int GuiTabBar(struct Rectangle, char * *, int, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiTabBar(bounds: Rectangle,text: str,count: int,active: Any,) -> int: + """Tab Bar control, returns TAB to be closed or -1""" ... -def GuiTextBox(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> int: - """int GuiTextBox(struct Rectangle, char *, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiTextBox(bounds: Rectangle,text: str,textSize: int,editMode: bool,) -> int: + """Text Box control, updates input text""" ... -def GuiTextInputBox(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,_Bool_pointer_6: Any,) -> int: - """int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int, _Bool *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiTextInputBox(bounds: Rectangle,title: str,message: str,buttons: str,text: str,textMaxSize: int,secretViewActive: Any,) -> int: + """Text Input Box control, ask for text, supports secret""" ... -def GuiToggle(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int: - """int GuiToggle(struct Rectangle, char *, _Bool *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiToggle(bounds: Rectangle,text: str,active: Any,) -> int: + """Toggle Button control, returns true when active""" ... -def GuiToggleGroup(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: - """int GuiToggleGroup(struct Rectangle, char *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiToggleGroup(bounds: Rectangle,text: str,active: Any,) -> int: + """Toggle Group control, returns active toggle index""" ... -def GuiToggleSlider(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int: - """int GuiToggleSlider(struct Rectangle, char *, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiToggleSlider(bounds: Rectangle,text: str,active: Any,) -> int: + """Toggle Slider control, returns true when clicked""" ... def GuiUnlock() -> None: - """void GuiUnlock(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Unlock gui controls (global state)""" ... -def GuiValueBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int: - """int GuiValueBox(struct Rectangle, char *, int *, int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiValueBox(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int: + """Value Box control, updates input text with numbers""" ... -def GuiWindowBox(Rectangle_0: Rectangle,str_1: str,) -> int: - """int GuiWindowBox(struct Rectangle, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def GuiWindowBox(bounds: Rectangle,title: str,) -> int: + """Window Box control, shows a window that can be closed""" ... HUEBAR_PADDING: int HUEBAR_SELECTOR_HEIGHT: int @@ -1660,9 +1524,7 @@ def InitAudioDevice() -> None: """Initialize audio device and context""" ... def InitPhysics() -> None: - """void InitPhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Initializes physics system""" ... def InitWindow(width: int,height: int,title: str,) -> None: """Initialize window and OpenGL context""" @@ -1925,10 +1787,8 @@ LOG_INFO: int LOG_NONE: int LOG_TRACE: int LOG_WARNING: int -def Lerp(float_0: float,float_1: float,float_2: float,) -> float: - """float Lerp(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +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)""" @@ -2017,7 +1877,7 @@ def LoadMusicStream(fileName: str,) -> Music: def LoadMusicStreamFromMemory(fileType: str,data: str,dataSize: int,) -> Music: """Load music stream from data""" ... -def LoadRandomSequence(count: int,min: int,max: int,) -> Any: +def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any: """Load random values sequence, no values repeated""" ... def LoadRenderTexture(width: int,height: int,) -> RenderTexture: @@ -2091,110 +1951,68 @@ MOUSE_CURSOR_RESIZE_EW: int MOUSE_CURSOR_RESIZE_NESW: int MOUSE_CURSOR_RESIZE_NS: int MOUSE_CURSOR_RESIZE_NWSE: int -def MatrixAdd(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: - """struct Matrix MatrixAdd(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixAdd(left: Matrix,right: Matrix,) -> Matrix: + """""" ... -def MatrixDeterminant(Matrix_0: Matrix,) -> float: - """float MatrixDeterminant(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixDeterminant(mat: Matrix,) -> float: + """""" ... -def MatrixFrustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: - """struct Matrix MatrixFrustum(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixFrustum(left: float,right: float,bottom: float,top: float,near: float,far: float,) -> Matrix: + """""" ... def MatrixIdentity() -> Matrix: - """struct Matrix MatrixIdentity(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def MatrixInvert(Matrix_0: Matrix,) -> Matrix: - """struct Matrix MatrixInvert(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixInvert(mat: Matrix,) -> Matrix: + """""" ... -def MatrixLookAt(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Matrix: - """struct Matrix MatrixLookAt(struct Vector3, struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixLookAt(eye: Vector3,target: Vector3,up: Vector3,) -> Matrix: + """""" ... -def MatrixMultiply(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: - """struct Matrix MatrixMultiply(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixMultiply(left: Matrix,right: Matrix,) -> Matrix: + """""" ... -def MatrixOrtho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> Matrix: - """struct Matrix MatrixOrtho(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix: + """""" ... -def MatrixPerspective(double_0: float,double_1: float,double_2: float,double_3: float,) -> Matrix: - """struct Matrix MatrixPerspective(double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixPerspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix: + """""" ... -def MatrixRotate(Vector3_0: Vector3,float_1: float,) -> Matrix: - """struct Matrix MatrixRotate(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixRotate(axis: Vector3,angle: float,) -> Matrix: + """""" ... -def MatrixRotateX(float_0: float,) -> Matrix: - """struct Matrix MatrixRotateX(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixRotateX(angle: float,) -> Matrix: + """""" ... -def MatrixRotateXYZ(Vector3_0: Vector3,) -> Matrix: - """struct Matrix MatrixRotateXYZ(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixRotateXYZ(angle: Vector3,) -> Matrix: + """""" ... -def MatrixRotateY(float_0: float,) -> Matrix: - """struct Matrix MatrixRotateY(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixRotateY(angle: float,) -> Matrix: + """""" ... -def MatrixRotateZ(float_0: float,) -> Matrix: - """struct Matrix MatrixRotateZ(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixRotateZ(angle: float,) -> Matrix: + """""" ... -def MatrixRotateZYX(Vector3_0: Vector3,) -> Matrix: - """struct Matrix MatrixRotateZYX(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixRotateZYX(angle: Vector3,) -> Matrix: + """""" ... -def MatrixScale(float_0: float,float_1: float,float_2: float,) -> Matrix: - """struct Matrix MatrixScale(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixScale(x: float,y: float,z: float,) -> Matrix: + """""" ... -def MatrixSubtract(Matrix_0: Matrix,Matrix_1: Matrix,) -> Matrix: - """struct Matrix MatrixSubtract(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixSubtract(left: Matrix,right: Matrix,) -> Matrix: + """""" ... -def MatrixToFloatV(Matrix_0: Matrix,) -> float16: - """struct float16 MatrixToFloatV(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixToFloatV(mat: Matrix,) -> float16: + """""" ... -def MatrixTrace(Matrix_0: Matrix,) -> float: - """float MatrixTrace(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixTrace(mat: Matrix,) -> float: + """""" ... -def MatrixTranslate(float_0: float,float_1: float,float_2: float,) -> Matrix: - """struct Matrix MatrixTranslate(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixTranslate(x: float,y: float,z: float,) -> Matrix: + """""" ... -def MatrixTranspose(Matrix_0: Matrix,) -> Matrix: - """struct Matrix MatrixTranspose(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def MatrixTranspose(mat: Matrix,) -> Matrix: + """""" ... def MaximizeWindow() -> None: """Set window state: maximized, if resizable (only PLATFORM_DESKTOP)""" @@ -2220,10 +2038,8 @@ def MinimizeWindow() -> None: NPATCH_NINE_PATCH: int NPATCH_THREE_PATCH_HORIZONTAL: int NPATCH_THREE_PATCH_VERTICAL: int -def Normalize(float_0: float,float_1: float,float_2: float,) -> float: - """float Normalize(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Normalize(value: float,start: float,end: float,) -> float: + """""" ... def OpenURL(url: str,) -> None: """Open URL with default system browser (if available)""" @@ -2265,20 +2081,14 @@ def PauseMusicStream(music: Music,) -> None: def PauseSound(sound: Sound,) -> None: """Pause a sound""" ... -def PhysicsAddForce(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,) -> None: - """void PhysicsAddForce(struct PhysicsBodyData *, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def PhysicsAddForce(body: Any,force: Vector2,) -> None: + """Adds a force to a physics body""" ... -def PhysicsAddTorque(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: - """void PhysicsAddTorque(struct PhysicsBodyData *, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def PhysicsAddTorque(body: Any,amount: float,) -> None: + """Adds an angular force to a physics body""" ... -def PhysicsShatter(PhysicsBodyData_pointer_0: Any,Vector2_1: Vector2,float_2: float,) -> None: - """void PhysicsShatter(struct PhysicsBodyData *, struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def PhysicsShatter(body: Any,position: Vector2,force: float,) -> None: + """Shatters a polygon shape physics body to little physics bodies with explosion force""" ... def PlayAudioStream(stream: AudioStream,) -> None: """Play audio stream""" @@ -2295,120 +2105,74 @@ def PlaySound(sound: Sound,) -> None: def PollInputEvents() -> None: """Register all input events""" ... -def QuaternionAdd(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionAdd(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionAdd(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def QuaternionAddValue(Vector4_0: Vector4,float_1: float,) -> Vector4: - """struct Vector4 QuaternionAddValue(struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionAddValue(q: Vector4,add: float,) -> Vector4: + """""" ... -def QuaternionDivide(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionDivide(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionDivide(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def QuaternionEquals(Vector4_0: Vector4,Vector4_1: Vector4,) -> int: - """int QuaternionEquals(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionEquals(p: Vector4,q: Vector4,) -> int: + """""" ... -def QuaternionFromAxisAngle(Vector3_0: Vector3,float_1: float,) -> Vector4: - """struct Vector4 QuaternionFromAxisAngle(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionFromAxisAngle(axis: Vector3,angle: float,) -> Vector4: + """""" ... -def QuaternionFromEuler(float_0: float,float_1: float,float_2: float,) -> Vector4: - """struct Vector4 QuaternionFromEuler(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionFromEuler(pitch: float,yaw: float,roll: float,) -> Vector4: + """""" ... -def QuaternionFromMatrix(Matrix_0: Matrix,) -> Vector4: - """struct Vector4 QuaternionFromMatrix(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionFromMatrix(mat: Matrix,) -> Vector4: + """""" ... -def QuaternionFromVector3ToVector3(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector4: - """struct Vector4 QuaternionFromVector3ToVector3(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionFromVector3ToVector3(from_0: Vector3,to: Vector3,) -> Vector4: + """""" ... def QuaternionIdentity() -> Vector4: - """struct Vector4 QuaternionIdentity(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def QuaternionInvert(Vector4_0: Vector4,) -> Vector4: - """struct Vector4 QuaternionInvert(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionInvert(q: Vector4,) -> Vector4: + """""" ... -def QuaternionLength(Vector4_0: Vector4,) -> float: - """float QuaternionLength(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionLength(q: Vector4,) -> float: + """""" ... -def QuaternionLerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: - """struct Vector4 QuaternionLerp(struct Vector4, struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionLerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4: + """""" ... -def QuaternionMultiply(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionMultiply(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionMultiply(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def QuaternionNlerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: - """struct Vector4 QuaternionNlerp(struct Vector4, struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionNlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4: + """""" ... -def QuaternionNormalize(Vector4_0: Vector4,) -> Vector4: - """struct Vector4 QuaternionNormalize(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionNormalize(q: Vector4,) -> Vector4: + """""" ... -def QuaternionScale(Vector4_0: Vector4,float_1: float,) -> Vector4: - """struct Vector4 QuaternionScale(struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionScale(q: Vector4,mul: float,) -> Vector4: + """""" ... -def QuaternionSlerp(Vector4_0: Vector4,Vector4_1: Vector4,float_2: float,) -> Vector4: - """struct Vector4 QuaternionSlerp(struct Vector4, struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionSlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4: + """""" ... -def QuaternionSubtract(Vector4_0: Vector4,Vector4_1: Vector4,) -> Vector4: - """struct Vector4 QuaternionSubtract(struct Vector4, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionSubtract(q1: Vector4,q2: Vector4,) -> Vector4: + """""" ... -def QuaternionSubtractValue(Vector4_0: Vector4,float_1: float,) -> Vector4: - """struct Vector4 QuaternionSubtractValue(struct Vector4, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionSubtractValue(q: Vector4,sub: float,) -> Vector4: + """""" ... -def QuaternionToAxisAngle(Vector4_0: Vector4,Vector3_pointer_1: Any,float_pointer_2: Any,) -> None: - """void QuaternionToAxisAngle(struct Vector4, struct Vector3 *, float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionToAxisAngle(q: Vector4,outAxis: Any,outAngle: Any,) -> None: + """""" ... -def QuaternionToEuler(Vector4_0: Vector4,) -> Vector3: - """struct Vector3 QuaternionToEuler(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionToEuler(q: Vector4,) -> Vector3: + """""" ... -def QuaternionToMatrix(Vector4_0: Vector4,) -> Matrix: - """struct Matrix QuaternionToMatrix(struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionToMatrix(q: Vector4,) -> Matrix: + """""" ... -def QuaternionTransform(Vector4_0: Vector4,Matrix_1: Matrix,) -> Vector4: - """struct Vector4 QuaternionTransform(struct Vector4, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def QuaternionTransform(q: Vector4,mat: Matrix,) -> Vector4: + """""" ... RL_ATTACHMENT_COLOR_CHANNEL0: int RL_ATTACHMENT_COLOR_CHANNEL1: int @@ -2521,15 +2285,11 @@ RL_TEXTURE_FILTER_ANISOTROPIC_8X: int RL_TEXTURE_FILTER_BILINEAR: int RL_TEXTURE_FILTER_POINT: int RL_TEXTURE_FILTER_TRILINEAR: int -def Remap(float_0: float,float_1: float,float_2: float,float_3: float,float_4: float,) -> float: - """float Remap(float, float, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float: + """""" ... def ResetPhysics() -> None: - """void ResetPhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Reset physics system (global variables)""" ... def RestoreWindow() -> None: """Set window state: not minimized/maximized (only PLATFORM_DESKTOP)""" @@ -2627,7 +2387,7 @@ def SetAudioStreamVolume(stream: AudioStream,volume: float,) -> None: def SetAutomationEventBaseFrame(frame: int,) -> None: """Set automation event internal base frame to start recording""" ... -def SetAutomationEventList(list: Any,) -> None: +def SetAutomationEventList(list_0: Any,) -> None: """Set automation event list to record to""" ... def SetClipboardText(text: str,) -> None: @@ -2681,20 +2441,14 @@ def SetMusicPitch(music: Music,pitch: float,) -> None: def SetMusicVolume(music: Music,volume: float,) -> None: """Set volume for music (1.0 is max level)""" ... -def SetPhysicsBodyRotation(PhysicsBodyData_pointer_0: Any,float_1: float,) -> None: - """void SetPhysicsBodyRotation(struct PhysicsBodyData *, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def SetPhysicsBodyRotation(body: Any,radians: float,) -> None: + """Sets physics body shape transform based on radians parameter""" ... -def SetPhysicsGravity(float_0: float,float_1: float,) -> None: - """void SetPhysicsGravity(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def SetPhysicsGravity(x: float,y: float,) -> None: + """Sets physics global gravity force""" ... -def SetPhysicsTimeStep(double_0: float,) -> None: - """void SetPhysicsTimeStep(double); - -CFFI C function from raylib._raylib_cffi.lib""" +def SetPhysicsTimeStep(delta: float,) -> None: + """Sets physics fixed time step in milliseconds. 1.666666 by default""" ... def SetPixelColor(dstPtr: Any,color: Color,format: int,) -> None: """Set color formatted into destination pixel pointer""" @@ -2897,7 +2651,7 @@ def TraceLog(*args) -> None: def UnloadAudioStream(stream: AudioStream,) -> None: """Unload audio stream and free memory""" ... -def UnloadAutomationEventList(list: Any,) -> None: +def UnloadAutomationEventList(list_0: Any,) -> None: """Unload automation events list from file""" ... def UnloadCodepoints(codepoints: Any,) -> None: @@ -2997,9 +2751,7 @@ def UpdateMusicStream(music: Music,) -> None: """Updates buffers for music streaming""" ... def UpdatePhysics() -> None: - """void UpdatePhysics(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Update physics system""" ... def UpdateSound(sound: Sound,data: Any,sampleCount: int,) -> None: """Update sound buffer with new data""" @@ -3014,325 +2766,197 @@ def UploadMesh(mesh: Any,dynamic: bool,) -> None: """Upload mesh vertex data in GPU and provide VAO/VBO ids""" ... VALUEBOX: int -def Vector2Add(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Add(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Add(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def Vector2AddValue(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2AddValue(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2AddValue(v: Vector2,add: float,) -> Vector2: + """""" ... -def Vector2Angle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2Angle(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Angle(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def Vector2Clamp(Vector2_0: Vector2,Vector2_1: Vector2,Vector2_2: Vector2,) -> Vector2: - """struct Vector2 Vector2Clamp(struct Vector2, struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Clamp(v: Vector2,min_1: Vector2,max_2: Vector2,) -> Vector2: + """""" ... -def Vector2ClampValue(Vector2_0: Vector2,float_1: float,float_2: float,) -> Vector2: - """struct Vector2 Vector2ClampValue(struct Vector2, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2ClampValue(v: Vector2,min_1: float,max_2: float,) -> Vector2: + """""" ... -def Vector2Distance(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2Distance(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Distance(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def Vector2DistanceSqr(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2DistanceSqr(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2DistanceSqr(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def Vector2Divide(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Divide(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Divide(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def Vector2DotProduct(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2DotProduct(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2DotProduct(v1: Vector2,v2: Vector2,) -> float: + """""" ... -def Vector2Equals(Vector2_0: Vector2,Vector2_1: Vector2,) -> int: - """int Vector2Equals(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Equals(p: Vector2,q: Vector2,) -> int: + """""" ... -def Vector2Invert(Vector2_0: Vector2,) -> Vector2: - """struct Vector2 Vector2Invert(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Invert(v: Vector2,) -> Vector2: + """""" ... -def Vector2Length(Vector2_0: Vector2,) -> float: - """float Vector2Length(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Length(v: Vector2,) -> float: + """""" ... -def Vector2LengthSqr(Vector2_0: Vector2,) -> float: - """float Vector2LengthSqr(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2LengthSqr(v: Vector2,) -> float: + """""" ... -def Vector2Lerp(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: - """struct Vector2 Vector2Lerp(struct Vector2, struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Lerp(v1: Vector2,v2: Vector2,amount: float,) -> Vector2: + """""" ... -def Vector2LineAngle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float: - """float Vector2LineAngle(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2LineAngle(start: Vector2,end: Vector2,) -> float: + """""" ... -def Vector2MoveTowards(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2: - """struct Vector2 Vector2MoveTowards(struct Vector2, struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2MoveTowards(v: Vector2,target: Vector2,maxDistance: float,) -> Vector2: + """""" ... -def Vector2Multiply(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Multiply(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Multiply(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def Vector2Negate(Vector2_0: Vector2,) -> Vector2: - """struct Vector2 Vector2Negate(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Negate(v: Vector2,) -> Vector2: + """""" ... -def Vector2Normalize(Vector2_0: Vector2,) -> Vector2: - """struct Vector2 Vector2Normalize(struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Normalize(v: Vector2,) -> Vector2: + """""" ... def Vector2One() -> Vector2: - """struct Vector2 Vector2One(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def Vector2Reflect(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Reflect(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Reflect(v: Vector2,normal: Vector2,) -> Vector2: + """""" ... -def Vector2Rotate(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2Rotate(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Rotate(v: Vector2,angle: float,) -> Vector2: + """""" ... -def Vector2Scale(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2Scale(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Scale(v: Vector2,scale: float,) -> Vector2: + """""" ... -def Vector2Subtract(Vector2_0: Vector2,Vector2_1: Vector2,) -> Vector2: - """struct Vector2 Vector2Subtract(struct Vector2, struct Vector2); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Subtract(v1: Vector2,v2: Vector2,) -> Vector2: + """""" ... -def Vector2SubtractValue(Vector2_0: Vector2,float_1: float,) -> Vector2: - """struct Vector2 Vector2SubtractValue(struct Vector2, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2SubtractValue(v: Vector2,sub: float,) -> Vector2: + """""" ... -def Vector2Transform(Vector2_0: Vector2,Matrix_1: Matrix,) -> Vector2: - """struct Vector2 Vector2Transform(struct Vector2, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector2Transform(v: Vector2,mat: Matrix,) -> Vector2: + """""" ... def Vector2Zero() -> Vector2: - """struct Vector2 Vector2Zero(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def Vector3Add(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Add(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Add(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3AddValue(Vector3_0: Vector3,float_1: float,) -> Vector3: - """struct Vector3 Vector3AddValue(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3AddValue(v: Vector3,add: float,) -> Vector3: + """""" ... -def Vector3Angle(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3Angle(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Angle(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def Vector3Barycenter(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,Vector3_3: Vector3,) -> Vector3: - """struct Vector3 Vector3Barycenter(struct Vector3, struct Vector3, struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Barycenter(p: Vector3,a: Vector3,b: Vector3,c: Vector3,) -> Vector3: + """""" ... -def Vector3Clamp(Vector3_0: Vector3,Vector3_1: Vector3,Vector3_2: Vector3,) -> Vector3: - """struct Vector3 Vector3Clamp(struct Vector3, struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Clamp(v: Vector3,min_1: Vector3,max_2: Vector3,) -> Vector3: + """""" ... -def Vector3ClampValue(Vector3_0: Vector3,float_1: float,float_2: float,) -> Vector3: - """struct Vector3 Vector3ClampValue(struct Vector3, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3ClampValue(v: Vector3,min_1: float,max_2: float,) -> Vector3: + """""" ... -def Vector3CrossProduct(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3CrossProduct(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3CrossProduct(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3Distance(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3Distance(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Distance(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def Vector3DistanceSqr(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3DistanceSqr(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3DistanceSqr(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def Vector3Divide(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Divide(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Divide(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3DotProduct(Vector3_0: Vector3,Vector3_1: Vector3,) -> float: - """float Vector3DotProduct(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3DotProduct(v1: Vector3,v2: Vector3,) -> float: + """""" ... -def Vector3Equals(Vector3_0: Vector3,Vector3_1: Vector3,) -> int: - """int Vector3Equals(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Equals(p: Vector3,q: Vector3,) -> int: + """""" ... -def Vector3Invert(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Invert(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Invert(v: Vector3,) -> Vector3: + """""" ... -def Vector3Length(Vector3_0: Vector3,) -> float: - """float Vector3Length(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Length(v: Vector3,) -> float: + """""" ... -def Vector3LengthSqr(Vector3_0: Vector3,) -> float: - """float Vector3LengthSqr(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3LengthSqr(v: Vector3,) -> float: + """""" ... -def Vector3Lerp(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: - """struct Vector3 Vector3Lerp(struct Vector3, struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Lerp(v1: Vector3,v2: Vector3,amount: float,) -> Vector3: + """""" ... -def Vector3Max(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Max(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Max(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3Min(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Min(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Min(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3Multiply(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Multiply(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Multiply(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3Negate(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Negate(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Negate(v: Vector3,) -> Vector3: + """""" ... -def Vector3Normalize(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Normalize(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Normalize(v: Vector3,) -> Vector3: + """""" ... def Vector3One() -> Vector3: - """struct Vector3 Vector3One(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... -def Vector3OrthoNormalize(Vector3_pointer_0: Any,Vector3_pointer_1: Any,) -> None: - """void Vector3OrthoNormalize(struct Vector3 *, struct Vector3 *); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3OrthoNormalize(v1: Any,v2: Any,) -> None: + """""" ... -def Vector3Perpendicular(Vector3_0: Vector3,) -> Vector3: - """struct Vector3 Vector3Perpendicular(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Perpendicular(v: Vector3,) -> Vector3: + """""" ... -def Vector3Project(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Project(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Project(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3Reflect(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Reflect(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Reflect(v: Vector3,normal: Vector3,) -> Vector3: + """""" ... -def Vector3Refract(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: - """struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Refract(v: Vector3,n: Vector3,r: float,) -> Vector3: + """""" ... -def Vector3Reject(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Reject(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Reject(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3RotateByAxisAngle(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3: - """struct Vector3 Vector3RotateByAxisAngle(struct Vector3, struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3RotateByAxisAngle(v: Vector3,axis: Vector3,angle: float,) -> Vector3: + """""" ... -def Vector3RotateByQuaternion(Vector3_0: Vector3,Vector4_1: Vector4,) -> Vector3: - """struct Vector3 Vector3RotateByQuaternion(struct Vector3, struct Vector4); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3RotateByQuaternion(v: Vector3,q: Vector4,) -> Vector3: + """""" ... -def Vector3Scale(Vector3_0: Vector3,float_1: float,) -> Vector3: - """struct Vector3 Vector3Scale(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Scale(v: Vector3,scalar: float,) -> Vector3: + """""" ... -def Vector3Subtract(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3: - """struct Vector3 Vector3Subtract(struct Vector3, struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Subtract(v1: Vector3,v2: Vector3,) -> Vector3: + """""" ... -def Vector3SubtractValue(Vector3_0: Vector3,float_1: float,) -> Vector3: - """struct Vector3 Vector3SubtractValue(struct Vector3, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3SubtractValue(v: Vector3,sub: float,) -> Vector3: + """""" ... -def Vector3ToFloatV(Vector3_0: Vector3,) -> float3: - """struct float3 Vector3ToFloatV(struct Vector3); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3ToFloatV(v: Vector3,) -> float3: + """""" ... -def Vector3Transform(Vector3_0: Vector3,Matrix_1: Matrix,) -> Vector3: - """struct Vector3 Vector3Transform(struct Vector3, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Transform(v: Vector3,mat: Matrix,) -> Vector3: + """""" ... -def Vector3Unproject(Vector3_0: Vector3,Matrix_1: Matrix,Matrix_2: Matrix,) -> Vector3: - """struct Vector3 Vector3Unproject(struct Vector3, struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def Vector3Unproject(source: Vector3,projection: Matrix,view: Matrix,) -> Vector3: + """""" ... def Vector3Zero() -> Vector3: - """struct Vector3 Vector3Zero(); - -CFFI C function from raylib._raylib_cffi.lib""" + """""" ... def WaitTime(seconds: float,) -> None: """Wait for some time (halt program execution)""" @@ -3349,745 +2973,449 @@ def WaveFormat(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None def WindowShouldClose() -> bool: """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)""" ... -def Wrap(float_0: float,float_1: float,float_2: float,) -> float: - """float Wrap(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def Wrap(value: float,min_1: float,max_2: float,) -> float: + """""" ... -def rlActiveDrawBuffers(int_0: int,) -> None: - """void rlActiveDrawBuffers(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlActiveDrawBuffers(count: int,) -> None: + """Activate multiple draw color buffers""" ... -def rlActiveTextureSlot(int_0: int,) -> None: - """void rlActiveTextureSlot(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlActiveTextureSlot(slot: int,) -> None: + """Select and active a texture slot""" ... -def rlBegin(int_0: int,) -> None: - """void rlBegin(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlBegin(mode: int,) -> None: + """Initialize drawing mode (how to organize vertex)""" ... -def rlBindImageTexture(unsignedint_0: int,unsignedint_1: int,int_2: int,_Bool_3: bool,) -> None: - """void rlBindImageTexture(unsigned int, unsigned int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlBindImageTexture(id: int,index: int,format: int,readonly: bool,) -> None: + """Bind image texture""" ... -def rlBindShaderBuffer(unsignedint_0: int,unsignedint_1: int,) -> None: - """void rlBindShaderBuffer(unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlBindShaderBuffer(id: int,index: int,) -> None: + """Bind SSBO buffer""" ... -def rlBlitFramebuffer(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,int_6: int,int_7: int,int_8: int,) -> None: - """void rlBlitFramebuffer(int, int, int, int, int, int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +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""" ... def rlCheckErrors() -> None: - """void rlCheckErrors(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Check and log OpenGL error codes""" ... -def rlCheckRenderBatchLimit(int_0: int,) -> bool: - """_Bool rlCheckRenderBatchLimit(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlCheckRenderBatchLimit(vCount: int,) -> bool: + """Check internal buffer overflow for a given number of vertex""" ... -def rlClearColor(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: - """void rlClearColor(unsigned char, unsigned char, unsigned char, unsigned char); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlClearColor(r: str,g: str,b: str,a: str,) -> None: + """Clear color buffer with color""" ... def rlClearScreenBuffers() -> None: - """void rlClearScreenBuffers(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Clear used screen buffers (color and depth)""" ... -def rlColor3f(float_0: float,float_1: float,float_2: float,) -> None: - """void rlColor3f(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlColor3f(x: float,y: float,z: float,) -> None: + """Define one vertex (color) - 3 float""" ... -def rlColor4f(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: - """void rlColor4f(float, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlColor4f(x: float,y: float,z: float,w: float,) -> None: + """Define one vertex (color) - 4 float""" ... -def rlColor4ub(unsignedchar_0: str,unsignedchar_1: str,unsignedchar_2: str,unsignedchar_3: str,) -> None: - """void rlColor4ub(unsigned char, unsigned char, unsigned char, unsigned char); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlColor4ub(r: str,g: str,b: str,a: str,) -> None: + """Define one vertex (color) - 4 byte""" ... -def rlCompileShader(str_0: str,int_1: int,) -> int: - """unsigned int rlCompileShader(char *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlCompileShader(shaderCode: str,type: int,) -> int: + """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)""" ... -def rlComputeShaderDispatch(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,) -> None: - """void rlComputeShaderDispatch(unsigned int, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlComputeShaderDispatch(groupX: int,groupY: int,groupZ: int,) -> None: + """Dispatch compute shader (equivalent to *draw* for graphics pipeline)""" ... -def rlCopyShaderBuffer(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,unsignedint_3: int,unsignedint_4: int,) -> None: - """void rlCopyShaderBuffer(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlCopyShaderBuffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None: + """Copy SSBO data between buffers""" ... -def rlCubemapParameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: - """void rlCubemapParameters(unsigned int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlCubemapParameters(id: int,param: int,value: int,) -> None: + """Set cubemap parameters (filter, wrap)""" ... def rlDisableBackfaceCulling() -> None: - """void rlDisableBackfaceCulling(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable backface culling""" ... def rlDisableColorBlend() -> None: - """void rlDisableColorBlend(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable color blending""" ... def rlDisableDepthMask() -> None: - """void rlDisableDepthMask(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable depth write""" ... def rlDisableDepthTest() -> None: - """void rlDisableDepthTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable depth test""" ... def rlDisableFramebuffer() -> None: - """void rlDisableFramebuffer(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable render texture (fbo), return to default framebuffer""" ... def rlDisableScissorTest() -> None: - """void rlDisableScissorTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable scissor test""" ... def rlDisableShader() -> None: - """void rlDisableShader(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable shader program""" ... def rlDisableSmoothLines() -> None: - """void rlDisableSmoothLines(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable line aliasing""" ... def rlDisableStereoRender() -> None: - """void rlDisableStereoRender(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable stereo rendering""" ... def rlDisableTexture() -> None: - """void rlDisableTexture(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable texture""" ... def rlDisableTextureCubemap() -> None: - """void rlDisableTextureCubemap(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable texture cubemap""" ... def rlDisableVertexArray() -> None: - """void rlDisableVertexArray(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable vertex array (VAO, if supported)""" ... -def rlDisableVertexAttribute(unsignedint_0: int,) -> None: - """void rlDisableVertexAttribute(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlDisableVertexAttribute(index: int,) -> None: + """Disable vertex attribute index""" ... def rlDisableVertexBuffer() -> None: - """void rlDisableVertexBuffer(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable vertex buffer (VBO)""" ... def rlDisableVertexBufferElement() -> None: - """void rlDisableVertexBufferElement(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable vertex buffer element (VBO element)""" ... def rlDisableWireMode() -> None: - """void rlDisableWireMode(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Disable wire mode ( and point ) maybe rename""" ... -def rlDrawRenderBatch(rlRenderBatch_pointer_0: Any,) -> None: - """void rlDrawRenderBatch(struct rlRenderBatch *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlDrawRenderBatch(batch: Any,) -> None: + """Draw render batch data (Update->Draw->Reset)""" ... def rlDrawRenderBatchActive() -> None: - """void rlDrawRenderBatchActive(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Update and draw internal render batch""" ... -def rlDrawVertexArray(int_0: int,int_1: int,) -> None: - """void rlDrawVertexArray(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlDrawVertexArray(offset: int,count: int,) -> None: + """""" ... -def rlDrawVertexArrayElements(int_0: int,int_1: int,void_pointer_2: Any,) -> None: - """void rlDrawVertexArrayElements(int, int, void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlDrawVertexArrayElements(offset: int,count: int,buffer: Any,) -> None: + """""" ... -def rlDrawVertexArrayElementsInstanced(int_0: int,int_1: int,void_pointer_2: Any,int_3: int,) -> None: - """void rlDrawVertexArrayElementsInstanced(int, int, void *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlDrawVertexArrayElementsInstanced(offset: int,count: int,buffer: Any,instances: int,) -> None: + """""" ... -def rlDrawVertexArrayInstanced(int_0: int,int_1: int,int_2: int,) -> None: - """void rlDrawVertexArrayInstanced(int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlDrawVertexArrayInstanced(offset: int,count: int,instances: int,) -> None: + """""" ... def rlEnableBackfaceCulling() -> None: - """void rlEnableBackfaceCulling(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable backface culling""" ... def rlEnableColorBlend() -> None: - """void rlEnableColorBlend(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable color blending""" ... def rlEnableDepthMask() -> None: - """void rlEnableDepthMask(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable depth write""" ... def rlEnableDepthTest() -> None: - """void rlEnableDepthTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable depth test""" ... -def rlEnableFramebuffer(unsignedint_0: int,) -> None: - """void rlEnableFramebuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableFramebuffer(id: int,) -> None: + """Enable render texture (fbo)""" ... def rlEnablePointMode() -> None: - """void rlEnablePointMode(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable point mode""" ... def rlEnableScissorTest() -> None: - """void rlEnableScissorTest(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable scissor test""" ... -def rlEnableShader(unsignedint_0: int,) -> None: - """void rlEnableShader(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableShader(id: int,) -> None: + """Enable shader program""" ... def rlEnableSmoothLines() -> None: - """void rlEnableSmoothLines(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable line aliasing""" ... def rlEnableStereoRender() -> None: - """void rlEnableStereoRender(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable stereo rendering""" ... -def rlEnableTexture(unsignedint_0: int,) -> None: - """void rlEnableTexture(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableTexture(id: int,) -> None: + """Enable texture""" ... -def rlEnableTextureCubemap(unsignedint_0: int,) -> None: - """void rlEnableTextureCubemap(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableTextureCubemap(id: int,) -> None: + """Enable texture cubemap""" ... -def rlEnableVertexArray(unsignedint_0: int,) -> bool: - """_Bool rlEnableVertexArray(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableVertexArray(vaoId: int,) -> bool: + """Enable vertex array (VAO, if supported)""" ... -def rlEnableVertexAttribute(unsignedint_0: int,) -> None: - """void rlEnableVertexAttribute(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableVertexAttribute(index: int,) -> None: + """Enable vertex attribute index""" ... -def rlEnableVertexBuffer(unsignedint_0: int,) -> None: - """void rlEnableVertexBuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableVertexBuffer(id: int,) -> None: + """Enable vertex buffer (VBO)""" ... -def rlEnableVertexBufferElement(unsignedint_0: int,) -> None: - """void rlEnableVertexBufferElement(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlEnableVertexBufferElement(id: int,) -> None: + """Enable vertex buffer element (VBO element)""" ... def rlEnableWireMode() -> None: - """void rlEnableWireMode(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Enable wire mode""" ... def rlEnd() -> None: - """void rlEnd(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Finish vertex providing""" ... -def rlFramebufferAttach(unsignedint_0: int,unsignedint_1: int,int_2: int,int_3: int,int_4: int,) -> None: - """void rlFramebufferAttach(unsigned int, unsigned int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlFramebufferAttach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None: + """Attach texture/renderbuffer to a framebuffer""" ... -def rlFramebufferComplete(unsignedint_0: int,) -> bool: - """_Bool rlFramebufferComplete(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlFramebufferComplete(id: int,) -> bool: + """Verify framebuffer is complete""" ... -def rlFrustum(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: - """void rlFrustum(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlFrustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: + """""" ... -def rlGenTextureMipmaps(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_pointer_4: Any,) -> None: - """void rlGenTextureMipmaps(unsigned int, int, int, int, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGenTextureMipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None: + """Generate mipmap data for selected texture""" ... def rlGetFramebufferHeight() -> int: - """int rlGetFramebufferHeight(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default framebuffer height""" ... def rlGetFramebufferWidth() -> int: - """int rlGetFramebufferWidth(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default framebuffer width""" ... -def rlGetGlTextureFormats(int_0: int,unsignedint_pointer_1: Any,unsignedint_pointer_2: Any,unsignedint_pointer_3: Any,) -> None: - """void rlGetGlTextureFormats(int, unsigned int *, unsigned int *, unsigned int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGetGlTextureFormats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None: + """Get OpenGL internal formats""" ... def rlGetLineWidth() -> float: - """float rlGetLineWidth(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get the line drawing width""" ... -def rlGetLocationAttrib(unsignedint_0: int,str_1: str,) -> int: - """int rlGetLocationAttrib(unsigned int, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGetLocationAttrib(shaderId: int,attribName: str,) -> int: + """Get shader location attribute""" ... -def rlGetLocationUniform(unsignedint_0: int,str_1: str,) -> int: - """int rlGetLocationUniform(unsigned int, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGetLocationUniform(shaderId: int,uniformName: str,) -> int: + """Get shader location uniform""" ... def rlGetMatrixModelview() -> Matrix: - """struct Matrix rlGetMatrixModelview(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get internal modelview matrix""" ... def rlGetMatrixProjection() -> Matrix: - """struct Matrix rlGetMatrixProjection(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get internal projection matrix""" ... -def rlGetMatrixProjectionStereo(int_0: int,) -> Matrix: - """struct Matrix rlGetMatrixProjectionStereo(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGetMatrixProjectionStereo(eye: int,) -> Matrix: + """Get internal projection matrix for stereo render (selected eye)""" ... def rlGetMatrixTransform() -> Matrix: - """struct Matrix rlGetMatrixTransform(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get internal accumulated transform matrix""" ... -def rlGetMatrixViewOffsetStereo(int_0: int,) -> Matrix: - """struct Matrix rlGetMatrixViewOffsetStereo(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGetMatrixViewOffsetStereo(eye: int,) -> Matrix: + """Get internal view offset matrix for stereo render (selected eye)""" ... -def rlGetPixelFormatName(unsignedint_0: int,) -> str: - """char *rlGetPixelFormatName(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGetPixelFormatName(format: int,) -> str: + """Get name string for pixel format""" ... -def rlGetShaderBufferSize(unsignedint_0: int,) -> int: - """unsigned int rlGetShaderBufferSize(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlGetShaderBufferSize(id: int,) -> int: + """Get SSBO buffer size""" ... def rlGetShaderIdDefault() -> int: - """unsigned int rlGetShaderIdDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default shader id""" ... def rlGetShaderLocsDefault() -> Any: - """int *rlGetShaderLocsDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default shader locations""" ... def rlGetTextureIdDefault() -> int: - """unsigned int rlGetTextureIdDefault(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get default texture id""" ... def rlGetVersion() -> int: - """int rlGetVersion(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Get current OpenGL version""" ... def rlIsStereoRenderEnabled() -> bool: - """_Bool rlIsStereoRenderEnabled(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Check if stereo render is enabled""" ... -def rlLoadComputeShaderProgram(unsignedint_0: int,) -> int: - """unsigned int rlLoadComputeShaderProgram(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadComputeShaderProgram(shaderId: int,) -> int: + """Load compute shader program""" ... def rlLoadDrawCube() -> None: - """void rlLoadDrawCube(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load and draw a cube""" ... def rlLoadDrawQuad() -> None: - """void rlLoadDrawQuad(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load and draw a quad""" ... -def rlLoadExtensions(void_pointer_0: Any,) -> None: - """void rlLoadExtensions(void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadExtensions(loader: Any,) -> None: + """Load OpenGL extensions (loader function required)""" ... -def rlLoadFramebuffer(int_0: int,int_1: int,) -> int: - """unsigned int rlLoadFramebuffer(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadFramebuffer(width: int,height: int,) -> int: + """Load an empty framebuffer""" ... def rlLoadIdentity() -> None: - """void rlLoadIdentity(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Reset current matrix to identity matrix""" ... -def rlLoadRenderBatch(int_0: int,int_1: int,) -> rlRenderBatch: - """struct rlRenderBatch rlLoadRenderBatch(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadRenderBatch(numBuffers: int,bufferElements: int,) -> rlRenderBatch: + """Load a render batch system""" ... -def rlLoadShaderBuffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,) -> int: - """unsigned int rlLoadShaderBuffer(unsigned int, void *, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadShaderBuffer(size: int,data: Any,usageHint: int,) -> int: + """Load shader storage buffer object (SSBO)""" ... -def rlLoadShaderCode(str_0: str,str_1: str,) -> int: - """unsigned int rlLoadShaderCode(char *, char *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadShaderCode(vsCode: str,fsCode: str,) -> int: + """Load shader from code strings""" ... -def rlLoadShaderProgram(unsignedint_0: int,unsignedint_1: int,) -> int: - """unsigned int rlLoadShaderProgram(unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int: + """Load custom shader program""" ... -def rlLoadTexture(void_pointer_0: Any,int_1: int,int_2: int,int_3: int,int_4: int,) -> int: - """unsigned int rlLoadTexture(void *, int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadTexture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int: + """Load texture in GPU""" ... -def rlLoadTextureCubemap(void_pointer_0: Any,int_1: int,int_2: int,) -> int: - """unsigned int rlLoadTextureCubemap(void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadTextureCubemap(data: Any,size: int,format: int,) -> int: + """Load texture cubemap""" ... -def rlLoadTextureDepth(int_0: int,int_1: int,_Bool_2: bool,) -> int: - """unsigned int rlLoadTextureDepth(int, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadTextureDepth(width: int,height: int,useRenderBuffer: bool,) -> int: + """Load depth texture/renderbuffer (to be attached to fbo)""" ... def rlLoadVertexArray() -> int: - """unsigned int rlLoadVertexArray(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Load vertex array (vao) if supported""" ... -def rlLoadVertexBuffer(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: - """unsigned int rlLoadVertexBuffer(void *, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadVertexBuffer(buffer: Any,size: int,dynamic: bool,) -> int: + """Load a vertex buffer attribute""" ... -def rlLoadVertexBufferElement(void_pointer_0: Any,int_1: int,_Bool_2: bool,) -> int: - """unsigned int rlLoadVertexBufferElement(void *, int, _Bool); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlLoadVertexBufferElement(buffer: Any,size: int,dynamic: bool,) -> int: + """Load a new attributes element buffer""" ... -def rlMatrixMode(int_0: int,) -> None: - """void rlMatrixMode(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlMatrixMode(mode: int,) -> None: + """Choose the current matrix to be transformed""" ... -def rlMultMatrixf(float_pointer_0: Any,) -> None: - """void rlMultMatrixf(float *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlMultMatrixf(matf: Any,) -> None: + """Multiply the current matrix by another matrix""" ... -def rlNormal3f(float_0: float,float_1: float,float_2: float,) -> None: - """void rlNormal3f(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlNormal3f(x: float,y: float,z: float,) -> None: + """Define one vertex (normal) - 3 float""" ... -def rlOrtho(double_0: float,double_1: float,double_2: float,double_3: float,double_4: float,double_5: float,) -> None: - """void rlOrtho(double, double, double, double, double, double); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlOrtho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None: + """""" ... def rlPopMatrix() -> None: - """void rlPopMatrix(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Pop latest inserted matrix from stack""" ... def rlPushMatrix() -> None: - """void rlPushMatrix(); - -CFFI C function from raylib._raylib_cffi.lib""" + """Push the current matrix to stack""" ... -def rlReadScreenPixels(int_0: int,int_1: int,) -> str: - """unsigned char *rlReadScreenPixels(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlReadScreenPixels(width: int,height: int,) -> str: + """Read screen pixel data (color buffer)""" ... -def rlReadShaderBuffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: - """void rlReadShaderBuffer(unsigned int, void *, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlReadShaderBuffer(id: int,dest: Any,count: int,offset: int,) -> None: + """Read SSBO buffer data (GPU->CPU)""" ... -def rlReadTexturePixels(unsignedint_0: int,int_1: int,int_2: int,int_3: int,) -> Any: - """void *rlReadTexturePixels(unsigned int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlReadTexturePixels(id: int,width: int,height: int,format: int,) -> Any: + """Read texture pixel data""" ... -def rlRotatef(float_0: float,float_1: float,float_2: float,float_3: float,) -> None: - """void rlRotatef(float, float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlRotatef(angle: float,x: float,y: float,z: float,) -> None: + """Multiply the current matrix by a rotation matrix""" ... -def rlScalef(float_0: float,float_1: float,float_2: float,) -> None: - """void rlScalef(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlScalef(x: float,y: float,z: float,) -> None: + """Multiply the current matrix by a scaling matrix""" ... -def rlScissor(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: - """void rlScissor(int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlScissor(x: int,y: int,width: int,height: int,) -> None: + """Scissor test""" ... -def rlSetBlendFactors(int_0: int,int_1: int,int_2: int,) -> None: - """void rlSetBlendFactors(int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetBlendFactors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None: + """Set blending mode factor and equation (using OpenGL factors)""" ... -def rlSetBlendFactorsSeparate(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,) -> None: - """void rlSetBlendFactorsSeparate(int, int, int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +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)""" ... -def rlSetBlendMode(int_0: int,) -> None: - """void rlSetBlendMode(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetBlendMode(mode: int,) -> None: + """Set blending mode""" ... -def rlSetCullFace(int_0: int,) -> None: - """void rlSetCullFace(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetCullFace(mode: int,) -> None: + """Set face culling mode""" ... -def rlSetFramebufferHeight(int_0: int,) -> None: - """void rlSetFramebufferHeight(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetFramebufferHeight(height: int,) -> None: + """Set current framebuffer height""" ... -def rlSetFramebufferWidth(int_0: int,) -> None: - """void rlSetFramebufferWidth(int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetFramebufferWidth(width: int,) -> None: + """Set current framebuffer width""" ... -def rlSetLineWidth(float_0: float,) -> None: - """void rlSetLineWidth(float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetLineWidth(width: float,) -> None: + """Set the line drawing width""" ... -def rlSetMatrixModelview(Matrix_0: Matrix,) -> None: - """void rlSetMatrixModelview(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetMatrixModelview(view: Matrix,) -> None: + """Set a custom modelview matrix (replaces internal modelview matrix)""" ... -def rlSetMatrixProjection(Matrix_0: Matrix,) -> None: - """void rlSetMatrixProjection(struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetMatrixProjection(proj: Matrix,) -> None: + """Set a custom projection matrix (replaces internal projection matrix)""" ... -def rlSetMatrixProjectionStereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: - """void rlSetMatrixProjectionStereo(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetMatrixProjectionStereo(right: Matrix,left: Matrix,) -> None: + """Set eyes projection matrices for stereo rendering""" ... -def rlSetMatrixViewOffsetStereo(Matrix_0: Matrix,Matrix_1: Matrix,) -> None: - """void rlSetMatrixViewOffsetStereo(struct Matrix, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetMatrixViewOffsetStereo(right: Matrix,left: Matrix,) -> None: + """Set eyes view offsets matrices for stereo rendering""" ... -def rlSetRenderBatchActive(rlRenderBatch_pointer_0: Any,) -> None: - """void rlSetRenderBatchActive(struct rlRenderBatch *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetRenderBatchActive(batch: Any,) -> None: + """Set the active render batch for rlgl (NULL for default internal)""" ... -def rlSetShader(unsignedint_0: int,int_pointer_1: Any,) -> None: - """void rlSetShader(unsigned int, int *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetShader(id: int,locs: Any,) -> None: + """Set shader currently active (id and locations)""" ... -def rlSetTexture(unsignedint_0: int,) -> None: - """void rlSetTexture(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetTexture(id: int,) -> None: + """Set current texture for render batch and check buffers limits""" ... -def rlSetUniform(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlSetUniform(int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None: + """Set shader value uniform""" ... -def rlSetUniformMatrix(int_0: int,Matrix_1: Matrix,) -> None: - """void rlSetUniformMatrix(int, struct Matrix); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetUniformMatrix(locIndex: int,mat: Matrix,) -> None: + """Set shader value matrix""" ... -def rlSetUniformSampler(int_0: int,unsignedint_1: int,) -> None: - """void rlSetUniformSampler(int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetUniformSampler(locIndex: int,textureId: int,) -> None: + """Set shader value sampler""" ... -def rlSetVertexAttribute(unsignedint_0: int,int_1: int,int_2: int,_Bool_3: bool,int_4: int,void_pointer_5: Any,) -> None: - """void rlSetVertexAttribute(unsigned int, int, int, _Bool, int, void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,pointer: Any,) -> None: + """""" ... -def rlSetVertexAttributeDefault(int_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlSetVertexAttributeDefault(int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetVertexAttributeDefault(locIndex: int,value: Any,attribType: int,count: int,) -> None: + """Set vertex attribute default value""" ... -def rlSetVertexAttributeDivisor(unsignedint_0: int,int_1: int,) -> None: - """void rlSetVertexAttributeDivisor(unsigned int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlSetVertexAttributeDivisor(index: int,divisor: int,) -> None: + """""" ... -def rlTexCoord2f(float_0: float,float_1: float,) -> None: - """void rlTexCoord2f(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlTexCoord2f(x: float,y: float,) -> None: + """Define one vertex (texture coordinate) - 2 float""" ... -def rlTextureParameters(unsignedint_0: int,int_1: int,int_2: int,) -> None: - """void rlTextureParameters(unsigned int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlTextureParameters(id: int,param: int,value: int,) -> None: + """Set texture parameters (filter, wrap)""" ... -def rlTranslatef(float_0: float,float_1: float,float_2: float,) -> None: - """void rlTranslatef(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlTranslatef(x: float,y: float,z: float,) -> None: + """Multiply the current matrix by a translation matrix""" ... -def rlUnloadFramebuffer(unsignedint_0: int,) -> None: - """void rlUnloadFramebuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUnloadFramebuffer(id: int,) -> None: + """Delete framebuffer from GPU""" ... -def rlUnloadRenderBatch(rlRenderBatch_0: rlRenderBatch,) -> None: - """void rlUnloadRenderBatch(struct rlRenderBatch); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUnloadRenderBatch(batch: rlRenderBatch,) -> None: + """Unload render batch system""" ... -def rlUnloadShaderBuffer(unsignedint_0: int,) -> None: - """void rlUnloadShaderBuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUnloadShaderBuffer(ssboId: int,) -> None: + """Unload shader storage buffer object (SSBO)""" ... -def rlUnloadShaderProgram(unsignedint_0: int,) -> None: - """void rlUnloadShaderProgram(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUnloadShaderProgram(id: int,) -> None: + """Unload shader program""" ... -def rlUnloadTexture(unsignedint_0: int,) -> None: - """void rlUnloadTexture(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUnloadTexture(id: int,) -> None: + """Unload texture from GPU memory""" ... -def rlUnloadVertexArray(unsignedint_0: int,) -> None: - """void rlUnloadVertexArray(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUnloadVertexArray(vaoId: int,) -> None: + """""" ... -def rlUnloadVertexBuffer(unsignedint_0: int,) -> None: - """void rlUnloadVertexBuffer(unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUnloadVertexBuffer(vboId: int,) -> None: + """""" ... -def rlUpdateShaderBuffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None: - """void rlUpdateShaderBuffer(unsigned int, void *, unsigned int, unsigned int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUpdateShaderBuffer(id: int,data: Any,dataSize: int,offset: int,) -> None: + """Update SSBO buffer data""" ... -def rlUpdateTexture(unsignedint_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,void_pointer_6: Any,) -> None: - """void rlUpdateTexture(unsigned int, int, int, int, int, int, void *); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUpdateTexture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None: + """Update GPU texture with new data""" ... -def rlUpdateVertexBuffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlUpdateVertexBuffer(unsigned int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUpdateVertexBuffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None: + """Update GPU buffer with new data""" ... -def rlUpdateVertexBufferElements(unsignedint_0: int,void_pointer_1: Any,int_2: int,int_3: int,) -> None: - """void rlUpdateVertexBufferElements(unsigned int, void *, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlUpdateVertexBufferElements(id: int,data: Any,dataSize: int,offset: int,) -> None: + """Update vertex buffer elements with new data""" ... -def rlVertex2f(float_0: float,float_1: float,) -> None: - """void rlVertex2f(float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlVertex2f(x: float,y: float,) -> None: + """Define one vertex (position) - 2 float""" ... -def rlVertex2i(int_0: int,int_1: int,) -> None: - """void rlVertex2i(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlVertex2i(x: int,y: int,) -> None: + """Define one vertex (position) - 2 int""" ... -def rlVertex3f(float_0: float,float_1: float,float_2: float,) -> None: - """void rlVertex3f(float, float, float); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlVertex3f(x: float,y: float,z: float,) -> None: + """Define one vertex (position) - 3 float""" ... -def rlViewport(int_0: int,int_1: int,int_2: int,int_3: int,) -> None: - """void rlViewport(int, int, int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlViewport(x: int,y: int,width: int,height: int,) -> None: + """Set the viewport area""" ... def rlglClose() -> None: - """void rlglClose(); - -CFFI C function from raylib._raylib_cffi.lib""" + """De-initialize rlgl (buffers, shaders, textures)""" ... -def rlglInit(int_0: int,int_1: int,) -> None: - """void rlglInit(int, int); - -CFFI C function from raylib._raylib_cffi.lib""" +def rlglInit(width: int,height: int,) -> None: + """Initialize rlgl (buffers, shaders, textures, states)""" ... AudioStream: struct AutomationEvent: struct