raylib 4.5.0.0__cp39-cp39-win_amd64.whl → 5.0.0.0__cp39-cp39-win_amd64.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.pyd +0 -0
- raylib/enums.py +30 -18
- raylib/version.py +1 -1
- {raylib-4.5.0.0.dist-info → raylib-5.0.0.0.dist-info}/METADATA +4 -3
- raylib-5.0.0.0.dist-info/RECORD +15 -0
- {raylib-4.5.0.0.dist-info → raylib-5.0.0.0.dist-info}/WHEEL +1 -1
- raylib-4.5.0.0.dist-info/RECORD +0 -15
- {raylib-4.5.0.0.dist-info → raylib-5.0.0.0.dist-info}/LICENSE +0 -0
- {raylib-4.5.0.0.dist-info → raylib-5.0.0.0.dist-info}/top_level.txt +0 -0
raylib/__init__.pyi
CHANGED
|
@@ -12,10 +12,10 @@ ARROWS_SIZE: int
|
|
|
12
12
|
ARROWS_VISIBLE: int
|
|
13
13
|
ARROW_PADDING: int
|
|
14
14
|
def AttachAudioMixedProcessor(processor: Any,) -> None:
|
|
15
|
-
"""Attach audio stream processor to the entire audio pipeline"""
|
|
15
|
+
"""Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s"""
|
|
16
16
|
...
|
|
17
17
|
def AttachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
|
|
18
|
-
"""Attach audio stream processor to stream"""
|
|
18
|
+
"""Attach audio stream processor to stream, receives the samples as <float>s"""
|
|
19
19
|
...
|
|
20
20
|
BACKGROUND_COLOR: int
|
|
21
21
|
BASE_COLOR_DISABLED: int
|
|
@@ -251,6 +251,9 @@ def DrawCircleGradient(centerX: int,centerY: int,radius: float,color1: Color,col
|
|
|
251
251
|
def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color,) -> None:
|
|
252
252
|
"""Draw circle outline"""
|
|
253
253
|
...
|
|
254
|
+
def DrawCircleLinesV(center: Vector2,radius: float,color: Color,) -> None:
|
|
255
|
+
"""Draw circle outline (Vector version)"""
|
|
256
|
+
...
|
|
254
257
|
def DrawCircleSector(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
|
|
255
258
|
"""Draw a piece of a circle"""
|
|
256
259
|
...
|
|
@@ -303,22 +306,16 @@ def DrawLine3D(startPos: Vector3,endPos: Vector3,color: Color,) -> None:
|
|
|
303
306
|
"""Draw a line in 3D world space"""
|
|
304
307
|
...
|
|
305
308
|
def DrawLineBezier(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
|
|
306
|
-
"""Draw
|
|
307
|
-
...
|
|
308
|
-
def DrawLineBezierCubic(startPos: Vector2,endPos: Vector2,startControlPos: Vector2,endControlPos: Vector2,thick: float,color: Color,) -> None:
|
|
309
|
-
"""Draw line using cubic bezier curves with 2 control points"""
|
|
310
|
-
...
|
|
311
|
-
def DrawLineBezierQuad(startPos: Vector2,endPos: Vector2,controlPos: Vector2,thick: float,color: Color,) -> None:
|
|
312
|
-
"""Draw line using quadratic bezier curves with a control point"""
|
|
309
|
+
"""Draw line segment cubic-bezier in-out interpolation"""
|
|
313
310
|
...
|
|
314
311
|
def DrawLineEx(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
|
|
315
|
-
"""Draw a line
|
|
312
|
+
"""Draw a line (using triangles/quads)"""
|
|
316
313
|
...
|
|
317
314
|
def DrawLineStrip(points: Any,pointCount: int,color: Color,) -> None:
|
|
318
|
-
"""Draw lines sequence"""
|
|
315
|
+
"""Draw lines sequence (using gl lines)"""
|
|
319
316
|
...
|
|
320
317
|
def DrawLineV(startPos: Vector2,endPos: Vector2,color: Color,) -> None:
|
|
321
|
-
"""Draw a line (
|
|
318
|
+
"""Draw a line (using gl lines)"""
|
|
322
319
|
...
|
|
323
320
|
def DrawMesh(mesh: Mesh,material: Material,transform: Matrix,) -> None:
|
|
324
321
|
"""Draw a 3d mesh with material and transform"""
|
|
@@ -410,13 +407,43 @@ def DrawSphereEx(centerPos: Vector3,radius: float,rings: int,slices: int,color:
|
|
|
410
407
|
def DrawSphereWires(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None:
|
|
411
408
|
"""Draw sphere wires"""
|
|
412
409
|
...
|
|
410
|
+
def DrawSplineBasis(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
411
|
+
"""Draw spline: B-Spline, minimum 4 points"""
|
|
412
|
+
...
|
|
413
|
+
def DrawSplineBezierCubic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
414
|
+
"""Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]"""
|
|
415
|
+
...
|
|
416
|
+
def DrawSplineBezierQuadratic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
417
|
+
"""Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]"""
|
|
418
|
+
...
|
|
419
|
+
def DrawSplineCatmullRom(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
420
|
+
"""Draw spline: Catmull-Rom, minimum 4 points"""
|
|
421
|
+
...
|
|
422
|
+
def DrawSplineLinear(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
423
|
+
"""Draw spline: Linear, minimum 2 points"""
|
|
424
|
+
...
|
|
425
|
+
def DrawSplineSegmentBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
426
|
+
"""Draw spline segment: B-Spline, 4 points"""
|
|
427
|
+
...
|
|
428
|
+
def DrawSplineSegmentBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
429
|
+
"""Draw spline segment: Cubic Bezier, 2 points, 2 control points"""
|
|
430
|
+
...
|
|
431
|
+
def DrawSplineSegmentBezierQuadratic(p1: Vector2,c2: Vector2,p3: Vector2,thick: float,color: Color,) -> None:
|
|
432
|
+
"""Draw spline segment: Quadratic Bezier, 2 points, 1 control point"""
|
|
433
|
+
...
|
|
434
|
+
def DrawSplineSegmentCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
435
|
+
"""Draw spline segment: Catmull-Rom, 4 points"""
|
|
436
|
+
...
|
|
437
|
+
def DrawSplineSegmentLinear(p1: Vector2,p2: Vector2,thick: float,color: Color,) -> None:
|
|
438
|
+
"""Draw spline segment: Linear, 2 points"""
|
|
439
|
+
...
|
|
413
440
|
def DrawText(text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None:
|
|
414
441
|
"""Draw text (using default font)"""
|
|
415
442
|
...
|
|
416
443
|
def DrawTextCodepoint(font: Font,codepoint: int,position: Vector2,fontSize: float,tint: Color,) -> None:
|
|
417
444
|
"""Draw one character (codepoint)"""
|
|
418
445
|
...
|
|
419
|
-
def DrawTextCodepoints(font: Font,codepoints: Any,
|
|
446
|
+
def DrawTextCodepoints(font: Font,codepoints: Any,codepointCount: int,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
|
|
420
447
|
"""Draw multiple character (codepoint)"""
|
|
421
448
|
...
|
|
422
449
|
def DrawTextEx(font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
|
|
@@ -494,7 +521,10 @@ def EndTextureMode() -> None:
|
|
|
494
521
|
def EndVrStereoMode() -> None:
|
|
495
522
|
"""End stereo rendering (requires VR simulator)"""
|
|
496
523
|
...
|
|
497
|
-
def
|
|
524
|
+
def ExportAutomationEventList(list: AutomationEventList,fileName: str,) -> bool:
|
|
525
|
+
"""Export automation events list as text file"""
|
|
526
|
+
...
|
|
527
|
+
def ExportDataAsCode(data: str,dataSize: int,fileName: str,) -> bool:
|
|
498
528
|
"""Export data to code (.h), returns true on success"""
|
|
499
529
|
...
|
|
500
530
|
def ExportFontAsCode(font: Font,fileName: str,) -> bool:
|
|
@@ -506,6 +536,9 @@ def ExportImage(image: Image,fileName: str,) -> bool:
|
|
|
506
536
|
def ExportImageAsCode(image: Image,fileName: str,) -> bool:
|
|
507
537
|
"""Export image as code file defining an array of bytes, returns true on success"""
|
|
508
538
|
...
|
|
539
|
+
def ExportImageToMemory(image: Image,fileType: str,fileSize: Any,) -> str:
|
|
540
|
+
"""Export image to memory buffer"""
|
|
541
|
+
...
|
|
509
542
|
def ExportMesh(mesh: Mesh,fileName: str,) -> bool:
|
|
510
543
|
"""Export mesh data to file, returns true on success"""
|
|
511
544
|
...
|
|
@@ -515,6 +548,7 @@ def ExportWave(wave: Wave,fileName: str,) -> bool:
|
|
|
515
548
|
def ExportWaveAsCode(wave: Wave,fileName: str,) -> bool:
|
|
516
549
|
"""Export wave sample data to code (.h), returns true on success"""
|
|
517
550
|
...
|
|
551
|
+
FLAG_BORDERLESS_WINDOWED_MODE: int
|
|
518
552
|
FLAG_FULLSCREEN_MODE: int
|
|
519
553
|
FLAG_INTERLACED_HINT: int
|
|
520
554
|
FLAG_MSAA_4X_HINT: int
|
|
@@ -589,17 +623,17 @@ def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color
|
|
|
589
623
|
def GenImageColor(width: int,height: int,color: Color,) -> Image:
|
|
590
624
|
"""Generate image: plain color"""
|
|
591
625
|
...
|
|
592
|
-
def GenImageFontAtlas(
|
|
626
|
+
def GenImageFontAtlas(glyphs: Any,glyphRecs: Any,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
|
|
593
627
|
"""Generate image font atlas using chars info"""
|
|
594
628
|
...
|
|
595
|
-
def
|
|
596
|
-
"""Generate image:
|
|
629
|
+
def GenImageGradientLinear(width: int,height: int,direction: int,start: Color,end: Color,) -> Image:
|
|
630
|
+
"""Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient"""
|
|
597
631
|
...
|
|
598
632
|
def GenImageGradientRadial(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
|
|
599
633
|
"""Generate image: radial gradient"""
|
|
600
634
|
...
|
|
601
|
-
def
|
|
602
|
-
"""Generate image:
|
|
635
|
+
def GenImageGradientSquare(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
|
|
636
|
+
"""Generate image: square gradient"""
|
|
603
637
|
...
|
|
604
638
|
def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image:
|
|
605
639
|
"""Generate image: perlin noise"""
|
|
@@ -650,7 +684,7 @@ def GenTextureMipmaps(texture: Any,) -> None:
|
|
|
650
684
|
"""Generate GPU mipmaps for a texture"""
|
|
651
685
|
...
|
|
652
686
|
def GetApplicationDirectory() -> str:
|
|
653
|
-
"""Get the directory
|
|
687
|
+
"""Get the directory of the running application (uses static string)"""
|
|
654
688
|
...
|
|
655
689
|
def GetCameraMatrix(camera: Camera3D,) -> Matrix:
|
|
656
690
|
"""Get camera transform matrix (view matrix)"""
|
|
@@ -760,6 +794,9 @@ def GetImageColor(image: Image,x: int,y: int,) -> Color:
|
|
|
760
794
|
def GetKeyPressed() -> int:
|
|
761
795
|
"""Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty"""
|
|
762
796
|
...
|
|
797
|
+
def GetMasterVolume() -> float:
|
|
798
|
+
"""Get master volume (listener)"""
|
|
799
|
+
...
|
|
763
800
|
def GetMeshBoundingBox(mesh: Mesh,) -> BoundingBox:
|
|
764
801
|
"""Compute mesh bounding box limits"""
|
|
765
802
|
...
|
|
@@ -773,7 +810,7 @@ def GetMonitorHeight(monitor: int,) -> int:
|
|
|
773
810
|
"""Get specified monitor height (current video mode used by monitor)"""
|
|
774
811
|
...
|
|
775
812
|
def GetMonitorName(monitor: int,) -> str:
|
|
776
|
-
"""Get the human-readable, UTF-8 encoded name of the
|
|
813
|
+
"""Get the human-readable, UTF-8 encoded name of the specified monitor"""
|
|
777
814
|
...
|
|
778
815
|
def GetMonitorPhysicalHeight(monitor: int,) -> int:
|
|
779
816
|
"""Get specified monitor physical height in millimetres"""
|
|
@@ -890,6 +927,21 @@ def GetShaderLocation(shader: Shader,uniformName: str,) -> int:
|
|
|
890
927
|
def GetShaderLocationAttrib(shader: Shader,attribName: str,) -> int:
|
|
891
928
|
"""Get shader attribute location"""
|
|
892
929
|
...
|
|
930
|
+
def GetSplinePointBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
931
|
+
"""Get (evaluate) spline point: B-Spline"""
|
|
932
|
+
...
|
|
933
|
+
def GetSplinePointBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
934
|
+
"""Get (evaluate) spline point: Cubic Bezier"""
|
|
935
|
+
...
|
|
936
|
+
def GetSplinePointBezierQuad(p1: Vector2,c2: Vector2,p3: Vector2,t: float,) -> Vector2:
|
|
937
|
+
"""Get (evaluate) spline point: Quadratic Bezier"""
|
|
938
|
+
...
|
|
939
|
+
def GetSplinePointCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
940
|
+
"""Get (evaluate) spline point: Catmull-Rom"""
|
|
941
|
+
...
|
|
942
|
+
def GetSplinePointLinear(startPos: Vector2,endPos: Vector2,t: float,) -> Vector2:
|
|
943
|
+
"""Get (evaluate) spline point: Linear"""
|
|
944
|
+
...
|
|
893
945
|
def GetTime() -> float:
|
|
894
946
|
"""Get elapsed time in seconds since InitWindow()"""
|
|
895
947
|
...
|
|
@@ -929,38 +981,48 @@ def GetWorldToScreen2D(position: Vector2,camera: Camera2D,) -> Vector2:
|
|
|
929
981
|
def GetWorldToScreenEx(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2:
|
|
930
982
|
"""Get size position for a 3d world space position"""
|
|
931
983
|
...
|
|
932
|
-
def GuiButton(Rectangle_0: Rectangle,str_1: str,) ->
|
|
933
|
-
"""
|
|
984
|
+
def GuiButton(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
985
|
+
"""int GuiButton(struct Rectangle, char *);
|
|
986
|
+
|
|
987
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
988
|
+
...
|
|
989
|
+
def GuiCheckBox(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int:
|
|
990
|
+
"""int GuiCheckBox(struct Rectangle, char *, _Bool *);
|
|
991
|
+
|
|
992
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
993
|
+
...
|
|
994
|
+
def GuiColorBarAlpha(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int:
|
|
995
|
+
"""int GuiColorBarAlpha(struct Rectangle, char *, float *);
|
|
934
996
|
|
|
935
997
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
936
998
|
...
|
|
937
|
-
def
|
|
938
|
-
"""
|
|
999
|
+
def GuiColorBarHue(Rectangle_0: Rectangle,str_1: str,float_pointer_2: Any,) -> int:
|
|
1000
|
+
"""int GuiColorBarHue(struct Rectangle, char *, float *);
|
|
939
1001
|
|
|
940
1002
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
941
1003
|
...
|
|
942
|
-
def
|
|
943
|
-
"""
|
|
1004
|
+
def GuiColorPanel(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int:
|
|
1005
|
+
"""int GuiColorPanel(struct Rectangle, char *, struct Color *);
|
|
944
1006
|
|
|
945
1007
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
946
1008
|
...
|
|
947
|
-
def
|
|
948
|
-
"""
|
|
1009
|
+
def GuiColorPanelHSV(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int:
|
|
1010
|
+
"""int GuiColorPanelHSV(struct Rectangle, char *, struct Vector3 *);
|
|
949
1011
|
|
|
950
1012
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
951
1013
|
...
|
|
952
|
-
def
|
|
953
|
-
"""
|
|
1014
|
+
def GuiColorPicker(Rectangle_0: Rectangle,str_1: str,Color_pointer_2: Any,) -> int:
|
|
1015
|
+
"""int GuiColorPicker(struct Rectangle, char *, struct Color *);
|
|
954
1016
|
|
|
955
1017
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
956
1018
|
...
|
|
957
|
-
def
|
|
958
|
-
"""
|
|
1019
|
+
def GuiColorPickerHSV(Rectangle_0: Rectangle,str_1: str,Vector3_pointer_2: Any,) -> int:
|
|
1020
|
+
"""int GuiColorPickerHSV(struct Rectangle, char *, struct Vector3 *);
|
|
959
1021
|
|
|
960
1022
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
961
1023
|
...
|
|
962
|
-
def GuiComboBox(Rectangle_0: Rectangle,str_1: str,
|
|
963
|
-
"""int GuiComboBox(struct Rectangle, char *, int);
|
|
1024
|
+
def GuiComboBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int:
|
|
1025
|
+
"""int GuiComboBox(struct Rectangle, char *, int *);
|
|
964
1026
|
|
|
965
1027
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
966
1028
|
...
|
|
@@ -979,13 +1041,13 @@ def GuiDrawIcon(int_0: int,int_1: int,int_2: int,int_3: int,Color_4: Color,) ->
|
|
|
979
1041
|
|
|
980
1042
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
981
1043
|
...
|
|
982
|
-
def GuiDropdownBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) ->
|
|
983
|
-
"""
|
|
1044
|
+
def GuiDropdownBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,_Bool_3: bool,) -> int:
|
|
1045
|
+
"""int GuiDropdownBox(struct Rectangle, char *, int *, _Bool);
|
|
984
1046
|
|
|
985
1047
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
986
1048
|
...
|
|
987
|
-
def GuiDummyRec(Rectangle_0: Rectangle,str_1: str,) ->
|
|
988
|
-
"""
|
|
1049
|
+
def GuiDummyRec(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1050
|
+
"""int GuiDummyRec(struct Rectangle, char *);
|
|
989
1051
|
|
|
990
1052
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
991
1053
|
...
|
|
@@ -997,11 +1059,6 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
997
1059
|
def GuiEnableTooltip() -> None:
|
|
998
1060
|
"""void GuiEnableTooltip();
|
|
999
1061
|
|
|
1000
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1001
|
-
...
|
|
1002
|
-
def GuiFade(float_0: float,) -> None:
|
|
1003
|
-
"""void GuiFade(float);
|
|
1004
|
-
|
|
1005
1062
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1006
1063
|
...
|
|
1007
1064
|
def GuiGetFont() -> Font:
|
|
@@ -1024,13 +1081,13 @@ def GuiGetStyle(int_0: int,int_1: int,) -> int:
|
|
|
1024
1081
|
|
|
1025
1082
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1026
1083
|
...
|
|
1027
|
-
def GuiGrid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,) ->
|
|
1028
|
-
"""
|
|
1084
|
+
def GuiGrid(Rectangle_0: Rectangle,str_1: str,float_2: float,int_3: int,Vector2_pointer_4: Any,) -> int:
|
|
1085
|
+
"""int GuiGrid(struct Rectangle, char *, float, int, struct Vector2 *);
|
|
1029
1086
|
|
|
1030
1087
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1031
1088
|
...
|
|
1032
|
-
def GuiGroupBox(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1033
|
-
"""
|
|
1089
|
+
def GuiGroupBox(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1090
|
+
"""int GuiGroupBox(struct Rectangle, char *);
|
|
1034
1091
|
|
|
1035
1092
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1036
1093
|
...
|
|
@@ -1044,28 +1101,28 @@ def GuiIsLocked() -> bool:
|
|
|
1044
1101
|
|
|
1045
1102
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1046
1103
|
...
|
|
1047
|
-
def GuiLabel(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1048
|
-
"""
|
|
1104
|
+
def GuiLabel(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1105
|
+
"""int GuiLabel(struct Rectangle, char *);
|
|
1049
1106
|
|
|
1050
1107
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1051
1108
|
...
|
|
1052
|
-
def GuiLabelButton(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1053
|
-
"""
|
|
1109
|
+
def GuiLabelButton(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1110
|
+
"""int GuiLabelButton(struct Rectangle, char *);
|
|
1054
1111
|
|
|
1055
1112
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1056
1113
|
...
|
|
1057
|
-
def GuiLine(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1058
|
-
"""
|
|
1114
|
+
def GuiLine(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1115
|
+
"""int GuiLine(struct Rectangle, char *);
|
|
1059
1116
|
|
|
1060
1117
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1061
1118
|
...
|
|
1062
|
-
def GuiListView(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,
|
|
1063
|
-
"""int GuiListView(struct Rectangle, char *, int *, int);
|
|
1119
|
+
def GuiListView(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_pointer_3: Any,) -> int:
|
|
1120
|
+
"""int GuiListView(struct Rectangle, char *, int *, int *);
|
|
1064
1121
|
|
|
1065
1122
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1066
1123
|
...
|
|
1067
|
-
def GuiListViewEx(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,
|
|
1068
|
-
"""int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int);
|
|
1124
|
+
def GuiListViewEx(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,int_pointer_5: Any,) -> int:
|
|
1125
|
+
"""int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int *);
|
|
1069
1126
|
|
|
1070
1127
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1071
1128
|
...
|
|
@@ -1094,18 +1151,23 @@ def GuiMessageBox(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,) -> i
|
|
|
1094
1151
|
|
|
1095
1152
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1096
1153
|
...
|
|
1097
|
-
def GuiPanel(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1098
|
-
"""
|
|
1154
|
+
def GuiPanel(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1155
|
+
"""int GuiPanel(struct Rectangle, char *);
|
|
1156
|
+
|
|
1157
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1158
|
+
...
|
|
1159
|
+
def GuiProgressBar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int:
|
|
1160
|
+
"""int GuiProgressBar(struct Rectangle, char *, char *, float *, float, float);
|
|
1099
1161
|
|
|
1100
1162
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1101
1163
|
...
|
|
1102
|
-
def
|
|
1103
|
-
"""
|
|
1164
|
+
def GuiScrollPanel(Rectangle_0: Rectangle,str_1: str,Rectangle_2: Rectangle,Vector2_pointer_3: Any,Rectangle_pointer_4: Any,) -> int:
|
|
1165
|
+
"""int GuiScrollPanel(struct Rectangle, char *, struct Rectangle, struct Vector2 *, struct Rectangle *);
|
|
1104
1166
|
|
|
1105
1167
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1106
1168
|
...
|
|
1107
|
-
def
|
|
1108
|
-
"""
|
|
1169
|
+
def GuiSetAlpha(float_0: float,) -> None:
|
|
1170
|
+
"""void GuiSetAlpha(float);
|
|
1109
1171
|
|
|
1110
1172
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1111
1173
|
...
|
|
@@ -1134,23 +1196,23 @@ def GuiSetTooltip(str_0: str,) -> None:
|
|
|
1134
1196
|
|
|
1135
1197
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1136
1198
|
...
|
|
1137
|
-
def GuiSlider(Rectangle_0: Rectangle,str_1: str,str_2: str,
|
|
1138
|
-
"""
|
|
1199
|
+
def GuiSlider(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int:
|
|
1200
|
+
"""int GuiSlider(struct Rectangle, char *, char *, float *, float, float);
|
|
1139
1201
|
|
|
1140
1202
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1141
1203
|
...
|
|
1142
|
-
def GuiSliderBar(Rectangle_0: Rectangle,str_1: str,str_2: str,
|
|
1143
|
-
"""
|
|
1204
|
+
def GuiSliderBar(Rectangle_0: Rectangle,str_1: str,str_2: str,float_pointer_3: Any,float_4: float,float_5: float,) -> int:
|
|
1205
|
+
"""int GuiSliderBar(struct Rectangle, char *, char *, float *, float, float);
|
|
1144
1206
|
|
|
1145
1207
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1146
1208
|
...
|
|
1147
|
-
def GuiSpinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) ->
|
|
1148
|
-
"""
|
|
1209
|
+
def GuiSpinner(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int:
|
|
1210
|
+
"""int GuiSpinner(struct Rectangle, char *, int *, int, int, _Bool);
|
|
1149
1211
|
|
|
1150
1212
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1151
1213
|
...
|
|
1152
|
-
def GuiStatusBar(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1153
|
-
"""
|
|
1214
|
+
def GuiStatusBar(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1215
|
+
"""int GuiStatusBar(struct Rectangle, char *);
|
|
1154
1216
|
|
|
1155
1217
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1156
1218
|
...
|
|
@@ -1159,23 +1221,28 @@ def GuiTabBar(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3
|
|
|
1159
1221
|
|
|
1160
1222
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1161
1223
|
...
|
|
1162
|
-
def GuiTextBox(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) ->
|
|
1163
|
-
"""
|
|
1224
|
+
def GuiTextBox(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> int:
|
|
1225
|
+
"""int GuiTextBox(struct Rectangle, char *, int, _Bool);
|
|
1164
1226
|
|
|
1165
1227
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1166
1228
|
...
|
|
1167
|
-
def GuiTextInputBox(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,
|
|
1168
|
-
"""int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int,
|
|
1229
|
+
def GuiTextInputBox(Rectangle_0: Rectangle,str_1: str,str_2: str,str_3: str,str_4: str,int_5: int,_Bool_pointer_6: Any,) -> int:
|
|
1230
|
+
"""int GuiTextInputBox(struct Rectangle, char *, char *, char *, char *, int, _Bool *);
|
|
1169
1231
|
|
|
1170
1232
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1171
1233
|
...
|
|
1172
|
-
def GuiToggle(Rectangle_0: Rectangle,str_1: str,
|
|
1173
|
-
"""
|
|
1234
|
+
def GuiToggle(Rectangle_0: Rectangle,str_1: str,_Bool_pointer_2: Any,) -> int:
|
|
1235
|
+
"""int GuiToggle(struct Rectangle, char *, _Bool *);
|
|
1174
1236
|
|
|
1175
1237
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1176
1238
|
...
|
|
1177
|
-
def GuiToggleGroup(Rectangle_0: Rectangle,str_1: str,
|
|
1178
|
-
"""int GuiToggleGroup(struct Rectangle, char *, int);
|
|
1239
|
+
def GuiToggleGroup(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int:
|
|
1240
|
+
"""int GuiToggleGroup(struct Rectangle, char *, int *);
|
|
1241
|
+
|
|
1242
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1243
|
+
...
|
|
1244
|
+
def GuiToggleSlider(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,) -> int:
|
|
1245
|
+
"""int GuiToggleSlider(struct Rectangle, char *, int *);
|
|
1179
1246
|
|
|
1180
1247
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1181
1248
|
...
|
|
@@ -1184,13 +1251,13 @@ def GuiUnlock() -> None:
|
|
|
1184
1251
|
|
|
1185
1252
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1186
1253
|
...
|
|
1187
|
-
def GuiValueBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) ->
|
|
1188
|
-
"""
|
|
1254
|
+
def GuiValueBox(Rectangle_0: Rectangle,str_1: str,int_pointer_2: Any,int_3: int,int_4: int,_Bool_5: bool,) -> int:
|
|
1255
|
+
"""int GuiValueBox(struct Rectangle, char *, int *, int, int, _Bool);
|
|
1189
1256
|
|
|
1190
1257
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1191
1258
|
...
|
|
1192
|
-
def GuiWindowBox(Rectangle_0: Rectangle,str_1: str,) ->
|
|
1193
|
-
"""
|
|
1259
|
+
def GuiWindowBox(Rectangle_0: Rectangle,str_1: str,) -> int:
|
|
1260
|
+
"""int GuiWindowBox(struct Rectangle, char *);
|
|
1194
1261
|
|
|
1195
1262
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1196
1263
|
...
|
|
@@ -1202,7 +1269,6 @@ def HideCursor() -> None:
|
|
|
1202
1269
|
"""Hides cursor"""
|
|
1203
1270
|
...
|
|
1204
1271
|
ICON_1UP: int
|
|
1205
|
-
ICON_219: int
|
|
1206
1272
|
ICON_220: int
|
|
1207
1273
|
ICON_221: int
|
|
1208
1274
|
ICON_222: int
|
|
@@ -1414,6 +1480,7 @@ ICON_ROM: int
|
|
|
1414
1480
|
ICON_ROTATE: int
|
|
1415
1481
|
ICON_ROTATE_FILL: int
|
|
1416
1482
|
ICON_RUBBER: int
|
|
1483
|
+
ICON_SAND_TIMER: int
|
|
1417
1484
|
ICON_SCALE: int
|
|
1418
1485
|
ICON_SHIELD: int
|
|
1419
1486
|
ICON_SHUFFLE: int
|
|
@@ -1571,6 +1638,9 @@ def ImageResizeCanvas(image: Any,newWidth: int,newHeight: int,offsetX: int,offse
|
|
|
1571
1638
|
def ImageResizeNN(image: Any,newWidth: int,newHeight: int,) -> None:
|
|
1572
1639
|
"""Resize image (Nearest-Neighbor scaling algorithm)"""
|
|
1573
1640
|
...
|
|
1641
|
+
def ImageRotate(image: Any,degrees: int,) -> None:
|
|
1642
|
+
"""Rotate image by input angle in degrees (-359 to 359)"""
|
|
1643
|
+
...
|
|
1574
1644
|
def ImageRotateCCW(image: Any,) -> None:
|
|
1575
1645
|
"""Rotate image counter-clockwise 90deg"""
|
|
1576
1646
|
...
|
|
@@ -1651,6 +1721,9 @@ def IsKeyDown(key: int,) -> bool:
|
|
|
1651
1721
|
def IsKeyPressed(key: int,) -> bool:
|
|
1652
1722
|
"""Check if a key has been pressed once"""
|
|
1653
1723
|
...
|
|
1724
|
+
def IsKeyPressedRepeat(key: int,) -> bool:
|
|
1725
|
+
"""Check if a key has been pressed again (Only PLATFORM_DESKTOP)"""
|
|
1726
|
+
...
|
|
1654
1727
|
def IsKeyReleased(key: int,) -> bool:
|
|
1655
1728
|
"""Check if a key has been released once"""
|
|
1656
1729
|
...
|
|
@@ -1860,6 +1933,9 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
1860
1933
|
def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
|
|
1861
1934
|
"""Load audio stream (to stream raw audio pcm data)"""
|
|
1862
1935
|
...
|
|
1936
|
+
def LoadAutomationEventList(fileName: str,) -> AutomationEventList:
|
|
1937
|
+
"""Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS"""
|
|
1938
|
+
...
|
|
1863
1939
|
def LoadCodepoints(text: str,count: Any,) -> Any:
|
|
1864
1940
|
"""Load all codepoints from a UTF-8 text string, codepoints count returned by parameter"""
|
|
1865
1941
|
...
|
|
@@ -1872,7 +1948,7 @@ def LoadDirectoryFilesEx(basePath: str,filter: str,scanSubdirs: bool,) -> FilePa
|
|
|
1872
1948
|
def LoadDroppedFiles() -> FilePathList:
|
|
1873
1949
|
"""Load dropped filepaths"""
|
|
1874
1950
|
...
|
|
1875
|
-
def LoadFileData(fileName: str,
|
|
1951
|
+
def LoadFileData(fileName: str,dataSize: Any,) -> str:
|
|
1876
1952
|
"""Load file data as byte array (read)"""
|
|
1877
1953
|
...
|
|
1878
1954
|
def LoadFileText(fileName: str,) -> str:
|
|
@@ -1881,16 +1957,16 @@ def LoadFileText(fileName: str,) -> str:
|
|
|
1881
1957
|
def LoadFont(fileName: str,) -> Font:
|
|
1882
1958
|
"""Load font from file into GPU memory (VRAM)"""
|
|
1883
1959
|
...
|
|
1884
|
-
def LoadFontData(fileData: str,dataSize: int,fontSize: int,
|
|
1960
|
+
def LoadFontData(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any:
|
|
1885
1961
|
"""Load font data for further use"""
|
|
1886
1962
|
...
|
|
1887
|
-
def LoadFontEx(fileName: str,fontSize: int,
|
|
1888
|
-
"""Load font from file with extended parameters, use NULL for
|
|
1963
|
+
def LoadFontEx(fileName: str,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1964
|
+
"""Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont"""
|
|
1889
1965
|
...
|
|
1890
1966
|
def LoadFontFromImage(image: Image,key: Color,firstChar: int,) -> Font:
|
|
1891
1967
|
"""Load font from Image (XNA style)"""
|
|
1892
1968
|
...
|
|
1893
|
-
def LoadFontFromMemory(fileType: str,fileData: str,dataSize: int,fontSize: int,
|
|
1969
|
+
def LoadFontFromMemory(fileType: str,fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1894
1970
|
"""Load font from memory buffer, fileType refers to extension: i.e. '.ttf'"""
|
|
1895
1971
|
...
|
|
1896
1972
|
def LoadImage(fileName: str,) -> Image:
|
|
@@ -1917,6 +1993,9 @@ def LoadImagePalette(image: Image,maxPaletteSize: int,colorCount: Any,) -> Any:
|
|
|
1917
1993
|
def LoadImageRaw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image:
|
|
1918
1994
|
"""Load image from RAW file data"""
|
|
1919
1995
|
...
|
|
1996
|
+
def LoadImageSvg(fileNameOrString: str,width: int,height: int,) -> Image:
|
|
1997
|
+
"""Load image from SVG file data or string with specified size"""
|
|
1998
|
+
...
|
|
1920
1999
|
def LoadMaterialDefault() -> Material:
|
|
1921
2000
|
"""Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"""
|
|
1922
2001
|
...
|
|
@@ -1938,6 +2017,9 @@ def LoadMusicStream(fileName: str,) -> Music:
|
|
|
1938
2017
|
def LoadMusicStreamFromMemory(fileType: str,data: str,dataSize: int,) -> Music:
|
|
1939
2018
|
"""Load music stream from data"""
|
|
1940
2019
|
...
|
|
2020
|
+
def LoadRandomSequence(count: int,min: int,max: int,) -> Any:
|
|
2021
|
+
"""Load random values sequence, no values repeated"""
|
|
2022
|
+
...
|
|
1941
2023
|
def LoadRenderTexture(width: int,height: int,) -> RenderTexture:
|
|
1942
2024
|
"""Load texture for rendering (framebuffer)"""
|
|
1943
2025
|
...
|
|
@@ -1950,6 +2032,9 @@ def LoadShaderFromMemory(vsCode: str,fsCode: str,) -> Shader:
|
|
|
1950
2032
|
def LoadSound(fileName: str,) -> Sound:
|
|
1951
2033
|
"""Load sound from file"""
|
|
1952
2034
|
...
|
|
2035
|
+
def LoadSoundAlias(source: Sound,) -> Sound:
|
|
2036
|
+
"""Create a new sound that shares the same sample data as the source sound, does not own the sound data"""
|
|
2037
|
+
...
|
|
1953
2038
|
def LoadSoundFromWave(wave: Wave,) -> Sound:
|
|
1954
2039
|
"""Load sound from wave data"""
|
|
1955
2040
|
...
|
|
@@ -2158,6 +2243,9 @@ PIXELFORMAT_COMPRESSED_PVRT_RGB: int
|
|
|
2158
2243
|
PIXELFORMAT_COMPRESSED_PVRT_RGBA: int
|
|
2159
2244
|
PIXELFORMAT_UNCOMPRESSED_GRAYSCALE: int
|
|
2160
2245
|
PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA: int
|
|
2246
|
+
PIXELFORMAT_UNCOMPRESSED_R16: int
|
|
2247
|
+
PIXELFORMAT_UNCOMPRESSED_R16G16B16: int
|
|
2248
|
+
PIXELFORMAT_UNCOMPRESSED_R16G16B16A16: int
|
|
2161
2249
|
PIXELFORMAT_UNCOMPRESSED_R32: int
|
|
2162
2250
|
PIXELFORMAT_UNCOMPRESSED_R32G32B32: int
|
|
2163
2251
|
PIXELFORMAT_UNCOMPRESSED_R32G32B32A32: int
|
|
@@ -2195,6 +2283,9 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
2195
2283
|
def PlayAudioStream(stream: AudioStream,) -> None:
|
|
2196
2284
|
"""Play audio stream"""
|
|
2197
2285
|
...
|
|
2286
|
+
def PlayAutomationEvent(event: AutomationEvent,) -> None:
|
|
2287
|
+
"""Play a recorded automation event"""
|
|
2288
|
+
...
|
|
2198
2289
|
def PlayMusicStream(music: Music,) -> None:
|
|
2199
2290
|
"""Start music playing"""
|
|
2200
2291
|
...
|
|
@@ -2319,7 +2410,6 @@ def QuaternionTransform(Vector4_0: Vector4,Matrix_1: Matrix,) -> Vector4:
|
|
|
2319
2410
|
|
|
2320
2411
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2321
2412
|
...
|
|
2322
|
-
RESERVED: int
|
|
2323
2413
|
RL_ATTACHMENT_COLOR_CHANNEL0: int
|
|
2324
2414
|
RL_ATTACHMENT_COLOR_CHANNEL1: int
|
|
2325
2415
|
RL_ATTACHMENT_COLOR_CHANNEL2: int
|
|
@@ -2361,6 +2451,7 @@ RL_OPENGL_21: int
|
|
|
2361
2451
|
RL_OPENGL_33: int
|
|
2362
2452
|
RL_OPENGL_43: int
|
|
2363
2453
|
RL_OPENGL_ES_20: int
|
|
2454
|
+
RL_OPENGL_ES_30: int
|
|
2364
2455
|
RL_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int
|
|
2365
2456
|
RL_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA: int
|
|
2366
2457
|
RL_PIXELFORMAT_COMPRESSED_DXT1_RGB: int
|
|
@@ -2374,6 +2465,9 @@ RL_PIXELFORMAT_COMPRESSED_PVRT_RGB: int
|
|
|
2374
2465
|
RL_PIXELFORMAT_COMPRESSED_PVRT_RGBA: int
|
|
2375
2466
|
RL_PIXELFORMAT_UNCOMPRESSED_GRAYSCALE: int
|
|
2376
2467
|
RL_PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA: int
|
|
2468
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R16: int
|
|
2469
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16: int
|
|
2470
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16A16: int
|
|
2377
2471
|
RL_PIXELFORMAT_UNCOMPRESSED_R32: int
|
|
2378
2472
|
RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32: int
|
|
2379
2473
|
RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32A32: int
|
|
@@ -2506,7 +2600,7 @@ STATE_FOCUSED: int
|
|
|
2506
2600
|
STATE_NORMAL: int
|
|
2507
2601
|
STATE_PRESSED: int
|
|
2508
2602
|
STATUSBAR: int
|
|
2509
|
-
def SaveFileData(fileName: str,data: Any,
|
|
2603
|
+
def SaveFileData(fileName: str,data: Any,dataSize: int,) -> bool:
|
|
2510
2604
|
"""Save data to file from byte array (write), returns true on success"""
|
|
2511
2605
|
...
|
|
2512
2606
|
def SaveFileText(fileName: str,text: str,) -> bool:
|
|
@@ -2530,6 +2624,12 @@ def SetAudioStreamPitch(stream: AudioStream,pitch: float,) -> None:
|
|
|
2530
2624
|
def SetAudioStreamVolume(stream: AudioStream,volume: float,) -> None:
|
|
2531
2625
|
"""Set volume for audio stream (1.0 is max level)"""
|
|
2532
2626
|
...
|
|
2627
|
+
def SetAutomationEventBaseFrame(frame: int,) -> None:
|
|
2628
|
+
"""Set automation event internal base frame to start recording"""
|
|
2629
|
+
...
|
|
2630
|
+
def SetAutomationEventList(list: Any,) -> None:
|
|
2631
|
+
"""Set automation event list to record to"""
|
|
2632
|
+
...
|
|
2533
2633
|
def SetClipboardText(text: str,) -> None:
|
|
2534
2634
|
"""Set clipboard text content"""
|
|
2535
2635
|
...
|
|
@@ -2635,6 +2735,9 @@ def SetSoundVolume(sound: Sound,volume: float,) -> None:
|
|
|
2635
2735
|
def SetTargetFPS(fps: int,) -> None:
|
|
2636
2736
|
"""Set target FPS (maximum)"""
|
|
2637
2737
|
...
|
|
2738
|
+
def SetTextLineSpacing(spacing: int,) -> None:
|
|
2739
|
+
"""Set vertical line spacing when drawing with line-breaks"""
|
|
2740
|
+
...
|
|
2638
2741
|
def SetTextureFilter(texture: Texture,filter: int,) -> None:
|
|
2639
2742
|
"""Set texture scaling filter mode"""
|
|
2640
2743
|
...
|
|
@@ -2647,17 +2750,23 @@ def SetTraceLogCallback(callback: str,) -> None:
|
|
|
2647
2750
|
def SetTraceLogLevel(logLevel: int,) -> None:
|
|
2648
2751
|
"""Set the current threshold (minimum) log level"""
|
|
2649
2752
|
...
|
|
2753
|
+
def SetWindowFocused() -> None:
|
|
2754
|
+
"""Set window focused (only PLATFORM_DESKTOP)"""
|
|
2755
|
+
...
|
|
2650
2756
|
def SetWindowIcon(image: Image,) -> None:
|
|
2651
2757
|
"""Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)"""
|
|
2652
2758
|
...
|
|
2653
2759
|
def SetWindowIcons(images: Any,count: int,) -> None:
|
|
2654
2760
|
"""Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)"""
|
|
2655
2761
|
...
|
|
2762
|
+
def SetWindowMaxSize(width: int,height: int,) -> None:
|
|
2763
|
+
"""Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)"""
|
|
2764
|
+
...
|
|
2656
2765
|
def SetWindowMinSize(width: int,height: int,) -> None:
|
|
2657
2766
|
"""Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)"""
|
|
2658
2767
|
...
|
|
2659
2768
|
def SetWindowMonitor(monitor: int,) -> None:
|
|
2660
|
-
"""Set monitor for the current window
|
|
2769
|
+
"""Set monitor for the current window"""
|
|
2661
2770
|
...
|
|
2662
2771
|
def SetWindowOpacity(opacity: float,) -> None:
|
|
2663
2772
|
"""Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)"""
|
|
@@ -2672,14 +2781,20 @@ def SetWindowState(flags: int,) -> None:
|
|
|
2672
2781
|
"""Set window configuration state using flags (only PLATFORM_DESKTOP)"""
|
|
2673
2782
|
...
|
|
2674
2783
|
def SetWindowTitle(title: str,) -> None:
|
|
2675
|
-
"""Set title for window (only PLATFORM_DESKTOP)"""
|
|
2784
|
+
"""Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB)"""
|
|
2676
2785
|
...
|
|
2677
2786
|
def ShowCursor() -> None:
|
|
2678
2787
|
"""Shows cursor"""
|
|
2679
2788
|
...
|
|
2789
|
+
def StartAutomationEventRecording() -> None:
|
|
2790
|
+
"""Start recording automation events (AutomationEventList must be set)"""
|
|
2791
|
+
...
|
|
2680
2792
|
def StopAudioStream(stream: AudioStream,) -> None:
|
|
2681
2793
|
"""Stop audio stream"""
|
|
2682
2794
|
...
|
|
2795
|
+
def StopAutomationEventRecording() -> None:
|
|
2796
|
+
"""Stop recording automation events"""
|
|
2797
|
+
...
|
|
2683
2798
|
def StopMusicStream(music: Music,) -> None:
|
|
2684
2799
|
"""Stop music playing"""
|
|
2685
2800
|
...
|
|
@@ -2702,20 +2817,25 @@ TEXTURE_WRAP_MIRROR_REPEAT: int
|
|
|
2702
2817
|
TEXTURE_WRAP_REPEAT: int
|
|
2703
2818
|
TEXT_ALIGNMENT: int
|
|
2704
2819
|
TEXT_ALIGNMENT_VERTICAL: int
|
|
2820
|
+
TEXT_ALIGN_BOTTOM: int
|
|
2705
2821
|
TEXT_ALIGN_CENTER: int
|
|
2706
2822
|
TEXT_ALIGN_LEFT: int
|
|
2823
|
+
TEXT_ALIGN_MIDDLE: int
|
|
2707
2824
|
TEXT_ALIGN_RIGHT: int
|
|
2825
|
+
TEXT_ALIGN_TOP: int
|
|
2708
2826
|
TEXT_COLOR_DISABLED: int
|
|
2709
2827
|
TEXT_COLOR_FOCUSED: int
|
|
2710
2828
|
TEXT_COLOR_NORMAL: int
|
|
2711
2829
|
TEXT_COLOR_PRESSED: int
|
|
2712
|
-
|
|
2713
|
-
TEXT_LINES_SPACING: int
|
|
2714
|
-
TEXT_MULTILINE: int
|
|
2830
|
+
TEXT_LINE_SPACING: int
|
|
2715
2831
|
TEXT_PADDING: int
|
|
2832
|
+
TEXT_READONLY: int
|
|
2716
2833
|
TEXT_SIZE: int
|
|
2717
2834
|
TEXT_SPACING: int
|
|
2835
|
+
TEXT_WRAP_CHAR: int
|
|
2718
2836
|
TEXT_WRAP_MODE: int
|
|
2837
|
+
TEXT_WRAP_NONE: int
|
|
2838
|
+
TEXT_WRAP_WORD: int
|
|
2719
2839
|
TOGGLE: int
|
|
2720
2840
|
def TakeScreenshot(fileName: str,) -> None:
|
|
2721
2841
|
"""Takes a screenshot of current screen (filename extension defines format)"""
|
|
@@ -2765,6 +2885,9 @@ def TextToPascal(text: str,) -> str:
|
|
|
2765
2885
|
def TextToUpper(text: str,) -> str:
|
|
2766
2886
|
"""Get upper case version of provided string"""
|
|
2767
2887
|
...
|
|
2888
|
+
def ToggleBorderlessWindowed() -> None:
|
|
2889
|
+
"""Toggle window state: borderless windowed (only PLATFORM_DESKTOP)"""
|
|
2890
|
+
...
|
|
2768
2891
|
def ToggleFullscreen() -> None:
|
|
2769
2892
|
"""Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)"""
|
|
2770
2893
|
...
|
|
@@ -2774,6 +2897,9 @@ def TraceLog(*args) -> None:
|
|
|
2774
2897
|
def UnloadAudioStream(stream: AudioStream,) -> None:
|
|
2775
2898
|
"""Unload audio stream and free memory"""
|
|
2776
2899
|
...
|
|
2900
|
+
def UnloadAutomationEventList(list: Any,) -> None:
|
|
2901
|
+
"""Unload automation events list from file"""
|
|
2902
|
+
...
|
|
2777
2903
|
def UnloadCodepoints(codepoints: Any,) -> None:
|
|
2778
2904
|
"""Unload codepoints data from memory"""
|
|
2779
2905
|
...
|
|
@@ -2792,7 +2918,7 @@ def UnloadFileText(text: str,) -> None:
|
|
|
2792
2918
|
def UnloadFont(font: Font,) -> None:
|
|
2793
2919
|
"""Unload font from GPU memory (VRAM)"""
|
|
2794
2920
|
...
|
|
2795
|
-
def UnloadFontData(
|
|
2921
|
+
def UnloadFontData(glyphs: Any,glyphCount: int,) -> None:
|
|
2796
2922
|
"""Unload font chars info data (RAM)"""
|
|
2797
2923
|
...
|
|
2798
2924
|
def UnloadImage(image: Image,) -> None:
|
|
@@ -2816,12 +2942,15 @@ def UnloadModel(model: Model,) -> None:
|
|
|
2816
2942
|
def UnloadModelAnimation(anim: ModelAnimation,) -> None:
|
|
2817
2943
|
"""Unload animation data"""
|
|
2818
2944
|
...
|
|
2819
|
-
def UnloadModelAnimations(animations: Any,
|
|
2945
|
+
def UnloadModelAnimations(animations: Any,animCount: int,) -> None:
|
|
2820
2946
|
"""Unload animation array data"""
|
|
2821
2947
|
...
|
|
2822
2948
|
def UnloadMusicStream(music: Music,) -> None:
|
|
2823
2949
|
"""Unload music stream"""
|
|
2824
2950
|
...
|
|
2951
|
+
def UnloadRandomSequence(sequence: Any,) -> None:
|
|
2952
|
+
"""Unload random values sequence"""
|
|
2953
|
+
...
|
|
2825
2954
|
def UnloadRenderTexture(target: RenderTexture,) -> None:
|
|
2826
2955
|
"""Unload render texture from GPU memory (VRAM)"""
|
|
2827
2956
|
...
|
|
@@ -2831,6 +2960,9 @@ def UnloadShader(shader: Shader,) -> None:
|
|
|
2831
2960
|
def UnloadSound(sound: Sound,) -> None:
|
|
2832
2961
|
"""Unload sound"""
|
|
2833
2962
|
...
|
|
2963
|
+
def UnloadSoundAlias(alias: Sound,) -> None:
|
|
2964
|
+
"""Unload a sound alias (does not deallocate sample data)"""
|
|
2965
|
+
...
|
|
2834
2966
|
def UnloadTexture(texture: Texture,) -> None:
|
|
2835
2967
|
"""Unload texture from GPU memory (VRAM)"""
|
|
2836
2968
|
...
|
|
@@ -3135,6 +3267,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
3135
3267
|
def Vector3Perpendicular(Vector3_0: Vector3,) -> Vector3:
|
|
3136
3268
|
"""struct Vector3 Vector3Perpendicular(struct Vector3);
|
|
3137
3269
|
|
|
3270
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3271
|
+
...
|
|
3272
|
+
def Vector3Project(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3:
|
|
3273
|
+
"""struct Vector3 Vector3Project(struct Vector3, struct Vector3);
|
|
3274
|
+
|
|
3138
3275
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3139
3276
|
...
|
|
3140
3277
|
def Vector3Reflect(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3:
|
|
@@ -3145,6 +3282,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
3145
3282
|
def Vector3Refract(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3:
|
|
3146
3283
|
"""struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float);
|
|
3147
3284
|
|
|
3285
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3286
|
+
...
|
|
3287
|
+
def Vector3Reject(Vector3_0: Vector3,Vector3_1: Vector3,) -> Vector3:
|
|
3288
|
+
"""struct Vector3 Vector3Reject(struct Vector3, struct Vector3);
|
|
3289
|
+
|
|
3148
3290
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3149
3291
|
...
|
|
3150
3292
|
def Vector3RotateByAxisAngle(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3:
|
|
@@ -3205,7 +3347,7 @@ def WaveFormat(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None
|
|
|
3205
3347
|
"""Convert wave data to desired format"""
|
|
3206
3348
|
...
|
|
3207
3349
|
def WindowShouldClose() -> bool:
|
|
3208
|
-
"""Check if KEY_ESCAPE pressed or
|
|
3350
|
+
"""Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)"""
|
|
3209
3351
|
...
|
|
3210
3352
|
def Wrap(float_0: float,float_1: float,float_2: float,) -> float:
|
|
3211
3353
|
"""float Wrap(float, float, float);
|
|
@@ -3235,6 +3377,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
3235
3377
|
def rlBindShaderBuffer(unsignedint_0: int,unsignedint_1: int,) -> None:
|
|
3236
3378
|
"""void rlBindShaderBuffer(unsigned int, unsigned int);
|
|
3237
3379
|
|
|
3380
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3381
|
+
...
|
|
3382
|
+
def rlBlitFramebuffer(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,int_6: int,int_7: int,int_8: int,) -> None:
|
|
3383
|
+
"""void rlBlitFramebuffer(int, int, int, int, int, int, int, int, int);
|
|
3384
|
+
|
|
3238
3385
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3239
3386
|
...
|
|
3240
3387
|
def rlCheckErrors() -> None:
|
|
@@ -3425,6 +3572,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
|
|
|
3425
3572
|
def rlEnableFramebuffer(unsignedint_0: int,) -> None:
|
|
3426
3573
|
"""void rlEnableFramebuffer(unsigned int);
|
|
3427
3574
|
|
|
3575
|
+
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3576
|
+
...
|
|
3577
|
+
def rlEnablePointMode() -> None:
|
|
3578
|
+
"""void rlEnablePointMode();
|
|
3579
|
+
|
|
3428
3580
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3429
3581
|
...
|
|
3430
3582
|
def rlEnableScissorTest() -> None:
|
|
@@ -3938,6 +4090,8 @@ def rlglInit(int_0: int,int_1: int,) -> None:
|
|
|
3938
4090
|
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3939
4091
|
...
|
|
3940
4092
|
AudioStream: struct
|
|
4093
|
+
AutomationEvent: struct
|
|
4094
|
+
AutomationEventList: struct
|
|
3941
4095
|
BlendMode: int
|
|
3942
4096
|
BoneInfo: struct
|
|
3943
4097
|
BoundingBox: struct
|
|
@@ -3972,7 +4126,9 @@ GuiSpinnerProperty: int
|
|
|
3972
4126
|
GuiState: int
|
|
3973
4127
|
GuiStyleProp: struct
|
|
3974
4128
|
GuiTextAlignment: int
|
|
4129
|
+
GuiTextAlignmentVertical: int
|
|
3975
4130
|
GuiTextBoxProperty: int
|
|
4131
|
+
GuiTextWrapMode: int
|
|
3976
4132
|
GuiToggleProperty: int
|
|
3977
4133
|
Image: struct
|
|
3978
4134
|
KeyboardKey: int
|