raylib 5.0.0.0__pp39-pypy39_pp73-manylinux2014_x86_64.whl → 5.0.0.2__pp39-pypy39_pp73-manylinux2014_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of raylib might be problematic. Click here for more details.
- pyray/__init__.py +67 -32
- pyray/__init__.pyi +968 -1312
- raylib/__init__.pyi +974 -1281
- raylib/_raylib_cffi.pypy39-pp73-x86_64-linux-gnu.so +0 -0
- raylib/build.py +14 -1
- raylib/defines.py +489 -4
- raylib/version.py +1 -1
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/METADATA +44 -5
- raylib-5.0.0.2.dist-info/RECORD +15 -0
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/WHEEL +1 -1
- raylib-5.0.0.0.dist-info/RECORD +0 -15
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/LICENSE +0 -0
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/top_level.txt +0 -0
pyray/__init__.pyi
CHANGED
|
@@ -73,10 +73,8 @@ def check_collision_recs(rec1: Rectangle,rec2: Rectangle,) -> bool:
|
|
|
73
73
|
def check_collision_spheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool:
|
|
74
74
|
"""Check collision between two spheres"""
|
|
75
75
|
...
|
|
76
|
-
def clamp(
|
|
77
|
-
"""
|
|
78
|
-
|
|
79
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
76
|
+
def clamp(value: float,min_1: float,max_2: float,) -> float:
|
|
77
|
+
""""""
|
|
80
78
|
...
|
|
81
79
|
def clear_background(color: Color,) -> None:
|
|
82
80
|
"""Set background color (framebuffer clear color)"""
|
|
@@ -88,9 +86,7 @@ def close_audio_device() -> None:
|
|
|
88
86
|
"""Close the audio device and context"""
|
|
89
87
|
...
|
|
90
88
|
def close_physics() -> None:
|
|
91
|
-
"""
|
|
92
|
-
|
|
93
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
89
|
+
"""Close physics system and unload used memory"""
|
|
94
90
|
...
|
|
95
91
|
def close_window() -> None:
|
|
96
92
|
"""Close window and unload OpenGL context"""
|
|
@@ -131,20 +127,14 @@ def color_to_int(color: Color,) -> int:
|
|
|
131
127
|
def compress_data(data: str,dataSize: int,compDataSize: Any,) -> str:
|
|
132
128
|
"""Compress data (DEFLATE algorithm), memory must be MemFree()"""
|
|
133
129
|
...
|
|
134
|
-
def create_physics_body_circle(
|
|
135
|
-
"""
|
|
136
|
-
|
|
137
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
130
|
+
def create_physics_body_circle(pos: Vector2,radius: float,density: float,) -> Any:
|
|
131
|
+
"""Creates a new circle physics body with generic parameters"""
|
|
138
132
|
...
|
|
139
|
-
def create_physics_body_polygon(
|
|
140
|
-
"""
|
|
141
|
-
|
|
142
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
133
|
+
def create_physics_body_polygon(pos: Vector2,radius: float,sides: int,density: float,) -> Any:
|
|
134
|
+
"""Creates a new polygon physics body with generic parameters"""
|
|
143
135
|
...
|
|
144
|
-
def create_physics_body_rectangle(
|
|
145
|
-
"""
|
|
146
|
-
|
|
147
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
136
|
+
def create_physics_body_rectangle(pos: Vector2,width: float,height: float,density: float,) -> Any:
|
|
137
|
+
"""Creates a new rectangle physics body with generic parameters"""
|
|
148
138
|
...
|
|
149
139
|
def decode_data_base64(data: str,outputSize: Any,) -> str:
|
|
150
140
|
"""Decode Base64 string data, memory must be MemFree()"""
|
|
@@ -152,10 +142,8 @@ def decode_data_base64(data: str,outputSize: Any,) -> str:
|
|
|
152
142
|
def decompress_data(compData: str,compDataSize: int,dataSize: Any,) -> str:
|
|
153
143
|
"""Decompress data (DEFLATE algorithm), memory must be MemFree()"""
|
|
154
144
|
...
|
|
155
|
-
def destroy_physics_body(
|
|
156
|
-
"""
|
|
157
|
-
|
|
158
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
145
|
+
def destroy_physics_body(body: Any,) -> None:
|
|
146
|
+
"""Destroy a physics body"""
|
|
159
147
|
...
|
|
160
148
|
def detach_audio_mixed_processor(processor: Any,) -> None:
|
|
161
149
|
"""Detach audio stream processor from the entire audio pipeline"""
|
|
@@ -472,7 +460,7 @@ def end_texture_mode() -> None:
|
|
|
472
460
|
def end_vr_stereo_mode() -> None:
|
|
473
461
|
"""End stereo rendering (requires VR simulator)"""
|
|
474
462
|
...
|
|
475
|
-
def export_automation_event_list(
|
|
463
|
+
def export_automation_event_list(list_0: AutomationEventList,fileName: str,) -> bool:
|
|
476
464
|
"""Export automation events list as text file"""
|
|
477
465
|
...
|
|
478
466
|
def export_data_as_code(data: str,dataSize: int,fileName: str,) -> bool:
|
|
@@ -505,10 +493,8 @@ def fade(color: Color,alpha: float,) -> Color:
|
|
|
505
493
|
def file_exists(fileName: str,) -> bool:
|
|
506
494
|
"""Check if file exists"""
|
|
507
495
|
...
|
|
508
|
-
def float_equals(
|
|
509
|
-
"""
|
|
510
|
-
|
|
511
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
496
|
+
def float_equals(x: float,y: float,) -> int:
|
|
497
|
+
""""""
|
|
512
498
|
...
|
|
513
499
|
def gen_image_cellular(width: int,height: int,tileSize: int,) -> Image:
|
|
514
500
|
"""Generate image: cellular algorithm, bigger tileSize means bigger cells"""
|
|
@@ -751,29 +737,19 @@ def get_music_time_played(music: Music,) -> float:
|
|
|
751
737
|
"""Get current music time played (in seconds)"""
|
|
752
738
|
...
|
|
753
739
|
def get_physics_bodies_count() -> int:
|
|
754
|
-
"""
|
|
755
|
-
|
|
756
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
740
|
+
"""Returns the current amount of created physics bodies"""
|
|
757
741
|
...
|
|
758
|
-
def get_physics_body(
|
|
759
|
-
"""
|
|
760
|
-
|
|
761
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
742
|
+
def get_physics_body(index: int,) -> Any:
|
|
743
|
+
"""Returns a physics body of the bodies pool at a specific index"""
|
|
762
744
|
...
|
|
763
|
-
def get_physics_shape_type(
|
|
764
|
-
"""
|
|
765
|
-
|
|
766
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
745
|
+
def get_physics_shape_type(index: int,) -> int:
|
|
746
|
+
"""Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)"""
|
|
767
747
|
...
|
|
768
|
-
def get_physics_shape_vertex(
|
|
769
|
-
"""
|
|
770
|
-
|
|
771
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
748
|
+
def get_physics_shape_vertex(body: Any,vertex: int,) -> Vector2:
|
|
749
|
+
"""Returns transformed position of a body shape (body position + vertex transformed position)"""
|
|
772
750
|
...
|
|
773
|
-
def get_physics_shape_vertices_count(
|
|
774
|
-
"""
|
|
775
|
-
|
|
776
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
751
|
+
def get_physics_shape_vertices_count(index: int,) -> int:
|
|
752
|
+
"""Returns the amount of vertices of a physics body shape"""
|
|
777
753
|
...
|
|
778
754
|
def get_pixel_color(srcPtr: Any,format: int,) -> Color:
|
|
779
755
|
"""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:
|
|
|
784
760
|
def get_prev_directory_path(dirPath: str,) -> str:
|
|
785
761
|
"""Get previous directory path for a given path (uses static string)"""
|
|
786
762
|
...
|
|
787
|
-
def get_random_value(
|
|
763
|
+
def get_random_value(min_0: int,max_1: int,) -> int:
|
|
788
764
|
"""Get a random value between min and max (both included)"""
|
|
789
765
|
...
|
|
790
766
|
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:
|
|
|
877
853
|
def get_world_to_screen_ex(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2:
|
|
878
854
|
"""Get size position for a 3d world space position"""
|
|
879
855
|
...
|
|
880
|
-
def gui_button(
|
|
881
|
-
"""
|
|
882
|
-
|
|
883
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
856
|
+
def gui_button(bounds: Rectangle,text: str,) -> int:
|
|
857
|
+
"""Button control, returns true when clicked"""
|
|
884
858
|
...
|
|
885
|
-
def gui_check_box(
|
|
886
|
-
"""
|
|
887
|
-
|
|
888
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
859
|
+
def gui_check_box(bounds: Rectangle,text: str,checked: Any,) -> int:
|
|
860
|
+
"""Check Box control, returns true when active"""
|
|
889
861
|
...
|
|
890
|
-
def gui_color_bar_alpha(
|
|
891
|
-
"""
|
|
892
|
-
|
|
893
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
862
|
+
def gui_color_bar_alpha(bounds: Rectangle,text: str,alpha: Any,) -> int:
|
|
863
|
+
"""Color Bar Alpha control"""
|
|
894
864
|
...
|
|
895
|
-
def gui_color_bar_hue(
|
|
896
|
-
"""
|
|
897
|
-
|
|
898
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
865
|
+
def gui_color_bar_hue(bounds: Rectangle,text: str,value: Any,) -> int:
|
|
866
|
+
"""Color Bar Hue control"""
|
|
899
867
|
...
|
|
900
|
-
def gui_color_panel(
|
|
901
|
-
"""
|
|
902
|
-
|
|
903
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
868
|
+
def gui_color_panel(bounds: Rectangle,text: str,color: Any,) -> int:
|
|
869
|
+
"""Color Panel control"""
|
|
904
870
|
...
|
|
905
|
-
def gui_color_panel_hsv(
|
|
906
|
-
"""
|
|
907
|
-
|
|
908
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
871
|
+
def gui_color_panel_hsv(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
|
|
872
|
+
"""Color Panel control that returns HSV color value, used by GuiColorPickerHSV()"""
|
|
909
873
|
...
|
|
910
|
-
def gui_color_picker(
|
|
911
|
-
"""
|
|
912
|
-
|
|
913
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
874
|
+
def gui_color_picker(bounds: Rectangle,text: str,color: Any,) -> int:
|
|
875
|
+
"""Color Picker control (multiple color controls)"""
|
|
914
876
|
...
|
|
915
|
-
def gui_color_picker_hsv(
|
|
916
|
-
"""
|
|
917
|
-
|
|
918
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
877
|
+
def gui_color_picker_hsv(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
|
|
878
|
+
"""Color Picker control that avoids conversion to RGB on each call (multiple color controls)"""
|
|
919
879
|
...
|
|
920
|
-
def gui_combo_box(
|
|
921
|
-
"""
|
|
922
|
-
|
|
923
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
880
|
+
def gui_combo_box(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
881
|
+
"""Combo Box control, returns selected item index"""
|
|
924
882
|
...
|
|
925
883
|
def gui_disable() -> None:
|
|
926
|
-
"""
|
|
927
|
-
|
|
928
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
884
|
+
"""Disable gui controls (global state)"""
|
|
929
885
|
...
|
|
930
886
|
def gui_disable_tooltip() -> None:
|
|
931
|
-
"""
|
|
932
|
-
|
|
933
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
887
|
+
"""Disable gui tooltips (global state)"""
|
|
934
888
|
...
|
|
935
|
-
def gui_draw_icon(
|
|
936
|
-
"""
|
|
937
|
-
|
|
938
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
889
|
+
def gui_draw_icon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color,) -> None:
|
|
890
|
+
"""Draw icon using pixel size at specified position"""
|
|
939
891
|
...
|
|
940
|
-
def gui_dropdown_box(
|
|
941
|
-
"""
|
|
942
|
-
|
|
943
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
892
|
+
def gui_dropdown_box(bounds: Rectangle,text: str,active: Any,editMode: bool,) -> int:
|
|
893
|
+
"""Dropdown Box control, returns selected item"""
|
|
944
894
|
...
|
|
945
|
-
def gui_dummy_rec(
|
|
946
|
-
"""
|
|
947
|
-
|
|
948
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
895
|
+
def gui_dummy_rec(bounds: Rectangle,text: str,) -> int:
|
|
896
|
+
"""Dummy control for placeholders"""
|
|
949
897
|
...
|
|
950
898
|
def gui_enable() -> None:
|
|
951
|
-
"""
|
|
952
|
-
|
|
953
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
899
|
+
"""Enable gui controls (global state)"""
|
|
954
900
|
...
|
|
955
901
|
def gui_enable_tooltip() -> None:
|
|
956
|
-
"""
|
|
957
|
-
|
|
958
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
902
|
+
"""Enable gui tooltips (global state)"""
|
|
959
903
|
...
|
|
960
904
|
def gui_get_font() -> Font:
|
|
961
|
-
"""
|
|
962
|
-
|
|
963
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
905
|
+
"""Get gui custom font (global state)"""
|
|
964
906
|
...
|
|
965
907
|
def gui_get_icons() -> Any:
|
|
966
|
-
"""
|
|
967
|
-
|
|
968
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
908
|
+
"""Get raygui icons data pointer"""
|
|
969
909
|
...
|
|
970
910
|
def gui_get_state() -> int:
|
|
971
|
-
"""
|
|
972
|
-
|
|
973
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
911
|
+
"""Get gui state (global state)"""
|
|
974
912
|
...
|
|
975
|
-
def gui_get_style(
|
|
976
|
-
"""
|
|
977
|
-
|
|
978
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
913
|
+
def gui_get_style(control: int,property: int,) -> int:
|
|
914
|
+
"""Get one style property"""
|
|
979
915
|
...
|
|
980
|
-
def gui_grid(
|
|
981
|
-
"""
|
|
982
|
-
|
|
983
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
916
|
+
def gui_grid(bounds: Rectangle,text: str,spacing: float,subdivs: int,mouseCell: Any,) -> int:
|
|
917
|
+
"""Grid control, returns mouse cell position"""
|
|
984
918
|
...
|
|
985
|
-
def gui_group_box(
|
|
986
|
-
"""
|
|
987
|
-
|
|
988
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
919
|
+
def gui_group_box(bounds: Rectangle,text: str,) -> int:
|
|
920
|
+
"""Group Box control with text name"""
|
|
989
921
|
...
|
|
990
|
-
def gui_icon_text(
|
|
991
|
-
"""
|
|
992
|
-
|
|
993
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
922
|
+
def gui_icon_text(iconId: int,text: str,) -> str:
|
|
923
|
+
"""Get text with icon id prepended (if supported)"""
|
|
994
924
|
...
|
|
995
925
|
def gui_is_locked() -> bool:
|
|
996
|
-
"""
|
|
997
|
-
|
|
998
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
926
|
+
"""Check if gui is locked (global state)"""
|
|
999
927
|
...
|
|
1000
|
-
def gui_label(
|
|
1001
|
-
"""
|
|
1002
|
-
|
|
1003
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
928
|
+
def gui_label(bounds: Rectangle,text: str,) -> int:
|
|
929
|
+
"""Label control, shows text"""
|
|
1004
930
|
...
|
|
1005
|
-
def gui_label_button(
|
|
1006
|
-
"""
|
|
1007
|
-
|
|
1008
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
931
|
+
def gui_label_button(bounds: Rectangle,text: str,) -> int:
|
|
932
|
+
"""Label button control, show true when clicked"""
|
|
1009
933
|
...
|
|
1010
|
-
def gui_line(
|
|
1011
|
-
"""
|
|
1012
|
-
|
|
1013
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
934
|
+
def gui_line(bounds: Rectangle,text: str,) -> int:
|
|
935
|
+
"""Line separator control, could contain text"""
|
|
1014
936
|
...
|
|
1015
|
-
def gui_list_view(
|
|
1016
|
-
"""
|
|
1017
|
-
|
|
1018
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
937
|
+
def gui_list_view(bounds: Rectangle,text: str,scrollIndex: Any,active: Any,) -> int:
|
|
938
|
+
"""List View control, returns selected list item index"""
|
|
1019
939
|
...
|
|
1020
|
-
def gui_list_view_ex(
|
|
1021
|
-
"""
|
|
1022
|
-
|
|
1023
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
940
|
+
def gui_list_view_ex(bounds: Rectangle,text: list[str],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
|
|
941
|
+
"""List View with extended parameters"""
|
|
1024
942
|
...
|
|
1025
|
-
def gui_load_icons(
|
|
1026
|
-
"""
|
|
1027
|
-
|
|
1028
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
943
|
+
def gui_load_icons(fileName: str,loadIconsName: bool,) -> list[str]:
|
|
944
|
+
"""Load raygui icons file (.rgi) into internal icons data"""
|
|
1029
945
|
...
|
|
1030
|
-
def gui_load_style(
|
|
1031
|
-
"""
|
|
1032
|
-
|
|
1033
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
946
|
+
def gui_load_style(fileName: str,) -> None:
|
|
947
|
+
"""Load style file over global style variable (.rgs)"""
|
|
1034
948
|
...
|
|
1035
949
|
def gui_load_style_default() -> None:
|
|
1036
|
-
"""
|
|
1037
|
-
|
|
1038
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
950
|
+
"""Load style default over global style"""
|
|
1039
951
|
...
|
|
1040
952
|
def gui_lock() -> None:
|
|
1041
|
-
"""
|
|
1042
|
-
|
|
1043
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
953
|
+
"""Lock gui controls (global state)"""
|
|
1044
954
|
...
|
|
1045
|
-
def gui_message_box(
|
|
1046
|
-
"""
|
|
1047
|
-
|
|
1048
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
955
|
+
def gui_message_box(bounds: Rectangle,title: str,message: str,buttons: str,) -> int:
|
|
956
|
+
"""Message Box control, displays a message"""
|
|
1049
957
|
...
|
|
1050
|
-
def gui_panel(
|
|
1051
|
-
"""
|
|
1052
|
-
|
|
1053
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
958
|
+
def gui_panel(bounds: Rectangle,text: str,) -> int:
|
|
959
|
+
"""Panel control, useful to group controls"""
|
|
1054
960
|
...
|
|
1055
|
-
def gui_progress_bar(
|
|
1056
|
-
"""
|
|
1057
|
-
|
|
1058
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
961
|
+
def gui_progress_bar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
|
|
962
|
+
"""Progress Bar control, shows current progress value"""
|
|
1059
963
|
...
|
|
1060
|
-
def gui_scroll_panel(
|
|
1061
|
-
"""
|
|
1062
|
-
|
|
1063
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
964
|
+
def gui_scroll_panel(bounds: Rectangle,text: str,content: Rectangle,scroll: Any,view: Any,) -> int:
|
|
965
|
+
"""Scroll Panel control"""
|
|
1064
966
|
...
|
|
1065
|
-
def gui_set_alpha(
|
|
1066
|
-
"""
|
|
1067
|
-
|
|
1068
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
967
|
+
def gui_set_alpha(alpha: float,) -> None:
|
|
968
|
+
"""Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f"""
|
|
1069
969
|
...
|
|
1070
|
-
def gui_set_font(
|
|
1071
|
-
"""
|
|
1072
|
-
|
|
1073
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
970
|
+
def gui_set_font(font: Font,) -> None:
|
|
971
|
+
"""Set gui custom font (global state)"""
|
|
1074
972
|
...
|
|
1075
|
-
def gui_set_icon_scale(
|
|
1076
|
-
"""
|
|
1077
|
-
|
|
1078
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
973
|
+
def gui_set_icon_scale(scale: int,) -> None:
|
|
974
|
+
"""Set default icon drawing size"""
|
|
1079
975
|
...
|
|
1080
|
-
def gui_set_state(
|
|
1081
|
-
"""
|
|
1082
|
-
|
|
1083
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
976
|
+
def gui_set_state(state: int,) -> None:
|
|
977
|
+
"""Set gui state (global state)"""
|
|
1084
978
|
...
|
|
1085
|
-
def gui_set_style(
|
|
1086
|
-
"""
|
|
1087
|
-
|
|
1088
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
979
|
+
def gui_set_style(control: int,property: int,value: int,) -> None:
|
|
980
|
+
"""Set one style property"""
|
|
1089
981
|
...
|
|
1090
|
-
def gui_set_tooltip(
|
|
1091
|
-
"""
|
|
1092
|
-
|
|
1093
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
982
|
+
def gui_set_tooltip(tooltip: str,) -> None:
|
|
983
|
+
"""Set tooltip string"""
|
|
1094
984
|
...
|
|
1095
|
-
def gui_slider(
|
|
1096
|
-
"""
|
|
1097
|
-
|
|
1098
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
985
|
+
def gui_slider(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
|
|
986
|
+
"""Slider control, returns selected value"""
|
|
1099
987
|
...
|
|
1100
|
-
def gui_slider_bar(
|
|
1101
|
-
"""
|
|
1102
|
-
|
|
1103
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
988
|
+
def gui_slider_bar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
|
|
989
|
+
"""Slider Bar control, returns selected value"""
|
|
1104
990
|
...
|
|
1105
|
-
def gui_spinner(
|
|
1106
|
-
"""
|
|
1107
|
-
|
|
1108
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
991
|
+
def gui_spinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
992
|
+
"""Spinner control, returns selected value"""
|
|
1109
993
|
...
|
|
1110
|
-
def gui_status_bar(
|
|
1111
|
-
"""
|
|
1112
|
-
|
|
1113
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
994
|
+
def gui_status_bar(bounds: Rectangle,text: str,) -> int:
|
|
995
|
+
"""Status Bar control, shows info text"""
|
|
1114
996
|
...
|
|
1115
|
-
def gui_tab_bar(
|
|
1116
|
-
"""
|
|
1117
|
-
|
|
1118
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
997
|
+
def gui_tab_bar(bounds: Rectangle,text: list[str],count: int,active: Any,) -> int:
|
|
998
|
+
"""Tab Bar control, returns TAB to be closed or -1"""
|
|
1119
999
|
...
|
|
1120
|
-
def gui_text_box(
|
|
1121
|
-
"""
|
|
1122
|
-
|
|
1123
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1000
|
+
def gui_text_box(bounds: Rectangle,text: str,textSize: int,editMode: bool,) -> int:
|
|
1001
|
+
"""Text Box control, updates input text"""
|
|
1124
1002
|
...
|
|
1125
|
-
def gui_text_input_box(
|
|
1126
|
-
"""
|
|
1127
|
-
|
|
1128
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1003
|
+
def gui_text_input_box(bounds: Rectangle,title: str,message: str,buttons: str,text: str,textMaxSize: int,secretViewActive: Any,) -> int:
|
|
1004
|
+
"""Text Input Box control, ask for text, supports secret"""
|
|
1129
1005
|
...
|
|
1130
|
-
def gui_toggle(
|
|
1131
|
-
"""
|
|
1132
|
-
|
|
1133
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1006
|
+
def gui_toggle(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
1007
|
+
"""Toggle Button control, returns true when active"""
|
|
1134
1008
|
...
|
|
1135
|
-
def gui_toggle_group(
|
|
1136
|
-
"""
|
|
1137
|
-
|
|
1138
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1009
|
+
def gui_toggle_group(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
1010
|
+
"""Toggle Group control, returns active toggle index"""
|
|
1139
1011
|
...
|
|
1140
|
-
def gui_toggle_slider(
|
|
1141
|
-
"""
|
|
1142
|
-
|
|
1143
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1012
|
+
def gui_toggle_slider(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
1013
|
+
"""Toggle Slider control, returns true when clicked"""
|
|
1144
1014
|
...
|
|
1145
1015
|
def gui_unlock() -> None:
|
|
1146
|
-
"""
|
|
1147
|
-
|
|
1148
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1016
|
+
"""Unlock gui controls (global state)"""
|
|
1149
1017
|
...
|
|
1150
|
-
def gui_value_box(
|
|
1151
|
-
"""
|
|
1152
|
-
|
|
1153
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1018
|
+
def gui_value_box(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
1019
|
+
"""Value Box control, updates input text with numbers"""
|
|
1154
1020
|
...
|
|
1155
|
-
def gui_window_box(
|
|
1156
|
-
"""
|
|
1157
|
-
|
|
1158
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1021
|
+
def gui_window_box(bounds: Rectangle,title: str,) -> int:
|
|
1022
|
+
"""Window Box control, shows a window that can be closed"""
|
|
1159
1023
|
...
|
|
1160
1024
|
def hide_cursor() -> None:
|
|
1161
1025
|
"""Hides cursor"""
|
|
@@ -1296,9 +1160,7 @@ def init_audio_device() -> None:
|
|
|
1296
1160
|
"""Initialize audio device and context"""
|
|
1297
1161
|
...
|
|
1298
1162
|
def init_physics() -> None:
|
|
1299
|
-
"""
|
|
1300
|
-
|
|
1301
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1163
|
+
"""Initializes physics system"""
|
|
1302
1164
|
...
|
|
1303
1165
|
def init_window(width: int,height: int,title: str,) -> None:
|
|
1304
1166
|
"""Initialize window and OpenGL context"""
|
|
@@ -1438,10 +1300,8 @@ def is_window_resized() -> bool:
|
|
|
1438
1300
|
def is_window_state(flag: int,) -> bool:
|
|
1439
1301
|
"""Check if one specific window flag is enabled"""
|
|
1440
1302
|
...
|
|
1441
|
-
def lerp(
|
|
1442
|
-
"""
|
|
1443
|
-
|
|
1444
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1303
|
+
def lerp(start: float,end: float,amount: float,) -> float:
|
|
1304
|
+
""""""
|
|
1445
1305
|
...
|
|
1446
1306
|
def load_audio_stream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
|
|
1447
1307
|
"""Load audio stream (to stream raw audio pcm data)"""
|
|
@@ -1530,7 +1390,7 @@ def load_music_stream(fileName: str,) -> Music:
|
|
|
1530
1390
|
def load_music_stream_from_memory(fileType: str,data: str,dataSize: int,) -> Music:
|
|
1531
1391
|
"""Load music stream from data"""
|
|
1532
1392
|
...
|
|
1533
|
-
def load_random_sequence(count: int,
|
|
1393
|
+
def load_random_sequence(count: int,min_1: int,max_2: int,) -> Any:
|
|
1534
1394
|
"""Load random values sequence, no values repeated"""
|
|
1535
1395
|
...
|
|
1536
1396
|
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:
|
|
|
1575
1435
|
def load_wave_samples(wave: Wave,) -> Any:
|
|
1576
1436
|
"""Load samples data from wave as a 32bit float data array"""
|
|
1577
1437
|
...
|
|
1578
|
-
def matrix_add(
|
|
1579
|
-
"""
|
|
1580
|
-
|
|
1581
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1438
|
+
def matrix_add(left: Matrix,right: Matrix,) -> Matrix:
|
|
1439
|
+
""""""
|
|
1582
1440
|
...
|
|
1583
|
-
def matrix_determinant(
|
|
1584
|
-
"""
|
|
1585
|
-
|
|
1586
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1441
|
+
def matrix_determinant(mat: Matrix,) -> float:
|
|
1442
|
+
""""""
|
|
1587
1443
|
...
|
|
1588
|
-
def matrix_frustum(
|
|
1589
|
-
"""
|
|
1590
|
-
|
|
1591
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1444
|
+
def matrix_frustum(left: float,right: float,bottom: float,top: float,near: float,far: float,) -> Matrix:
|
|
1445
|
+
""""""
|
|
1592
1446
|
...
|
|
1593
1447
|
def matrix_identity() -> Matrix:
|
|
1594
|
-
"""
|
|
1595
|
-
|
|
1596
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1448
|
+
""""""
|
|
1597
1449
|
...
|
|
1598
|
-
def matrix_invert(
|
|
1599
|
-
"""
|
|
1600
|
-
|
|
1601
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1450
|
+
def matrix_invert(mat: Matrix,) -> Matrix:
|
|
1451
|
+
""""""
|
|
1602
1452
|
...
|
|
1603
|
-
def matrix_look_at(
|
|
1604
|
-
"""
|
|
1605
|
-
|
|
1606
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1453
|
+
def matrix_look_at(eye: Vector3,target: Vector3,up: Vector3,) -> Matrix:
|
|
1454
|
+
""""""
|
|
1607
1455
|
...
|
|
1608
|
-
def matrix_multiply(
|
|
1609
|
-
"""
|
|
1610
|
-
|
|
1611
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1456
|
+
def matrix_multiply(left: Matrix,right: Matrix,) -> Matrix:
|
|
1457
|
+
""""""
|
|
1612
1458
|
...
|
|
1613
|
-
def matrix_ortho(
|
|
1614
|
-
"""
|
|
1615
|
-
|
|
1616
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1459
|
+
def matrix_ortho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
1460
|
+
""""""
|
|
1617
1461
|
...
|
|
1618
|
-
def matrix_perspective(
|
|
1619
|
-
"""
|
|
1620
|
-
|
|
1621
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1462
|
+
def matrix_perspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
1463
|
+
""""""
|
|
1622
1464
|
...
|
|
1623
|
-
def matrix_rotate(
|
|
1624
|
-
"""
|
|
1625
|
-
|
|
1626
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1465
|
+
def matrix_rotate(axis: Vector3,angle: float,) -> Matrix:
|
|
1466
|
+
""""""
|
|
1627
1467
|
...
|
|
1628
|
-
def matrix_rotate_x(
|
|
1629
|
-
"""
|
|
1630
|
-
|
|
1631
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1468
|
+
def matrix_rotate_x(angle: float,) -> Matrix:
|
|
1469
|
+
""""""
|
|
1632
1470
|
...
|
|
1633
|
-
def matrix_rotate_xyz(
|
|
1634
|
-
"""
|
|
1635
|
-
|
|
1636
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1471
|
+
def matrix_rotate_xyz(angle: Vector3,) -> Matrix:
|
|
1472
|
+
""""""
|
|
1637
1473
|
...
|
|
1638
|
-
def matrix_rotate_y(
|
|
1639
|
-
"""
|
|
1640
|
-
|
|
1641
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1474
|
+
def matrix_rotate_y(angle: float,) -> Matrix:
|
|
1475
|
+
""""""
|
|
1642
1476
|
...
|
|
1643
|
-
def matrix_rotate_z(
|
|
1644
|
-
"""
|
|
1645
|
-
|
|
1646
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1477
|
+
def matrix_rotate_z(angle: float,) -> Matrix:
|
|
1478
|
+
""""""
|
|
1647
1479
|
...
|
|
1648
|
-
def matrix_rotate_zyx(
|
|
1649
|
-
"""
|
|
1650
|
-
|
|
1651
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1480
|
+
def matrix_rotate_zyx(angle: Vector3,) -> Matrix:
|
|
1481
|
+
""""""
|
|
1652
1482
|
...
|
|
1653
|
-
def matrix_scale(
|
|
1654
|
-
"""
|
|
1655
|
-
|
|
1656
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1483
|
+
def matrix_scale(x: float,y: float,z: float,) -> Matrix:
|
|
1484
|
+
""""""
|
|
1657
1485
|
...
|
|
1658
|
-
def matrix_subtract(
|
|
1659
|
-
"""
|
|
1660
|
-
|
|
1661
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1486
|
+
def matrix_subtract(left: Matrix,right: Matrix,) -> Matrix:
|
|
1487
|
+
""""""
|
|
1662
1488
|
...
|
|
1663
|
-
def matrix_to_float_v(
|
|
1664
|
-
"""
|
|
1665
|
-
|
|
1666
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1489
|
+
def matrix_to_float_v(mat: Matrix,) -> float16:
|
|
1490
|
+
""""""
|
|
1667
1491
|
...
|
|
1668
|
-
def matrix_trace(
|
|
1669
|
-
"""
|
|
1670
|
-
|
|
1671
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1492
|
+
def matrix_trace(mat: Matrix,) -> float:
|
|
1493
|
+
""""""
|
|
1672
1494
|
...
|
|
1673
|
-
def matrix_translate(
|
|
1674
|
-
"""
|
|
1675
|
-
|
|
1676
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1495
|
+
def matrix_translate(x: float,y: float,z: float,) -> Matrix:
|
|
1496
|
+
""""""
|
|
1677
1497
|
...
|
|
1678
|
-
def matrix_transpose(
|
|
1679
|
-
"""
|
|
1680
|
-
|
|
1681
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1498
|
+
def matrix_transpose(mat: Matrix,) -> Matrix:
|
|
1499
|
+
""""""
|
|
1682
1500
|
...
|
|
1683
1501
|
def maximize_window() -> None:
|
|
1684
1502
|
"""Set window state: maximized, if resizable (only PLATFORM_DESKTOP)"""
|
|
@@ -1701,10 +1519,8 @@ def mem_realloc(ptr: Any,size: int,) -> Any:
|
|
|
1701
1519
|
def minimize_window() -> None:
|
|
1702
1520
|
"""Set window state: minimized, if resizable (only PLATFORM_DESKTOP)"""
|
|
1703
1521
|
...
|
|
1704
|
-
def normalize(
|
|
1705
|
-
"""
|
|
1706
|
-
|
|
1707
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1522
|
+
def normalize(value: float,start: float,end: float,) -> float:
|
|
1523
|
+
""""""
|
|
1708
1524
|
...
|
|
1709
1525
|
def open_url(url: str,) -> None:
|
|
1710
1526
|
"""Open URL with default system browser (if available)"""
|
|
@@ -1718,20 +1534,14 @@ def pause_music_stream(music: Music,) -> None:
|
|
|
1718
1534
|
def pause_sound(sound: Sound,) -> None:
|
|
1719
1535
|
"""Pause a sound"""
|
|
1720
1536
|
...
|
|
1721
|
-
def physics_add_force(
|
|
1722
|
-
"""
|
|
1723
|
-
|
|
1724
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1537
|
+
def physics_add_force(body: Any,force: Vector2,) -> None:
|
|
1538
|
+
"""Adds a force to a physics body"""
|
|
1725
1539
|
...
|
|
1726
|
-
def physics_add_torque(
|
|
1727
|
-
"""
|
|
1728
|
-
|
|
1729
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1540
|
+
def physics_add_torque(body: Any,amount: float,) -> None:
|
|
1541
|
+
"""Adds an angular force to a physics body"""
|
|
1730
1542
|
...
|
|
1731
|
-
def physics_shatter(
|
|
1732
|
-
"""
|
|
1733
|
-
|
|
1734
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1543
|
+
def physics_shatter(body: Any,position: Vector2,force: float,) -> None:
|
|
1544
|
+
"""Shatters a polygon shape physics body to little physics bodies with explosion force"""
|
|
1735
1545
|
...
|
|
1736
1546
|
def play_audio_stream(stream: AudioStream,) -> None:
|
|
1737
1547
|
"""Play audio stream"""
|
|
@@ -1748,130 +1558,80 @@ def play_sound(sound: Sound,) -> None:
|
|
|
1748
1558
|
def poll_input_events() -> None:
|
|
1749
1559
|
"""Register all input events"""
|
|
1750
1560
|
...
|
|
1751
|
-
def quaternion_add(
|
|
1752
|
-
"""
|
|
1753
|
-
|
|
1754
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1561
|
+
def quaternion_add(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
1562
|
+
""""""
|
|
1755
1563
|
...
|
|
1756
|
-
def quaternion_add_value(
|
|
1757
|
-
"""
|
|
1758
|
-
|
|
1759
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1564
|
+
def quaternion_add_value(q: Vector4,add: float,) -> Vector4:
|
|
1565
|
+
""""""
|
|
1760
1566
|
...
|
|
1761
|
-
def quaternion_divide(
|
|
1762
|
-
"""
|
|
1763
|
-
|
|
1764
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1567
|
+
def quaternion_divide(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
1568
|
+
""""""
|
|
1765
1569
|
...
|
|
1766
|
-
def quaternion_equals(
|
|
1767
|
-
"""
|
|
1768
|
-
|
|
1769
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1570
|
+
def quaternion_equals(p: Vector4,q: Vector4,) -> int:
|
|
1571
|
+
""""""
|
|
1770
1572
|
...
|
|
1771
|
-
def quaternion_from_axis_angle(
|
|
1772
|
-
"""
|
|
1773
|
-
|
|
1774
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1573
|
+
def quaternion_from_axis_angle(axis: Vector3,angle: float,) -> Vector4:
|
|
1574
|
+
""""""
|
|
1775
1575
|
...
|
|
1776
|
-
def quaternion_from_euler(
|
|
1777
|
-
"""
|
|
1778
|
-
|
|
1779
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1576
|
+
def quaternion_from_euler(pitch: float,yaw: float,roll: float,) -> Vector4:
|
|
1577
|
+
""""""
|
|
1780
1578
|
...
|
|
1781
|
-
def quaternion_from_matrix(
|
|
1782
|
-
"""
|
|
1783
|
-
|
|
1784
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1579
|
+
def quaternion_from_matrix(mat: Matrix,) -> Vector4:
|
|
1580
|
+
""""""
|
|
1785
1581
|
...
|
|
1786
|
-
def quaternion_from_vector3_to_vector3(
|
|
1787
|
-
"""
|
|
1788
|
-
|
|
1789
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1582
|
+
def quaternion_from_vector3_to_vector3(from_0: Vector3,to: Vector3,) -> Vector4:
|
|
1583
|
+
""""""
|
|
1790
1584
|
...
|
|
1791
1585
|
def quaternion_identity() -> Vector4:
|
|
1792
|
-
"""
|
|
1793
|
-
|
|
1794
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1586
|
+
""""""
|
|
1795
1587
|
...
|
|
1796
|
-
def quaternion_invert(
|
|
1797
|
-
"""
|
|
1798
|
-
|
|
1799
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1588
|
+
def quaternion_invert(q: Vector4,) -> Vector4:
|
|
1589
|
+
""""""
|
|
1800
1590
|
...
|
|
1801
|
-
def quaternion_length(
|
|
1802
|
-
"""
|
|
1803
|
-
|
|
1804
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1591
|
+
def quaternion_length(q: Vector4,) -> float:
|
|
1592
|
+
""""""
|
|
1805
1593
|
...
|
|
1806
|
-
def quaternion_lerp(
|
|
1807
|
-
"""
|
|
1808
|
-
|
|
1809
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1594
|
+
def quaternion_lerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
1595
|
+
""""""
|
|
1810
1596
|
...
|
|
1811
|
-
def quaternion_multiply(
|
|
1812
|
-
"""
|
|
1813
|
-
|
|
1814
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1597
|
+
def quaternion_multiply(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
1598
|
+
""""""
|
|
1815
1599
|
...
|
|
1816
|
-
def quaternion_nlerp(
|
|
1817
|
-
"""
|
|
1818
|
-
|
|
1819
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1600
|
+
def quaternion_nlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
1601
|
+
""""""
|
|
1820
1602
|
...
|
|
1821
|
-
def quaternion_normalize(
|
|
1822
|
-
"""
|
|
1823
|
-
|
|
1824
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1603
|
+
def quaternion_normalize(q: Vector4,) -> Vector4:
|
|
1604
|
+
""""""
|
|
1825
1605
|
...
|
|
1826
|
-
def quaternion_scale(
|
|
1827
|
-
"""
|
|
1828
|
-
|
|
1829
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1606
|
+
def quaternion_scale(q: Vector4,mul: float,) -> Vector4:
|
|
1607
|
+
""""""
|
|
1830
1608
|
...
|
|
1831
|
-
def quaternion_slerp(
|
|
1832
|
-
"""
|
|
1833
|
-
|
|
1834
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1609
|
+
def quaternion_slerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
1610
|
+
""""""
|
|
1835
1611
|
...
|
|
1836
|
-
def quaternion_subtract(
|
|
1837
|
-
"""
|
|
1838
|
-
|
|
1839
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1612
|
+
def quaternion_subtract(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
1613
|
+
""""""
|
|
1840
1614
|
...
|
|
1841
|
-
def quaternion_subtract_value(
|
|
1842
|
-
"""
|
|
1843
|
-
|
|
1844
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1615
|
+
def quaternion_subtract_value(q: Vector4,sub: float,) -> Vector4:
|
|
1616
|
+
""""""
|
|
1845
1617
|
...
|
|
1846
|
-
def quaternion_to_axis_angle(
|
|
1847
|
-
"""
|
|
1848
|
-
|
|
1849
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1618
|
+
def quaternion_to_axis_angle(q: Vector4,outAxis: Any,outAngle: Any,) -> None:
|
|
1619
|
+
""""""
|
|
1850
1620
|
...
|
|
1851
|
-
def quaternion_to_euler(
|
|
1852
|
-
"""
|
|
1853
|
-
|
|
1854
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1621
|
+
def quaternion_to_euler(q: Vector4,) -> Vector3:
|
|
1622
|
+
""""""
|
|
1855
1623
|
...
|
|
1856
|
-
def quaternion_to_matrix(
|
|
1857
|
-
"""
|
|
1858
|
-
|
|
1859
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1624
|
+
def quaternion_to_matrix(q: Vector4,) -> Matrix:
|
|
1625
|
+
""""""
|
|
1860
1626
|
...
|
|
1861
|
-
def quaternion_transform(
|
|
1862
|
-
"""
|
|
1863
|
-
|
|
1864
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1627
|
+
def quaternion_transform(q: Vector4,mat: Matrix,) -> Vector4:
|
|
1628
|
+
""""""
|
|
1865
1629
|
...
|
|
1866
|
-
def remap(
|
|
1867
|
-
"""
|
|
1868
|
-
|
|
1869
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1630
|
+
def remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float:
|
|
1631
|
+
""""""
|
|
1870
1632
|
...
|
|
1871
1633
|
def reset_physics() -> None:
|
|
1872
|
-
"""
|
|
1873
|
-
|
|
1874
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1634
|
+
"""Reset physics system (global variables)"""
|
|
1875
1635
|
...
|
|
1876
1636
|
def restore_window() -> None:
|
|
1877
1637
|
"""Set window state: not minimized/maximized (only PLATFORM_DESKTOP)"""
|
|
@@ -1912,7 +1672,7 @@ def set_audio_stream_volume(stream: AudioStream,volume: float,) -> None:
|
|
|
1912
1672
|
def set_automation_event_base_frame(frame: int,) -> None:
|
|
1913
1673
|
"""Set automation event internal base frame to start recording"""
|
|
1914
1674
|
...
|
|
1915
|
-
def set_automation_event_list(
|
|
1675
|
+
def set_automation_event_list(list_0: Any,) -> None:
|
|
1916
1676
|
"""Set automation event list to record to"""
|
|
1917
1677
|
...
|
|
1918
1678
|
def set_clipboard_text(text: str,) -> None:
|
|
@@ -1966,20 +1726,14 @@ def set_music_pitch(music: Music,pitch: float,) -> None:
|
|
|
1966
1726
|
def set_music_volume(music: Music,volume: float,) -> None:
|
|
1967
1727
|
"""Set volume for music (1.0 is max level)"""
|
|
1968
1728
|
...
|
|
1969
|
-
def set_physics_body_rotation(
|
|
1970
|
-
"""
|
|
1971
|
-
|
|
1972
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1729
|
+
def set_physics_body_rotation(body: Any,radians: float,) -> None:
|
|
1730
|
+
"""Sets physics body shape transform based on radians parameter"""
|
|
1973
1731
|
...
|
|
1974
|
-
def set_physics_gravity(
|
|
1975
|
-
"""
|
|
1976
|
-
|
|
1977
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1732
|
+
def set_physics_gravity(x: float,y: float,) -> None:
|
|
1733
|
+
"""Sets physics global gravity force"""
|
|
1978
1734
|
...
|
|
1979
|
-
def set_physics_time_step(
|
|
1980
|
-
"""
|
|
1981
|
-
|
|
1982
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1735
|
+
def set_physics_time_step(delta: float,) -> None:
|
|
1736
|
+
"""Sets physics fixed time step in milliseconds. 1.666666 by default"""
|
|
1983
1737
|
...
|
|
1984
1738
|
def set_pixel_color(dstPtr: Any,color: Color,format: int,) -> None:
|
|
1985
1739
|
"""Set color formatted into destination pixel pointer"""
|
|
@@ -2110,7 +1864,7 @@ def text_insert(text: str,insert: str,position: int,) -> str:
|
|
|
2110
1864
|
def text_is_equal(text1: str,text2: str,) -> bool:
|
|
2111
1865
|
"""Check if two text string are equal"""
|
|
2112
1866
|
...
|
|
2113
|
-
def text_join(textList: str,count: int,delimiter: str,) -> str:
|
|
1867
|
+
def text_join(textList: list[str],count: int,delimiter: str,) -> str:
|
|
2114
1868
|
"""Join text strings with delimiter"""
|
|
2115
1869
|
...
|
|
2116
1870
|
def text_length(text: str,) -> int:
|
|
@@ -2119,7 +1873,7 @@ def text_length(text: str,) -> int:
|
|
|
2119
1873
|
def text_replace(text: str,replace: str,by: str,) -> str:
|
|
2120
1874
|
"""Replace text string (WARNING: memory must be freed!)"""
|
|
2121
1875
|
...
|
|
2122
|
-
def text_split(text: str,delimiter: str,count: Any,) -> str:
|
|
1876
|
+
def text_split(text: str,delimiter: str,count: Any,) -> list[str]:
|
|
2123
1877
|
"""Split text into multiple strings"""
|
|
2124
1878
|
...
|
|
2125
1879
|
def text_subtext(text: str,position: int,length: int,) -> str:
|
|
@@ -2149,7 +1903,7 @@ def trace_log(*args) -> None:
|
|
|
2149
1903
|
def unload_audio_stream(stream: AudioStream,) -> None:
|
|
2150
1904
|
"""Unload audio stream and free memory"""
|
|
2151
1905
|
...
|
|
2152
|
-
def unload_automation_event_list(
|
|
1906
|
+
def unload_automation_event_list(list_0: Any,) -> None:
|
|
2153
1907
|
"""Unload automation events list from file"""
|
|
2154
1908
|
...
|
|
2155
1909
|
def unload_codepoints(codepoints: Any,) -> None:
|
|
@@ -2249,9 +2003,7 @@ def update_music_stream(music: Music,) -> None:
|
|
|
2249
2003
|
"""Updates buffers for music streaming"""
|
|
2250
2004
|
...
|
|
2251
2005
|
def update_physics() -> None:
|
|
2252
|
-
"""
|
|
2253
|
-
|
|
2254
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2006
|
+
"""Update physics system"""
|
|
2255
2007
|
...
|
|
2256
2008
|
def update_sound(sound: Sound,data: Any,sampleCount: int,) -> None:
|
|
2257
2009
|
"""Update sound buffer with new data"""
|
|
@@ -2265,325 +2017,197 @@ def update_texture_rec(texture: Texture,rec: Rectangle,pixels: Any,) -> None:
|
|
|
2265
2017
|
def upload_mesh(mesh: Any,dynamic: bool,) -> None:
|
|
2266
2018
|
"""Upload mesh vertex data in GPU and provide VAO/VBO ids"""
|
|
2267
2019
|
...
|
|
2268
|
-
def vector2_add(
|
|
2269
|
-
"""
|
|
2270
|
-
|
|
2271
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2020
|
+
def vector2_add(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2021
|
+
""""""
|
|
2272
2022
|
...
|
|
2273
|
-
def vector2_add_value(
|
|
2274
|
-
"""
|
|
2275
|
-
|
|
2276
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2023
|
+
def vector2_add_value(v: Vector2,add: float,) -> Vector2:
|
|
2024
|
+
""""""
|
|
2277
2025
|
...
|
|
2278
|
-
def vector2_angle(
|
|
2279
|
-
"""
|
|
2280
|
-
|
|
2281
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2026
|
+
def vector2_angle(v1: Vector2,v2: Vector2,) -> float:
|
|
2027
|
+
""""""
|
|
2282
2028
|
...
|
|
2283
|
-
def vector2_clamp(
|
|
2284
|
-
"""
|
|
2285
|
-
|
|
2286
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2029
|
+
def vector2_clamp(v: Vector2,min_1: Vector2,max_2: Vector2,) -> Vector2:
|
|
2030
|
+
""""""
|
|
2287
2031
|
...
|
|
2288
|
-
def vector2_clamp_value(
|
|
2289
|
-
"""
|
|
2290
|
-
|
|
2291
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2032
|
+
def vector2_clamp_value(v: Vector2,min_1: float,max_2: float,) -> Vector2:
|
|
2033
|
+
""""""
|
|
2292
2034
|
...
|
|
2293
|
-
def vector_2distance(
|
|
2294
|
-
"""
|
|
2295
|
-
|
|
2296
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2035
|
+
def vector_2distance(v1: Vector2,v2: Vector2,) -> float:
|
|
2036
|
+
""""""
|
|
2297
2037
|
...
|
|
2298
|
-
def vector_2distance_sqr(
|
|
2299
|
-
"""
|
|
2300
|
-
|
|
2301
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2038
|
+
def vector_2distance_sqr(v1: Vector2,v2: Vector2,) -> float:
|
|
2039
|
+
""""""
|
|
2302
2040
|
...
|
|
2303
|
-
def vector_2divide(
|
|
2304
|
-
"""
|
|
2305
|
-
|
|
2306
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2041
|
+
def vector_2divide(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2042
|
+
""""""
|
|
2307
2043
|
...
|
|
2308
|
-
def vector_2dot_product(
|
|
2309
|
-
"""
|
|
2310
|
-
|
|
2311
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2044
|
+
def vector_2dot_product(v1: Vector2,v2: Vector2,) -> float:
|
|
2045
|
+
""""""
|
|
2312
2046
|
...
|
|
2313
|
-
def vector2_equals(
|
|
2314
|
-
"""
|
|
2315
|
-
|
|
2316
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2047
|
+
def vector2_equals(p: Vector2,q: Vector2,) -> int:
|
|
2048
|
+
""""""
|
|
2317
2049
|
...
|
|
2318
|
-
def vector2_invert(
|
|
2319
|
-
"""
|
|
2320
|
-
|
|
2321
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2050
|
+
def vector2_invert(v: Vector2,) -> Vector2:
|
|
2051
|
+
""""""
|
|
2322
2052
|
...
|
|
2323
|
-
def vector2_length(
|
|
2324
|
-
"""
|
|
2325
|
-
|
|
2326
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2053
|
+
def vector2_length(v: Vector2,) -> float:
|
|
2054
|
+
""""""
|
|
2327
2055
|
...
|
|
2328
|
-
def vector2_length_sqr(
|
|
2329
|
-
"""
|
|
2330
|
-
|
|
2331
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2056
|
+
def vector2_length_sqr(v: Vector2,) -> float:
|
|
2057
|
+
""""""
|
|
2332
2058
|
...
|
|
2333
|
-
def vector2_lerp(
|
|
2334
|
-
"""
|
|
2335
|
-
|
|
2336
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2059
|
+
def vector2_lerp(v1: Vector2,v2: Vector2,amount: float,) -> Vector2:
|
|
2060
|
+
""""""
|
|
2337
2061
|
...
|
|
2338
|
-
def vector2_line_angle(
|
|
2339
|
-
"""
|
|
2340
|
-
|
|
2341
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2062
|
+
def vector2_line_angle(start: Vector2,end: Vector2,) -> float:
|
|
2063
|
+
""""""
|
|
2342
2064
|
...
|
|
2343
|
-
def vector2_move_towards(
|
|
2344
|
-
"""
|
|
2345
|
-
|
|
2346
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2065
|
+
def vector2_move_towards(v: Vector2,target: Vector2,maxDistance: float,) -> Vector2:
|
|
2066
|
+
""""""
|
|
2347
2067
|
...
|
|
2348
|
-
def vector2_multiply(
|
|
2349
|
-
"""
|
|
2350
|
-
|
|
2351
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2068
|
+
def vector2_multiply(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2069
|
+
""""""
|
|
2352
2070
|
...
|
|
2353
|
-
def vector2_negate(
|
|
2354
|
-
"""
|
|
2355
|
-
|
|
2356
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2071
|
+
def vector2_negate(v: Vector2,) -> Vector2:
|
|
2072
|
+
""""""
|
|
2357
2073
|
...
|
|
2358
|
-
def vector2_normalize(
|
|
2359
|
-
"""
|
|
2360
|
-
|
|
2361
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2074
|
+
def vector2_normalize(v: Vector2,) -> Vector2:
|
|
2075
|
+
""""""
|
|
2362
2076
|
...
|
|
2363
2077
|
def vector2_one() -> Vector2:
|
|
2364
|
-
"""
|
|
2365
|
-
|
|
2366
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2078
|
+
""""""
|
|
2367
2079
|
...
|
|
2368
|
-
def vector2_reflect(
|
|
2369
|
-
"""
|
|
2370
|
-
|
|
2371
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2080
|
+
def vector2_reflect(v: Vector2,normal: Vector2,) -> Vector2:
|
|
2081
|
+
""""""
|
|
2372
2082
|
...
|
|
2373
|
-
def vector2_rotate(
|
|
2374
|
-
"""
|
|
2375
|
-
|
|
2376
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2083
|
+
def vector2_rotate(v: Vector2,angle: float,) -> Vector2:
|
|
2084
|
+
""""""
|
|
2377
2085
|
...
|
|
2378
|
-
def vector2_scale(
|
|
2379
|
-
"""
|
|
2380
|
-
|
|
2381
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2086
|
+
def vector2_scale(v: Vector2,scale: float,) -> Vector2:
|
|
2087
|
+
""""""
|
|
2382
2088
|
...
|
|
2383
|
-
def vector2_subtract(
|
|
2384
|
-
"""
|
|
2385
|
-
|
|
2386
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2089
|
+
def vector2_subtract(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2090
|
+
""""""
|
|
2387
2091
|
...
|
|
2388
|
-
def vector2_subtract_value(
|
|
2389
|
-
"""
|
|
2390
|
-
|
|
2391
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2092
|
+
def vector2_subtract_value(v: Vector2,sub: float,) -> Vector2:
|
|
2093
|
+
""""""
|
|
2392
2094
|
...
|
|
2393
|
-
def vector2_transform(
|
|
2394
|
-
"""
|
|
2395
|
-
|
|
2396
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2095
|
+
def vector2_transform(v: Vector2,mat: Matrix,) -> Vector2:
|
|
2096
|
+
""""""
|
|
2397
2097
|
...
|
|
2398
2098
|
def vector2_zero() -> Vector2:
|
|
2399
|
-
"""
|
|
2400
|
-
|
|
2401
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2099
|
+
""""""
|
|
2402
2100
|
...
|
|
2403
|
-
def vector3_add(
|
|
2404
|
-
"""
|
|
2405
|
-
|
|
2406
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2101
|
+
def vector3_add(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2102
|
+
""""""
|
|
2407
2103
|
...
|
|
2408
|
-
def vector3_add_value(
|
|
2409
|
-
"""
|
|
2410
|
-
|
|
2411
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2104
|
+
def vector3_add_value(v: Vector3,add: float,) -> Vector3:
|
|
2105
|
+
""""""
|
|
2412
2106
|
...
|
|
2413
|
-
def vector3_angle(
|
|
2414
|
-
"""
|
|
2415
|
-
|
|
2416
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2107
|
+
def vector3_angle(v1: Vector3,v2: Vector3,) -> float:
|
|
2108
|
+
""""""
|
|
2417
2109
|
...
|
|
2418
|
-
def vector3_barycenter(
|
|
2419
|
-
"""
|
|
2420
|
-
|
|
2421
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2110
|
+
def vector3_barycenter(p: Vector3,a: Vector3,b: Vector3,c: Vector3,) -> Vector3:
|
|
2111
|
+
""""""
|
|
2422
2112
|
...
|
|
2423
|
-
def vector3_clamp(
|
|
2424
|
-
"""
|
|
2425
|
-
|
|
2426
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2113
|
+
def vector3_clamp(v: Vector3,min_1: Vector3,max_2: Vector3,) -> Vector3:
|
|
2114
|
+
""""""
|
|
2427
2115
|
...
|
|
2428
|
-
def vector3_clamp_value(
|
|
2429
|
-
"""
|
|
2430
|
-
|
|
2431
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2116
|
+
def vector3_clamp_value(v: Vector3,min_1: float,max_2: float,) -> Vector3:
|
|
2117
|
+
""""""
|
|
2432
2118
|
...
|
|
2433
|
-
def vector3_cross_product(
|
|
2434
|
-
"""
|
|
2435
|
-
|
|
2436
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2119
|
+
def vector3_cross_product(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2120
|
+
""""""
|
|
2437
2121
|
...
|
|
2438
|
-
def vector_3distance(
|
|
2439
|
-
"""
|
|
2440
|
-
|
|
2441
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2122
|
+
def vector_3distance(v1: Vector3,v2: Vector3,) -> float:
|
|
2123
|
+
""""""
|
|
2442
2124
|
...
|
|
2443
|
-
def vector_3distance_sqr(
|
|
2444
|
-
"""
|
|
2445
|
-
|
|
2446
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2125
|
+
def vector_3distance_sqr(v1: Vector3,v2: Vector3,) -> float:
|
|
2126
|
+
""""""
|
|
2447
2127
|
...
|
|
2448
|
-
def vector_3divide(
|
|
2449
|
-
"""
|
|
2450
|
-
|
|
2451
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2128
|
+
def vector_3divide(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2129
|
+
""""""
|
|
2452
2130
|
...
|
|
2453
|
-
def vector_3dot_product(
|
|
2454
|
-
"""
|
|
2455
|
-
|
|
2456
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2131
|
+
def vector_3dot_product(v1: Vector3,v2: Vector3,) -> float:
|
|
2132
|
+
""""""
|
|
2457
2133
|
...
|
|
2458
|
-
def vector3_equals(
|
|
2459
|
-
"""
|
|
2460
|
-
|
|
2461
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2134
|
+
def vector3_equals(p: Vector3,q: Vector3,) -> int:
|
|
2135
|
+
""""""
|
|
2462
2136
|
...
|
|
2463
|
-
def vector3_invert(
|
|
2464
|
-
"""
|
|
2465
|
-
|
|
2466
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2137
|
+
def vector3_invert(v: Vector3,) -> Vector3:
|
|
2138
|
+
""""""
|
|
2467
2139
|
...
|
|
2468
|
-
def vector3_length(
|
|
2469
|
-
"""
|
|
2470
|
-
|
|
2471
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2140
|
+
def vector3_length(v: Vector3,) -> float:
|
|
2141
|
+
""""""
|
|
2472
2142
|
...
|
|
2473
|
-
def vector3_length_sqr(
|
|
2474
|
-
"""
|
|
2475
|
-
|
|
2476
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2143
|
+
def vector3_length_sqr(v: Vector3,) -> float:
|
|
2144
|
+
""""""
|
|
2477
2145
|
...
|
|
2478
|
-
def vector3_lerp(
|
|
2479
|
-
"""
|
|
2480
|
-
|
|
2481
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2146
|
+
def vector3_lerp(v1: Vector3,v2: Vector3,amount: float,) -> Vector3:
|
|
2147
|
+
""""""
|
|
2482
2148
|
...
|
|
2483
|
-
def vector3_max(
|
|
2484
|
-
"""
|
|
2485
|
-
|
|
2486
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2149
|
+
def vector3_max(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2150
|
+
""""""
|
|
2487
2151
|
...
|
|
2488
|
-
def vector3_min(
|
|
2489
|
-
"""
|
|
2490
|
-
|
|
2491
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2152
|
+
def vector3_min(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2153
|
+
""""""
|
|
2492
2154
|
...
|
|
2493
|
-
def vector3_multiply(
|
|
2494
|
-
"""
|
|
2495
|
-
|
|
2496
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2155
|
+
def vector3_multiply(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2156
|
+
""""""
|
|
2497
2157
|
...
|
|
2498
|
-
def vector3_negate(
|
|
2499
|
-
"""
|
|
2500
|
-
|
|
2501
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2158
|
+
def vector3_negate(v: Vector3,) -> Vector3:
|
|
2159
|
+
""""""
|
|
2502
2160
|
...
|
|
2503
|
-
def vector3_normalize(
|
|
2504
|
-
"""
|
|
2505
|
-
|
|
2506
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2161
|
+
def vector3_normalize(v: Vector3,) -> Vector3:
|
|
2162
|
+
""""""
|
|
2507
2163
|
...
|
|
2508
2164
|
def vector3_one() -> Vector3:
|
|
2509
|
-
"""
|
|
2510
|
-
|
|
2511
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2165
|
+
""""""
|
|
2512
2166
|
...
|
|
2513
|
-
def vector3_ortho_normalize(
|
|
2514
|
-
"""
|
|
2515
|
-
|
|
2516
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2167
|
+
def vector3_ortho_normalize(v1: Any,v2: Any,) -> None:
|
|
2168
|
+
""""""
|
|
2517
2169
|
...
|
|
2518
|
-
def vector3_perpendicular(
|
|
2519
|
-
"""
|
|
2520
|
-
|
|
2521
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2170
|
+
def vector3_perpendicular(v: Vector3,) -> Vector3:
|
|
2171
|
+
""""""
|
|
2522
2172
|
...
|
|
2523
|
-
def vector3_project(
|
|
2524
|
-
"""
|
|
2525
|
-
|
|
2526
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2173
|
+
def vector3_project(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2174
|
+
""""""
|
|
2527
2175
|
...
|
|
2528
|
-
def vector3_reflect(
|
|
2529
|
-
"""
|
|
2530
|
-
|
|
2531
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2176
|
+
def vector3_reflect(v: Vector3,normal: Vector3,) -> Vector3:
|
|
2177
|
+
""""""
|
|
2532
2178
|
...
|
|
2533
|
-
def vector3_refract(
|
|
2534
|
-
"""
|
|
2535
|
-
|
|
2536
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2179
|
+
def vector3_refract(v: Vector3,n: Vector3,r: float,) -> Vector3:
|
|
2180
|
+
""""""
|
|
2537
2181
|
...
|
|
2538
|
-
def vector3_reject(
|
|
2539
|
-
"""
|
|
2540
|
-
|
|
2541
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2182
|
+
def vector3_reject(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2183
|
+
""""""
|
|
2542
2184
|
...
|
|
2543
|
-
def vector3_rotate_by_axis_angle(
|
|
2544
|
-
"""
|
|
2545
|
-
|
|
2546
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2185
|
+
def vector3_rotate_by_axis_angle(v: Vector3,axis: Vector3,angle: float,) -> Vector3:
|
|
2186
|
+
""""""
|
|
2547
2187
|
...
|
|
2548
|
-
def vector3_rotate_by_quaternion(
|
|
2549
|
-
"""
|
|
2550
|
-
|
|
2551
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2188
|
+
def vector3_rotate_by_quaternion(v: Vector3,q: Vector4,) -> Vector3:
|
|
2189
|
+
""""""
|
|
2552
2190
|
...
|
|
2553
|
-
def vector3_scale(
|
|
2554
|
-
"""
|
|
2555
|
-
|
|
2556
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2191
|
+
def vector3_scale(v: Vector3,scalar: float,) -> Vector3:
|
|
2192
|
+
""""""
|
|
2557
2193
|
...
|
|
2558
|
-
def vector3_subtract(
|
|
2559
|
-
"""
|
|
2560
|
-
|
|
2561
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2194
|
+
def vector3_subtract(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2195
|
+
""""""
|
|
2562
2196
|
...
|
|
2563
|
-
def vector3_subtract_value(
|
|
2564
|
-
"""
|
|
2565
|
-
|
|
2566
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2197
|
+
def vector3_subtract_value(v: Vector3,sub: float,) -> Vector3:
|
|
2198
|
+
""""""
|
|
2567
2199
|
...
|
|
2568
|
-
def vector3_to_float_v(
|
|
2569
|
-
"""
|
|
2570
|
-
|
|
2571
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2200
|
+
def vector3_to_float_v(v: Vector3,) -> float3:
|
|
2201
|
+
""""""
|
|
2572
2202
|
...
|
|
2573
|
-
def vector3_transform(
|
|
2574
|
-
"""
|
|
2575
|
-
|
|
2576
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2203
|
+
def vector3_transform(v: Vector3,mat: Matrix,) -> Vector3:
|
|
2204
|
+
""""""
|
|
2577
2205
|
...
|
|
2578
|
-
def vector3_unproject(
|
|
2579
|
-
"""
|
|
2580
|
-
|
|
2581
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2206
|
+
def vector3_unproject(source: Vector3,projection: Matrix,view: Matrix,) -> Vector3:
|
|
2207
|
+
""""""
|
|
2582
2208
|
...
|
|
2583
2209
|
def vector3_zero() -> Vector3:
|
|
2584
|
-
"""
|
|
2585
|
-
|
|
2586
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2210
|
+
""""""
|
|
2587
2211
|
...
|
|
2588
2212
|
def wait_time(seconds: float,) -> None:
|
|
2589
2213
|
"""Wait for some time (halt program execution)"""
|
|
@@ -2600,745 +2224,806 @@ def wave_format(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> Non
|
|
|
2600
2224
|
def window_should_close() -> bool:
|
|
2601
2225
|
"""Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)"""
|
|
2602
2226
|
...
|
|
2603
|
-
def wrap(
|
|
2604
|
-
"""
|
|
2605
|
-
|
|
2606
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2227
|
+
def wrap(value: float,min_1: float,max_2: float,) -> float:
|
|
2228
|
+
""""""
|
|
2607
2229
|
...
|
|
2608
|
-
def
|
|
2609
|
-
"""
|
|
2610
|
-
|
|
2611
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2230
|
+
def glfw_create_cursor(image: Any,xhot: int,yhot: int,) -> Any:
|
|
2231
|
+
""""""
|
|
2612
2232
|
...
|
|
2613
|
-
def
|
|
2614
|
-
"""
|
|
2615
|
-
|
|
2616
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2233
|
+
def glfw_create_standard_cursor(shape: int,) -> Any:
|
|
2234
|
+
""""""
|
|
2617
2235
|
...
|
|
2618
|
-
def
|
|
2619
|
-
"""
|
|
2620
|
-
|
|
2621
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2236
|
+
def glfw_create_window(width: int,height: int,title: str,monitor: Any,share: Any,) -> Any:
|
|
2237
|
+
""""""
|
|
2622
2238
|
...
|
|
2623
|
-
def
|
|
2624
|
-
"""
|
|
2625
|
-
|
|
2626
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2239
|
+
def glfw_default_window_hints() -> None:
|
|
2240
|
+
""""""
|
|
2627
2241
|
...
|
|
2628
|
-
def
|
|
2629
|
-
"""
|
|
2630
|
-
|
|
2631
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2242
|
+
def glfw_destroy_cursor(cursor: Any,) -> None:
|
|
2243
|
+
""""""
|
|
2632
2244
|
...
|
|
2633
|
-
def
|
|
2634
|
-
"""
|
|
2635
|
-
|
|
2636
|
-
|
|
2245
|
+
def glfw_destroy_window(window: Any,) -> None:
|
|
2246
|
+
""""""
|
|
2247
|
+
...
|
|
2248
|
+
def glfw_extension_supported(extension: str,) -> int:
|
|
2249
|
+
""""""
|
|
2250
|
+
...
|
|
2251
|
+
def glfw_focus_window(window: Any,) -> None:
|
|
2252
|
+
""""""
|
|
2253
|
+
...
|
|
2254
|
+
def glfw_get_clipboard_string(window: Any,) -> str:
|
|
2255
|
+
""""""
|
|
2256
|
+
...
|
|
2257
|
+
def glfw_get_current_context() -> Any:
|
|
2258
|
+
""""""
|
|
2259
|
+
...
|
|
2260
|
+
def glfw_get_cursor_pos(window: Any,xpos: Any,ypos: Any,) -> None:
|
|
2261
|
+
""""""
|
|
2262
|
+
...
|
|
2263
|
+
def glfw_get_error(description: list[str],) -> int:
|
|
2264
|
+
""""""
|
|
2265
|
+
...
|
|
2266
|
+
def glfw_get_framebuffer_size(window: Any,width: Any,height: Any,) -> None:
|
|
2267
|
+
""""""
|
|
2268
|
+
...
|
|
2269
|
+
def glfw_get_gamepad_name(jid: int,) -> str:
|
|
2270
|
+
""""""
|
|
2271
|
+
...
|
|
2272
|
+
def glfw_get_gamepad_state(jid: int,state: Any,) -> int:
|
|
2273
|
+
""""""
|
|
2274
|
+
...
|
|
2275
|
+
def glfw_get_gamma_ramp(monitor: Any,) -> Any:
|
|
2276
|
+
""""""
|
|
2277
|
+
...
|
|
2278
|
+
def glfw_get_input_mode(window: Any,mode: int,) -> int:
|
|
2279
|
+
""""""
|
|
2280
|
+
...
|
|
2281
|
+
def glfw_get_joystick_axes(jid: int,count: Any,) -> Any:
|
|
2282
|
+
""""""
|
|
2283
|
+
...
|
|
2284
|
+
def glfw_get_joystick_buttons(jid: int,count: Any,) -> str:
|
|
2285
|
+
""""""
|
|
2286
|
+
...
|
|
2287
|
+
def glfw_get_joystick_guid(jid: int,) -> str:
|
|
2288
|
+
""""""
|
|
2289
|
+
...
|
|
2290
|
+
def glfw_get_joystick_hats(jid: int,count: Any,) -> str:
|
|
2291
|
+
""""""
|
|
2292
|
+
...
|
|
2293
|
+
def glfw_get_joystick_name(jid: int,) -> str:
|
|
2294
|
+
""""""
|
|
2295
|
+
...
|
|
2296
|
+
def glfw_get_joystick_user_pointer(jid: int,) -> Any:
|
|
2297
|
+
""""""
|
|
2298
|
+
...
|
|
2299
|
+
def glfw_get_key(window: Any,key: int,) -> int:
|
|
2300
|
+
""""""
|
|
2301
|
+
...
|
|
2302
|
+
def glfw_get_key_name(key: int,scancode: int,) -> str:
|
|
2303
|
+
""""""
|
|
2304
|
+
...
|
|
2305
|
+
def glfw_get_key_scancode(key: int,) -> int:
|
|
2306
|
+
""""""
|
|
2307
|
+
...
|
|
2308
|
+
def glfw_get_monitor_content_scale(monitor: Any,xscale: Any,yscale: Any,) -> None:
|
|
2309
|
+
""""""
|
|
2310
|
+
...
|
|
2311
|
+
def glfw_get_monitor_name(monitor: Any,) -> str:
|
|
2312
|
+
""""""
|
|
2313
|
+
...
|
|
2314
|
+
def glfw_get_monitor_physical_size(monitor: Any,widthMM: Any,heightMM: Any,) -> None:
|
|
2315
|
+
""""""
|
|
2316
|
+
...
|
|
2317
|
+
def glfw_get_monitor_pos(monitor: Any,xpos: Any,ypos: Any,) -> None:
|
|
2318
|
+
""""""
|
|
2319
|
+
...
|
|
2320
|
+
def glfw_get_monitor_user_pointer(monitor: Any,) -> Any:
|
|
2321
|
+
""""""
|
|
2322
|
+
...
|
|
2323
|
+
def glfw_get_monitor_workarea(monitor: Any,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
|
|
2324
|
+
""""""
|
|
2325
|
+
...
|
|
2326
|
+
def glfw_get_monitors(count: Any,) -> Any:
|
|
2327
|
+
""""""
|
|
2328
|
+
...
|
|
2329
|
+
def glfw_get_mouse_button(window: Any,button: int,) -> int:
|
|
2330
|
+
""""""
|
|
2331
|
+
...
|
|
2332
|
+
def glfw_get_platform() -> int:
|
|
2333
|
+
""""""
|
|
2334
|
+
...
|
|
2335
|
+
def glfw_get_primary_monitor() -> Any:
|
|
2336
|
+
""""""
|
|
2337
|
+
...
|
|
2338
|
+
def glfw_get_proc_address(procname: str,) -> Any:
|
|
2339
|
+
""""""
|
|
2340
|
+
...
|
|
2341
|
+
def glfw_get_required_instance_extensions(count: Any,) -> list[str]:
|
|
2342
|
+
""""""
|
|
2343
|
+
...
|
|
2344
|
+
def glfw_get_time() -> float:
|
|
2345
|
+
""""""
|
|
2346
|
+
...
|
|
2347
|
+
def glfw_get_timer_frequency() -> uint64_t:
|
|
2348
|
+
""""""
|
|
2349
|
+
...
|
|
2350
|
+
def glfw_get_timer_value() -> uint64_t:
|
|
2351
|
+
""""""
|
|
2352
|
+
...
|
|
2353
|
+
def glfw_get_version(major: Any,minor: Any,rev: Any,) -> None:
|
|
2354
|
+
""""""
|
|
2355
|
+
...
|
|
2356
|
+
def glfw_get_version_string() -> str:
|
|
2357
|
+
""""""
|
|
2358
|
+
...
|
|
2359
|
+
def glfw_get_video_mode(monitor: Any,) -> Any:
|
|
2360
|
+
""""""
|
|
2361
|
+
...
|
|
2362
|
+
def glfw_get_video_modes(monitor: Any,count: Any,) -> Any:
|
|
2363
|
+
""""""
|
|
2364
|
+
...
|
|
2365
|
+
def glfw_get_window_attrib(window: Any,attrib: int,) -> int:
|
|
2366
|
+
""""""
|
|
2367
|
+
...
|
|
2368
|
+
def glfw_get_window_content_scale(window: Any,xscale: Any,yscale: Any,) -> None:
|
|
2369
|
+
""""""
|
|
2370
|
+
...
|
|
2371
|
+
def glfw_get_window_frame_size(window: Any,left: Any,top: Any,right: Any,bottom: Any,) -> None:
|
|
2372
|
+
""""""
|
|
2373
|
+
...
|
|
2374
|
+
def glfw_get_window_monitor(window: Any,) -> Any:
|
|
2375
|
+
""""""
|
|
2376
|
+
...
|
|
2377
|
+
def glfw_get_window_opacity(window: Any,) -> float:
|
|
2378
|
+
""""""
|
|
2379
|
+
...
|
|
2380
|
+
def glfw_get_window_pos(window: Any,xpos: Any,ypos: Any,) -> None:
|
|
2381
|
+
""""""
|
|
2382
|
+
...
|
|
2383
|
+
def glfw_get_window_size(window: Any,width: Any,height: Any,) -> None:
|
|
2384
|
+
""""""
|
|
2385
|
+
...
|
|
2386
|
+
def glfw_get_window_user_pointer(window: Any,) -> Any:
|
|
2387
|
+
""""""
|
|
2388
|
+
...
|
|
2389
|
+
def glfw_hide_window(window: Any,) -> None:
|
|
2390
|
+
""""""
|
|
2391
|
+
...
|
|
2392
|
+
def glfw_iconify_window(window: Any,) -> None:
|
|
2393
|
+
""""""
|
|
2394
|
+
...
|
|
2395
|
+
def glfw_init() -> int:
|
|
2396
|
+
""""""
|
|
2397
|
+
...
|
|
2398
|
+
def glfw_init_allocator(allocator: Any,) -> None:
|
|
2399
|
+
""""""
|
|
2400
|
+
...
|
|
2401
|
+
def glfw_init_hint(hint: int,value: int,) -> None:
|
|
2402
|
+
""""""
|
|
2403
|
+
...
|
|
2404
|
+
def glfw_joystick_is_gamepad(jid: int,) -> int:
|
|
2405
|
+
""""""
|
|
2406
|
+
...
|
|
2407
|
+
def glfw_joystick_present(jid: int,) -> int:
|
|
2408
|
+
""""""
|
|
2409
|
+
...
|
|
2410
|
+
def glfw_make_context_current(window: Any,) -> None:
|
|
2411
|
+
""""""
|
|
2412
|
+
...
|
|
2413
|
+
def glfw_maximize_window(window: Any,) -> None:
|
|
2414
|
+
""""""
|
|
2415
|
+
...
|
|
2416
|
+
def glfw_platform_supported(platform: int,) -> int:
|
|
2417
|
+
""""""
|
|
2418
|
+
...
|
|
2419
|
+
def glfw_poll_events() -> None:
|
|
2420
|
+
""""""
|
|
2421
|
+
...
|
|
2422
|
+
def glfw_post_empty_event() -> None:
|
|
2423
|
+
""""""
|
|
2424
|
+
...
|
|
2425
|
+
def glfw_raw_mouse_motion_supported() -> int:
|
|
2426
|
+
""""""
|
|
2427
|
+
...
|
|
2428
|
+
def glfw_request_window_attention(window: Any,) -> None:
|
|
2429
|
+
""""""
|
|
2430
|
+
...
|
|
2431
|
+
def glfw_restore_window(window: Any,) -> None:
|
|
2432
|
+
""""""
|
|
2433
|
+
...
|
|
2434
|
+
def glfw_set_char_callback(window: Any,callback: Any,) -> Any:
|
|
2435
|
+
""""""
|
|
2436
|
+
...
|
|
2437
|
+
def glfw_set_char_mods_callback(window: Any,callback: Any,) -> Any:
|
|
2438
|
+
""""""
|
|
2439
|
+
...
|
|
2440
|
+
def glfw_set_clipboard_string(window: Any,string: str,) -> None:
|
|
2441
|
+
""""""
|
|
2442
|
+
...
|
|
2443
|
+
def glfw_set_cursor(window: Any,cursor: Any,) -> None:
|
|
2444
|
+
""""""
|
|
2445
|
+
...
|
|
2446
|
+
def glfw_set_cursor_enter_callback(window: Any,callback: Any,) -> Any:
|
|
2447
|
+
""""""
|
|
2448
|
+
...
|
|
2449
|
+
def glfw_set_cursor_pos(window: Any,xpos: float,ypos: float,) -> None:
|
|
2450
|
+
""""""
|
|
2451
|
+
...
|
|
2452
|
+
def glfw_set_cursor_pos_callback(window: Any,callback: Any,) -> Any:
|
|
2453
|
+
""""""
|
|
2454
|
+
...
|
|
2455
|
+
def glfw_set_drop_callback(window: Any,callback: list[str],) -> list[str]:
|
|
2456
|
+
""""""
|
|
2457
|
+
...
|
|
2458
|
+
def glfw_set_error_callback(callback: str,) -> str:
|
|
2459
|
+
""""""
|
|
2460
|
+
...
|
|
2461
|
+
def glfw_set_framebuffer_size_callback(window: Any,callback: Any,) -> Any:
|
|
2462
|
+
""""""
|
|
2463
|
+
...
|
|
2464
|
+
def glfw_set_gamma(monitor: Any,gamma: float,) -> None:
|
|
2465
|
+
""""""
|
|
2466
|
+
...
|
|
2467
|
+
def glfw_set_gamma_ramp(monitor: Any,ramp: Any,) -> None:
|
|
2468
|
+
""""""
|
|
2469
|
+
...
|
|
2470
|
+
def glfw_set_input_mode(window: Any,mode: int,value: int,) -> None:
|
|
2471
|
+
""""""
|
|
2472
|
+
...
|
|
2473
|
+
def glfw_set_joystick_callback(callback: Any,) -> Any:
|
|
2474
|
+
""""""
|
|
2475
|
+
...
|
|
2476
|
+
def glfw_set_joystick_user_pointer(jid: int,pointer: Any,) -> None:
|
|
2477
|
+
""""""
|
|
2478
|
+
...
|
|
2479
|
+
def glfw_set_key_callback(window: Any,callback: Any,) -> Any:
|
|
2480
|
+
""""""
|
|
2481
|
+
...
|
|
2482
|
+
def glfw_set_monitor_callback(callback: Any,) -> Any:
|
|
2483
|
+
""""""
|
|
2484
|
+
...
|
|
2485
|
+
def glfw_set_monitor_user_pointer(monitor: Any,pointer: Any,) -> None:
|
|
2486
|
+
""""""
|
|
2487
|
+
...
|
|
2488
|
+
def glfw_set_mouse_button_callback(window: Any,callback: Any,) -> Any:
|
|
2489
|
+
""""""
|
|
2490
|
+
...
|
|
2491
|
+
def glfw_set_scroll_callback(window: Any,callback: Any,) -> Any:
|
|
2492
|
+
""""""
|
|
2493
|
+
...
|
|
2494
|
+
def glfw_set_time(time: float,) -> None:
|
|
2495
|
+
""""""
|
|
2496
|
+
...
|
|
2497
|
+
def glfw_set_window_aspect_ratio(window: Any,numer: int,denom: int,) -> None:
|
|
2498
|
+
""""""
|
|
2499
|
+
...
|
|
2500
|
+
def glfw_set_window_attrib(window: Any,attrib: int,value: int,) -> None:
|
|
2501
|
+
""""""
|
|
2502
|
+
...
|
|
2503
|
+
def glfw_set_window_close_callback(window: Any,callback: Any,) -> Any:
|
|
2504
|
+
""""""
|
|
2505
|
+
...
|
|
2506
|
+
def glfw_set_window_content_scale_callback(window: Any,callback: Any,) -> Any:
|
|
2507
|
+
""""""
|
|
2508
|
+
...
|
|
2509
|
+
def glfw_set_window_focus_callback(window: Any,callback: Any,) -> Any:
|
|
2510
|
+
""""""
|
|
2511
|
+
...
|
|
2512
|
+
def glfw_set_window_icon(window: Any,count: int,images: Any,) -> None:
|
|
2513
|
+
""""""
|
|
2514
|
+
...
|
|
2515
|
+
def glfw_set_window_iconify_callback(window: Any,callback: Any,) -> Any:
|
|
2516
|
+
""""""
|
|
2517
|
+
...
|
|
2518
|
+
def glfw_set_window_maximize_callback(window: Any,callback: Any,) -> Any:
|
|
2519
|
+
""""""
|
|
2520
|
+
...
|
|
2521
|
+
def glfw_set_window_monitor(window: Any,monitor: Any,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
|
|
2522
|
+
""""""
|
|
2523
|
+
...
|
|
2524
|
+
def glfw_set_window_opacity(window: Any,opacity: float,) -> None:
|
|
2525
|
+
""""""
|
|
2526
|
+
...
|
|
2527
|
+
def glfw_set_window_pos(window: Any,xpos: int,ypos: int,) -> None:
|
|
2528
|
+
""""""
|
|
2529
|
+
...
|
|
2530
|
+
def glfw_set_window_pos_callback(window: Any,callback: Any,) -> Any:
|
|
2531
|
+
""""""
|
|
2532
|
+
...
|
|
2533
|
+
def glfw_set_window_refresh_callback(window: Any,callback: Any,) -> Any:
|
|
2534
|
+
""""""
|
|
2535
|
+
...
|
|
2536
|
+
def glfw_set_window_should_close(window: Any,value: int,) -> None:
|
|
2537
|
+
""""""
|
|
2538
|
+
...
|
|
2539
|
+
def glfw_set_window_size(window: Any,width: int,height: int,) -> None:
|
|
2540
|
+
""""""
|
|
2541
|
+
...
|
|
2542
|
+
def glfw_set_window_size_callback(window: Any,callback: Any,) -> Any:
|
|
2543
|
+
""""""
|
|
2544
|
+
...
|
|
2545
|
+
def glfw_set_window_size_limits(window: Any,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
|
|
2546
|
+
""""""
|
|
2547
|
+
...
|
|
2548
|
+
def glfw_set_window_title(window: Any,title: str,) -> None:
|
|
2549
|
+
""""""
|
|
2550
|
+
...
|
|
2551
|
+
def glfw_set_window_user_pointer(window: Any,pointer: Any,) -> None:
|
|
2552
|
+
""""""
|
|
2553
|
+
...
|
|
2554
|
+
def glfw_show_window(window: Any,) -> None:
|
|
2555
|
+
""""""
|
|
2556
|
+
...
|
|
2557
|
+
def glfw_swap_buffers(window: Any,) -> None:
|
|
2558
|
+
""""""
|
|
2559
|
+
...
|
|
2560
|
+
def glfw_swap_interval(interval: int,) -> None:
|
|
2561
|
+
""""""
|
|
2562
|
+
...
|
|
2563
|
+
def glfw_terminate() -> None:
|
|
2564
|
+
""""""
|
|
2565
|
+
...
|
|
2566
|
+
def glfw_update_gamepad_mappings(string: str,) -> int:
|
|
2567
|
+
""""""
|
|
2568
|
+
...
|
|
2569
|
+
def glfw_vulkan_supported() -> int:
|
|
2570
|
+
""""""
|
|
2571
|
+
...
|
|
2572
|
+
def glfw_wait_events() -> None:
|
|
2573
|
+
""""""
|
|
2574
|
+
...
|
|
2575
|
+
def glfw_wait_events_timeout(timeout: float,) -> None:
|
|
2576
|
+
""""""
|
|
2577
|
+
...
|
|
2578
|
+
def glfw_window_hint(hint: int,value: int,) -> None:
|
|
2579
|
+
""""""
|
|
2580
|
+
...
|
|
2581
|
+
def glfw_window_hint_string(hint: int,value: str,) -> None:
|
|
2582
|
+
""""""
|
|
2583
|
+
...
|
|
2584
|
+
def glfw_window_should_close(window: Any,) -> int:
|
|
2585
|
+
""""""
|
|
2586
|
+
...
|
|
2587
|
+
def rl_active_draw_buffers(count: int,) -> None:
|
|
2588
|
+
"""Activate multiple draw color buffers"""
|
|
2589
|
+
...
|
|
2590
|
+
def rl_active_texture_slot(slot: int,) -> None:
|
|
2591
|
+
"""Select and active a texture slot"""
|
|
2592
|
+
...
|
|
2593
|
+
def rl_begin(mode: int,) -> None:
|
|
2594
|
+
"""Initialize drawing mode (how to organize vertex)"""
|
|
2595
|
+
...
|
|
2596
|
+
def rl_bind_image_texture(id: int,index: int,format: int,readonly: bool,) -> None:
|
|
2597
|
+
"""Bind image texture"""
|
|
2598
|
+
...
|
|
2599
|
+
def rl_bind_shader_buffer(id: int,index: int,) -> None:
|
|
2600
|
+
"""Bind SSBO buffer"""
|
|
2601
|
+
...
|
|
2602
|
+
def rl_blit_framebuffer(srcX: int,srcY: int,srcWidth: int,srcHeight: int,dstX: int,dstY: int,dstWidth: int,dstHeight: int,bufferMask: int,) -> None:
|
|
2603
|
+
"""Blit active framebuffer to main framebuffer"""
|
|
2637
2604
|
...
|
|
2638
2605
|
def rl_check_errors() -> None:
|
|
2639
|
-
"""
|
|
2640
|
-
|
|
2641
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2606
|
+
"""Check and log OpenGL error codes"""
|
|
2642
2607
|
...
|
|
2643
|
-
def rl_check_render_batch_limit(
|
|
2644
|
-
"""
|
|
2645
|
-
|
|
2646
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2608
|
+
def rl_check_render_batch_limit(vCount: int,) -> bool:
|
|
2609
|
+
"""Check internal buffer overflow for a given number of vertex"""
|
|
2647
2610
|
...
|
|
2648
|
-
def rl_clear_color(
|
|
2649
|
-
"""
|
|
2650
|
-
|
|
2651
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2611
|
+
def rl_clear_color(r: str,g: str,b: str,a: str,) -> None:
|
|
2612
|
+
"""Clear color buffer with color"""
|
|
2652
2613
|
...
|
|
2653
2614
|
def rl_clear_screen_buffers() -> None:
|
|
2654
|
-
"""
|
|
2655
|
-
|
|
2656
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2615
|
+
"""Clear used screen buffers (color and depth)"""
|
|
2657
2616
|
...
|
|
2658
|
-
def rl_color3f(
|
|
2659
|
-
"""
|
|
2660
|
-
|
|
2661
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2617
|
+
def rl_color3f(x: float,y: float,z: float,) -> None:
|
|
2618
|
+
"""Define one vertex (color) - 3 float"""
|
|
2662
2619
|
...
|
|
2663
|
-
def rl_color4f(
|
|
2664
|
-
"""
|
|
2665
|
-
|
|
2666
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2620
|
+
def rl_color4f(x: float,y: float,z: float,w: float,) -> None:
|
|
2621
|
+
"""Define one vertex (color) - 4 float"""
|
|
2667
2622
|
...
|
|
2668
|
-
def rl_color4ub(
|
|
2669
|
-
"""
|
|
2670
|
-
|
|
2671
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2623
|
+
def rl_color4ub(r: str,g: str,b: str,a: str,) -> None:
|
|
2624
|
+
"""Define one vertex (color) - 4 byte"""
|
|
2672
2625
|
...
|
|
2673
|
-
def rl_compile_shader(
|
|
2674
|
-
"""
|
|
2675
|
-
|
|
2676
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2626
|
+
def rl_compile_shader(shaderCode: str,type: int,) -> int:
|
|
2627
|
+
"""Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)"""
|
|
2677
2628
|
...
|
|
2678
|
-
def rl_compute_shader_dispatch(
|
|
2679
|
-
"""
|
|
2680
|
-
|
|
2681
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2629
|
+
def rl_compute_shader_dispatch(groupX: int,groupY: int,groupZ: int,) -> None:
|
|
2630
|
+
"""Dispatch compute shader (equivalent to *draw* for graphics pipeline)"""
|
|
2682
2631
|
...
|
|
2683
|
-
def rl_copy_shader_buffer(
|
|
2684
|
-
"""
|
|
2685
|
-
|
|
2686
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2632
|
+
def rl_copy_shader_buffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None:
|
|
2633
|
+
"""Copy SSBO data between buffers"""
|
|
2687
2634
|
...
|
|
2688
|
-
def rl_cubemap_parameters(
|
|
2689
|
-
"""
|
|
2690
|
-
|
|
2691
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2635
|
+
def rl_cubemap_parameters(id: int,param: int,value: int,) -> None:
|
|
2636
|
+
"""Set cubemap parameters (filter, wrap)"""
|
|
2692
2637
|
...
|
|
2693
2638
|
def rl_disable_backface_culling() -> None:
|
|
2694
|
-
"""
|
|
2695
|
-
|
|
2696
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2639
|
+
"""Disable backface culling"""
|
|
2697
2640
|
...
|
|
2698
2641
|
def rl_disable_color_blend() -> None:
|
|
2699
|
-
"""
|
|
2700
|
-
|
|
2701
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2642
|
+
"""Disable color blending"""
|
|
2702
2643
|
...
|
|
2703
2644
|
def rl_disable_depth_mask() -> None:
|
|
2704
|
-
"""
|
|
2705
|
-
|
|
2706
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2645
|
+
"""Disable depth write"""
|
|
2707
2646
|
...
|
|
2708
2647
|
def rl_disable_depth_test() -> None:
|
|
2709
|
-
"""
|
|
2710
|
-
|
|
2711
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2648
|
+
"""Disable depth test"""
|
|
2712
2649
|
...
|
|
2713
2650
|
def rl_disable_framebuffer() -> None:
|
|
2714
|
-
"""
|
|
2715
|
-
|
|
2716
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2651
|
+
"""Disable render texture (fbo), return to default framebuffer"""
|
|
2717
2652
|
...
|
|
2718
2653
|
def rl_disable_scissor_test() -> None:
|
|
2719
|
-
"""
|
|
2720
|
-
|
|
2721
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2654
|
+
"""Disable scissor test"""
|
|
2722
2655
|
...
|
|
2723
2656
|
def rl_disable_shader() -> None:
|
|
2724
|
-
"""
|
|
2725
|
-
|
|
2726
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2657
|
+
"""Disable shader program"""
|
|
2727
2658
|
...
|
|
2728
2659
|
def rl_disable_smooth_lines() -> None:
|
|
2729
|
-
"""
|
|
2730
|
-
|
|
2731
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2660
|
+
"""Disable line aliasing"""
|
|
2732
2661
|
...
|
|
2733
2662
|
def rl_disable_stereo_render() -> None:
|
|
2734
|
-
"""
|
|
2735
|
-
|
|
2736
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2663
|
+
"""Disable stereo rendering"""
|
|
2737
2664
|
...
|
|
2738
2665
|
def rl_disable_texture() -> None:
|
|
2739
|
-
"""
|
|
2740
|
-
|
|
2741
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2666
|
+
"""Disable texture"""
|
|
2742
2667
|
...
|
|
2743
2668
|
def rl_disable_texture_cubemap() -> None:
|
|
2744
|
-
"""
|
|
2745
|
-
|
|
2746
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2669
|
+
"""Disable texture cubemap"""
|
|
2747
2670
|
...
|
|
2748
2671
|
def rl_disable_vertex_array() -> None:
|
|
2749
|
-
"""
|
|
2750
|
-
|
|
2751
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2672
|
+
"""Disable vertex array (VAO, if supported)"""
|
|
2752
2673
|
...
|
|
2753
|
-
def rl_disable_vertex_attribute(
|
|
2754
|
-
"""
|
|
2755
|
-
|
|
2756
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2674
|
+
def rl_disable_vertex_attribute(index: int,) -> None:
|
|
2675
|
+
"""Disable vertex attribute index"""
|
|
2757
2676
|
...
|
|
2758
2677
|
def rl_disable_vertex_buffer() -> None:
|
|
2759
|
-
"""
|
|
2760
|
-
|
|
2761
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2678
|
+
"""Disable vertex buffer (VBO)"""
|
|
2762
2679
|
...
|
|
2763
2680
|
def rl_disable_vertex_buffer_element() -> None:
|
|
2764
|
-
"""
|
|
2765
|
-
|
|
2766
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2681
|
+
"""Disable vertex buffer element (VBO element)"""
|
|
2767
2682
|
...
|
|
2768
2683
|
def rl_disable_wire_mode() -> None:
|
|
2769
|
-
"""
|
|
2770
|
-
|
|
2771
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2684
|
+
"""Disable wire mode ( and point ) maybe rename"""
|
|
2772
2685
|
...
|
|
2773
|
-
def rl_draw_render_batch(
|
|
2774
|
-
"""
|
|
2775
|
-
|
|
2776
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2686
|
+
def rl_draw_render_batch(batch: Any,) -> None:
|
|
2687
|
+
"""Draw render batch data (Update->Draw->Reset)"""
|
|
2777
2688
|
...
|
|
2778
2689
|
def rl_draw_render_batch_active() -> None:
|
|
2779
|
-
"""
|
|
2780
|
-
|
|
2781
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2690
|
+
"""Update and draw internal render batch"""
|
|
2782
2691
|
...
|
|
2783
|
-
def rl_draw_vertex_array(
|
|
2784
|
-
"""
|
|
2785
|
-
|
|
2786
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2692
|
+
def rl_draw_vertex_array(offset: int,count: int,) -> None:
|
|
2693
|
+
""""""
|
|
2787
2694
|
...
|
|
2788
|
-
def rl_draw_vertex_array_elements(
|
|
2789
|
-
"""
|
|
2790
|
-
|
|
2791
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2695
|
+
def rl_draw_vertex_array_elements(offset: int,count: int,buffer: Any,) -> None:
|
|
2696
|
+
""""""
|
|
2792
2697
|
...
|
|
2793
|
-
def rl_draw_vertex_array_elements_instanced(
|
|
2794
|
-
"""
|
|
2795
|
-
|
|
2796
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2698
|
+
def rl_draw_vertex_array_elements_instanced(offset: int,count: int,buffer: Any,instances: int,) -> None:
|
|
2699
|
+
""""""
|
|
2797
2700
|
...
|
|
2798
|
-
def rl_draw_vertex_array_instanced(
|
|
2799
|
-
"""
|
|
2800
|
-
|
|
2801
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2701
|
+
def rl_draw_vertex_array_instanced(offset: int,count: int,instances: int,) -> None:
|
|
2702
|
+
""""""
|
|
2802
2703
|
...
|
|
2803
2704
|
def rl_enable_backface_culling() -> None:
|
|
2804
|
-
"""
|
|
2805
|
-
|
|
2806
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2705
|
+
"""Enable backface culling"""
|
|
2807
2706
|
...
|
|
2808
2707
|
def rl_enable_color_blend() -> None:
|
|
2809
|
-
"""
|
|
2810
|
-
|
|
2811
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2708
|
+
"""Enable color blending"""
|
|
2812
2709
|
...
|
|
2813
2710
|
def rl_enable_depth_mask() -> None:
|
|
2814
|
-
"""
|
|
2815
|
-
|
|
2816
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2711
|
+
"""Enable depth write"""
|
|
2817
2712
|
...
|
|
2818
2713
|
def rl_enable_depth_test() -> None:
|
|
2819
|
-
"""
|
|
2820
|
-
|
|
2821
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2714
|
+
"""Enable depth test"""
|
|
2822
2715
|
...
|
|
2823
|
-
def rl_enable_framebuffer(
|
|
2824
|
-
"""
|
|
2825
|
-
|
|
2826
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2716
|
+
def rl_enable_framebuffer(id: int,) -> None:
|
|
2717
|
+
"""Enable render texture (fbo)"""
|
|
2827
2718
|
...
|
|
2828
2719
|
def rl_enable_point_mode() -> None:
|
|
2829
|
-
"""
|
|
2830
|
-
|
|
2831
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2720
|
+
"""Enable point mode"""
|
|
2832
2721
|
...
|
|
2833
2722
|
def rl_enable_scissor_test() -> None:
|
|
2834
|
-
"""
|
|
2835
|
-
|
|
2836
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2723
|
+
"""Enable scissor test"""
|
|
2837
2724
|
...
|
|
2838
|
-
def rl_enable_shader(
|
|
2839
|
-
"""
|
|
2840
|
-
|
|
2841
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2725
|
+
def rl_enable_shader(id: int,) -> None:
|
|
2726
|
+
"""Enable shader program"""
|
|
2842
2727
|
...
|
|
2843
2728
|
def rl_enable_smooth_lines() -> None:
|
|
2844
|
-
"""
|
|
2845
|
-
|
|
2846
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2729
|
+
"""Enable line aliasing"""
|
|
2847
2730
|
...
|
|
2848
2731
|
def rl_enable_stereo_render() -> None:
|
|
2849
|
-
"""
|
|
2850
|
-
|
|
2851
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2732
|
+
"""Enable stereo rendering"""
|
|
2852
2733
|
...
|
|
2853
|
-
def rl_enable_texture(
|
|
2854
|
-
"""
|
|
2855
|
-
|
|
2856
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2734
|
+
def rl_enable_texture(id: int,) -> None:
|
|
2735
|
+
"""Enable texture"""
|
|
2857
2736
|
...
|
|
2858
|
-
def rl_enable_texture_cubemap(
|
|
2859
|
-
"""
|
|
2860
|
-
|
|
2861
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2737
|
+
def rl_enable_texture_cubemap(id: int,) -> None:
|
|
2738
|
+
"""Enable texture cubemap"""
|
|
2862
2739
|
...
|
|
2863
|
-
def rl_enable_vertex_array(
|
|
2864
|
-
"""
|
|
2865
|
-
|
|
2866
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2740
|
+
def rl_enable_vertex_array(vaoId: int,) -> bool:
|
|
2741
|
+
"""Enable vertex array (VAO, if supported)"""
|
|
2867
2742
|
...
|
|
2868
|
-
def rl_enable_vertex_attribute(
|
|
2869
|
-
"""
|
|
2870
|
-
|
|
2871
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2743
|
+
def rl_enable_vertex_attribute(index: int,) -> None:
|
|
2744
|
+
"""Enable vertex attribute index"""
|
|
2872
2745
|
...
|
|
2873
|
-
def rl_enable_vertex_buffer(
|
|
2874
|
-
"""
|
|
2875
|
-
|
|
2876
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2746
|
+
def rl_enable_vertex_buffer(id: int,) -> None:
|
|
2747
|
+
"""Enable vertex buffer (VBO)"""
|
|
2877
2748
|
...
|
|
2878
|
-
def rl_enable_vertex_buffer_element(
|
|
2879
|
-
"""
|
|
2880
|
-
|
|
2881
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2749
|
+
def rl_enable_vertex_buffer_element(id: int,) -> None:
|
|
2750
|
+
"""Enable vertex buffer element (VBO element)"""
|
|
2882
2751
|
...
|
|
2883
2752
|
def rl_enable_wire_mode() -> None:
|
|
2884
|
-
"""
|
|
2885
|
-
|
|
2886
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2753
|
+
"""Enable wire mode"""
|
|
2887
2754
|
...
|
|
2888
2755
|
def rl_end() -> None:
|
|
2889
|
-
"""
|
|
2890
|
-
|
|
2891
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2756
|
+
"""Finish vertex providing"""
|
|
2892
2757
|
...
|
|
2893
|
-
def rl_framebuffer_attach(
|
|
2894
|
-
"""
|
|
2895
|
-
|
|
2896
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2758
|
+
def rl_framebuffer_attach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None:
|
|
2759
|
+
"""Attach texture/renderbuffer to a framebuffer"""
|
|
2897
2760
|
...
|
|
2898
|
-
def rl_framebuffer_complete(
|
|
2899
|
-
"""
|
|
2900
|
-
|
|
2901
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2761
|
+
def rl_framebuffer_complete(id: int,) -> bool:
|
|
2762
|
+
"""Verify framebuffer is complete"""
|
|
2902
2763
|
...
|
|
2903
|
-
def rl_frustum(
|
|
2904
|
-
"""
|
|
2905
|
-
|
|
2906
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2764
|
+
def rl_frustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
|
|
2765
|
+
""""""
|
|
2907
2766
|
...
|
|
2908
|
-
def rl_gen_texture_mipmaps(
|
|
2909
|
-
"""
|
|
2910
|
-
|
|
2911
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2767
|
+
def rl_gen_texture_mipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None:
|
|
2768
|
+
"""Generate mipmap data for selected texture"""
|
|
2912
2769
|
...
|
|
2913
2770
|
def rl_get_framebuffer_height() -> int:
|
|
2914
|
-
"""
|
|
2915
|
-
|
|
2916
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2771
|
+
"""Get default framebuffer height"""
|
|
2917
2772
|
...
|
|
2918
2773
|
def rl_get_framebuffer_width() -> int:
|
|
2919
|
-
"""
|
|
2920
|
-
|
|
2921
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2774
|
+
"""Get default framebuffer width"""
|
|
2922
2775
|
...
|
|
2923
|
-
def rl_get_gl_texture_formats(
|
|
2924
|
-
"""
|
|
2925
|
-
|
|
2926
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2776
|
+
def rl_get_gl_texture_formats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None:
|
|
2777
|
+
"""Get OpenGL internal formats"""
|
|
2927
2778
|
...
|
|
2928
2779
|
def rl_get_line_width() -> float:
|
|
2929
|
-
"""
|
|
2930
|
-
|
|
2931
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2780
|
+
"""Get the line drawing width"""
|
|
2932
2781
|
...
|
|
2933
|
-
def rl_get_location_attrib(
|
|
2934
|
-
"""
|
|
2935
|
-
|
|
2936
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2782
|
+
def rl_get_location_attrib(shaderId: int,attribName: str,) -> int:
|
|
2783
|
+
"""Get shader location attribute"""
|
|
2937
2784
|
...
|
|
2938
|
-
def rl_get_location_uniform(
|
|
2939
|
-
"""
|
|
2940
|
-
|
|
2941
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2785
|
+
def rl_get_location_uniform(shaderId: int,uniformName: str,) -> int:
|
|
2786
|
+
"""Get shader location uniform"""
|
|
2942
2787
|
...
|
|
2943
2788
|
def rl_get_matrix_modelview() -> Matrix:
|
|
2944
|
-
"""
|
|
2945
|
-
|
|
2946
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2789
|
+
"""Get internal modelview matrix"""
|
|
2947
2790
|
...
|
|
2948
2791
|
def rl_get_matrix_projection() -> Matrix:
|
|
2949
|
-
"""
|
|
2950
|
-
|
|
2951
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2792
|
+
"""Get internal projection matrix"""
|
|
2952
2793
|
...
|
|
2953
|
-
def rl_get_matrix_projection_stereo(
|
|
2954
|
-
"""
|
|
2955
|
-
|
|
2956
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2794
|
+
def rl_get_matrix_projection_stereo(eye: int,) -> Matrix:
|
|
2795
|
+
"""Get internal projection matrix for stereo render (selected eye)"""
|
|
2957
2796
|
...
|
|
2958
2797
|
def rl_get_matrix_transform() -> Matrix:
|
|
2959
|
-
"""
|
|
2960
|
-
|
|
2961
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2798
|
+
"""Get internal accumulated transform matrix"""
|
|
2962
2799
|
...
|
|
2963
|
-
def rl_get_matrix_view_offset_stereo(
|
|
2964
|
-
"""
|
|
2965
|
-
|
|
2966
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2800
|
+
def rl_get_matrix_view_offset_stereo(eye: int,) -> Matrix:
|
|
2801
|
+
"""Get internal view offset matrix for stereo render (selected eye)"""
|
|
2967
2802
|
...
|
|
2968
|
-
def rl_get_pixel_format_name(
|
|
2969
|
-
"""
|
|
2970
|
-
|
|
2971
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2803
|
+
def rl_get_pixel_format_name(format: int,) -> str:
|
|
2804
|
+
"""Get name string for pixel format"""
|
|
2972
2805
|
...
|
|
2973
|
-
def rl_get_shader_buffer_size(
|
|
2974
|
-
"""
|
|
2975
|
-
|
|
2976
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2806
|
+
def rl_get_shader_buffer_size(id: int,) -> int:
|
|
2807
|
+
"""Get SSBO buffer size"""
|
|
2977
2808
|
...
|
|
2978
2809
|
def rl_get_shader_id_default() -> int:
|
|
2979
|
-
"""
|
|
2980
|
-
|
|
2981
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2810
|
+
"""Get default shader id"""
|
|
2982
2811
|
...
|
|
2983
2812
|
def rl_get_shader_locs_default() -> Any:
|
|
2984
|
-
"""
|
|
2985
|
-
|
|
2986
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2813
|
+
"""Get default shader locations"""
|
|
2987
2814
|
...
|
|
2988
2815
|
def rl_get_texture_id_default() -> int:
|
|
2989
|
-
"""
|
|
2990
|
-
|
|
2991
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2816
|
+
"""Get default texture id"""
|
|
2992
2817
|
...
|
|
2993
2818
|
def rl_get_version() -> int:
|
|
2994
|
-
"""
|
|
2995
|
-
|
|
2996
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2819
|
+
"""Get current OpenGL version"""
|
|
2997
2820
|
...
|
|
2998
2821
|
def rl_is_stereo_render_enabled() -> bool:
|
|
2999
|
-
"""
|
|
3000
|
-
|
|
3001
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2822
|
+
"""Check if stereo render is enabled"""
|
|
3002
2823
|
...
|
|
3003
|
-
def rl_load_compute_shader_program(
|
|
3004
|
-
"""
|
|
3005
|
-
|
|
3006
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2824
|
+
def rl_load_compute_shader_program(shaderId: int,) -> int:
|
|
2825
|
+
"""Load compute shader program"""
|
|
3007
2826
|
...
|
|
3008
2827
|
def rl_load_draw_cube() -> None:
|
|
3009
|
-
"""
|
|
3010
|
-
|
|
3011
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2828
|
+
"""Load and draw a cube"""
|
|
3012
2829
|
...
|
|
3013
2830
|
def rl_load_draw_quad() -> None:
|
|
3014
|
-
"""
|
|
3015
|
-
|
|
3016
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2831
|
+
"""Load and draw a quad"""
|
|
3017
2832
|
...
|
|
3018
|
-
def rl_load_extensions(
|
|
3019
|
-
"""
|
|
3020
|
-
|
|
3021
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2833
|
+
def rl_load_extensions(loader: Any,) -> None:
|
|
2834
|
+
"""Load OpenGL extensions (loader function required)"""
|
|
3022
2835
|
...
|
|
3023
|
-
def rl_load_framebuffer(
|
|
3024
|
-
"""
|
|
3025
|
-
|
|
3026
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2836
|
+
def rl_load_framebuffer(width: int,height: int,) -> int:
|
|
2837
|
+
"""Load an empty framebuffer"""
|
|
3027
2838
|
...
|
|
3028
2839
|
def rl_load_identity() -> None:
|
|
3029
|
-
"""
|
|
3030
|
-
|
|
3031
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2840
|
+
"""Reset current matrix to identity matrix"""
|
|
3032
2841
|
...
|
|
3033
|
-
def rl_load_render_batch(
|
|
3034
|
-
"""
|
|
3035
|
-
|
|
3036
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2842
|
+
def rl_load_render_batch(numBuffers: int,bufferElements: int,) -> rlRenderBatch:
|
|
2843
|
+
"""Load a render batch system"""
|
|
3037
2844
|
...
|
|
3038
|
-
def rl_load_shader_buffer(
|
|
3039
|
-
"""
|
|
3040
|
-
|
|
3041
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2845
|
+
def rl_load_shader_buffer(size: int,data: Any,usageHint: int,) -> int:
|
|
2846
|
+
"""Load shader storage buffer object (SSBO)"""
|
|
3042
2847
|
...
|
|
3043
|
-
def rl_load_shader_code(
|
|
3044
|
-
"""
|
|
3045
|
-
|
|
3046
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2848
|
+
def rl_load_shader_code(vsCode: str,fsCode: str,) -> int:
|
|
2849
|
+
"""Load shader from code strings"""
|
|
3047
2850
|
...
|
|
3048
|
-
def rl_load_shader_program(
|
|
3049
|
-
"""
|
|
3050
|
-
|
|
3051
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2851
|
+
def rl_load_shader_program(vShaderId: int,fShaderId: int,) -> int:
|
|
2852
|
+
"""Load custom shader program"""
|
|
3052
2853
|
...
|
|
3053
|
-
def rl_load_texture(
|
|
3054
|
-
"""
|
|
3055
|
-
|
|
3056
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2854
|
+
def rl_load_texture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int:
|
|
2855
|
+
"""Load texture in GPU"""
|
|
3057
2856
|
...
|
|
3058
|
-
def rl_load_texture_cubemap(
|
|
3059
|
-
"""
|
|
3060
|
-
|
|
3061
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2857
|
+
def rl_load_texture_cubemap(data: Any,size: int,format: int,) -> int:
|
|
2858
|
+
"""Load texture cubemap"""
|
|
3062
2859
|
...
|
|
3063
|
-
def rl_load_texture_depth(
|
|
3064
|
-
"""
|
|
3065
|
-
|
|
3066
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2860
|
+
def rl_load_texture_depth(width: int,height: int,useRenderBuffer: bool,) -> int:
|
|
2861
|
+
"""Load depth texture/renderbuffer (to be attached to fbo)"""
|
|
3067
2862
|
...
|
|
3068
2863
|
def rl_load_vertex_array() -> int:
|
|
3069
|
-
"""
|
|
3070
|
-
|
|
3071
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2864
|
+
"""Load vertex array (vao) if supported"""
|
|
3072
2865
|
...
|
|
3073
|
-
def rl_load_vertex_buffer(
|
|
3074
|
-
"""
|
|
3075
|
-
|
|
3076
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2866
|
+
def rl_load_vertex_buffer(buffer: Any,size: int,dynamic: bool,) -> int:
|
|
2867
|
+
"""Load a vertex buffer attribute"""
|
|
3077
2868
|
...
|
|
3078
|
-
def rl_load_vertex_buffer_element(
|
|
3079
|
-
"""
|
|
3080
|
-
|
|
3081
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2869
|
+
def rl_load_vertex_buffer_element(buffer: Any,size: int,dynamic: bool,) -> int:
|
|
2870
|
+
"""Load a new attributes element buffer"""
|
|
3082
2871
|
...
|
|
3083
|
-
def rl_matrix_mode(
|
|
3084
|
-
"""
|
|
3085
|
-
|
|
3086
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2872
|
+
def rl_matrix_mode(mode: int,) -> None:
|
|
2873
|
+
"""Choose the current matrix to be transformed"""
|
|
3087
2874
|
...
|
|
3088
|
-
def rl_mult_matrixf(
|
|
3089
|
-
"""
|
|
3090
|
-
|
|
3091
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2875
|
+
def rl_mult_matrixf(matf: Any,) -> None:
|
|
2876
|
+
"""Multiply the current matrix by another matrix"""
|
|
3092
2877
|
...
|
|
3093
|
-
def rl_normal3f(
|
|
3094
|
-
"""
|
|
3095
|
-
|
|
3096
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2878
|
+
def rl_normal3f(x: float,y: float,z: float,) -> None:
|
|
2879
|
+
"""Define one vertex (normal) - 3 float"""
|
|
3097
2880
|
...
|
|
3098
|
-
def rl_ortho(
|
|
3099
|
-
"""
|
|
3100
|
-
|
|
3101
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2881
|
+
def rl_ortho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
|
|
2882
|
+
""""""
|
|
3102
2883
|
...
|
|
3103
2884
|
def rl_pop_matrix() -> None:
|
|
3104
|
-
"""
|
|
3105
|
-
|
|
3106
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2885
|
+
"""Pop latest inserted matrix from stack"""
|
|
3107
2886
|
...
|
|
3108
2887
|
def rl_push_matrix() -> None:
|
|
3109
|
-
"""
|
|
3110
|
-
|
|
3111
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2888
|
+
"""Push the current matrix to stack"""
|
|
3112
2889
|
...
|
|
3113
|
-
def rl_read_screen_pixels(
|
|
3114
|
-
"""
|
|
3115
|
-
|
|
3116
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2890
|
+
def rl_read_screen_pixels(width: int,height: int,) -> str:
|
|
2891
|
+
"""Read screen pixel data (color buffer)"""
|
|
3117
2892
|
...
|
|
3118
|
-
def rl_read_shader_buffer(
|
|
3119
|
-
"""
|
|
3120
|
-
|
|
3121
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2893
|
+
def rl_read_shader_buffer(id: int,dest: Any,count: int,offset: int,) -> None:
|
|
2894
|
+
"""Read SSBO buffer data (GPU->CPU)"""
|
|
3122
2895
|
...
|
|
3123
|
-
def rl_read_texture_pixels(
|
|
3124
|
-
"""
|
|
3125
|
-
|
|
3126
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2896
|
+
def rl_read_texture_pixels(id: int,width: int,height: int,format: int,) -> Any:
|
|
2897
|
+
"""Read texture pixel data"""
|
|
3127
2898
|
...
|
|
3128
|
-
def rl_rotatef(
|
|
3129
|
-
"""
|
|
3130
|
-
|
|
3131
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2899
|
+
def rl_rotatef(angle: float,x: float,y: float,z: float,) -> None:
|
|
2900
|
+
"""Multiply the current matrix by a rotation matrix"""
|
|
3132
2901
|
...
|
|
3133
|
-
def rl_scalef(
|
|
3134
|
-
"""
|
|
3135
|
-
|
|
3136
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2902
|
+
def rl_scalef(x: float,y: float,z: float,) -> None:
|
|
2903
|
+
"""Multiply the current matrix by a scaling matrix"""
|
|
3137
2904
|
...
|
|
3138
|
-
def rl_scissor(
|
|
3139
|
-
"""
|
|
3140
|
-
|
|
3141
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2905
|
+
def rl_scissor(x: int,y: int,width: int,height: int,) -> None:
|
|
2906
|
+
"""Scissor test"""
|
|
3142
2907
|
...
|
|
3143
|
-
def rl_set_blend_factors(
|
|
3144
|
-
"""
|
|
3145
|
-
|
|
3146
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2908
|
+
def rl_set_blend_factors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None:
|
|
2909
|
+
"""Set blending mode factor and equation (using OpenGL factors)"""
|
|
3147
2910
|
...
|
|
3148
|
-
def rl_set_blend_factors_separate(
|
|
3149
|
-
"""
|
|
3150
|
-
|
|
3151
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2911
|
+
def rl_set_blend_factors_separate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstAlpha: int,glEqRGB: int,glEqAlpha: int,) -> None:
|
|
2912
|
+
"""Set blending mode factors and equations separately (using OpenGL factors)"""
|
|
3152
2913
|
...
|
|
3153
|
-
def rl_set_blend_mode(
|
|
3154
|
-
"""
|
|
3155
|
-
|
|
3156
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2914
|
+
def rl_set_blend_mode(mode: int,) -> None:
|
|
2915
|
+
"""Set blending mode"""
|
|
3157
2916
|
...
|
|
3158
|
-
def rl_set_cull_face(
|
|
3159
|
-
"""
|
|
3160
|
-
|
|
3161
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2917
|
+
def rl_set_cull_face(mode: int,) -> None:
|
|
2918
|
+
"""Set face culling mode"""
|
|
3162
2919
|
...
|
|
3163
|
-
def rl_set_framebuffer_height(
|
|
3164
|
-
"""
|
|
3165
|
-
|
|
3166
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2920
|
+
def rl_set_framebuffer_height(height: int,) -> None:
|
|
2921
|
+
"""Set current framebuffer height"""
|
|
3167
2922
|
...
|
|
3168
|
-
def rl_set_framebuffer_width(
|
|
3169
|
-
"""
|
|
3170
|
-
|
|
3171
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2923
|
+
def rl_set_framebuffer_width(width: int,) -> None:
|
|
2924
|
+
"""Set current framebuffer width"""
|
|
3172
2925
|
...
|
|
3173
|
-
def rl_set_line_width(
|
|
3174
|
-
"""
|
|
3175
|
-
|
|
3176
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2926
|
+
def rl_set_line_width(width: float,) -> None:
|
|
2927
|
+
"""Set the line drawing width"""
|
|
3177
2928
|
...
|
|
3178
|
-
def rl_set_matrix_modelview(
|
|
3179
|
-
"""
|
|
3180
|
-
|
|
3181
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2929
|
+
def rl_set_matrix_modelview(view: Matrix,) -> None:
|
|
2930
|
+
"""Set a custom modelview matrix (replaces internal modelview matrix)"""
|
|
3182
2931
|
...
|
|
3183
|
-
def rl_set_matrix_projection(
|
|
3184
|
-
"""
|
|
3185
|
-
|
|
3186
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2932
|
+
def rl_set_matrix_projection(proj: Matrix,) -> None:
|
|
2933
|
+
"""Set a custom projection matrix (replaces internal projection matrix)"""
|
|
3187
2934
|
...
|
|
3188
|
-
def rl_set_matrix_projection_stereo(
|
|
3189
|
-
"""
|
|
3190
|
-
|
|
3191
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2935
|
+
def rl_set_matrix_projection_stereo(right: Matrix,left: Matrix,) -> None:
|
|
2936
|
+
"""Set eyes projection matrices for stereo rendering"""
|
|
3192
2937
|
...
|
|
3193
|
-
def rl_set_matrix_view_offset_stereo(
|
|
3194
|
-
"""
|
|
3195
|
-
|
|
3196
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2938
|
+
def rl_set_matrix_view_offset_stereo(right: Matrix,left: Matrix,) -> None:
|
|
2939
|
+
"""Set eyes view offsets matrices for stereo rendering"""
|
|
3197
2940
|
...
|
|
3198
|
-
def rl_set_render_batch_active(
|
|
3199
|
-
"""
|
|
3200
|
-
|
|
3201
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2941
|
+
def rl_set_render_batch_active(batch: Any,) -> None:
|
|
2942
|
+
"""Set the active render batch for rlgl (NULL for default internal)"""
|
|
3202
2943
|
...
|
|
3203
|
-
def rl_set_shader(
|
|
3204
|
-
"""
|
|
3205
|
-
|
|
3206
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2944
|
+
def rl_set_shader(id: int,locs: Any,) -> None:
|
|
2945
|
+
"""Set shader currently active (id and locations)"""
|
|
3207
2946
|
...
|
|
3208
|
-
def rl_set_texture(
|
|
3209
|
-
"""
|
|
3210
|
-
|
|
3211
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2947
|
+
def rl_set_texture(id: int,) -> None:
|
|
2948
|
+
"""Set current texture for render batch and check buffers limits"""
|
|
3212
2949
|
...
|
|
3213
|
-
def rl_set_uniform(
|
|
3214
|
-
"""
|
|
3215
|
-
|
|
3216
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2950
|
+
def rl_set_uniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None:
|
|
2951
|
+
"""Set shader value uniform"""
|
|
3217
2952
|
...
|
|
3218
|
-
def rl_set_uniform_matrix(
|
|
3219
|
-
"""
|
|
3220
|
-
|
|
3221
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2953
|
+
def rl_set_uniform_matrix(locIndex: int,mat: Matrix,) -> None:
|
|
2954
|
+
"""Set shader value matrix"""
|
|
3222
2955
|
...
|
|
3223
|
-
def rl_set_uniform_sampler(
|
|
3224
|
-
"""
|
|
3225
|
-
|
|
3226
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2956
|
+
def rl_set_uniform_sampler(locIndex: int,textureId: int,) -> None:
|
|
2957
|
+
"""Set shader value sampler"""
|
|
3227
2958
|
...
|
|
3228
|
-
def rl_set_vertex_attribute(
|
|
3229
|
-
"""
|
|
3230
|
-
|
|
3231
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2959
|
+
def rl_set_vertex_attribute(index: int,compSize: int,type: int,normalized: bool,stride: int,pointer: Any,) -> None:
|
|
2960
|
+
""""""
|
|
3232
2961
|
...
|
|
3233
|
-
def rl_set_vertex_attribute_default(
|
|
3234
|
-
"""
|
|
3235
|
-
|
|
3236
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2962
|
+
def rl_set_vertex_attribute_default(locIndex: int,value: Any,attribType: int,count: int,) -> None:
|
|
2963
|
+
"""Set vertex attribute default value"""
|
|
3237
2964
|
...
|
|
3238
|
-
def rl_set_vertex_attribute_divisor(
|
|
3239
|
-
"""
|
|
3240
|
-
|
|
3241
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2965
|
+
def rl_set_vertex_attribute_divisor(index: int,divisor: int,) -> None:
|
|
2966
|
+
""""""
|
|
3242
2967
|
...
|
|
3243
|
-
def rl_tex_coord2f(
|
|
3244
|
-
"""
|
|
3245
|
-
|
|
3246
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2968
|
+
def rl_tex_coord2f(x: float,y: float,) -> None:
|
|
2969
|
+
"""Define one vertex (texture coordinate) - 2 float"""
|
|
3247
2970
|
...
|
|
3248
|
-
def rl_texture_parameters(
|
|
3249
|
-
"""
|
|
3250
|
-
|
|
3251
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2971
|
+
def rl_texture_parameters(id: int,param: int,value: int,) -> None:
|
|
2972
|
+
"""Set texture parameters (filter, wrap)"""
|
|
3252
2973
|
...
|
|
3253
|
-
def rl_translatef(
|
|
3254
|
-
"""
|
|
3255
|
-
|
|
3256
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2974
|
+
def rl_translatef(x: float,y: float,z: float,) -> None:
|
|
2975
|
+
"""Multiply the current matrix by a translation matrix"""
|
|
3257
2976
|
...
|
|
3258
|
-
def rl_unload_framebuffer(
|
|
3259
|
-
"""
|
|
3260
|
-
|
|
3261
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2977
|
+
def rl_unload_framebuffer(id: int,) -> None:
|
|
2978
|
+
"""Delete framebuffer from GPU"""
|
|
3262
2979
|
...
|
|
3263
|
-
def rl_unload_render_batch(
|
|
3264
|
-
"""
|
|
3265
|
-
|
|
3266
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2980
|
+
def rl_unload_render_batch(batch: rlRenderBatch,) -> None:
|
|
2981
|
+
"""Unload render batch system"""
|
|
3267
2982
|
...
|
|
3268
|
-
def rl_unload_shader_buffer(
|
|
3269
|
-
"""
|
|
3270
|
-
|
|
3271
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2983
|
+
def rl_unload_shader_buffer(ssboId: int,) -> None:
|
|
2984
|
+
"""Unload shader storage buffer object (SSBO)"""
|
|
3272
2985
|
...
|
|
3273
|
-
def rl_unload_shader_program(
|
|
3274
|
-
"""
|
|
3275
|
-
|
|
3276
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2986
|
+
def rl_unload_shader_program(id: int,) -> None:
|
|
2987
|
+
"""Unload shader program"""
|
|
3277
2988
|
...
|
|
3278
|
-
def rl_unload_texture(
|
|
3279
|
-
"""
|
|
3280
|
-
|
|
3281
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2989
|
+
def rl_unload_texture(id: int,) -> None:
|
|
2990
|
+
"""Unload texture from GPU memory"""
|
|
3282
2991
|
...
|
|
3283
|
-
def rl_unload_vertex_array(
|
|
3284
|
-
"""
|
|
3285
|
-
|
|
3286
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2992
|
+
def rl_unload_vertex_array(vaoId: int,) -> None:
|
|
2993
|
+
""""""
|
|
3287
2994
|
...
|
|
3288
|
-
def rl_unload_vertex_buffer(
|
|
3289
|
-
"""
|
|
3290
|
-
|
|
3291
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2995
|
+
def rl_unload_vertex_buffer(vboId: int,) -> None:
|
|
2996
|
+
""""""
|
|
3292
2997
|
...
|
|
3293
|
-
def rl_update_shader_buffer(
|
|
3294
|
-
"""
|
|
3295
|
-
|
|
3296
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2998
|
+
def rl_update_shader_buffer(id: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
2999
|
+
"""Update SSBO buffer data"""
|
|
3297
3000
|
...
|
|
3298
|
-
def rl_update_texture(
|
|
3299
|
-
"""
|
|
3300
|
-
|
|
3301
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3001
|
+
def rl_update_texture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None:
|
|
3002
|
+
"""Update GPU texture with new data"""
|
|
3302
3003
|
...
|
|
3303
|
-
def rl_update_vertex_buffer(
|
|
3304
|
-
"""
|
|
3305
|
-
|
|
3306
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3004
|
+
def rl_update_vertex_buffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3005
|
+
"""Update GPU buffer with new data"""
|
|
3307
3006
|
...
|
|
3308
|
-
def rl_update_vertex_buffer_elements(
|
|
3309
|
-
"""
|
|
3310
|
-
|
|
3311
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3007
|
+
def rl_update_vertex_buffer_elements(id: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3008
|
+
"""Update vertex buffer elements with new data"""
|
|
3312
3009
|
...
|
|
3313
|
-
def rl_vertex2f(
|
|
3314
|
-
"""
|
|
3315
|
-
|
|
3316
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3010
|
+
def rl_vertex2f(x: float,y: float,) -> None:
|
|
3011
|
+
"""Define one vertex (position) - 2 float"""
|
|
3317
3012
|
...
|
|
3318
|
-
def rl_vertex2i(
|
|
3319
|
-
"""
|
|
3320
|
-
|
|
3321
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3013
|
+
def rl_vertex2i(x: int,y: int,) -> None:
|
|
3014
|
+
"""Define one vertex (position) - 2 int"""
|
|
3322
3015
|
...
|
|
3323
|
-
def rl_vertex3f(
|
|
3324
|
-
"""
|
|
3325
|
-
|
|
3326
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3016
|
+
def rl_vertex3f(x: float,y: float,z: float,) -> None:
|
|
3017
|
+
"""Define one vertex (position) - 3 float"""
|
|
3327
3018
|
...
|
|
3328
|
-
def rl_viewport(
|
|
3329
|
-
"""
|
|
3330
|
-
|
|
3331
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3019
|
+
def rl_viewport(x: int,y: int,width: int,height: int,) -> None:
|
|
3020
|
+
"""Set the viewport area"""
|
|
3332
3021
|
...
|
|
3333
3022
|
def rlgl_close() -> None:
|
|
3334
|
-
"""
|
|
3335
|
-
|
|
3336
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3023
|
+
"""De-initialize rlgl (buffers, shaders, textures)"""
|
|
3337
3024
|
...
|
|
3338
|
-
def rlgl_init(
|
|
3339
|
-
"""
|
|
3340
|
-
|
|
3341
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3025
|
+
def rlgl_init(width: int,height: int,) -> None:
|
|
3026
|
+
"""Initialize rlgl (buffers, shaders, textures, states)"""
|
|
3342
3027
|
...
|
|
3343
3028
|
class AudioStream:
|
|
3344
3029
|
""" struct """
|
|
@@ -3370,14 +3055,6 @@ class BoundingBox:
|
|
|
3370
3055
|
def __init__(self, min, max):
|
|
3371
3056
|
self.min=min
|
|
3372
3057
|
self.max=max
|
|
3373
|
-
class Camera:
|
|
3374
|
-
""" struct """
|
|
3375
|
-
def __init__(self, position, target, up, fovy, projection):
|
|
3376
|
-
self.position=position
|
|
3377
|
-
self.target=target
|
|
3378
|
-
self.up=up
|
|
3379
|
-
self.fovy=fovy
|
|
3380
|
-
self.projection=projection
|
|
3381
3058
|
class Camera2D:
|
|
3382
3059
|
""" struct """
|
|
3383
3060
|
def __init__(self, offset, target, rotation, zoom):
|
|
@@ -3579,13 +3256,6 @@ class PhysicsVertexData:
|
|
|
3579
3256
|
self.vertexCount=vertexCount
|
|
3580
3257
|
self.positions=positions
|
|
3581
3258
|
self.normals=normals
|
|
3582
|
-
class Quaternion:
|
|
3583
|
-
""" struct """
|
|
3584
|
-
def __init__(self, x, y, z, w):
|
|
3585
|
-
self.x=x
|
|
3586
|
-
self.y=y
|
|
3587
|
-
self.z=z
|
|
3588
|
-
self.w=w
|
|
3589
3259
|
class Ray:
|
|
3590
3260
|
""" struct """
|
|
3591
3261
|
def __init__(self, position, direction):
|
|
@@ -3611,12 +3281,6 @@ class RenderTexture:
|
|
|
3611
3281
|
self.id=id
|
|
3612
3282
|
self.texture=texture
|
|
3613
3283
|
self.depth=depth
|
|
3614
|
-
class RenderTexture2D:
|
|
3615
|
-
""" struct """
|
|
3616
|
-
def __init__(self, id, texture, depth):
|
|
3617
|
-
self.id=id
|
|
3618
|
-
self.texture=texture
|
|
3619
|
-
self.depth=depth
|
|
3620
3284
|
class Shader:
|
|
3621
3285
|
""" struct """
|
|
3622
3286
|
def __init__(self, id, locs):
|
|
@@ -3643,14 +3307,6 @@ class Texture2D:
|
|
|
3643
3307
|
self.height=height
|
|
3644
3308
|
self.mipmaps=mipmaps
|
|
3645
3309
|
self.format=format
|
|
3646
|
-
class TextureCubemap:
|
|
3647
|
-
""" struct """
|
|
3648
|
-
def __init__(self, id, width, height, mipmaps, format):
|
|
3649
|
-
self.id=id
|
|
3650
|
-
self.width=width
|
|
3651
|
-
self.height=height
|
|
3652
|
-
self.mipmaps=mipmaps
|
|
3653
|
-
self.format=format
|
|
3654
3310
|
class Transform:
|
|
3655
3311
|
""" struct """
|
|
3656
3312
|
def __init__(self, translation, rotation, scale):
|