raylib 4.5.0.1__cp37-cp37m-manylinux2014_x86_64.whl → 5.0.0.0__cp37-cp37m-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__.pyi +279 -114
- raylib/__init__.pyi +256 -100
- raylib/_raylib_cffi.abi3.so +0 -0
- raylib/enums.py +30 -18
- raylib/version.py +1 -1
- {raylib-4.5.0.1.dist-info → raylib-5.0.0.0.dist-info}/METADATA +2 -2
- raylib-5.0.0.0.dist-info/RECORD +15 -0
- {raylib-4.5.0.1.dist-info → raylib-5.0.0.0.dist-info}/WHEEL +1 -1
- raylib-4.5.0.1.dist-info/RECORD +0 -15
- {raylib-4.5.0.1.dist-info → raylib-5.0.0.0.dist-info}/LICENSE +0 -0
- {raylib-4.5.0.1.dist-info → raylib-5.0.0.0.dist-info}/top_level.txt +0 -0
pyray/__init__.pyi
CHANGED
|
@@ -5,10 +5,10 @@ def pointer(struct):
|
|
|
5
5
|
...
|
|
6
6
|
|
|
7
7
|
def attach_audio_mixed_processor(processor: Any,) -> None:
|
|
8
|
-
"""Attach audio stream processor to the entire audio pipeline"""
|
|
8
|
+
"""Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s"""
|
|
9
9
|
...
|
|
10
10
|
def attach_audio_stream_processor(stream: AudioStream,processor: Any,) -> None:
|
|
11
|
-
"""Attach audio stream processor to stream"""
|
|
11
|
+
"""Attach audio stream processor to stream, receives the samples as <float>s"""
|
|
12
12
|
...
|
|
13
13
|
def begin_blend_mode(mode: int,) -> None:
|
|
14
14
|
"""Begin blending mode (alpha, additive, multiplied, subtract, custom)"""
|
|
@@ -202,6 +202,9 @@ def draw_circle_gradient(centerX: int,centerY: int,radius: float,color1: Color,c
|
|
|
202
202
|
def draw_circle_lines(centerX: int,centerY: int,radius: float,color: Color,) -> None:
|
|
203
203
|
"""Draw circle outline"""
|
|
204
204
|
...
|
|
205
|
+
def draw_circle_lines_v(center: Vector2,radius: float,color: Color,) -> None:
|
|
206
|
+
"""Draw circle outline (Vector version)"""
|
|
207
|
+
...
|
|
205
208
|
def draw_circle_sector(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
|
|
206
209
|
"""Draw a piece of a circle"""
|
|
207
210
|
...
|
|
@@ -254,22 +257,16 @@ def draw_line_3d(startPos: Vector3,endPos: Vector3,color: Color,) -> None:
|
|
|
254
257
|
"""Draw a line in 3D world space"""
|
|
255
258
|
...
|
|
256
259
|
def draw_line_bezier(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
|
|
257
|
-
"""Draw
|
|
258
|
-
...
|
|
259
|
-
def draw_line_bezier_cubic(startPos: Vector2,endPos: Vector2,startControlPos: Vector2,endControlPos: Vector2,thick: float,color: Color,) -> None:
|
|
260
|
-
"""Draw line using cubic bezier curves with 2 control points"""
|
|
261
|
-
...
|
|
262
|
-
def draw_line_bezier_quad(startPos: Vector2,endPos: Vector2,controlPos: Vector2,thick: float,color: Color,) -> None:
|
|
263
|
-
"""Draw line using quadratic bezier curves with a control point"""
|
|
260
|
+
"""Draw line segment cubic-bezier in-out interpolation"""
|
|
264
261
|
...
|
|
265
262
|
def draw_line_ex(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
|
|
266
|
-
"""Draw a line
|
|
263
|
+
"""Draw a line (using triangles/quads)"""
|
|
267
264
|
...
|
|
268
265
|
def draw_line_strip(points: Any,pointCount: int,color: Color,) -> None:
|
|
269
|
-
"""Draw lines sequence"""
|
|
266
|
+
"""Draw lines sequence (using gl lines)"""
|
|
270
267
|
...
|
|
271
268
|
def draw_line_v(startPos: Vector2,endPos: Vector2,color: Color,) -> None:
|
|
272
|
-
"""Draw a line (
|
|
269
|
+
"""Draw a line (using gl lines)"""
|
|
273
270
|
...
|
|
274
271
|
def draw_mesh(mesh: Mesh,material: Material,transform: Matrix,) -> None:
|
|
275
272
|
"""Draw a 3d mesh with material and transform"""
|
|
@@ -361,13 +358,43 @@ def draw_sphere_ex(centerPos: Vector3,radius: float,rings: int,slices: int,color
|
|
|
361
358
|
def draw_sphere_wires(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None:
|
|
362
359
|
"""Draw sphere wires"""
|
|
363
360
|
...
|
|
361
|
+
def draw_spline_basis(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
362
|
+
"""Draw spline: B-Spline, minimum 4 points"""
|
|
363
|
+
...
|
|
364
|
+
def draw_spline_bezier_cubic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
365
|
+
"""Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]"""
|
|
366
|
+
...
|
|
367
|
+
def draw_spline_bezier_quadratic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
368
|
+
"""Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]"""
|
|
369
|
+
...
|
|
370
|
+
def draw_spline_catmull_rom(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
371
|
+
"""Draw spline: Catmull-Rom, minimum 4 points"""
|
|
372
|
+
...
|
|
373
|
+
def draw_spline_linear(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
374
|
+
"""Draw spline: Linear, minimum 2 points"""
|
|
375
|
+
...
|
|
376
|
+
def draw_spline_segment_basis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
377
|
+
"""Draw spline segment: B-Spline, 4 points"""
|
|
378
|
+
...
|
|
379
|
+
def draw_spline_segment_bezier_cubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
380
|
+
"""Draw spline segment: Cubic Bezier, 2 points, 2 control points"""
|
|
381
|
+
...
|
|
382
|
+
def draw_spline_segment_bezier_quadratic(p1: Vector2,c2: Vector2,p3: Vector2,thick: float,color: Color,) -> None:
|
|
383
|
+
"""Draw spline segment: Quadratic Bezier, 2 points, 1 control point"""
|
|
384
|
+
...
|
|
385
|
+
def draw_spline_segment_catmull_rom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
386
|
+
"""Draw spline segment: Catmull-Rom, 4 points"""
|
|
387
|
+
...
|
|
388
|
+
def draw_spline_segment_linear(p1: Vector2,p2: Vector2,thick: float,color: Color,) -> None:
|
|
389
|
+
"""Draw spline segment: Linear, 2 points"""
|
|
390
|
+
...
|
|
364
391
|
def draw_text(text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None:
|
|
365
392
|
"""Draw text (using default font)"""
|
|
366
393
|
...
|
|
367
394
|
def draw_text_codepoint(font: Font,codepoint: int,position: Vector2,fontSize: float,tint: Color,) -> None:
|
|
368
395
|
"""Draw one character (codepoint)"""
|
|
369
396
|
...
|
|
370
|
-
def draw_text_codepoints(font: Font,codepoints: Any,
|
|
397
|
+
def draw_text_codepoints(font: Font,codepoints: Any,codepointCount: int,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
|
|
371
398
|
"""Draw multiple character (codepoint)"""
|
|
372
399
|
...
|
|
373
400
|
def draw_text_ex(font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
|
|
@@ -445,7 +472,10 @@ def end_texture_mode() -> None:
|
|
|
445
472
|
def end_vr_stereo_mode() -> None:
|
|
446
473
|
"""End stereo rendering (requires VR simulator)"""
|
|
447
474
|
...
|
|
448
|
-
def
|
|
475
|
+
def export_automation_event_list(list: AutomationEventList,fileName: str,) -> bool:
|
|
476
|
+
"""Export automation events list as text file"""
|
|
477
|
+
...
|
|
478
|
+
def export_data_as_code(data: str,dataSize: int,fileName: str,) -> bool:
|
|
449
479
|
"""Export data to code (.h), returns true on success"""
|
|
450
480
|
...
|
|
451
481
|
def export_font_as_code(font: Font,fileName: str,) -> bool:
|
|
@@ -457,6 +487,9 @@ def export_image(image: Image,fileName: str,) -> bool:
|
|
|
457
487
|
def export_image_as_code(image: Image,fileName: str,) -> bool:
|
|
458
488
|
"""Export image as code file defining an array of bytes, returns true on success"""
|
|
459
489
|
...
|
|
490
|
+
def export_image_to_memory(image: Image,fileType: str,fileSize: Any,) -> str:
|
|
491
|
+
"""Export image to memory buffer"""
|
|
492
|
+
...
|
|
460
493
|
def export_mesh(mesh: Mesh,fileName: str,) -> bool:
|
|
461
494
|
"""Export mesh data to file, returns true on success"""
|
|
462
495
|
...
|
|
@@ -486,17 +519,17 @@ def gen_image_checked(width: int,height: int,checksX: int,checksY: int,col1: Col
|
|
|
486
519
|
def gen_image_color(width: int,height: int,color: Color,) -> Image:
|
|
487
520
|
"""Generate image: plain color"""
|
|
488
521
|
...
|
|
489
|
-
def gen_image_font_atlas(
|
|
522
|
+
def gen_image_font_atlas(glyphs: Any,glyphRecs: Any,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
|
|
490
523
|
"""Generate image font atlas using chars info"""
|
|
491
524
|
...
|
|
492
|
-
def
|
|
493
|
-
"""Generate image:
|
|
525
|
+
def gen_image_gradient_linear(width: int,height: int,direction: int,start: Color,end: Color,) -> Image:
|
|
526
|
+
"""Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient"""
|
|
494
527
|
...
|
|
495
528
|
def gen_image_gradient_radial(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
|
|
496
529
|
"""Generate image: radial gradient"""
|
|
497
530
|
...
|
|
498
|
-
def
|
|
499
|
-
"""Generate image:
|
|
531
|
+
def gen_image_gradient_square(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
|
|
532
|
+
"""Generate image: square gradient"""
|
|
500
533
|
...
|
|
501
534
|
def gen_image_perlin_noise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image:
|
|
502
535
|
"""Generate image: perlin noise"""
|
|
@@ -547,7 +580,7 @@ def gen_texture_mipmaps(texture: Any,) -> None:
|
|
|
547
580
|
"""Generate GPU mipmaps for a texture"""
|
|
548
581
|
...
|
|
549
582
|
def get_application_directory() -> str:
|
|
550
|
-
"""Get the directory
|
|
583
|
+
"""Get the directory of the running application (uses static string)"""
|
|
551
584
|
...
|
|
552
585
|
def get_camera_matrix(camera: Camera3D,) -> Matrix:
|
|
553
586
|
"""Get camera transform matrix (view matrix)"""
|
|
@@ -657,6 +690,9 @@ def get_image_color(image: Image,x: int,y: int,) -> Color:
|
|
|
657
690
|
def get_key_pressed() -> int:
|
|
658
691
|
"""Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty"""
|
|
659
692
|
...
|
|
693
|
+
def get_master_volume() -> float:
|
|
694
|
+
"""Get master volume (listener)"""
|
|
695
|
+
...
|
|
660
696
|
def get_mesh_bounding_box(mesh: Mesh,) -> BoundingBox:
|
|
661
697
|
"""Compute mesh bounding box limits"""
|
|
662
698
|
...
|
|
@@ -670,7 +706,7 @@ def get_monitor_height(monitor: int,) -> int:
|
|
|
670
706
|
"""Get specified monitor height (current video mode used by monitor)"""
|
|
671
707
|
...
|
|
672
708
|
def get_monitor_name(monitor: int,) -> str:
|
|
673
|
-
"""Get the human-readable, UTF-8 encoded name of the
|
|
709
|
+
"""Get the human-readable, UTF-8 encoded name of the specified monitor"""
|
|
674
710
|
...
|
|
675
711
|
def get_monitor_physical_height(monitor: int,) -> int:
|
|
676
712
|
"""Get specified monitor physical height in millimetres"""
|
|
@@ -787,6 +823,21 @@ def get_shader_location(shader: Shader,uniformName: str,) -> int:
|
|
|
787
823
|
def get_shader_location_attrib(shader: Shader,attribName: str,) -> int:
|
|
788
824
|
"""Get shader attribute location"""
|
|
789
825
|
...
|
|
826
|
+
def get_spline_point_basis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
827
|
+
"""Get (evaluate) spline point: B-Spline"""
|
|
828
|
+
...
|
|
829
|
+
def get_spline_point_bezier_cubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
830
|
+
"""Get (evaluate) spline point: Cubic Bezier"""
|
|
831
|
+
...
|
|
832
|
+
def get_spline_point_bezier_quad(p1: Vector2,c2: Vector2,p3: Vector2,t: float,) -> Vector2:
|
|
833
|
+
"""Get (evaluate) spline point: Quadratic Bezier"""
|
|
834
|
+
...
|
|
835
|
+
def get_spline_point_catmull_rom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
836
|
+
"""Get (evaluate) spline point: Catmull-Rom"""
|
|
837
|
+
...
|
|
838
|
+
def get_spline_point_linear(startPos: Vector2,endPos: Vector2,t: float,) -> Vector2:
|
|
839
|
+
"""Get (evaluate) spline point: Linear"""
|
|
840
|
+
...
|
|
790
841
|
def get_time() -> float:
|
|
791
842
|
"""Get elapsed time in seconds since InitWindow()"""
|
|
792
843
|
...
|
|
@@ -826,38 +877,48 @@ def get_world_to_screen_2d(position: Vector2,camera: Camera2D,) -> Vector2:
|
|
|
826
877
|
def get_world_to_screen_ex(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2:
|
|
827
878
|
"""Get size position for a 3d world space position"""
|
|
828
879
|
...
|
|
829
|
-
def gui_button(Rectangle_0: Rectangle,str_1: str,) ->
|
|
830
|
-
"""
|
|
880
|
+
def gui_button(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
881
|
+
"""int GuiButton(struct Rectangle, char *);
|
|
882
|
+
|
|
883
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
884
|
+
...
|
|
885
|
+
def gui_check_box(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int:
|
|
886
|
+
"""int GuiCheckBox(struct Rectangle, char *, _Bool *);
|
|
831
887
|
|
|
832
888
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
833
889
|
...
|
|
834
|
-
def
|
|
835
|
-
"""
|
|
890
|
+
def gui_color_bar_alpha(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int:
|
|
891
|
+
"""int GuiColorBarAlpha(struct Rectangle, char *, float *);
|
|
836
892
|
|
|
837
893
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
838
894
|
...
|
|
839
|
-
def
|
|
840
|
-
"""
|
|
895
|
+
def gui_color_bar_hue(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int:
|
|
896
|
+
"""int GuiColorBarHue(struct Rectangle, char *, float *);
|
|
841
897
|
|
|
842
898
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
843
899
|
...
|
|
844
|
-
def
|
|
845
|
-
"""
|
|
900
|
+
def gui_color_panel(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int:
|
|
901
|
+
"""int GuiColorPanel(struct Rectangle, char *, struct Color *);
|
|
846
902
|
|
|
847
903
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
848
904
|
...
|
|
849
|
-
def
|
|
850
|
-
"""
|
|
905
|
+
def gui_color_panel_hsv(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int:
|
|
906
|
+
"""int GuiColorPanelHSV(struct Rectangle, char *, struct Vector3 *);
|
|
851
907
|
|
|
852
908
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
853
909
|
...
|
|
854
|
-
def gui_color_picker(Rectangle_0: Rectangle,str_1: str,
|
|
855
|
-
"""
|
|
910
|
+
def gui_color_picker(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int:
|
|
911
|
+
"""int GuiColorPicker(struct Rectangle, char *, struct Color *);
|
|
856
912
|
|
|
857
913
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
858
914
|
...
|
|
859
|
-
def
|
|
860
|
-
"""int
|
|
915
|
+
def gui_color_picker_hsv(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int:
|
|
916
|
+
"""int GuiColorPickerHSV(struct Rectangle, char *, struct Vector3 *);
|
|
917
|
+
|
|
918
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
919
|
+
...
|
|
920
|
+
def gui_combo_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int:
|
|
921
|
+
"""int GuiComboBox(struct Rectangle, char *, int *);
|
|
861
922
|
|
|
862
923
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
863
924
|
...
|
|
@@ -876,13 +937,13 @@ def gui_draw_icon(int_0: int,int_1: int,int_2: int,int_3: int,Color_4: Color,) -
|
|
|
876
937
|
|
|
877
938
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
878
939
|
...
|
|
879
|
-
def gui_dropdown_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) ->
|
|
880
|
-
"""
|
|
940
|
+
def gui_dropdown_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) -> int:
|
|
941
|
+
"""int GuiDropdownBox(struct Rectangle, char *, int *, _Bool);
|
|
881
942
|
|
|
882
943
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
883
944
|
...
|
|
884
|
-
def gui_dummy_rec(Rectangle_0: Rectangle,str_1: str,) ->
|
|
885
|
-
"""
|
|
945
|
+
def gui_dummy_rec(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
946
|
+
"""int GuiDummyRec(struct Rectangle, char *);
|
|
886
947
|
|
|
887
948
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
888
949
|
...
|
|
@@ -894,11 +955,6 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
894
955
|
def gui_enable_tooltip() -> None:
|
|
895
956
|
"""void GuiEnableTooltip();
|
|
896
957
|
|
|
897
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
898
|
-
...
|
|
899
|
-
def gui_fade(float_0: float,) -> None:
|
|
900
|
-
"""void GuiFade(float);
|
|
901
|
-
|
|
902
958
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
903
959
|
...
|
|
904
960
|
def gui_get_font() -> Font:
|
|
@@ -921,13 +977,13 @@ def gui_get_style(int_0: int,int_1: int,) -> int:
|
|
|
921
977
|
|
|
922
978
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
923
979
|
...
|
|
924
|
-
def gui_grid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,) ->
|
|
925
|
-
"""
|
|
980
|
+
def gui_grid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,Vector2_pointer_4: Any,) -> int:
|
|
981
|
+
"""int GuiGrid(struct Rectangle, char *, float, int, struct Vector2 *);
|
|
926
982
|
|
|
927
983
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
928
984
|
...
|
|
929
|
-
def gui_group_box(Rectangle_0: Rectangle,str_1: str,) ->
|
|
930
|
-
"""
|
|
985
|
+
def gui_group_box(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
986
|
+
"""int GuiGroupBox(struct Rectangle, char *);
|
|
931
987
|
|
|
932
988
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
933
989
|
...
|
|
@@ -941,28 +997,28 @@ def gui_is_locked() -> bool:
|
|
|
941
997
|
|
|
942
998
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
943
999
|
...
|
|
944
|
-
def gui_label(Rectangle_0: Rectangle,str_1: str,) ->
|
|
945
|
-
"""
|
|
1000
|
+
def gui_label(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1001
|
+
"""int GuiLabel(struct Rectangle, char *);
|
|
946
1002
|
|
|
947
1003
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
948
1004
|
...
|
|
949
|
-
def gui_label_button(Rectangle_0: Rectangle,str_1: str,) ->
|
|
950
|
-
"""
|
|
1005
|
+
def gui_label_button(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1006
|
+
"""int GuiLabelButton(struct Rectangle, char *);
|
|
951
1007
|
|
|
952
1008
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
953
1009
|
...
|
|
954
|
-
def gui_line(Rectangle_0: Rectangle,str_1: str,) ->
|
|
955
|
-
"""
|
|
1010
|
+
def gui_line(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1011
|
+
"""int GuiLine(struct Rectangle, char *);
|
|
956
1012
|
|
|
957
1013
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
958
1014
|
...
|
|
959
|
-
def gui_list_view(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,
|
|
960
|
-
"""int GuiListView(struct Rectangle, char *, int *, int);
|
|
1015
|
+
def gui_list_view(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_pointer_3: Any,) -> int:
|
|
1016
|
+
"""int GuiListView(struct Rectangle, char *, int *, int *);
|
|
961
1017
|
|
|
962
1018
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
963
1019
|
...
|
|
964
|
-
def gui_list_view_ex(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,
|
|
965
|
-
"""int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int);
|
|
1020
|
+
def gui_list_view_ex(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,int_pointer_5: Any,) -> int:
|
|
1021
|
+
"""int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int *);
|
|
966
1022
|
|
|
967
1023
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
968
1024
|
...
|
|
@@ -991,18 +1047,23 @@ def gui_message_box(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,) ->
|
|
|
991
1047
|
|
|
992
1048
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
993
1049
|
...
|
|
994
|
-
def gui_panel(Rectangle_0: Rectangle,str_1: str,) ->
|
|
995
|
-
"""
|
|
1050
|
+
def gui_panel(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1051
|
+
"""int GuiPanel(struct Rectangle, char *);
|
|
996
1052
|
|
|
997
1053
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
998
1054
|
...
|
|
999
|
-
def gui_progress_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,
|
|
1000
|
-
"""
|
|
1055
|
+
def gui_progress_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int:
|
|
1056
|
+
"""int GuiProgressBar(struct Rectangle, char *, char *, float *, float, float);
|
|
1001
1057
|
|
|
1002
1058
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1003
1059
|
...
|
|
1004
|
-
def gui_scroll_panel(Rectangle_0: Rectangle,str_1: str,Rectangle_2: Rectangle,Vector2_pointer_3: Any,) ->
|
|
1005
|
-
"""
|
|
1060
|
+
def gui_scroll_panel(Rectangle_0: Rectangle,str_1: str,Rectangle_2: Rectangle,Vector2_pointer_3: Any,Rectangle_pointer_4: Any,) -> int:
|
|
1061
|
+
"""int GuiScrollPanel(struct Rectangle, char *, struct Rectangle, struct Vector2 *, struct Rectangle *);
|
|
1062
|
+
|
|
1063
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1064
|
+
...
|
|
1065
|
+
def gui_set_alpha(float_0: float,) -> None:
|
|
1066
|
+
"""void GuiSetAlpha(float);
|
|
1006
1067
|
|
|
1007
1068
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1008
1069
|
...
|
|
@@ -1031,23 +1092,23 @@ def gui_set_tooltip(str_0: str,) -> None:
|
|
|
1031
1092
|
|
|
1032
1093
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1033
1094
|
...
|
|
1034
|
-
def gui_slider(Rectangle_0: Rectangle,str_1: str,str_2: str,
|
|
1035
|
-
"""
|
|
1095
|
+
def gui_slider(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int:
|
|
1096
|
+
"""int GuiSlider(struct Rectangle, char *, char *, float *, float, float);
|
|
1036
1097
|
|
|
1037
1098
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1038
1099
|
...
|
|
1039
|
-
def gui_slider_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,
|
|
1040
|
-
"""
|
|
1100
|
+
def gui_slider_bar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int:
|
|
1101
|
+
"""int GuiSliderBar(struct Rectangle, char *, char *, float *, float, float);
|
|
1041
1102
|
|
|
1042
1103
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1043
1104
|
...
|
|
1044
|
-
def gui_spinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) ->
|
|
1045
|
-
"""
|
|
1105
|
+
def gui_spinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int:
|
|
1106
|
+
"""int GuiSpinner(struct Rectangle, char *, int *, int, int, _Bool);
|
|
1046
1107
|
|
|
1047
1108
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1048
1109
|
...
|
|
1049
|
-
def gui_status_bar(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1050
|
-
"""
|
|
1110
|
+
def gui_status_bar(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1111
|
+
"""int GuiStatusBar(struct Rectangle, char *);
|
|
1051
1112
|
|
|
1052
1113
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1053
1114
|
...
|
|
@@ -1056,23 +1117,28 @@ def gui_tab_bar(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer
|
|
|
1056
1117
|
|
|
1057
1118
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1058
1119
|
...
|
|
1059
|
-
def gui_text_box(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) ->
|
|
1060
|
-
"""
|
|
1120
|
+
def gui_text_box(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> int:
|
|
1121
|
+
"""int GuiTextBox(struct Rectangle, char *, int, _Bool);
|
|
1061
1122
|
|
|
1062
1123
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1063
1124
|
...
|
|
1064
|
-
def gui_text_input_box(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,
|
|
1065
|
-
"""int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int,
|
|
1125
|
+
def gui_text_input_box(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,_Bool_pointer_6: Any,) -> int:
|
|
1126
|
+
"""int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int, _Bool *);
|
|
1066
1127
|
|
|
1067
1128
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1068
1129
|
...
|
|
1069
|
-
def gui_toggle(Rectangle_0: Rectangle,str_1: str,
|
|
1070
|
-
"""
|
|
1130
|
+
def gui_toggle(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int:
|
|
1131
|
+
"""int GuiToggle(struct Rectangle, char *, _Bool *);
|
|
1071
1132
|
|
|
1072
1133
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1073
1134
|
...
|
|
1074
|
-
def gui_toggle_group(Rectangle_0: Rectangle,str_1: str,
|
|
1075
|
-
"""int GuiToggleGroup(struct Rectangle, char *, int);
|
|
1135
|
+
def gui_toggle_group(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int:
|
|
1136
|
+
"""int GuiToggleGroup(struct Rectangle, char *, int *);
|
|
1137
|
+
|
|
1138
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1139
|
+
...
|
|
1140
|
+
def gui_toggle_slider(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int:
|
|
1141
|
+
"""int GuiToggleSlider(struct Rectangle, char *, int *);
|
|
1076
1142
|
|
|
1077
1143
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1078
1144
|
...
|
|
@@ -1081,13 +1147,13 @@ def gui_unlock() -> None:
|
|
|
1081
1147
|
|
|
1082
1148
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1083
1149
|
...
|
|
1084
|
-
def gui_value_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) ->
|
|
1085
|
-
"""
|
|
1150
|
+
def gui_value_box(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int:
|
|
1151
|
+
"""int GuiValueBox(struct Rectangle, char *, int *, int, int, _Bool);
|
|
1086
1152
|
|
|
1087
1153
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1088
1154
|
...
|
|
1089
|
-
def gui_window_box(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1090
|
-
"""
|
|
1155
|
+
def gui_window_box(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1156
|
+
"""int GuiWindowBox(struct Rectangle, char *);
|
|
1091
1157
|
|
|
1092
1158
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1093
1159
|
...
|
|
@@ -1208,6 +1274,9 @@ def image_resize_canvas(image: Any,newWidth: int,newHeight: int,offsetX: int,off
|
|
|
1208
1274
|
def image_resize_nn(image: Any,newWidth: int,newHeight: int,) -> None:
|
|
1209
1275
|
"""Resize image (Nearest-Neighbor scaling algorithm)"""
|
|
1210
1276
|
...
|
|
1277
|
+
def image_rotate(image: Any,degrees: int,) -> None:
|
|
1278
|
+
"""Rotate image by input angle in degrees (-359 to 359)"""
|
|
1279
|
+
...
|
|
1211
1280
|
def image_rotate_ccw(image: Any,) -> None:
|
|
1212
1281
|
"""Rotate image counter-clockwise 90deg"""
|
|
1213
1282
|
...
|
|
@@ -1288,6 +1357,9 @@ def is_key_down(key: int,) -> bool:
|
|
|
1288
1357
|
def is_key_pressed(key: int,) -> bool:
|
|
1289
1358
|
"""Check if a key has been pressed once"""
|
|
1290
1359
|
...
|
|
1360
|
+
def is_key_pressed_repeat(key: int,) -> bool:
|
|
1361
|
+
"""Check if a key has been pressed again (Only PLATFORM_DESKTOP)"""
|
|
1362
|
+
...
|
|
1291
1363
|
def is_key_released(key: int,) -> bool:
|
|
1292
1364
|
"""Check if a key has been released once"""
|
|
1293
1365
|
...
|
|
@@ -1374,6 +1446,9 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
1374
1446
|
def load_audio_stream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
|
|
1375
1447
|
"""Load audio stream (to stream raw audio pcm data)"""
|
|
1376
1448
|
...
|
|
1449
|
+
def load_automation_event_list(fileName: str,) -> AutomationEventList:
|
|
1450
|
+
"""Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS"""
|
|
1451
|
+
...
|
|
1377
1452
|
def load_codepoints(text: str,count: Any,) -> Any:
|
|
1378
1453
|
"""Load all codepoints from a UTF-8 text string, codepoints count returned by parameter"""
|
|
1379
1454
|
...
|
|
@@ -1386,7 +1461,7 @@ def load_directory_files_ex(basePath: str,filter: str,scanSubdirs: bool,) -> Fil
|
|
|
1386
1461
|
def load_dropped_files() -> FilePathList:
|
|
1387
1462
|
"""Load dropped filepaths"""
|
|
1388
1463
|
...
|
|
1389
|
-
def load_file_data(fileName: str,
|
|
1464
|
+
def load_file_data(fileName: str,dataSize: Any,) -> str:
|
|
1390
1465
|
"""Load file data as byte array (read)"""
|
|
1391
1466
|
...
|
|
1392
1467
|
def load_file_text(fileName: str,) -> str:
|
|
@@ -1395,16 +1470,16 @@ def load_file_text(fileName: str,) -> str:
|
|
|
1395
1470
|
def load_font(fileName: str,) -> Font:
|
|
1396
1471
|
"""Load font from file into GPU memory (VRAM)"""
|
|
1397
1472
|
...
|
|
1398
|
-
def load_font_data(fileData: str,dataSize: int,fontSize: int,
|
|
1473
|
+
def load_font_data(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any:
|
|
1399
1474
|
"""Load font data for further use"""
|
|
1400
1475
|
...
|
|
1401
|
-
def load_font_ex(fileName: str,fontSize: int,
|
|
1402
|
-
"""Load font from file with extended parameters, use NULL for
|
|
1476
|
+
def load_font_ex(fileName: str,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1477
|
+
"""Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont"""
|
|
1403
1478
|
...
|
|
1404
1479
|
def load_font_from_image(image: Image,key: Color,firstChar: int,) -> Font:
|
|
1405
1480
|
"""Load font from Image (XNA style)"""
|
|
1406
1481
|
...
|
|
1407
|
-
def load_font_from_memory(fileType: str,fileData: str,dataSize: int,fontSize: int,
|
|
1482
|
+
def load_font_from_memory(fileType: str,fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1408
1483
|
"""Load font from memory buffer, fileType refers to extension: i.e. '.ttf'"""
|
|
1409
1484
|
...
|
|
1410
1485
|
def load_image(fileName: str,) -> Image:
|
|
@@ -1431,6 +1506,9 @@ def load_image_palette(image: Image,maxPaletteSize: int,colorCount: Any,) -> Any
|
|
|
1431
1506
|
def load_image_raw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image:
|
|
1432
1507
|
"""Load image from RAW file data"""
|
|
1433
1508
|
...
|
|
1509
|
+
def load_image_svg(fileNameOrString: str,width: int,height: int,) -> Image:
|
|
1510
|
+
"""Load image from SVG file data or string with specified size"""
|
|
1511
|
+
...
|
|
1434
1512
|
def load_material_default() -> Material:
|
|
1435
1513
|
"""Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"""
|
|
1436
1514
|
...
|
|
@@ -1452,6 +1530,9 @@ def load_music_stream(fileName: str,) -> Music:
|
|
|
1452
1530
|
def load_music_stream_from_memory(fileType: str,data: str,dataSize: int,) -> Music:
|
|
1453
1531
|
"""Load music stream from data"""
|
|
1454
1532
|
...
|
|
1533
|
+
def load_random_sequence(count: int,min: int,max: int,) -> Any:
|
|
1534
|
+
"""Load random values sequence, no values repeated"""
|
|
1535
|
+
...
|
|
1455
1536
|
def load_render_texture(width: int,height: int,) -> RenderTexture:
|
|
1456
1537
|
"""Load texture for rendering (framebuffer)"""
|
|
1457
1538
|
...
|
|
@@ -1464,6 +1545,9 @@ def load_shader_from_memory(vsCode: str,fsCode: str,) -> Shader:
|
|
|
1464
1545
|
def load_sound(fileName: str,) -> Sound:
|
|
1465
1546
|
"""Load sound from file"""
|
|
1466
1547
|
...
|
|
1548
|
+
def load_sound_alias(source: Sound,) -> Sound:
|
|
1549
|
+
"""Create a new sound that shares the same sample data as the source sound, does not own the sound data"""
|
|
1550
|
+
...
|
|
1467
1551
|
def load_sound_from_wave(wave: Wave,) -> Sound:
|
|
1468
1552
|
"""Load sound from wave data"""
|
|
1469
1553
|
...
|
|
@@ -1652,6 +1736,9 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
1652
1736
|
def play_audio_stream(stream: AudioStream,) -> None:
|
|
1653
1737
|
"""Play audio stream"""
|
|
1654
1738
|
...
|
|
1739
|
+
def play_automation_event(event: AutomationEvent,) -> None:
|
|
1740
|
+
"""Play a recorded automation event"""
|
|
1741
|
+
...
|
|
1655
1742
|
def play_music_stream(music: Music,) -> None:
|
|
1656
1743
|
"""Start music playing"""
|
|
1657
1744
|
...
|
|
@@ -1798,7 +1885,7 @@ def resume_music_stream(music: Music,) -> None:
|
|
|
1798
1885
|
def resume_sound(sound: Sound,) -> None:
|
|
1799
1886
|
"""Resume a paused sound"""
|
|
1800
1887
|
...
|
|
1801
|
-
def save_file_data(fileName: str,data: Any,
|
|
1888
|
+
def save_file_data(fileName: str,data: Any,dataSize: int,) -> bool:
|
|
1802
1889
|
"""Save data to file from byte array (write), returns true on success"""
|
|
1803
1890
|
...
|
|
1804
1891
|
def save_file_text(fileName: str,text: str,) -> bool:
|
|
@@ -1822,6 +1909,12 @@ def set_audio_stream_pitch(stream: AudioStream,pitch: float,) -> None:
|
|
|
1822
1909
|
def set_audio_stream_volume(stream: AudioStream,volume: float,) -> None:
|
|
1823
1910
|
"""Set volume for audio stream (1.0 is max level)"""
|
|
1824
1911
|
...
|
|
1912
|
+
def set_automation_event_base_frame(frame: int,) -> None:
|
|
1913
|
+
"""Set automation event internal base frame to start recording"""
|
|
1914
|
+
...
|
|
1915
|
+
def set_automation_event_list(list: Any,) -> None:
|
|
1916
|
+
"""Set automation event list to record to"""
|
|
1917
|
+
...
|
|
1825
1918
|
def set_clipboard_text(text: str,) -> None:
|
|
1826
1919
|
"""Set clipboard text content"""
|
|
1827
1920
|
...
|
|
@@ -1927,6 +2020,9 @@ def set_sound_volume(sound: Sound,volume: float,) -> None:
|
|
|
1927
2020
|
def set_target_fps(fps: int,) -> None:
|
|
1928
2021
|
"""Set target FPS (maximum)"""
|
|
1929
2022
|
...
|
|
2023
|
+
def set_text_line_spacing(spacing: int,) -> None:
|
|
2024
|
+
"""Set vertical line spacing when drawing with line-breaks"""
|
|
2025
|
+
...
|
|
1930
2026
|
def set_texture_filter(texture: Texture,filter: int,) -> None:
|
|
1931
2027
|
"""Set texture scaling filter mode"""
|
|
1932
2028
|
...
|
|
@@ -1939,17 +2035,23 @@ def set_trace_log_callback(callback: str,) -> None:
|
|
|
1939
2035
|
def set_trace_log_level(logLevel: int,) -> None:
|
|
1940
2036
|
"""Set the current threshold (minimum) log level"""
|
|
1941
2037
|
...
|
|
2038
|
+
def set_window_focused() -> None:
|
|
2039
|
+
"""Set window focused (only PLATFORM_DESKTOP)"""
|
|
2040
|
+
...
|
|
1942
2041
|
def set_window_icon(image: Image,) -> None:
|
|
1943
2042
|
"""Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)"""
|
|
1944
2043
|
...
|
|
1945
2044
|
def set_window_icons(images: Any,count: int,) -> None:
|
|
1946
2045
|
"""Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)"""
|
|
1947
2046
|
...
|
|
2047
|
+
def set_window_max_size(width: int,height: int,) -> None:
|
|
2048
|
+
"""Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)"""
|
|
2049
|
+
...
|
|
1948
2050
|
def set_window_min_size(width: int,height: int,) -> None:
|
|
1949
2051
|
"""Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)"""
|
|
1950
2052
|
...
|
|
1951
2053
|
def set_window_monitor(monitor: int,) -> None:
|
|
1952
|
-
"""Set monitor for the current window
|
|
2054
|
+
"""Set monitor for the current window"""
|
|
1953
2055
|
...
|
|
1954
2056
|
def set_window_opacity(opacity: float,) -> None:
|
|
1955
2057
|
"""Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)"""
|
|
@@ -1964,14 +2066,20 @@ def set_window_state(flags: int,) -> None:
|
|
|
1964
2066
|
"""Set window configuration state using flags (only PLATFORM_DESKTOP)"""
|
|
1965
2067
|
...
|
|
1966
2068
|
def set_window_title(title: str,) -> None:
|
|
1967
|
-
"""Set title for window (only PLATFORM_DESKTOP)"""
|
|
2069
|
+
"""Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB)"""
|
|
1968
2070
|
...
|
|
1969
2071
|
def show_cursor() -> None:
|
|
1970
2072
|
"""Shows cursor"""
|
|
1971
2073
|
...
|
|
2074
|
+
def start_automation_event_recording() -> None:
|
|
2075
|
+
"""Start recording automation events (AutomationEventList must be set)"""
|
|
2076
|
+
...
|
|
1972
2077
|
def stop_audio_stream(stream: AudioStream,) -> None:
|
|
1973
2078
|
"""Stop audio stream"""
|
|
1974
2079
|
...
|
|
2080
|
+
def stop_automation_event_recording() -> None:
|
|
2081
|
+
"""Stop recording automation events"""
|
|
2082
|
+
...
|
|
1975
2083
|
def stop_music_stream(music: Music,) -> None:
|
|
1976
2084
|
"""Stop music playing"""
|
|
1977
2085
|
...
|
|
@@ -2029,6 +2137,9 @@ def text_to_pascal(text: str,) -> str:
|
|
|
2029
2137
|
def text_to_upper(text: str,) -> str:
|
|
2030
2138
|
"""Get upper case version of provided string"""
|
|
2031
2139
|
...
|
|
2140
|
+
def toggle_borderless_windowed() -> None:
|
|
2141
|
+
"""Toggle window state: borderless windowed (only PLATFORM_DESKTOP)"""
|
|
2142
|
+
...
|
|
2032
2143
|
def toggle_fullscreen() -> None:
|
|
2033
2144
|
"""Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)"""
|
|
2034
2145
|
...
|
|
@@ -2038,6 +2149,9 @@ def trace_log(*args) -> None:
|
|
|
2038
2149
|
def unload_audio_stream(stream: AudioStream,) -> None:
|
|
2039
2150
|
"""Unload audio stream and free memory"""
|
|
2040
2151
|
...
|
|
2152
|
+
def unload_automation_event_list(list: Any,) -> None:
|
|
2153
|
+
"""Unload automation events list from file"""
|
|
2154
|
+
...
|
|
2041
2155
|
def unload_codepoints(codepoints: Any,) -> None:
|
|
2042
2156
|
"""Unload codepoints data from memory"""
|
|
2043
2157
|
...
|
|
@@ -2056,7 +2170,7 @@ def unload_file_text(text: str,) -> None:
|
|
|
2056
2170
|
def unload_font(font: Font,) -> None:
|
|
2057
2171
|
"""Unload font from GPU memory (VRAM)"""
|
|
2058
2172
|
...
|
|
2059
|
-
def unload_font_data(
|
|
2173
|
+
def unload_font_data(glyphs: Any,glyphCount: int,) -> None:
|
|
2060
2174
|
"""Unload font chars info data (RAM)"""
|
|
2061
2175
|
...
|
|
2062
2176
|
def unload_image(image: Image,) -> None:
|
|
@@ -2080,12 +2194,15 @@ def unload_model(model: Model,) -> None:
|
|
|
2080
2194
|
def unload_model_animation(anim: ModelAnimation,) -> None:
|
|
2081
2195
|
"""Unload animation data"""
|
|
2082
2196
|
...
|
|
2083
|
-
def unload_model_animations(animations: Any,
|
|
2197
|
+
def unload_model_animations(animations: Any,animCount: int,) -> None:
|
|
2084
2198
|
"""Unload animation array data"""
|
|
2085
2199
|
...
|
|
2086
2200
|
def unload_music_stream(music: Music,) -> None:
|
|
2087
2201
|
"""Unload music stream"""
|
|
2088
2202
|
...
|
|
2203
|
+
def unload_random_sequence(sequence: Any,) -> None:
|
|
2204
|
+
"""Unload random values sequence"""
|
|
2205
|
+
...
|
|
2089
2206
|
def unload_render_texture(target: RenderTexture,) -> None:
|
|
2090
2207
|
"""Unload render texture from GPU memory (VRAM)"""
|
|
2091
2208
|
...
|
|
@@ -2095,6 +2212,9 @@ def unload_shader(shader: Shader,) -> None:
|
|
|
2095
2212
|
def unload_sound(sound: Sound,) -> None:
|
|
2096
2213
|
"""Unload sound"""
|
|
2097
2214
|
...
|
|
2215
|
+
def unload_sound_alias(alias: Sound,) -> None:
|
|
2216
|
+
"""Unload a sound alias (does not deallocate sample data)"""
|
|
2217
|
+
...
|
|
2098
2218
|
def unload_texture(texture: Texture,) -> None:
|
|
2099
2219
|
"""Unload texture from GPU memory (VRAM)"""
|
|
2100
2220
|
...
|
|
@@ -2398,6 +2518,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
2398
2518
|
def vector3_perpendicular(Vector3_0: Vector3,) -> Vector3:
|
|
2399
2519
|
"""struct Vector3 Vector3Perpendicular(struct Vector3);
|
|
2400
2520
|
|
|
2521
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2522
|
+
...
|
|
2523
|
+
def vector3_project(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3:
|
|
2524
|
+
"""struct Vector3 Vector3Project(struct Vector3, struct Vector3);
|
|
2525
|
+
|
|
2401
2526
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2402
2527
|
...
|
|
2403
2528
|
def vector3_reflect(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3:
|
|
@@ -2408,6 +2533,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
2408
2533
|
def vector3_refract(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3:
|
|
2409
2534
|
"""struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float);
|
|
2410
2535
|
|
|
2536
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2537
|
+
...
|
|
2538
|
+
def vector3_reject(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3:
|
|
2539
|
+
"""struct Vector3 Vector3Reject(struct Vector3, struct Vector3);
|
|
2540
|
+
|
|
2411
2541
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2412
2542
|
...
|
|
2413
2543
|
def vector3_rotate_by_axis_angle(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3:
|
|
@@ -2468,7 +2598,7 @@ def wave_format(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> Non
|
|
|
2468
2598
|
"""Convert wave data to desired format"""
|
|
2469
2599
|
...
|
|
2470
2600
|
def window_should_close() -> bool:
|
|
2471
|
-
"""Check if KEY_ESCAPE pressed or
|
|
2601
|
+
"""Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)"""
|
|
2472
2602
|
...
|
|
2473
2603
|
def wrap(float_0: float,float_1: float,float_2: float,) -> float:
|
|
2474
2604
|
"""float Wrap(float, float, float);
|
|
@@ -2498,6 +2628,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
2498
2628
|
def rl_bind_shader_buffer(unsignedint_0: int,unsignedint_1: int,) -> None:
|
|
2499
2629
|
"""void rlBindShaderBuffer(unsigned int, unsigned int);
|
|
2500
2630
|
|
|
2631
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2632
|
+
...
|
|
2633
|
+
def rl_blit_framebuffer(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,int_6: int,int_7: int,int_8: int,) -> None:
|
|
2634
|
+
"""void rlBlitFramebuffer(int, int, int, int, int, int, int, int, int);
|
|
2635
|
+
|
|
2501
2636
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2502
2637
|
...
|
|
2503
2638
|
def rl_check_errors() -> None:
|
|
@@ -2688,6 +2823,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
2688
2823
|
def rl_enable_framebuffer(unsignedint_0: int,) -> None:
|
|
2689
2824
|
"""void rlEnableFramebuffer(unsigned int);
|
|
2690
2825
|
|
|
2826
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2827
|
+
...
|
|
2828
|
+
def rl_enable_point_mode() -> None:
|
|
2829
|
+
"""void rlEnablePointMode();
|
|
2830
|
+
|
|
2691
2831
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2692
2832
|
...
|
|
2693
2833
|
def rl_enable_scissor_test() -> None:
|
|
@@ -3208,6 +3348,18 @@ class AudioStream:
|
|
|
3208
3348
|
self.sampleRate=sampleRate
|
|
3209
3349
|
self.sampleSize=sampleSize
|
|
3210
3350
|
self.channels=channels
|
|
3351
|
+
class AutomationEvent:
|
|
3352
|
+
""" struct """
|
|
3353
|
+
def __init__(self, frame, type, params):
|
|
3354
|
+
self.frame=frame
|
|
3355
|
+
self.type=type
|
|
3356
|
+
self.params=params
|
|
3357
|
+
class AutomationEventList:
|
|
3358
|
+
""" struct """
|
|
3359
|
+
def __init__(self, capacity, count, events):
|
|
3360
|
+
self.capacity=capacity
|
|
3361
|
+
self.count=count
|
|
3362
|
+
self.events=events
|
|
3211
3363
|
class BoneInfo:
|
|
3212
3364
|
""" struct """
|
|
3213
3365
|
def __init__(self, name, parent):
|
|
@@ -3355,11 +3507,12 @@ class Model:
|
|
|
3355
3507
|
self.bindPose=bindPose
|
|
3356
3508
|
class ModelAnimation:
|
|
3357
3509
|
""" struct """
|
|
3358
|
-
def __init__(self, boneCount, frameCount, bones, framePoses):
|
|
3510
|
+
def __init__(self, boneCount, frameCount, bones, framePoses, name):
|
|
3359
3511
|
self.boneCount=boneCount
|
|
3360
3512
|
self.frameCount=frameCount
|
|
3361
3513
|
self.bones=bones
|
|
3362
3514
|
self.framePoses=framePoses
|
|
3515
|
+
self.name=name
|
|
3363
3516
|
class Music:
|
|
3364
3517
|
""" struct """
|
|
3365
3518
|
def __init__(self, stream, frameCount, looping, ctxType, ctxData):
|
|
@@ -3604,6 +3757,7 @@ class ConfigFlags(IntEnum):
|
|
|
3604
3757
|
FLAG_WINDOW_TRANSPARENT = 16
|
|
3605
3758
|
FLAG_WINDOW_HIGHDPI = 8192
|
|
3606
3759
|
FLAG_WINDOW_MOUSE_PASSTHROUGH = 16384
|
|
3760
|
+
FLAG_BORDERLESS_WINDOWED_MODE = 32768
|
|
3607
3761
|
FLAG_MSAA_4X_HINT = 32
|
|
3608
3762
|
FLAG_INTERLACED_HINT = 65536
|
|
3609
3763
|
|
|
@@ -3848,17 +4002,20 @@ class PixelFormat(IntEnum):
|
|
|
3848
4002
|
PIXELFORMAT_UNCOMPRESSED_R32 = 8
|
|
3849
4003
|
PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
|
|
3850
4004
|
PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
4005
|
+
PIXELFORMAT_UNCOMPRESSED_R16 = 11
|
|
4006
|
+
PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12
|
|
4007
|
+
PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13
|
|
4008
|
+
PIXELFORMAT_COMPRESSED_DXT1_RGB = 14
|
|
4009
|
+
PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15
|
|
4010
|
+
PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16
|
|
4011
|
+
PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17
|
|
4012
|
+
PIXELFORMAT_COMPRESSED_ETC1_RGB = 18
|
|
4013
|
+
PIXELFORMAT_COMPRESSED_ETC2_RGB = 19
|
|
4014
|
+
PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20
|
|
4015
|
+
PIXELFORMAT_COMPRESSED_PVRT_RGB = 21
|
|
4016
|
+
PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22
|
|
4017
|
+
PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23
|
|
4018
|
+
PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24
|
|
3862
4019
|
|
|
3863
4020
|
class TextureFilter(IntEnum):
|
|
3864
4021
|
TEXTURE_FILTER_POINT = 0
|
|
@@ -3937,6 +4094,16 @@ class GuiTextAlignment(IntEnum):
|
|
|
3937
4094
|
TEXT_ALIGN_CENTER = 1
|
|
3938
4095
|
TEXT_ALIGN_RIGHT = 2
|
|
3939
4096
|
|
|
4097
|
+
class GuiTextAlignmentVertical(IntEnum):
|
|
4098
|
+
TEXT_ALIGN_TOP = 0
|
|
4099
|
+
TEXT_ALIGN_MIDDLE = 1
|
|
4100
|
+
TEXT_ALIGN_BOTTOM = 2
|
|
4101
|
+
|
|
4102
|
+
class GuiTextWrapMode(IntEnum):
|
|
4103
|
+
TEXT_WRAP_NONE = 0
|
|
4104
|
+
TEXT_WRAP_CHAR = 1
|
|
4105
|
+
TEXT_WRAP_WORD = 2
|
|
4106
|
+
|
|
3940
4107
|
class GuiControl(IntEnum):
|
|
3941
4108
|
DEFAULT = 0
|
|
3942
4109
|
LABEL = 1
|
|
@@ -3971,13 +4138,15 @@ class GuiControlProperty(IntEnum):
|
|
|
3971
4138
|
BORDER_WIDTH = 12
|
|
3972
4139
|
TEXT_PADDING = 13
|
|
3973
4140
|
TEXT_ALIGNMENT = 14
|
|
3974
|
-
RESERVED = 15
|
|
3975
4141
|
|
|
3976
4142
|
class GuiDefaultProperty(IntEnum):
|
|
3977
4143
|
TEXT_SIZE = 16
|
|
3978
4144
|
TEXT_SPACING = 17
|
|
3979
4145
|
LINE_COLOR = 18
|
|
3980
4146
|
BACKGROUND_COLOR = 19
|
|
4147
|
+
TEXT_LINE_SPACING = 20
|
|
4148
|
+
TEXT_ALIGNMENT_VERTICAL = 21
|
|
4149
|
+
TEXT_WRAP_MODE = 22
|
|
3981
4150
|
|
|
3982
4151
|
class GuiToggleProperty(IntEnum):
|
|
3983
4152
|
GROUP_PADDING = 16
|
|
@@ -4009,11 +4178,7 @@ class GuiDropdownBoxProperty(IntEnum):
|
|
|
4009
4178
|
DROPDOWN_ITEMS_SPACING = 17
|
|
4010
4179
|
|
|
4011
4180
|
class GuiTextBoxProperty(IntEnum):
|
|
4012
|
-
|
|
4013
|
-
TEXT_LINES_SPACING = 17
|
|
4014
|
-
TEXT_ALIGNMENT_VERTICAL = 18
|
|
4015
|
-
TEXT_MULTILINE = 19
|
|
4016
|
-
TEXT_WRAP_MODE = 20
|
|
4181
|
+
TEXT_READONLY = 16
|
|
4017
4182
|
|
|
4018
4183
|
class GuiSpinnerProperty(IntEnum):
|
|
4019
4184
|
SPIN_BUTTON_WIDTH = 16
|
|
@@ -4252,7 +4417,7 @@ class GuiIconName(IntEnum):
|
|
|
4252
4417
|
ICON_REG_EXP = 216
|
|
4253
4418
|
ICON_FOLDER = 217
|
|
4254
4419
|
ICON_FILE = 218
|
|
4255
|
-
|
|
4420
|
+
ICON_SAND_TIMER = 219
|
|
4256
4421
|
ICON_220 = 220
|
|
4257
4422
|
ICON_221 = 221
|
|
4258
4423
|
ICON_222 = 222
|