raylib 4.2.1.2__pp37-pypy37_pp73-win_amd64.whl → 4.5.0.1__pp37-pypy37_pp73-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.

raylib/__init__.pyi CHANGED
@@ -1,11 +1,19 @@
1
1
  from typing import Any
2
2
 
3
+ import _cffi_backend
4
+
5
+ ffi: _cffi_backend.FFI
6
+ rl: _cffi_backend.Lib
7
+
3
8
  class struct: ...
4
9
 
5
10
 
6
11
  ARROWS_SIZE: int
7
12
  ARROWS_VISIBLE: int
8
13
  ARROW_PADDING: int
14
+ def AttachAudioMixedProcessor(processor: Any,) -> None:
15
+ """Attach audio stream processor to the entire audio pipeline"""
16
+ ...
9
17
  def AttachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
10
18
  """Attach audio stream processor to stream"""
11
19
  ...
@@ -19,6 +27,7 @@ BLEND_ADD_COLORS: int
19
27
  BLEND_ALPHA: int
20
28
  BLEND_ALPHA_PREMULTIPLY: int
21
29
  BLEND_CUSTOM: int
30
+ BLEND_CUSTOM_SEPARATE: int
22
31
  BLEND_MULTIPLIED: int
23
32
  BLEND_SUBTRACT_COLORS: int
24
33
  BORDER_COLOR_DISABLED: int
@@ -95,6 +104,9 @@ def CheckCollisionPointCircle(point: Vector2,center: Vector2,radius: float,) ->
95
104
  def CheckCollisionPointLine(point: Vector2,p1: Vector2,p2: Vector2,threshold: int,) -> bool:
96
105
  """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]"""
97
106
  ...
107
+ def CheckCollisionPointPoly(point: Vector2,points: Any,pointCount: int,) -> bool:
108
+ """Check if point is within a polygon described by array of vertices"""
109
+ ...
98
110
  def CheckCollisionPointRec(point: Vector2,rec: Rectangle,) -> bool:
99
111
  """Check if point is inside rectangle"""
100
112
  ...
@@ -129,7 +141,7 @@ CFFI C function from raylib._raylib_cffi.lib"""
129
141
  def CloseWindow() -> None:
130
142
  """Close window and unload OpenGL context"""
131
143
  ...
132
- def CodepointToUTF8(codepoint: int,byteSize: Any,) -> str:
144
+ def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> str:
133
145
  """Encode one codepoint into UTF-8 byte array (array length returned as parameter)"""
134
146
  ...
135
147
  def ColorAlpha(color: Color,alpha: float,) -> Color:
@@ -138,6 +150,12 @@ def ColorAlpha(color: Color,alpha: float,) -> Color:
138
150
  def ColorAlphaBlend(dst: Color,src: Color,tint: Color,) -> Color:
139
151
  """Get src alpha-blended into dst color with tint"""
140
152
  ...
153
+ def ColorBrightness(color: Color,factor: float,) -> Color:
154
+ """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f"""
155
+ ...
156
+ def ColorContrast(color: Color,contrast: float,) -> Color:
157
+ """Get color with contrast correction, contrast values between -1.0f and 1.0f"""
158
+ ...
141
159
  def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color:
142
160
  """Get a Color from HSV values, hue [0..360], saturation/value [0..1]"""
143
161
  ...
@@ -147,6 +165,9 @@ def ColorFromNormalized(normalized: Vector4,) -> Color:
147
165
  def ColorNormalize(color: Color,) -> Vector4:
148
166
  """Get Color normalized as float [0..1]"""
149
167
  ...
168
+ def ColorTint(color: Color,tint: Color,) -> Color:
169
+ """Get color multiplied with another color"""
170
+ ...
150
171
  def ColorToHSV(color: Color,) -> Vector3:
151
172
  """Get HSV values for a Color, hue [0..360], saturation/value [0..1]"""
152
173
  ...
@@ -185,6 +206,9 @@ def DestroyPhysicsBody(PhysicsBodyData_pointer_0: Any,) -> None:
185
206
 
186
207
  CFFI C function from raylib._raylib_cffi.lib"""
187
208
  ...
209
+ def DetachAudioMixedProcessor(processor: Any,) -> None:
210
+ """Detach audio stream processor from the entire audio pipeline"""
211
+ ...
188
212
  def DetachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
189
213
  """Detach audio stream processor from stream"""
190
214
  ...
@@ -209,6 +233,12 @@ def DrawBillboardRec(camera: Camera3D,texture: Texture,source: Rectangle,positio
209
233
  def DrawBoundingBox(box: BoundingBox,color: Color,) -> None:
210
234
  """Draw bounding box (wires)"""
211
235
  ...
236
+ def DrawCapsule(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None:
237
+ """Draw a capsule with the center of its sphere caps at startPos and endPos"""
238
+ ...
239
+ def DrawCapsuleWires(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None:
240
+ """Draw capsule wireframe with the center of its sphere caps at startPos and endPos"""
241
+ ...
212
242
  def DrawCircle(centerX: int,centerY: int,radius: float,color: Color,) -> None:
213
243
  """Draw a color-filled circle"""
214
244
  ...
@@ -233,12 +263,6 @@ def DrawCircleV(center: Vector2,radius: float,color: Color,) -> None:
233
263
  def DrawCube(position: Vector3,width: float,height: float,length: float,color: Color,) -> None:
234
264
  """Draw cube"""
235
265
  ...
236
- def DrawCubeTexture(texture: Texture,position: Vector3,width: float,height: float,length: float,color: Color,) -> None:
237
- """Draw cube textured"""
238
- ...
239
- def DrawCubeTextureRec(texture: Texture,source: Rectangle,position: Vector3,width: float,height: float,length: float,color: Color,) -> None:
240
- """Draw cube with a region of a texture"""
241
- ...
242
266
  def DrawCubeV(position: Vector3,size: Vector3,color: Color,) -> None:
243
267
  """Draw cube (Vector version)"""
244
268
  ...
@@ -410,21 +434,12 @@ def DrawTextureEx(texture: Texture,position: Vector2,rotation: float,scale: floa
410
434
  def DrawTextureNPatch(texture: Texture,nPatchInfo: NPatchInfo,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None:
411
435
  """Draws a texture (or part of it) that stretches or shrinks nicely"""
412
436
  ...
413
- def DrawTexturePoly(texture: Texture,center: Vector2,points: Any,texcoords: Any,pointCount: int,tint: Color,) -> None:
414
- """Draw a textured polygon"""
415
- ...
416
437
  def DrawTexturePro(texture: Texture,source: Rectangle,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None:
417
438
  """Draw a part of a texture defined by a rectangle with 'pro' parameters"""
418
439
  ...
419
- def DrawTextureQuad(texture: Texture,tiling: Vector2,offset: Vector2,quad: Rectangle,tint: Color,) -> None:
420
- """Draw texture quad with tiling and offset parameters"""
421
- ...
422
440
  def DrawTextureRec(texture: Texture,source: Rectangle,position: Vector2,tint: Color,) -> None:
423
441
  """Draw a part of a texture defined by a rectangle"""
424
442
  ...
425
- def DrawTextureTiled(texture: Texture,source: Rectangle,dest: Rectangle,origin: Vector2,rotation: float,scale: float,tint: Color,) -> None:
426
- """Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest."""
427
- ...
428
443
  def DrawTextureV(texture: Texture,position: Vector2,tint: Color,) -> None:
429
444
  """Draw a Texture2D with position defined as Vector2"""
430
445
  ...
@@ -586,6 +601,12 @@ def GenImageGradientRadial(width: int,height: int,density: float,inner: Color,ou
586
601
  def GenImageGradientV(width: int,height: int,top: Color,bottom: Color,) -> Image:
587
602
  """Generate image: vertical gradient"""
588
603
  ...
604
+ def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image:
605
+ """Generate image: perlin noise"""
606
+ ...
607
+ def GenImageText(width: int,height: int,text: str,) -> Image:
608
+ """Generate image: grayscale image from text data"""
609
+ ...
589
610
  def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image:
590
611
  """Generate image: white noise"""
591
612
  ...
@@ -643,12 +664,18 @@ def GetCharPressed() -> int:
643
664
  def GetClipboardText() -> str:
644
665
  """Get clipboard text content"""
645
666
  ...
646
- def GetCodepoint(text: str,bytesProcessed: Any,) -> int:
667
+ def GetCodepoint(text: str,codepointSize: Any,) -> int:
647
668
  """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
648
669
  ...
649
670
  def GetCodepointCount(text: str,) -> int:
650
671
  """Get total number of codepoints in a UTF-8 encoded string"""
651
672
  ...
673
+ def GetCodepointNext(text: str,codepointSize: Any,) -> int:
674
+ """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
675
+ ...
676
+ def GetCodepointPrevious(text: str,codepointSize: Any,) -> int:
677
+ """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
678
+ ...
652
679
  def GetCollisionRec(rec1: Rectangle,rec2: Rectangle,) -> Rectangle:
653
680
  """Get collision rectangle for two rectangles collision"""
654
681
  ...
@@ -863,9 +890,6 @@ def GetShaderLocation(shader: Shader,uniformName: str,) -> int:
863
890
  def GetShaderLocationAttrib(shader: Shader,attribName: str,) -> int:
864
891
  """Get shader attribute location"""
865
892
  ...
866
- def GetSoundsPlaying() -> int:
867
- """Get number of sounds playing in the multichannel"""
868
- ...
869
893
  def GetTime() -> float:
870
894
  """Get elapsed time in seconds since InitWindow()"""
871
895
  ...
@@ -913,16 +937,6 @@ CFFI C function from raylib._raylib_cffi.lib"""
913
937
  def GuiCheckBox(Rectangle_0: Rectangle,str_1: str,_Bool_2: bool,) -> bool:
914
938
  """_Bool GuiCheckBox(struct Rectangle, char *, _Bool);
915
939
 
916
- CFFI C function from raylib._raylib_cffi.lib"""
917
- ...
918
- def GuiCheckIconPixel(int_0: int,int_1: int,int_2: int,) -> bool:
919
- """_Bool GuiCheckIconPixel(int, int, int);
920
-
921
- CFFI C function from raylib._raylib_cffi.lib"""
922
- ...
923
- def GuiClearIconPixel(int_0: int,int_1: int,int_2: int,) -> None:
924
- """void GuiClearIconPixel(int, int, int);
925
-
926
940
  CFFI C function from raylib._raylib_cffi.lib"""
927
941
  ...
928
942
  def GuiColorBarAlpha(Rectangle_0: Rectangle,str_1: str,float_2: float,) -> float:
@@ -953,6 +967,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
953
967
  def GuiDisable() -> None:
954
968
  """void GuiDisable();
955
969
 
970
+ CFFI C function from raylib._raylib_cffi.lib"""
971
+ ...
972
+ def GuiDisableTooltip() -> None:
973
+ """void GuiDisableTooltip();
974
+
956
975
  CFFI C function from raylib._raylib_cffi.lib"""
957
976
  ...
958
977
  def GuiDrawIcon(int_0: int,int_1: int,int_2: int,int_3: int,Color_4: Color,) -> None:
@@ -973,6 +992,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
973
992
  def GuiEnable() -> None:
974
993
  """void GuiEnable();
975
994
 
995
+ CFFI C function from raylib._raylib_cffi.lib"""
996
+ ...
997
+ def GuiEnableTooltip() -> None:
998
+ """void GuiEnableTooltip();
999
+
976
1000
  CFFI C function from raylib._raylib_cffi.lib"""
977
1001
  ...
978
1002
  def GuiFade(float_0: float,) -> None:
@@ -983,11 +1007,6 @@ CFFI C function from raylib._raylib_cffi.lib"""
983
1007
  def GuiGetFont() -> Font:
984
1008
  """struct Font GuiGetFont();
985
1009
 
986
- CFFI C function from raylib._raylib_cffi.lib"""
987
- ...
988
- def GuiGetIconData(int_0: int,) -> Any:
989
- """unsigned int *GuiGetIconData(int);
990
-
991
1010
  CFFI C function from raylib._raylib_cffi.lib"""
992
1011
  ...
993
1012
  def GuiGetIcons() -> Any:
@@ -1048,6 +1067,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
1048
1067
  def GuiListViewEx(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,int_pointer_4: Any,int_5: int,) -> int:
1049
1068
  """int GuiListViewEx(struct Rectangle, char * *, int, int *, int *, int);
1050
1069
 
1070
+ CFFI C function from raylib._raylib_cffi.lib"""
1071
+ ...
1072
+ def GuiLoadIcons(str_0: str,_Bool_1: bool,) -> str:
1073
+ """char * *GuiLoadIcons(char *, _Bool);
1074
+
1051
1075
  CFFI C function from raylib._raylib_cffi.lib"""
1052
1076
  ...
1053
1077
  def GuiLoadStyle(str_0: str,) -> None:
@@ -1090,18 +1114,8 @@ def GuiSetFont(Font_0: Font,) -> None:
1090
1114
 
1091
1115
  CFFI C function from raylib._raylib_cffi.lib"""
1092
1116
  ...
1093
- def GuiSetIconData(int_0: int,unsignedint_pointer_1: Any,) -> None:
1094
- """void GuiSetIconData(int, unsigned int *);
1095
-
1096
- CFFI C function from raylib._raylib_cffi.lib"""
1097
- ...
1098
- def GuiSetIconPixel(int_0: int,int_1: int,int_2: int,) -> None:
1099
- """void GuiSetIconPixel(int, int, int);
1100
-
1101
- CFFI C function from raylib._raylib_cffi.lib"""
1102
- ...
1103
- def GuiSetIconScale(unsignedint_0: int,) -> None:
1104
- """void GuiSetIconScale(unsigned int);
1117
+ def GuiSetIconScale(int_0: int,) -> None:
1118
+ """void GuiSetIconScale(int);
1105
1119
 
1106
1120
  CFFI C function from raylib._raylib_cffi.lib"""
1107
1121
  ...
@@ -1113,6 +1127,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
1113
1127
  def GuiSetStyle(int_0: int,int_1: int,int_2: int,) -> None:
1114
1128
  """void GuiSetStyle(int, int, int);
1115
1129
 
1130
+ CFFI C function from raylib._raylib_cffi.lib"""
1131
+ ...
1132
+ def GuiSetTooltip(str_0: str,) -> None:
1133
+ """void GuiSetTooltip(char *);
1134
+
1116
1135
  CFFI C function from raylib._raylib_cffi.lib"""
1117
1136
  ...
1118
1137
  def GuiSlider(Rectangle_0: Rectangle,str_1: str,str_2: str,float_3: float,float_4: float,float_5: float,) -> float:
@@ -1135,13 +1154,13 @@ def GuiStatusBar(Rectangle_0: Rectangle,str_1: str,) -> None:
1135
1154
 
1136
1155
  CFFI C function from raylib._raylib_cffi.lib"""
1137
1156
  ...
1138
- def GuiTextBox(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> bool:
1139
- """_Bool GuiTextBox(struct Rectangle, char *, int, _Bool);
1157
+ def GuiTabBar(Rectangle_0: Rectangle,str_pointer_1: str,int_2: int,int_pointer_3: Any,) -> int:
1158
+ """int GuiTabBar(struct Rectangle, char * *, int, int *);
1140
1159
 
1141
1160
  CFFI C function from raylib._raylib_cffi.lib"""
1142
1161
  ...
1143
- def GuiTextBoxMulti(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> bool:
1144
- """_Bool GuiTextBoxMulti(struct Rectangle, char *, int, _Bool);
1162
+ def GuiTextBox(Rectangle_0: Rectangle,str_1: str,int_2: int,_Bool_3: bool,) -> bool:
1163
+ """_Bool GuiTextBox(struct Rectangle, char *, int, _Bool);
1145
1164
 
1146
1165
  CFFI C function from raylib._raylib_cffi.lib"""
1147
1166
  ...
@@ -1183,19 +1202,6 @@ def HideCursor() -> None:
1183
1202
  """Hides cursor"""
1184
1203
  ...
1185
1204
  ICON_1UP: int
1186
- ICON_206: int
1187
- ICON_207: int
1188
- ICON_208: int
1189
- ICON_209: int
1190
- ICON_210: int
1191
- ICON_211: int
1192
- ICON_212: int
1193
- ICON_213: int
1194
- ICON_214: int
1195
- ICON_215: int
1196
- ICON_216: int
1197
- ICON_217: int
1198
- ICON_218: int
1199
1205
  ICON_219: int
1200
1206
  ICON_220: int
1201
1207
  ICON_221: int
@@ -1265,14 +1271,19 @@ ICON_BOX_RIGHT: int
1265
1271
  ICON_BOX_TOP: int
1266
1272
  ICON_BOX_TOP_LEFT: int
1267
1273
  ICON_BOX_TOP_RIGHT: int
1274
+ ICON_BREAKPOINT_OFF: int
1275
+ ICON_BREAKPOINT_ON: int
1268
1276
  ICON_BRUSH_CLASSIC: int
1269
1277
  ICON_BRUSH_PAINTER: int
1278
+ ICON_BURGER_MENU: int
1270
1279
  ICON_CAMERA: int
1280
+ ICON_CASE_SENSITIVE: int
1271
1281
  ICON_CLOCK: int
1272
1282
  ICON_COIN: int
1273
1283
  ICON_COLOR_BUCKET: int
1274
1284
  ICON_COLOR_PICKER: int
1275
1285
  ICON_CORNER: int
1286
+ ICON_CPU: int
1276
1287
  ICON_CRACK: int
1277
1288
  ICON_CRACK_POINTS: int
1278
1289
  ICON_CROP: int
@@ -1307,6 +1318,7 @@ ICON_EXIT: int
1307
1318
  ICON_EXPLOSION: int
1308
1319
  ICON_EYE_OFF: int
1309
1320
  ICON_EYE_ON: int
1321
+ ICON_FILE: int
1310
1322
  ICON_FILETYPE_ALPHA: int
1311
1323
  ICON_FILETYPE_AUDIO: int
1312
1324
  ICON_FILETYPE_BINARY: int
@@ -1330,6 +1342,7 @@ ICON_FILTER: int
1330
1342
  ICON_FILTER_BILINEAR: int
1331
1343
  ICON_FILTER_POINT: int
1332
1344
  ICON_FILTER_TOP: int
1345
+ ICON_FOLDER: int
1333
1346
  ICON_FOLDER_ADD: int
1334
1347
  ICON_FOLDER_FILE_OPEN: int
1335
1348
  ICON_FOLDER_OPEN: int
@@ -1390,11 +1403,14 @@ ICON_POT: int
1390
1403
  ICON_PRINTER: int
1391
1404
  ICON_REDO: int
1392
1405
  ICON_REDO_FILL: int
1406
+ ICON_REG_EXP: int
1393
1407
  ICON_REPEAT: int
1394
1408
  ICON_REPEAT_FILL: int
1395
1409
  ICON_REREDO: int
1396
1410
  ICON_REREDO_FILL: int
1397
1411
  ICON_RESIZE: int
1412
+ ICON_RESTART: int
1413
+ ICON_ROM: int
1398
1414
  ICON_ROTATE: int
1399
1415
  ICON_ROTATE_FILL: int
1400
1416
  ICON_RUBBER: int
@@ -1405,6 +1421,9 @@ ICON_SHUFFLE_FILL: int
1405
1421
  ICON_SPECIAL: int
1406
1422
  ICON_SQUARE_TOGGLE: int
1407
1423
  ICON_STAR: int
1424
+ ICON_STEP_INTO: int
1425
+ ICON_STEP_OUT: int
1426
+ ICON_STEP_OVER: int
1408
1427
  ICON_SUITCASE: int
1409
1428
  ICON_SUITCASE_ZIP: int
1410
1429
  ICON_SYMMETRY: int
@@ -1450,6 +1469,9 @@ def ImageAlphaMask(image: Any,alphaMask: Image,) -> None:
1450
1469
  def ImageAlphaPremultiply(image: Any,) -> None:
1451
1470
  """Premultiply alpha channel"""
1452
1471
  ...
1472
+ def ImageBlurGaussian(image: Any,blurSize: int,) -> None:
1473
+ """Apply Gaussian blur using a box blur approximation"""
1474
+ ...
1453
1475
  def ImageClearBackground(dst: Any,color: Color,) -> None:
1454
1476
  """Clear image background with given color"""
1455
1477
  ...
@@ -1484,10 +1506,16 @@ def ImageDraw(dst: Any,src: Image,srcRec: Rectangle,dstRec: Rectangle,tint: Colo
1484
1506
  """Draw a source image within a destination image (tint applied to source)"""
1485
1507
  ...
1486
1508
  def ImageDrawCircle(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None:
1487
- """Draw circle within an image"""
1509
+ """Draw a filled circle within an image"""
1510
+ ...
1511
+ def ImageDrawCircleLines(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None:
1512
+ """Draw circle outline within an image"""
1513
+ ...
1514
+ def ImageDrawCircleLinesV(dst: Any,center: Vector2,radius: int,color: Color,) -> None:
1515
+ """Draw circle outline within an image (Vector version)"""
1488
1516
  ...
1489
1517
  def ImageDrawCircleV(dst: Any,center: Vector2,radius: int,color: Color,) -> None:
1490
- """Draw circle within an image (Vector version)"""
1518
+ """Draw a filled circle within an image (Vector version)"""
1491
1519
  ...
1492
1520
  def ImageDrawLine(dst: Any,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None:
1493
1521
  """Draw line within an image"""
@@ -1578,6 +1606,9 @@ def IsAudioStreamPlaying(stream: AudioStream,) -> bool:
1578
1606
  def IsAudioStreamProcessed(stream: AudioStream,) -> bool:
1579
1607
  """Check if any audio stream buffers requires refill"""
1580
1608
  ...
1609
+ def IsAudioStreamReady(stream: AudioStream,) -> bool:
1610
+ """Checks if an audio stream is ready"""
1611
+ ...
1581
1612
  def IsCursorHidden() -> bool:
1582
1613
  """Check if cursor is not visible"""
1583
1614
  ...
@@ -1590,6 +1621,9 @@ def IsFileDropped() -> bool:
1590
1621
  def IsFileExtension(fileName: str,ext: str,) -> bool:
1591
1622
  """Check file extension (including point: .png, .wav)"""
1592
1623
  ...
1624
+ def IsFontReady(font: Font,) -> bool:
1625
+ """Check if a font is ready"""
1626
+ ...
1593
1627
  def IsGamepadAvailable(gamepad: int,) -> bool:
1594
1628
  """Check if a gamepad is available"""
1595
1629
  ...
@@ -1608,6 +1642,9 @@ def IsGamepadButtonUp(gamepad: int,button: int,) -> bool:
1608
1642
  def IsGestureDetected(gesture: int,) -> bool:
1609
1643
  """Check if a gesture have been detected"""
1610
1644
  ...
1645
+ def IsImageReady(image: Image,) -> bool:
1646
+ """Check if an image is ready"""
1647
+ ...
1611
1648
  def IsKeyDown(key: int,) -> bool:
1612
1649
  """Check if a key is being pressed"""
1613
1650
  ...
@@ -1620,9 +1657,15 @@ def IsKeyReleased(key: int,) -> bool:
1620
1657
  def IsKeyUp(key: int,) -> bool:
1621
1658
  """Check if a key is NOT being pressed"""
1622
1659
  ...
1660
+ def IsMaterialReady(material: Material,) -> bool:
1661
+ """Check if a material is ready"""
1662
+ ...
1623
1663
  def IsModelAnimationValid(model: Model,anim: ModelAnimation,) -> bool:
1624
1664
  """Check model animation skeleton match"""
1625
1665
  ...
1666
+ def IsModelReady(model: Model,) -> bool:
1667
+ """Check if a model is ready"""
1668
+ ...
1626
1669
  def IsMouseButtonDown(button: int,) -> bool:
1627
1670
  """Check if a mouse button is being pressed"""
1628
1671
  ...
@@ -1635,15 +1678,33 @@ def IsMouseButtonReleased(button: int,) -> bool:
1635
1678
  def IsMouseButtonUp(button: int,) -> bool:
1636
1679
  """Check if a mouse button is NOT being pressed"""
1637
1680
  ...
1681
+ def IsMusicReady(music: Music,) -> bool:
1682
+ """Checks if a music stream is ready"""
1683
+ ...
1638
1684
  def IsMusicStreamPlaying(music: Music,) -> bool:
1639
1685
  """Check if music is playing"""
1640
1686
  ...
1641
1687
  def IsPathFile(path: str,) -> bool:
1642
1688
  """Check if a given path is a file or a directory"""
1643
1689
  ...
1690
+ def IsRenderTextureReady(target: RenderTexture,) -> bool:
1691
+ """Check if a render texture is ready"""
1692
+ ...
1693
+ def IsShaderReady(shader: Shader,) -> bool:
1694
+ """Check if a shader is ready"""
1695
+ ...
1644
1696
  def IsSoundPlaying(sound: Sound,) -> bool:
1645
1697
  """Check if a sound is currently playing"""
1646
1698
  ...
1699
+ def IsSoundReady(sound: Sound,) -> bool:
1700
+ """Checks if a sound is ready"""
1701
+ ...
1702
+ def IsTextureReady(texture: Texture,) -> bool:
1703
+ """Check if a texture is ready"""
1704
+ ...
1705
+ def IsWaveReady(wave: Wave,) -> bool:
1706
+ """Checks if wave data is ready"""
1707
+ ...
1647
1708
  def IsWindowFocused() -> bool:
1648
1709
  """Check if window is currently focused (only PLATFORM_DESKTOP)"""
1649
1710
  ...
@@ -1901,6 +1962,9 @@ def LoadTextureCubemap(image: Image,layout: int,) -> Texture:
1901
1962
  def LoadTextureFromImage(image: Image,) -> Texture:
1902
1963
  """Load texture from image data"""
1903
1964
  ...
1965
+ def LoadUTF8(codepoints: Any,length: int,) -> str:
1966
+ """Load UTF-8 text encoded from codepoints array"""
1967
+ ...
1904
1968
  def LoadVrStereoConfig(device: VrDeviceInfo,) -> VrStereoConfig:
1905
1969
  """Load VR stereo config for VR simulator device parameters"""
1906
1970
  ...
@@ -2076,11 +2140,6 @@ def Normalize(float_0: float,float_1: float,float_2: float,) -> float:
2076
2140
 
2077
2141
  CFFI C function from raylib._raylib_cffi.lib"""
2078
2142
  ...
2079
- OPENGL_11: int
2080
- OPENGL_21: int
2081
- OPENGL_33: int
2082
- OPENGL_43: int
2083
- OPENGL_ES_20: int
2084
2143
  def OpenURL(url: str,) -> None:
2085
2144
  """Open URL with default system browser (if available)"""
2086
2145
  ...
@@ -2142,9 +2201,6 @@ def PlayMusicStream(music: Music,) -> None:
2142
2201
  def PlaySound(sound: Sound,) -> None:
2143
2202
  """Play a sound"""
2144
2203
  ...
2145
- def PlaySoundMulti(sound: Sound,) -> None:
2146
- """Play a sound (using multichannel buffer pool)"""
2147
- ...
2148
2204
  def PollInputEvents() -> None:
2149
2205
  """Register all input events"""
2150
2206
  ...
@@ -2287,8 +2343,11 @@ RL_BLEND_ADD_COLORS: int
2287
2343
  RL_BLEND_ALPHA: int
2288
2344
  RL_BLEND_ALPHA_PREMULTIPLY: int
2289
2345
  RL_BLEND_CUSTOM: int
2346
+ RL_BLEND_CUSTOM_SEPARATE: int
2290
2347
  RL_BLEND_MULTIPLIED: int
2291
2348
  RL_BLEND_SUBTRACT_COLORS: int
2349
+ RL_CULL_FACE_BACK: int
2350
+ RL_CULL_FACE_FRONT: int
2292
2351
  RL_LOG_ALL: int
2293
2352
  RL_LOG_DEBUG: int
2294
2353
  RL_LOG_ERROR: int
@@ -2297,6 +2356,11 @@ RL_LOG_INFO: int
2297
2356
  RL_LOG_NONE: int
2298
2357
  RL_LOG_TRACE: int
2299
2358
  RL_LOG_WARNING: int
2359
+ RL_OPENGL_11: int
2360
+ RL_OPENGL_21: int
2361
+ RL_OPENGL_33: int
2362
+ RL_OPENGL_43: int
2363
+ RL_OPENGL_ES_20: int
2300
2364
  RL_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int
2301
2365
  RL_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA: int
2302
2366
  RL_PIXELFORMAT_COMPRESSED_DXT1_RGB: int
@@ -2466,21 +2530,6 @@ def SetAudioStreamPitch(stream: AudioStream,pitch: float,) -> None:
2466
2530
  def SetAudioStreamVolume(stream: AudioStream,volume: float,) -> None:
2467
2531
  """Set volume for audio stream (1.0 is max level)"""
2468
2532
  ...
2469
- def SetCameraAltControl(keyAlt: int,) -> None:
2470
- """Set camera alt key to combine with mouse movement (free camera)"""
2471
- ...
2472
- def SetCameraMode(camera: Camera3D,mode: int,) -> None:
2473
- """Set camera mode (multiple camera modes available)"""
2474
- ...
2475
- def SetCameraMoveControls(keyFront: int,keyBack: int,keyRight: int,keyLeft: int,keyUp: int,keyDown: int,) -> None:
2476
- """Set camera move controls (1st person and 3rd person cameras)"""
2477
- ...
2478
- def SetCameraPanControl(keyPan: int,) -> None:
2479
- """Set camera pan key to combine with mouse movement (free camera)"""
2480
- ...
2481
- def SetCameraSmoothZoomControl(keySmoothZoom: int,) -> None:
2482
- """Set camera smooth zoom key to combine with mouse (free camera)"""
2483
- ...
2484
2533
  def SetClipboardText(text: str,) -> None:
2485
2534
  """Set clipboard text content"""
2486
2535
  ...
@@ -2599,7 +2648,10 @@ def SetTraceLogLevel(logLevel: int,) -> None:
2599
2648
  """Set the current threshold (minimum) log level"""
2600
2649
  ...
2601
2650
  def SetWindowIcon(image: Image,) -> None:
2602
- """Set icon for window (only PLATFORM_DESKTOP)"""
2651
+ """Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)"""
2652
+ ...
2653
+ def SetWindowIcons(images: Any,count: int,) -> None:
2654
+ """Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)"""
2603
2655
  ...
2604
2656
  def SetWindowMinSize(width: int,height: int,) -> None:
2605
2657
  """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)"""
@@ -2634,9 +2686,6 @@ def StopMusicStream(music: Music,) -> None:
2634
2686
  def StopSound(sound: Sound,) -> None:
2635
2687
  """Stop playing a sound"""
2636
2688
  ...
2637
- def StopSoundMulti() -> None:
2638
- """Stop any sound playing (using multichannel buffer pool)"""
2639
- ...
2640
2689
  def SwapScreenBuffer() -> None:
2641
2690
  """Swap back buffer with front buffer (screen drawing)"""
2642
2691
  ...
@@ -2652,6 +2701,7 @@ TEXTURE_WRAP_MIRROR_CLAMP: int
2652
2701
  TEXTURE_WRAP_MIRROR_REPEAT: int
2653
2702
  TEXTURE_WRAP_REPEAT: int
2654
2703
  TEXT_ALIGNMENT: int
2704
+ TEXT_ALIGNMENT_VERTICAL: int
2655
2705
  TEXT_ALIGN_CENTER: int
2656
2706
  TEXT_ALIGN_LEFT: int
2657
2707
  TEXT_ALIGN_RIGHT: int
@@ -2661,9 +2711,11 @@ TEXT_COLOR_NORMAL: int
2661
2711
  TEXT_COLOR_PRESSED: int
2662
2712
  TEXT_INNER_PADDING: int
2663
2713
  TEXT_LINES_SPACING: int
2714
+ TEXT_MULTILINE: int
2664
2715
  TEXT_PADDING: int
2665
2716
  TEXT_SIZE: int
2666
2717
  TEXT_SPACING: int
2718
+ TEXT_WRAP_MODE: int
2667
2719
  TOGGLE: int
2668
2720
  def TakeScreenshot(fileName: str,) -> None:
2669
2721
  """Takes a screenshot of current screen (filename extension defines format)"""
@@ -2671,9 +2723,6 @@ def TakeScreenshot(fileName: str,) -> None:
2671
2723
  def TextAppend(text: str,append: str,position: Any,) -> None:
2672
2724
  """Append text at specific position and move cursor!"""
2673
2725
  ...
2674
- def TextCodepointsToUTF8(codepoints: Any,length: int,) -> str:
2675
- """Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)"""
2676
- ...
2677
2726
  def TextCopy(dst: str,src: str,) -> int:
2678
2727
  """Copy one string to another, returns bytes copied"""
2679
2728
  ...
@@ -2770,9 +2819,6 @@ def UnloadModelAnimation(anim: ModelAnimation,) -> None:
2770
2819
  def UnloadModelAnimations(animations: Any,count: int,) -> None:
2771
2820
  """Unload animation array data"""
2772
2821
  ...
2773
- def UnloadModelKeepMeshes(model: Model,) -> None:
2774
- """Unload model (but not meshes) from memory (RAM and/or VRAM)"""
2775
- ...
2776
2822
  def UnloadMusicStream(music: Music,) -> None:
2777
2823
  """Unload music stream"""
2778
2824
  ...
@@ -2788,6 +2834,9 @@ def UnloadSound(sound: Sound,) -> None:
2788
2834
  def UnloadTexture(texture: Texture,) -> None:
2789
2835
  """Unload texture from GPU memory (VRAM)"""
2790
2836
  ...
2837
+ def UnloadUTF8(text: str,) -> None:
2838
+ """Unload UTF-8 text encoded from codepoints array"""
2839
+ ...
2791
2840
  def UnloadVrStereoConfig(config: VrStereoConfig,) -> None:
2792
2841
  """Unload VR stereo config"""
2793
2842
  ...
@@ -2800,9 +2849,12 @@ def UnloadWaveSamples(samples: Any,) -> None:
2800
2849
  def UpdateAudioStream(stream: AudioStream,data: Any,frameCount: int,) -> None:
2801
2850
  """Update audio stream buffers with data"""
2802
2851
  ...
2803
- def UpdateCamera(camera: Any,) -> None:
2852
+ def UpdateCamera(camera: Any,mode: int,) -> None:
2804
2853
  """Update camera position for selected mode"""
2805
2854
  ...
2855
+ def UpdateCameraPro(camera: Any,movement: Vector3,rotation: Vector3,zoom: float,) -> None:
2856
+ """Update camera movement/rotation"""
2857
+ ...
2806
2858
  def UpdateMeshBuffer(mesh: Mesh,index: int,data: Any,dataSize: int,offset: int,) -> None:
2807
2859
  """Update mesh vertex data in GPU for a specific buffer index"""
2808
2860
  ...
@@ -2898,6 +2950,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
2898
2950
  def Vector2Lerp(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2:
2899
2951
  """struct Vector2 Vector2Lerp(struct Vector2, struct Vector2, float);
2900
2952
 
2953
+ CFFI C function from raylib._raylib_cffi.lib"""
2954
+ ...
2955
+ def Vector2LineAngle(Vector2_0: Vector2,Vector2_1: Vector2,) -> float:
2956
+ """float Vector2LineAngle(struct Vector2, struct Vector2);
2957
+
2901
2958
  CFFI C function from raylib._raylib_cffi.lib"""
2902
2959
  ...
2903
2960
  def Vector2MoveTowards(Vector2_0: Vector2,Vector2_1: Vector2,float_2: float,) -> Vector2:
@@ -3170,8 +3227,8 @@ def rlBegin(int_0: int,) -> None:
3170
3227
 
3171
3228
  CFFI C function from raylib._raylib_cffi.lib"""
3172
3229
  ...
3173
- def rlBindImageTexture(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,int_3: int,) -> None:
3174
- """void rlBindImageTexture(unsigned int, unsigned int, unsigned int, int);
3230
+ def rlBindImageTexture(unsignedint_0: int,unsignedint_1: int,int_2: int,_Bool_3: bool,) -> None:
3231
+ """void rlBindImageTexture(unsigned int, unsigned int, int, _Bool);
3175
3232
 
3176
3233
  CFFI C function from raylib._raylib_cffi.lib"""
3177
3234
  ...
@@ -3225,8 +3282,13 @@ def rlComputeShaderDispatch(unsignedint_0: int,unsignedint_1: int,unsignedint_2:
3225
3282
 
3226
3283
  CFFI C function from raylib._raylib_cffi.lib"""
3227
3284
  ...
3228
- def rlCopyBuffersElements(unsignedint_0: int,unsignedint_1: int,unsignedlonglong_2: int,unsignedlonglong_3: int,unsignedlonglong_4: int,) -> None:
3229
- """void rlCopyBuffersElements(unsigned int, unsigned int, unsigned long long, unsigned long long, unsigned long long);
3285
+ def rlCopyShaderBuffer(unsignedint_0: int,unsignedint_1: int,unsignedint_2: int,unsignedint_3: int,unsignedint_4: int,) -> None:
3286
+ """void rlCopyShaderBuffer(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
3287
+
3288
+ CFFI C function from raylib._raylib_cffi.lib"""
3289
+ ...
3290
+ def rlCubemapParameters(unsignedint_0: int,int_1: int,int_2: int,) -> None:
3291
+ """void rlCubemapParameters(unsigned int, int, int);
3230
3292
 
3231
3293
  CFFI C function from raylib._raylib_cffi.lib"""
3232
3294
  ...
@@ -3506,7 +3568,7 @@ def rlGetPixelFormatName(unsignedint_0: int,) -> str:
3506
3568
  CFFI C function from raylib._raylib_cffi.lib"""
3507
3569
  ...
3508
3570
  def rlGetShaderBufferSize(unsignedint_0: int,) -> int:
3509
- """unsigned long long rlGetShaderBufferSize(unsigned int);
3571
+ """unsigned int rlGetShaderBufferSize(unsigned int);
3510
3572
 
3511
3573
  CFFI C function from raylib._raylib_cffi.lib"""
3512
3574
  ...
@@ -3570,8 +3632,8 @@ def rlLoadRenderBatch(int_0: int,int_1: int,) -> rlRenderBatch:
3570
3632
 
3571
3633
  CFFI C function from raylib._raylib_cffi.lib"""
3572
3634
  ...
3573
- def rlLoadShaderBuffer(unsignedlonglong_0: int,void_pointer_1: Any,int_2: int,) -> int:
3574
- """unsigned int rlLoadShaderBuffer(unsigned long long, void *, int);
3635
+ def rlLoadShaderBuffer(unsignedint_0: int,void_pointer_1: Any,int_2: int,) -> int:
3636
+ """unsigned int rlLoadShaderBuffer(unsigned int, void *, int);
3575
3637
 
3576
3638
  CFFI C function from raylib._raylib_cffi.lib"""
3577
3639
  ...
@@ -3650,8 +3712,8 @@ def rlReadScreenPixels(int_0: int,int_1: int,) -> str:
3650
3712
 
3651
3713
  CFFI C function from raylib._raylib_cffi.lib"""
3652
3714
  ...
3653
- def rlReadShaderBufferElements(unsignedint_0: int,void_pointer_1: Any,unsignedlonglong_2: int,unsignedlonglong_3: int,) -> None:
3654
- """void rlReadShaderBufferElements(unsigned int, void *, unsigned long long, unsigned long long);
3715
+ def rlReadShaderBuffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None:
3716
+ """void rlReadShaderBuffer(unsigned int, void *, unsigned int, unsigned int);
3655
3717
 
3656
3718
  CFFI C function from raylib._raylib_cffi.lib"""
3657
3719
  ...
@@ -3678,11 +3740,21 @@ CFFI C function from raylib._raylib_cffi.lib"""
3678
3740
  def rlSetBlendFactors(int_0: int,int_1: int,int_2: int,) -> None:
3679
3741
  """void rlSetBlendFactors(int, int, int);
3680
3742
 
3743
+ CFFI C function from raylib._raylib_cffi.lib"""
3744
+ ...
3745
+ def rlSetBlendFactorsSeparate(int_0: int,int_1: int,int_2: int,int_3: int,int_4: int,int_5: int,) -> None:
3746
+ """void rlSetBlendFactorsSeparate(int, int, int, int, int, int);
3747
+
3681
3748
  CFFI C function from raylib._raylib_cffi.lib"""
3682
3749
  ...
3683
3750
  def rlSetBlendMode(int_0: int,) -> None:
3684
3751
  """void rlSetBlendMode(int);
3685
3752
 
3753
+ CFFI C function from raylib._raylib_cffi.lib"""
3754
+ ...
3755
+ def rlSetCullFace(int_0: int,) -> None:
3756
+ """void rlSetCullFace(int);
3757
+
3686
3758
  CFFI C function from raylib._raylib_cffi.lib"""
3687
3759
  ...
3688
3760
  def rlSetFramebufferHeight(int_0: int,) -> None:
@@ -3815,8 +3887,8 @@ def rlUnloadVertexBuffer(unsignedint_0: int,) -> None:
3815
3887
 
3816
3888
  CFFI C function from raylib._raylib_cffi.lib"""
3817
3889
  ...
3818
- def rlUpdateShaderBufferElements(unsignedint_0: int,void_pointer_1: Any,unsignedlonglong_2: int,unsignedlonglong_3: int,) -> None:
3819
- """void rlUpdateShaderBufferElements(unsigned int, void *, unsigned long long, unsigned long long);
3890
+ def rlUpdateShaderBuffer(unsignedint_0: int,void_pointer_1: Any,unsignedint_2: int,unsignedint_3: int,) -> None:
3891
+ """void rlUpdateShaderBuffer(unsigned int, void *, unsigned int, unsigned int);
3820
3892
 
3821
3893
  CFFI C function from raylib._raylib_cffi.lib"""
3822
3894
  ...
@@ -3952,6 +4024,7 @@ float3: struct
3952
4024
  rAudioBuffer: struct
3953
4025
  rAudioProcessor: struct
3954
4026
  rlBlendMode: int
4027
+ rlCullMode: int
3955
4028
  rlDrawCall: struct
3956
4029
  rlFramebufferAttachTextureType: int
3957
4030
  rlFramebufferAttachType: int