raylib 5.0.0.3__cp311-cp311-manylinux2014_x86_64.whl → 5.5.0.0.dev2__cp311-cp311-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.
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, receives the samples as <float>s"""
15
+ """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'"""
16
16
  ...
17
17
  def AttachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
18
- """Attach audio stream processor to stream, receives the samples as <float>s"""
18
+ """Attach audio stream processor to stream, receives the samples as 'float'"""
19
19
  ...
20
20
  BACKGROUND_COLOR: int
21
21
  BASE_COLOR_DISABLED: int
@@ -89,6 +89,9 @@ def CheckCollisionBoxSphere(box: BoundingBox,center: Vector3,radius: float,) ->
89
89
  def CheckCollisionBoxes(box1: BoundingBox,box2: BoundingBox,) -> bool:
90
90
  """Check collision between two bounding boxes"""
91
91
  ...
92
+ def CheckCollisionCircleLine(center: Vector2,radius: float,p1: Vector2,p2: Vector2,) -> bool:
93
+ """Check if circle collides with a line created betweeen two points [p1] and [p2]"""
94
+ ...
92
95
  def CheckCollisionCircleRec(center: Vector2,radius: float,rec: Rectangle,) -> bool:
93
96
  """Check collision between circle and rectangle"""
94
97
  ...
@@ -158,6 +161,12 @@ def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color:
158
161
  def ColorFromNormalized(normalized: Vector4,) -> Color:
159
162
  """Get Color from normalized values [0..1]"""
160
163
  ...
164
+ def ColorIsEqual(col1: Color,col2: Color,) -> bool:
165
+ """Check if two colors are equal"""
166
+ ...
167
+ def ColorLerp(color1: Color,color2: Color,factor: float,) -> Color:
168
+ """Get color lerp interpolation between two colors, factor [0.0f..1.0f]"""
169
+ ...
161
170
  def ColorNormalize(color: Color,) -> Vector4:
162
171
  """Get Color normalized as float [0..1]"""
163
172
  ...
@@ -168,7 +177,7 @@ def ColorToHSV(color: Color,) -> Vector3:
168
177
  """Get HSV values for a Color, hue [0..360], saturation/value [0..1]"""
169
178
  ...
170
179
  def ColorToInt(color: Color,) -> int:
171
- """Get hexadecimal value for a Color"""
180
+ """Get hexadecimal value for a Color (0xRRGGBBAA)"""
172
181
  ...
173
182
  def CompressData(data: str,dataSize: int,compDataSize: Any,) -> str:
174
183
  """Compress data (DEFLATE algorithm), memory must be MemFree()"""
@@ -184,7 +193,9 @@ def CreatePhysicsBodyRectangle(pos: Vector2,width: float,height: float,density:
184
193
  ...
185
194
  DEFAULT: int
186
195
  DROPDOWNBOX: int
196
+ DROPDOWN_ARROW_HIDDEN: int
187
197
  DROPDOWN_ITEMS_SPACING: int
198
+ DROPDOWN_ROLL_UP: int
188
199
  def DecodeDataBase64(data: str,outputSize: Any,) -> str:
189
200
  """Decode Base64 string data, memory must be MemFree()"""
190
201
  ...
@@ -209,7 +220,7 @@ def DisableCursor() -> None:
209
220
  def DisableEventWaiting() -> None:
210
221
  """Disable waiting for events on EndDrawing(), automatic events polling"""
211
222
  ...
212
- def DrawBillboard(camera: Camera3D,texture: Texture,position: Vector3,size: float,tint: Color,) -> None:
223
+ def DrawBillboard(camera: Camera3D,texture: Texture,position: Vector3,scale: float,tint: Color,) -> None:
213
224
  """Draw a billboard texture"""
214
225
  ...
215
226
  def DrawBillboardPro(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,up: Vector3,size: Vector2,origin: Vector2,rotation: float,tint: Color,) -> None:
@@ -233,7 +244,7 @@ def DrawCircle(centerX: int,centerY: int,radius: float,color: Color,) -> None:
233
244
  def DrawCircle3D(center: Vector3,radius: float,rotationAxis: Vector3,rotationAngle: float,color: Color,) -> None:
234
245
  """Draw a circle in 3D world space"""
235
246
  ...
236
- def DrawCircleGradient(centerX: int,centerY: int,radius: float,color1: Color,color2: Color,) -> None:
247
+ def DrawCircleGradient(centerX: int,centerY: int,radius: float,inner: Color,outer: Color,) -> None:
237
248
  """Draw a gradient-filled circle"""
238
249
  ...
239
250
  def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color,) -> None:
@@ -317,6 +328,12 @@ def DrawModel(model: Model,position: Vector3,scale: float,tint: Color,) -> None:
317
328
  def DrawModelEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None:
318
329
  """Draw a model with extended parameters"""
319
330
  ...
331
+ def DrawModelPoints(model: Model,position: Vector3,scale: float,tint: Color,) -> None:
332
+ """Draw a model as points"""
333
+ ...
334
+ def DrawModelPointsEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None:
335
+ """Draw a model as points with extended parameters"""
336
+ ...
320
337
  def DrawModelWires(model: Model,position: Vector3,scale: float,tint: Color,) -> None:
321
338
  """Draw a model wires (with texture if set)"""
322
339
  ...
@@ -324,10 +341,10 @@ def DrawModelWiresEx(model: Model,position: Vector3,rotationAxis: Vector3,rotati
324
341
  """Draw a model wires (with texture if set) with extended parameters"""
325
342
  ...
326
343
  def DrawPixel(posX: int,posY: int,color: Color,) -> None:
327
- """Draw a pixel"""
344
+ """Draw a pixel using geometry [Can be slow, use with care]"""
328
345
  ...
329
346
  def DrawPixelV(position: Vector2,color: Color,) -> None:
330
- """Draw a pixel (Vector version)"""
347
+ """Draw a pixel using geometry (Vector version) [Can be slow, use with care]"""
331
348
  ...
332
349
  def DrawPlane(centerPos: Vector3,size: Vector2,color: Color,) -> None:
333
350
  """Draw a plane XZ"""
@@ -350,13 +367,13 @@ def DrawRay(ray: Ray,color: Color,) -> None:
350
367
  def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color,) -> None:
351
368
  """Draw a color-filled rectangle"""
352
369
  ...
353
- def DrawRectangleGradientEx(rec: Rectangle,col1: Color,col2: Color,col3: Color,col4: Color,) -> None:
370
+ def DrawRectangleGradientEx(rec: Rectangle,topLeft: Color,bottomLeft: Color,topRight: Color,bottomRight: Color,) -> None:
354
371
  """Draw a gradient-filled rectangle with custom vertex colors"""
355
372
  ...
356
- def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None:
373
+ def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,left: Color,right: Color,) -> None:
357
374
  """Draw a horizontal-gradient-filled rectangle"""
358
375
  ...
359
- def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None:
376
+ def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,top: Color,bottom: Color,) -> None:
360
377
  """Draw a vertical-gradient-filled rectangle"""
361
378
  ...
362
379
  def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color,) -> None:
@@ -374,7 +391,10 @@ def DrawRectangleRec(rec: Rectangle,color: Color,) -> None:
374
391
  def DrawRectangleRounded(rec: Rectangle,roundness: float,segments: int,color: Color,) -> None:
375
392
  """Draw rectangle with rounded edges"""
376
393
  ...
377
- def DrawRectangleRoundedLines(rec: Rectangle,roundness: float,segments: int,lineThick: float,color: Color,) -> None:
394
+ def DrawRectangleRoundedLines(rec: Rectangle,roundness: float,segments: int,color: Color,) -> None:
395
+ """Draw rectangle lines with rounded edges"""
396
+ ...
397
+ def DrawRectangleRoundedLinesEx(rec: Rectangle,roundness: float,segments: int,lineThick: float,color: Color,) -> None:
378
398
  """Draw rectangle with rounded edges outline"""
379
399
  ...
380
400
  def DrawRectangleV(position: Vector2,size: Vector2,color: Color,) -> None:
@@ -530,6 +550,9 @@ def ExportImageToMemory(image: Image,fileType: str,fileSize: Any,) -> str:
530
550
  def ExportMesh(mesh: Mesh,fileName: str,) -> bool:
531
551
  """Export mesh data to file, returns true on success"""
532
552
  ...
553
+ def ExportMeshAsCode(mesh: Mesh,fileName: str,) -> bool:
554
+ """Export mesh as code file (.h) defining multiple arrays of vertex attributes"""
555
+ ...
533
556
  def ExportWave(wave: Wave,fileName: str,) -> bool:
534
557
  """Export wave data to file, returns true on success"""
535
558
  ...
@@ -819,9 +842,6 @@ def GetMouseDelta() -> Vector2:
819
842
  def GetMousePosition() -> Vector2:
820
843
  """Get mouse position XY"""
821
844
  ...
822
- def GetMouseRay(mousePosition: Vector2,camera: Camera3D,) -> Ray:
823
- """Get a ray trace from mouse position"""
824
- ...
825
845
  def GetMouseWheelMove() -> float:
826
846
  """Get mouse wheel movement for X or Y, whichever is larger"""
827
847
  ...
@@ -894,6 +914,12 @@ def GetScreenHeight() -> int:
894
914
  def GetScreenToWorld2D(position: Vector2,camera: Camera2D,) -> Vector2:
895
915
  """Get the world space position for a 2d camera screen space position"""
896
916
  ...
917
+ def GetScreenToWorldRay(position: Vector2,camera: Camera3D,) -> Ray:
918
+ """Get a ray trace from screen position (i.e mouse)"""
919
+ ...
920
+ def GetScreenToWorldRayEx(position: Vector2,camera: Camera3D,width: int,height: int,) -> Ray:
921
+ """Get a ray trace from screen position (i.e mouse) in a viewport"""
922
+ ...
897
923
  def GetScreenWidth() -> int:
898
924
  """Get current screen width"""
899
925
  ...
@@ -903,6 +929,12 @@ def GetShaderLocation(shader: Shader,uniformName: str,) -> int:
903
929
  def GetShaderLocationAttrib(shader: Shader,attribName: str,) -> int:
904
930
  """Get shader attribute location"""
905
931
  ...
932
+ def GetShapesTexture() -> Texture:
933
+ """Get texture that is used for shapes drawing"""
934
+ ...
935
+ def GetShapesTextureRectangle() -> Rectangle:
936
+ """Get texture source rectangle that is used for shapes drawing"""
937
+ ...
906
938
  def GetSplinePointBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
907
939
  """Get (evaluate) spline point: B-Spline"""
908
940
  ...
@@ -973,7 +1005,7 @@ def GuiColorPanel(bounds: Rectangle,text: str,color: Any,) -> int:
973
1005
  """Color Panel control"""
974
1006
  ...
975
1007
  def GuiColorPanelHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
976
- """Color Panel control that returns HSV color value, used by GuiColorPickerHSV()"""
1008
+ """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()"""
977
1009
  ...
978
1010
  def GuiColorPicker(bounds: Rectangle,text: str,color: Any,) -> int:
979
1011
  """Color Picker control (multiple color controls)"""
@@ -982,7 +1014,7 @@ def GuiColorPickerHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
982
1014
  """Color Picker control that avoids conversion to RGB on each call (multiple color controls)"""
983
1015
  ...
984
1016
  def GuiComboBox(bounds: Rectangle,text: str,active: Any,) -> int:
985
- """Combo Box control, returns selected item index"""
1017
+ """Combo Box control"""
986
1018
  ...
987
1019
  def GuiDisable() -> None:
988
1020
  """Disable gui controls (global state)"""
@@ -994,7 +1026,7 @@ def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color,) ->
994
1026
  """Draw icon using pixel size at specified position"""
995
1027
  ...
996
1028
  def GuiDropdownBox(bounds: Rectangle,text: str,active: Any,editMode: bool,) -> int:
997
- """Dropdown Box control, returns selected item"""
1029
+ """Dropdown Box control"""
998
1030
  ...
999
1031
  def GuiDummyRec(bounds: Rectangle,text: str,) -> int:
1000
1032
  """Dummy control for placeholders"""
@@ -1018,7 +1050,7 @@ def GuiGetStyle(control: int,property: int,) -> int:
1018
1050
  """Get one style property"""
1019
1051
  ...
1020
1052
  def GuiGrid(bounds: Rectangle,text: str,spacing: float,subdivs: int,mouseCell: Any,) -> int:
1021
- """Grid control, returns mouse cell position"""
1053
+ """Grid control"""
1022
1054
  ...
1023
1055
  def GuiGroupBox(bounds: Rectangle,text: str,) -> int:
1024
1056
  """Group Box control with text name"""
@@ -1030,16 +1062,16 @@ def GuiIsLocked() -> bool:
1030
1062
  """Check if gui is locked (global state)"""
1031
1063
  ...
1032
1064
  def GuiLabel(bounds: Rectangle,text: str,) -> int:
1033
- """Label control, shows text"""
1065
+ """Label control"""
1034
1066
  ...
1035
1067
  def GuiLabelButton(bounds: Rectangle,text: str,) -> int:
1036
- """Label button control, show true when clicked"""
1068
+ """Label button control, returns true when clicked"""
1037
1069
  ...
1038
1070
  def GuiLine(bounds: Rectangle,text: str,) -> int:
1039
1071
  """Line separator control, could contain text"""
1040
1072
  ...
1041
1073
  def GuiListView(bounds: Rectangle,text: str,scrollIndex: Any,active: Any,) -> int:
1042
- """List View control, returns selected list item index"""
1074
+ """List View control"""
1043
1075
  ...
1044
1076
  def GuiListViewEx(bounds: Rectangle,text: list[str],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
1045
1077
  """List View with extended parameters"""
@@ -1063,7 +1095,7 @@ def GuiPanel(bounds: Rectangle,text: str,) -> int:
1063
1095
  """Panel control, useful to group controls"""
1064
1096
  ...
1065
1097
  def GuiProgressBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1066
- """Progress Bar control, shows current progress value"""
1098
+ """Progress Bar control"""
1067
1099
  ...
1068
1100
  def GuiScrollPanel(bounds: Rectangle,text: str,content: Rectangle,scroll: Any,view: Any,) -> int:
1069
1101
  """Scroll Panel control"""
@@ -1087,13 +1119,13 @@ def GuiSetTooltip(tooltip: str,) -> None:
1087
1119
  """Set tooltip string"""
1088
1120
  ...
1089
1121
  def GuiSlider(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1090
- """Slider control, returns selected value"""
1122
+ """Slider control"""
1091
1123
  ...
1092
1124
  def GuiSliderBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1093
- """Slider Bar control, returns selected value"""
1125
+ """Slider Bar control"""
1094
1126
  ...
1095
1127
  def GuiSpinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1096
- """Spinner control, returns selected value"""
1128
+ """Spinner control"""
1097
1129
  ...
1098
1130
  def GuiStatusBar(bounds: Rectangle,text: str,) -> int:
1099
1131
  """Status Bar control, shows info text"""
@@ -1108,13 +1140,13 @@ def GuiTextInputBox(bounds: Rectangle,title: str,message: str,buttons: str,text:
1108
1140
  """Text Input Box control, ask for text, supports secret"""
1109
1141
  ...
1110
1142
  def GuiToggle(bounds: Rectangle,text: str,active: Any,) -> int:
1111
- """Toggle Button control, returns true when active"""
1143
+ """Toggle Button control"""
1112
1144
  ...
1113
1145
  def GuiToggleGroup(bounds: Rectangle,text: str,active: Any,) -> int:
1114
- """Toggle Group control, returns active toggle index"""
1146
+ """Toggle Group control"""
1115
1147
  ...
1116
1148
  def GuiToggleSlider(bounds: Rectangle,text: str,active: Any,) -> int:
1117
- """Toggle Slider control, returns true when clicked"""
1149
+ """Toggle Slider control"""
1118
1150
  ...
1119
1151
  def GuiUnlock() -> None:
1120
1152
  """Unlock gui controls (global state)"""
@@ -1122,6 +1154,9 @@ def GuiUnlock() -> None:
1122
1154
  def GuiValueBox(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1123
1155
  """Value Box control, updates input text with numbers"""
1124
1156
  ...
1157
+ def GuiValueBoxFloat(bounds: Rectangle,text: str,textValue: str,value: Any,editMode: bool,) -> int:
1158
+ """Value box control for float values"""
1159
+ ...
1125
1160
  def GuiWindowBox(bounds: Rectangle,title: str,) -> int:
1126
1161
  """Window Box control, shows a window that can be closed"""
1127
1162
  ...
@@ -1133,15 +1168,6 @@ def HideCursor() -> None:
1133
1168
  """Hides cursor"""
1134
1169
  ...
1135
1170
  ICON_1UP: int
1136
- ICON_220: int
1137
- ICON_221: int
1138
- ICON_222: int
1139
- ICON_223: int
1140
- ICON_224: int
1141
- ICON_225: int
1142
- ICON_226: int
1143
- ICON_227: int
1144
- ICON_228: int
1145
1171
  ICON_229: int
1146
1172
  ICON_230: int
1147
1173
  ICON_231: int
@@ -1287,13 +1313,18 @@ ICON_GRID_FILL: int
1287
1313
  ICON_HAND_POINTER: int
1288
1314
  ICON_HEART: int
1289
1315
  ICON_HELP: int
1316
+ ICON_HELP_BOX: int
1290
1317
  ICON_HEX: int
1291
1318
  ICON_HIDPI: int
1319
+ ICON_HOT: int
1292
1320
  ICON_HOUSE: int
1293
1321
  ICON_INFO: int
1322
+ ICON_INFO_BOX: int
1294
1323
  ICON_KEY: int
1295
1324
  ICON_LASER: int
1296
1325
  ICON_LAYERS: int
1326
+ ICON_LAYERS2: int
1327
+ ICON_LAYERS_ISO: int
1297
1328
  ICON_LAYERS_VISIBLE: int
1298
1329
  ICON_LENS: int
1299
1330
  ICON_LENS_BIG: int
@@ -1307,7 +1338,9 @@ ICON_LOCK_CLOSE: int
1307
1338
  ICON_LOCK_OPEN: int
1308
1339
  ICON_MAGNET: int
1309
1340
  ICON_MAILBOX: int
1341
+ ICON_MAPS: int
1310
1342
  ICON_MIPMAPS: int
1343
+ ICON_MLAYERS: int
1311
1344
  ICON_MODE_2D: int
1312
1345
  ICON_MODE_3D: int
1313
1346
  ICON_MONITOR: int
@@ -1331,6 +1364,7 @@ ICON_PLAYER_RECORD: int
1331
1364
  ICON_PLAYER_STOP: int
1332
1365
  ICON_POT: int
1333
1366
  ICON_PRINTER: int
1367
+ ICON_PRIORITY: int
1334
1368
  ICON_REDO: int
1335
1369
  ICON_REDO_FILL: int
1336
1370
  ICON_REG_EXP: int
@@ -1377,6 +1411,7 @@ ICON_UNDO: int
1377
1411
  ICON_UNDO_FILL: int
1378
1412
  ICON_VERTICAL_BARS: int
1379
1413
  ICON_VERTICAL_BARS_FILL: int
1414
+ ICON_WARNING: int
1380
1415
  ICON_WATER_DROP: int
1381
1416
  ICON_WAVE: int
1382
1417
  ICON_WAVE_SINUS: int
@@ -1451,6 +1486,9 @@ def ImageDrawCircleV(dst: Any,center: Vector2,radius: int,color: Color,) -> None
1451
1486
  def ImageDrawLine(dst: Any,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None:
1452
1487
  """Draw line within an image"""
1453
1488
  ...
1489
+ def ImageDrawLineEx(dst: Any,start: Vector2,end: Vector2,thick: int,color: Color,) -> None:
1490
+ """Draw a line defining thickness within an image"""
1491
+ ...
1454
1492
  def ImageDrawLineV(dst: Any,start: Vector2,end: Vector2,color: Color,) -> None:
1455
1493
  """Draw line within an image (Vector version)"""
1456
1494
  ...
@@ -1478,6 +1516,21 @@ def ImageDrawText(dst: Any,text: str,posX: int,posY: int,fontSize: int,color: Co
1478
1516
  def ImageDrawTextEx(dst: Any,font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
1479
1517
  """Draw text (custom sprite font) within an image (destination)"""
1480
1518
  ...
1519
+ def ImageDrawTriangle(dst: Any,v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None:
1520
+ """Draw triangle within an image"""
1521
+ ...
1522
+ def ImageDrawTriangleEx(dst: Any,v1: Vector2,v2: Vector2,v3: Vector2,c1: Color,c2: Color,c3: Color,) -> None:
1523
+ """Draw triangle with interpolated colors within an image"""
1524
+ ...
1525
+ def ImageDrawTriangleFan(dst: Any,points: Any,pointCount: int,color: Color,) -> None:
1526
+ """Draw a triangle fan defined by points within an image (first vertex is the center)"""
1527
+ ...
1528
+ def ImageDrawTriangleLines(dst: Any,v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None:
1529
+ """Draw triangle outline within an image"""
1530
+ ...
1531
+ def ImageDrawTriangleStrip(dst: Any,points: Any,pointCount: int,color: Color,) -> None:
1532
+ """Draw a triangle strip defined by points within an image"""
1533
+ ...
1481
1534
  def ImageFlipHorizontal(image: Any,) -> None:
1482
1535
  """Flip image horizontally"""
1483
1536
  ...
@@ -1487,9 +1540,15 @@ def ImageFlipVertical(image: Any,) -> None:
1487
1540
  def ImageFormat(image: Any,newFormat: int,) -> None:
1488
1541
  """Convert image data to desired format"""
1489
1542
  ...
1543
+ def ImageFromChannel(image: Image,selectedChannel: int,) -> Image:
1544
+ """Create an image from a selected channel of another image (GRAYSCALE)"""
1545
+ ...
1490
1546
  def ImageFromImage(image: Image,rec: Rectangle,) -> Image:
1491
1547
  """Create an image from another image piece"""
1492
1548
  ...
1549
+ def ImageKernelConvolution(image: Any,kernel: Any,kernelSize: int,) -> None:
1550
+ """Apply custom square convolution kernel to image"""
1551
+ ...
1493
1552
  def ImageMipmaps(image: Any,) -> None:
1494
1553
  """Compute all mipmap levels for a provided image"""
1495
1554
  ...
@@ -1553,6 +1612,9 @@ def IsFileDropped() -> bool:
1553
1612
  def IsFileExtension(fileName: str,ext: str,) -> bool:
1554
1613
  """Check file extension (including point: .png, .wav)"""
1555
1614
  ...
1615
+ def IsFileNameValid(fileName: str,) -> bool:
1616
+ """Check if fileName is valid for the platform/OS"""
1617
+ ...
1556
1618
  def IsFontReady(font: Font,) -> bool:
1557
1619
  """Check if a font is ready"""
1558
1620
  ...
@@ -1777,6 +1839,7 @@ KEY_ZERO: int
1777
1839
  LABEL: int
1778
1840
  LINE_COLOR: int
1779
1841
  LISTVIEW: int
1842
+ LIST_ITEMS_BORDER_WIDTH: int
1780
1843
  LIST_ITEMS_HEIGHT: int
1781
1844
  LIST_ITEMS_SPACING: int
1782
1845
  LOG_ALL: int
@@ -1803,7 +1866,7 @@ def LoadDirectoryFiles(dirPath: str,) -> FilePathList:
1803
1866
  """Load directory filepaths"""
1804
1867
  ...
1805
1868
  def LoadDirectoryFilesEx(basePath: str,filter: str,scanSubdirs: bool,) -> FilePathList:
1806
- """Load directory filepaths with extension filtering and recursive directory scan"""
1869
+ """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result"""
1807
1870
  ...
1808
1871
  def LoadDroppedFiles() -> FilePathList:
1809
1872
  """Load dropped filepaths"""
@@ -1821,7 +1884,7 @@ def LoadFontData(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codep
1821
1884
  """Load font data for further use"""
1822
1885
  ...
1823
1886
  def LoadFontEx(fileName: str,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
1824
- """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont"""
1887
+ """Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height"""
1825
1888
  ...
1826
1889
  def LoadFontFromImage(image: Image,key: Color,firstChar: int,) -> Font:
1827
1890
  """Load font from Image (XNA style)"""
@@ -1835,6 +1898,9 @@ def LoadImage(fileName: str,) -> Image:
1835
1898
  def LoadImageAnim(fileName: str,frames: Any,) -> Image:
1836
1899
  """Load image sequence from file (frames appended to image.data)"""
1837
1900
  ...
1901
+ def LoadImageAnimFromMemory(fileType: str,fileData: str,dataSize: int,frames: Any,) -> Image:
1902
+ """Load image sequence from memory buffer"""
1903
+ ...
1838
1904
  def LoadImageColors(image: Image,) -> Any:
1839
1905
  """Load color data from image as a Color array (RGBA - 32bit)"""
1840
1906
  ...
@@ -1853,9 +1919,6 @@ def LoadImagePalette(image: Image,maxPaletteSize: int,colorCount: Any,) -> Any:
1853
1919
  def LoadImageRaw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image:
1854
1920
  """Load image from RAW file data"""
1855
1921
  ...
1856
- def LoadImageSvg(fileNameOrString: str,width: int,height: int,) -> Image:
1857
- """Load image from SVG file data or string with specified size"""
1858
- ...
1859
1922
  def LoadMaterialDefault() -> Material:
1860
1923
  """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"""
1861
1924
  ...
@@ -1951,13 +2014,19 @@ MOUSE_CURSOR_RESIZE_EW: int
1951
2014
  MOUSE_CURSOR_RESIZE_NESW: int
1952
2015
  MOUSE_CURSOR_RESIZE_NS: int
1953
2016
  MOUSE_CURSOR_RESIZE_NWSE: int
2017
+ def MakeDirectory(dirPath: str,) -> int:
2018
+ """Create directories (including full path requested), returns 0 on success"""
2019
+ ...
1954
2020
  def MatrixAdd(left: Matrix,right: Matrix,) -> Matrix:
1955
2021
  """"""
1956
2022
  ...
2023
+ def MatrixDecompose(mat: Matrix,translation: Any,rotation: Any,scale: Any,) -> None:
2024
+ """"""
2025
+ ...
1957
2026
  def MatrixDeterminant(mat: Matrix,) -> float:
1958
2027
  """"""
1959
2028
  ...
1960
- def MatrixFrustum(left: float,right: float,bottom: float,top: float,near: float,far: float,) -> Matrix:
2029
+ def MatrixFrustum(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
1961
2030
  """"""
1962
2031
  ...
1963
2032
  def MatrixIdentity() -> Matrix:
@@ -2111,6 +2180,9 @@ def QuaternionAdd(q1: Vector4,q2: Vector4,) -> Vector4:
2111
2180
  def QuaternionAddValue(q: Vector4,add: float,) -> Vector4:
2112
2181
  """"""
2113
2182
  ...
2183
+ def QuaternionCubicHermiteSpline(q1: Vector4,outTangent1: Vector4,q2: Vector4,inTangent2: Vector4,t: float,) -> Vector4:
2184
+ """"""
2185
+ ...
2114
2186
  def QuaternionDivide(q1: Vector4,q2: Vector4,) -> Vector4:
2115
2187
  """"""
2116
2188
  ...
@@ -2276,6 +2348,10 @@ RL_SHADER_UNIFORM_IVEC2: int
2276
2348
  RL_SHADER_UNIFORM_IVEC3: int
2277
2349
  RL_SHADER_UNIFORM_IVEC4: int
2278
2350
  RL_SHADER_UNIFORM_SAMPLER2D: int
2351
+ RL_SHADER_UNIFORM_UINT: int
2352
+ RL_SHADER_UNIFORM_UIVEC2: int
2353
+ RL_SHADER_UNIFORM_UIVEC3: int
2354
+ RL_SHADER_UNIFORM_UIVEC4: int
2279
2355
  RL_SHADER_UNIFORM_VEC2: int
2280
2356
  RL_SHADER_UNIFORM_VEC3: int
2281
2357
  RL_SHADER_UNIFORM_VEC4: int
@@ -2314,6 +2390,7 @@ SHADER_ATTRIB_FLOAT: int
2314
2390
  SHADER_ATTRIB_VEC2: int
2315
2391
  SHADER_ATTRIB_VEC3: int
2316
2392
  SHADER_ATTRIB_VEC4: int
2393
+ SHADER_LOC_BONE_MATRICES: int
2317
2394
  SHADER_LOC_COLOR_AMBIENT: int
2318
2395
  SHADER_LOC_COLOR_DIFFUSE: int
2319
2396
  SHADER_LOC_COLOR_SPECULAR: int
@@ -2334,6 +2411,8 @@ SHADER_LOC_MATRIX_NORMAL: int
2334
2411
  SHADER_LOC_MATRIX_PROJECTION: int
2335
2412
  SHADER_LOC_MATRIX_VIEW: int
2336
2413
  SHADER_LOC_VECTOR_VIEW: int
2414
+ SHADER_LOC_VERTEX_BONEIDS: int
2415
+ SHADER_LOC_VERTEX_BONEWEIGHTS: int
2337
2416
  SHADER_LOC_VERTEX_COLOR: int
2338
2417
  SHADER_LOC_VERTEX_NORMAL: int
2339
2418
  SHADER_LOC_VERTEX_POSITION: int
@@ -2402,6 +2481,9 @@ def SetExitKey(key: int,) -> None:
2402
2481
  def SetGamepadMappings(mappings: str,) -> int:
2403
2482
  """Set internal gamepad mappings (SDL_GameControllerDB)"""
2404
2483
  ...
2484
+ def SetGamepadVibration(gamepad: int,leftMotor: float,rightMotor: float,) -> None:
2485
+ """Set gamepad vibration for both motors"""
2486
+ ...
2405
2487
  def SetGesturesEnabled(flags: int,) -> None:
2406
2488
  """Enable a set of gestures using flags"""
2407
2489
  ...
@@ -2627,6 +2709,12 @@ def TextSplit(text: str,delimiter: str,count: Any,) -> list[str]:
2627
2709
  def TextSubtext(text: str,position: int,length: int,) -> str:
2628
2710
  """Get a piece of a text string"""
2629
2711
  ...
2712
+ def TextToCamel(text: str,) -> str:
2713
+ """Get Camel case notation version of provided string"""
2714
+ ...
2715
+ def TextToFloat(text: str,) -> float:
2716
+ """Get float value from text (negative values not supported)"""
2717
+ ...
2630
2718
  def TextToInteger(text: str,) -> int:
2631
2719
  """Get integer value from text (negative values not supported)"""
2632
2720
  ...
@@ -2636,14 +2724,17 @@ def TextToLower(text: str,) -> str:
2636
2724
  def TextToPascal(text: str,) -> str:
2637
2725
  """Get Pascal case notation version of provided string"""
2638
2726
  ...
2727
+ def TextToSnake(text: str,) -> str:
2728
+ """Get Snake case notation version of provided string"""
2729
+ ...
2639
2730
  def TextToUpper(text: str,) -> str:
2640
2731
  """Get upper case version of provided string"""
2641
2732
  ...
2642
2733
  def ToggleBorderlessWindowed() -> None:
2643
- """Toggle window state: borderless windowed (only PLATFORM_DESKTOP)"""
2734
+ """Toggle window state: borderless windowed [resizes window to match monitor resolution] (only PLATFORM_DESKTOP)"""
2644
2735
  ...
2645
2736
  def ToggleFullscreen() -> None:
2646
- """Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)"""
2737
+ """Toggle window state: fullscreen/windowed [resizes monitor to match window resolution] (only PLATFORM_DESKTOP)"""
2647
2738
  ...
2648
2739
  def TraceLog(*args) -> None:
2649
2740
  """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
@@ -2651,7 +2742,7 @@ def TraceLog(*args) -> None:
2651
2742
  def UnloadAudioStream(stream: AudioStream,) -> None:
2652
2743
  """Unload audio stream and free memory"""
2653
2744
  ...
2654
- def UnloadAutomationEventList(list_0: Any,) -> None:
2745
+ def UnloadAutomationEventList(list_0: AutomationEventList,) -> None:
2655
2746
  """Unload automation events list from file"""
2656
2747
  ...
2657
2748
  def UnloadCodepoints(codepoints: Any,) -> None:
@@ -2747,6 +2838,9 @@ def UpdateMeshBuffer(mesh: Mesh,index: int,data: Any,dataSize: int,offset: int,)
2747
2838
  def UpdateModelAnimation(model: Model,anim: ModelAnimation,frame: int,) -> None:
2748
2839
  """Update model animation pose"""
2749
2840
  ...
2841
+ def UpdateModelAnimationBoneMatrices(model: Model,anim: ModelAnimation,frame: int,) -> None:
2842
+ """Update model animation mesh bone matrices (Note GPU skinning does not work on Mac)"""
2843
+ ...
2750
2844
  def UpdateMusicStream(music: Music,) -> None:
2751
2845
  """Updates buffers for music streaming"""
2752
2846
  ...
@@ -2811,6 +2905,12 @@ def Vector2Lerp(v1: Vector2,v2: Vector2,amount: float,) -> Vector2:
2811
2905
  def Vector2LineAngle(start: Vector2,end: Vector2,) -> float:
2812
2906
  """"""
2813
2907
  ...
2908
+ def Vector2Max(v1: Vector2,v2: Vector2,) -> Vector2:
2909
+ """"""
2910
+ ...
2911
+ def Vector2Min(v1: Vector2,v2: Vector2,) -> Vector2:
2912
+ """"""
2913
+ ...
2814
2914
  def Vector2MoveTowards(v: Vector2,target: Vector2,maxDistance: float,) -> Vector2:
2815
2915
  """"""
2816
2916
  ...
@@ -2829,6 +2929,9 @@ def Vector2One() -> Vector2:
2829
2929
  def Vector2Reflect(v: Vector2,normal: Vector2,) -> Vector2:
2830
2930
  """"""
2831
2931
  ...
2932
+ def Vector2Refract(v: Vector2,n: Vector2,r: float,) -> Vector2:
2933
+ """"""
2934
+ ...
2832
2935
  def Vector2Rotate(v: Vector2,angle: float,) -> Vector2:
2833
2936
  """"""
2834
2937
  ...
@@ -2868,6 +2971,9 @@ def Vector3ClampValue(v: Vector3,min_1: float,max_2: float,) -> Vector3:
2868
2971
  def Vector3CrossProduct(v1: Vector3,v2: Vector3,) -> Vector3:
2869
2972
  """"""
2870
2973
  ...
2974
+ def Vector3CubicHermite(v1: Vector3,tangent1: Vector3,v2: Vector3,tangent2: Vector3,amount: float,) -> Vector3:
2975
+ """"""
2976
+ ...
2871
2977
  def Vector3Distance(v1: Vector3,v2: Vector3,) -> float:
2872
2978
  """"""
2873
2979
  ...
@@ -2901,6 +3007,9 @@ def Vector3Max(v1: Vector3,v2: Vector3,) -> Vector3:
2901
3007
  def Vector3Min(v1: Vector3,v2: Vector3,) -> Vector3:
2902
3008
  """"""
2903
3009
  ...
3010
+ def Vector3MoveTowards(v: Vector3,target: Vector3,maxDistance: float,) -> Vector3:
3011
+ """"""
3012
+ ...
2904
3013
  def Vector3Multiply(v1: Vector3,v2: Vector3,) -> Vector3:
2905
3014
  """"""
2906
3015
  ...
@@ -2958,14 +3067,80 @@ def Vector3Unproject(source: Vector3,projection: Matrix,view: Matrix,) -> Vector
2958
3067
  def Vector3Zero() -> Vector3:
2959
3068
  """"""
2960
3069
  ...
3070
+ def Vector4Add(v1: Vector4,v2: Vector4,) -> Vector4:
3071
+ """"""
3072
+ ...
3073
+ def Vector4AddValue(v: Vector4,add: float,) -> Vector4:
3074
+ """"""
3075
+ ...
3076
+ def Vector4Distance(v1: Vector4,v2: Vector4,) -> float:
3077
+ """"""
3078
+ ...
3079
+ def Vector4DistanceSqr(v1: Vector4,v2: Vector4,) -> float:
3080
+ """"""
3081
+ ...
3082
+ def Vector4Divide(v1: Vector4,v2: Vector4,) -> Vector4:
3083
+ """"""
3084
+ ...
3085
+ def Vector4DotProduct(v1: Vector4,v2: Vector4,) -> float:
3086
+ """"""
3087
+ ...
3088
+ def Vector4Equals(p: Vector4,q: Vector4,) -> int:
3089
+ """"""
3090
+ ...
3091
+ def Vector4Invert(v: Vector4,) -> Vector4:
3092
+ """"""
3093
+ ...
3094
+ def Vector4Length(v: Vector4,) -> float:
3095
+ """"""
3096
+ ...
3097
+ def Vector4LengthSqr(v: Vector4,) -> float:
3098
+ """"""
3099
+ ...
3100
+ def Vector4Lerp(v1: Vector4,v2: Vector4,amount: float,) -> Vector4:
3101
+ """"""
3102
+ ...
3103
+ def Vector4Max(v1: Vector4,v2: Vector4,) -> Vector4:
3104
+ """"""
3105
+ ...
3106
+ def Vector4Min(v1: Vector4,v2: Vector4,) -> Vector4:
3107
+ """"""
3108
+ ...
3109
+ def Vector4MoveTowards(v: Vector4,target: Vector4,maxDistance: float,) -> Vector4:
3110
+ """"""
3111
+ ...
3112
+ def Vector4Multiply(v1: Vector4,v2: Vector4,) -> Vector4:
3113
+ """"""
3114
+ ...
3115
+ def Vector4Negate(v: Vector4,) -> Vector4:
3116
+ """"""
3117
+ ...
3118
+ def Vector4Normalize(v: Vector4,) -> Vector4:
3119
+ """"""
3120
+ ...
3121
+ def Vector4One() -> Vector4:
3122
+ """"""
3123
+ ...
3124
+ def Vector4Scale(v: Vector4,scale: float,) -> Vector4:
3125
+ """"""
3126
+ ...
3127
+ def Vector4Subtract(v1: Vector4,v2: Vector4,) -> Vector4:
3128
+ """"""
3129
+ ...
3130
+ def Vector4SubtractValue(v: Vector4,add: float,) -> Vector4:
3131
+ """"""
3132
+ ...
3133
+ def Vector4Zero() -> Vector4:
3134
+ """"""
3135
+ ...
2961
3136
  def WaitTime(seconds: float,) -> None:
2962
3137
  """Wait for some time (halt program execution)"""
2963
3138
  ...
2964
3139
  def WaveCopy(wave: Wave,) -> Wave:
2965
3140
  """Copy a wave to a new wave"""
2966
3141
  ...
2967
- def WaveCrop(wave: Any,initSample: int,finalSample: int,) -> None:
2968
- """Crop a wave to defined samples range"""
3142
+ def WaveCrop(wave: Any,initFrame: int,finalFrame: int,) -> None:
3143
+ """Crop a wave to defined frames range"""
2969
3144
  ...
2970
3145
  def WaveFormat(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None:
2971
3146
  """Convert wave data to desired format"""
@@ -3132,6 +3307,9 @@ def glfwGetWindowPos(window: Any,xpos: Any,ypos: Any,) -> None:
3132
3307
  def glfwGetWindowSize(window: Any,width: Any,height: Any,) -> None:
3133
3308
  """"""
3134
3309
  ...
3310
+ def glfwGetWindowTitle(window: Any,) -> str:
3311
+ """"""
3312
+ ...
3135
3313
  def glfwGetWindowUserPointer(window: Any,) -> Any:
3136
3314
  """"""
3137
3315
  ...
@@ -3342,6 +3520,9 @@ def rlActiveTextureSlot(slot: int,) -> None:
3342
3520
  def rlBegin(mode: int,) -> None:
3343
3521
  """Initialize drawing mode (how to organize vertex)"""
3344
3522
  ...
3523
+ def rlBindFramebuffer(target: int,framebuffer: int,) -> None:
3524
+ """Bind framebuffer (FBO)"""
3525
+ ...
3345
3526
  def rlBindImageTexture(id: int,index: int,format: int,readonly: bool,) -> None:
3346
3527
  """Bind image texture"""
3347
3528
  ...
@@ -3372,6 +3553,9 @@ def rlColor4f(x: float,y: float,z: float,w: float,) -> None:
3372
3553
  def rlColor4ub(r: str,g: str,b: str,a: str,) -> None:
3373
3554
  """Define one vertex (color) - 4 byte"""
3374
3555
  ...
3556
+ def rlColorMask(r: bool,g: bool,b: bool,a: bool,) -> None:
3557
+ """Color mask control"""
3558
+ ...
3375
3559
  def rlCompileShader(shaderCode: str,type: int,) -> int:
3376
3560
  """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)"""
3377
3561
  ...
@@ -3430,7 +3614,7 @@ def rlDisableVertexBufferElement() -> None:
3430
3614
  """Disable vertex buffer element (VBO element)"""
3431
3615
  ...
3432
3616
  def rlDisableWireMode() -> None:
3433
- """Disable wire mode ( and point ) maybe rename"""
3617
+ """Disable wire (and point) mode"""
3434
3618
  ...
3435
3619
  def rlDrawRenderBatch(batch: Any,) -> None:
3436
3620
  """Draw render batch data (Update->Draw->Reset)"""
@@ -3439,16 +3623,16 @@ def rlDrawRenderBatchActive() -> None:
3439
3623
  """Update and draw internal render batch"""
3440
3624
  ...
3441
3625
  def rlDrawVertexArray(offset: int,count: int,) -> None:
3442
- """"""
3626
+ """Draw vertex array (currently active vao)"""
3443
3627
  ...
3444
3628
  def rlDrawVertexArrayElements(offset: int,count: int,buffer: Any,) -> None:
3445
- """"""
3629
+ """Draw vertex array elements"""
3446
3630
  ...
3447
3631
  def rlDrawVertexArrayElementsInstanced(offset: int,count: int,buffer: Any,instances: int,) -> None:
3448
- """"""
3632
+ """Draw vertex array elements with instancing"""
3449
3633
  ...
3450
3634
  def rlDrawVertexArrayInstanced(offset: int,count: int,instances: int,) -> None:
3451
- """"""
3635
+ """Draw vertex array (currently active vao) with instancing"""
3452
3636
  ...
3453
3637
  def rlEnableBackfaceCulling() -> None:
3454
3638
  """Enable backface culling"""
@@ -3516,6 +3700,15 @@ def rlFrustum(left: float,right: float,bottom: float,top: float,znear: float,zfa
3516
3700
  def rlGenTextureMipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None:
3517
3701
  """Generate mipmap data for selected texture"""
3518
3702
  ...
3703
+ def rlGetActiveFramebuffer() -> int:
3704
+ """Get the currently active render texture (fbo), 0 for default framebuffer"""
3705
+ ...
3706
+ def rlGetCullDistanceFar() -> float:
3707
+ """Get cull plane distance far"""
3708
+ ...
3709
+ def rlGetCullDistanceNear() -> float:
3710
+ """Get cull plane distance near"""
3711
+ ...
3519
3712
  def rlGetFramebufferHeight() -> int:
3520
3713
  """Get default framebuffer height"""
3521
3714
  ...
@@ -3582,7 +3775,7 @@ def rlLoadDrawQuad() -> None:
3582
3775
  def rlLoadExtensions(loader: Any,) -> None:
3583
3776
  """Load OpenGL extensions (loader function required)"""
3584
3777
  ...
3585
- def rlLoadFramebuffer(width: int,height: int,) -> int:
3778
+ def rlLoadFramebuffer() -> int:
3586
3779
  """Load an empty framebuffer"""
3587
3780
  ...
3588
3781
  def rlLoadIdentity() -> None:
@@ -3601,10 +3794,10 @@ def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int:
3601
3794
  """Load custom shader program"""
3602
3795
  ...
3603
3796
  def rlLoadTexture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int:
3604
- """Load texture in GPU"""
3797
+ """Load texture data"""
3605
3798
  ...
3606
3799
  def rlLoadTextureCubemap(data: Any,size: int,format: int,) -> int:
3607
- """Load texture cubemap"""
3800
+ """Load texture cubemap data"""
3608
3801
  ...
3609
3802
  def rlLoadTextureDepth(width: int,height: int,useRenderBuffer: bool,) -> int:
3610
3803
  """Load depth texture/renderbuffer (to be attached to fbo)"""
@@ -3613,10 +3806,10 @@ def rlLoadVertexArray() -> int:
3613
3806
  """Load vertex array (vao) if supported"""
3614
3807
  ...
3615
3808
  def rlLoadVertexBuffer(buffer: Any,size: int,dynamic: bool,) -> int:
3616
- """Load a vertex buffer attribute"""
3809
+ """Load a vertex buffer object"""
3617
3810
  ...
3618
3811
  def rlLoadVertexBufferElement(buffer: Any,size: int,dynamic: bool,) -> int:
3619
- """Load a new attributes element buffer"""
3812
+ """Load vertex buffer elements object"""
3620
3813
  ...
3621
3814
  def rlMatrixMode(mode: int,) -> None:
3622
3815
  """Choose the current matrix to be transformed"""
@@ -3663,6 +3856,9 @@ def rlSetBlendFactorsSeparate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstA
3663
3856
  def rlSetBlendMode(mode: int,) -> None:
3664
3857
  """Set blending mode"""
3665
3858
  ...
3859
+ def rlSetClipPlanes(nearPlane: float,farPlane: float,) -> None:
3860
+ """Set clip planes distances"""
3861
+ ...
3666
3862
  def rlSetCullFace(mode: int,) -> None:
3667
3863
  """Set face culling mode"""
3668
3864
  ...
@@ -3699,20 +3895,23 @@ def rlSetTexture(id: int,) -> None:
3699
3895
  def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None:
3700
3896
  """Set shader value uniform"""
3701
3897
  ...
3898
+ def rlSetUniformMatrices(locIndex: int,mat: Any,count: int,) -> None:
3899
+ """Set shader value matrices"""
3900
+ ...
3702
3901
  def rlSetUniformMatrix(locIndex: int,mat: Matrix,) -> None:
3703
3902
  """Set shader value matrix"""
3704
3903
  ...
3705
3904
  def rlSetUniformSampler(locIndex: int,textureId: int,) -> None:
3706
3905
  """Set shader value sampler"""
3707
3906
  ...
3708
- def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,pointer: Any,) -> None:
3709
- """"""
3907
+ def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,offset: int,) -> None:
3908
+ """Set vertex attribute data configuration"""
3710
3909
  ...
3711
3910
  def rlSetVertexAttributeDefault(locIndex: int,value: Any,attribType: int,count: int,) -> None:
3712
- """Set vertex attribute default value"""
3911
+ """Set vertex attribute default value, when attribute to provided"""
3713
3912
  ...
3714
3913
  def rlSetVertexAttributeDivisor(index: int,divisor: int,) -> None:
3715
- """"""
3914
+ """Set vertex attribute data divisor"""
3716
3915
  ...
3717
3916
  def rlTexCoord2f(x: float,y: float,) -> None:
3718
3917
  """Define one vertex (texture coordinate) - 2 float"""
@@ -3739,22 +3938,22 @@ def rlUnloadTexture(id: int,) -> None:
3739
3938
  """Unload texture from GPU memory"""
3740
3939
  ...
3741
3940
  def rlUnloadVertexArray(vaoId: int,) -> None:
3742
- """"""
3941
+ """Unload vertex array (vao)"""
3743
3942
  ...
3744
3943
  def rlUnloadVertexBuffer(vboId: int,) -> None:
3745
- """"""
3944
+ """Unload vertex buffer object"""
3746
3945
  ...
3747
3946
  def rlUpdateShaderBuffer(id: int,data: Any,dataSize: int,offset: int,) -> None:
3748
3947
  """Update SSBO buffer data"""
3749
3948
  ...
3750
3949
  def rlUpdateTexture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None:
3751
- """Update GPU texture with new data"""
3950
+ """Update texture with new data on GPU"""
3752
3951
  ...
3753
3952
  def rlUpdateVertexBuffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None:
3754
- """Update GPU buffer with new data"""
3953
+ """Update vertex buffer object data on GPU buffer"""
3755
3954
  ...
3756
3955
  def rlUpdateVertexBufferElements(id: int,data: Any,dataSize: int,offset: int,) -> None:
3757
- """Update vertex buffer elements with new data"""
3956
+ """Update vertex buffer elements data on GPU buffer"""
3758
3957
  ...
3759
3958
  def rlVertex2f(x: float,y: float,) -> None:
3760
3959
  """Define one vertex (position) - 2 float"""