raylib 5.0.0.4__cp312-cp312-macosx_14_0_arm64.whl → 5.5.0.2__cp312-cp312-macosx_14_0_arm64.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,6 +1,6 @@
1
1
  from typing import Any
2
2
 
3
- import _cffi_backend
3
+ import _cffi_backend # type: ignore
4
4
 
5
5
  ffi: _cffi_backend.FFI
6
6
  rl: _cffi_backend.Lib
@@ -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
- def AttachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
18
- """Attach audio stream processor to stream, receives the samples as <float>s"""
17
+ def AttachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None:
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
@@ -42,22 +42,22 @@ def BeginBlendMode(mode: int,) -> None:
42
42
  def BeginDrawing() -> None:
43
43
  """Setup canvas (framebuffer) to start drawing"""
44
44
  ...
45
- def BeginMode2D(camera: Camera2D,) -> None:
45
+ def BeginMode2D(camera: Camera2D|list|tuple,) -> None:
46
46
  """Begin 2D mode with custom camera (2D)"""
47
47
  ...
48
- def BeginMode3D(camera: Camera3D,) -> None:
48
+ def BeginMode3D(camera: Camera3D|list|tuple,) -> None:
49
49
  """Begin 3D mode with custom camera (3D)"""
50
50
  ...
51
51
  def BeginScissorMode(x: int,y: int,width: int,height: int,) -> None:
52
52
  """Begin scissor mode (define screen area for following drawing)"""
53
53
  ...
54
- def BeginShaderMode(shader: Shader,) -> None:
54
+ def BeginShaderMode(shader: Shader|list|tuple,) -> None:
55
55
  """Begin custom shader drawing"""
56
56
  ...
57
- def BeginTextureMode(target: RenderTexture,) -> None:
57
+ def BeginTextureMode(target: RenderTexture|list|tuple,) -> None:
58
58
  """Begin drawing to render texture"""
59
59
  ...
60
- def BeginVrStereoMode(config: VrStereoConfig,) -> None:
60
+ def BeginVrStereoMode(config: VrStereoConfig|list|tuple,) -> None:
61
61
  """Begin stereo rendering (requires VR simulator)"""
62
62
  ...
63
63
  CAMERA_CUSTOM: int
@@ -79,50 +79,52 @@ CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE: int
79
79
  CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR: int
80
80
  CUBEMAP_LAYOUT_LINE_HORIZONTAL: int
81
81
  CUBEMAP_LAYOUT_LINE_VERTICAL: int
82
- CUBEMAP_LAYOUT_PANORAMA: int
83
- def ChangeDirectory(dir: str,) -> bool:
82
+ def ChangeDirectory(dir: bytes,) -> bool:
84
83
  """Change working directory, return true on success"""
85
84
  ...
86
- def CheckCollisionBoxSphere(box: BoundingBox,center: Vector3,radius: float,) -> bool:
85
+ def CheckCollisionBoxSphere(box: BoundingBox|list|tuple,center: Vector3|list|tuple,radius: float,) -> bool:
87
86
  """Check collision between box and sphere"""
88
87
  ...
89
- def CheckCollisionBoxes(box1: BoundingBox,box2: BoundingBox,) -> bool:
88
+ def CheckCollisionBoxes(box1: BoundingBox|list|tuple,box2: BoundingBox|list|tuple,) -> bool:
90
89
  """Check collision between two bounding boxes"""
91
90
  ...
92
- def CheckCollisionCircleRec(center: Vector2,radius: float,rec: Rectangle,) -> bool:
91
+ def CheckCollisionCircleLine(center: Vector2|list|tuple,radius: float,p1: Vector2|list|tuple,p2: Vector2|list|tuple,) -> bool:
92
+ """Check if circle collides with a line created betweeen two points [p1] and [p2]"""
93
+ ...
94
+ def CheckCollisionCircleRec(center: Vector2|list|tuple,radius: float,rec: Rectangle|list|tuple,) -> bool:
93
95
  """Check collision between circle and rectangle"""
94
96
  ...
95
- def CheckCollisionCircles(center1: Vector2,radius1: float,center2: Vector2,radius2: float,) -> bool:
97
+ def CheckCollisionCircles(center1: Vector2|list|tuple,radius1: float,center2: Vector2|list|tuple,radius2: float,) -> bool:
96
98
  """Check collision between two circles"""
97
99
  ...
98
- def CheckCollisionLines(startPos1: Vector2,endPos1: Vector2,startPos2: Vector2,endPos2: Vector2,collisionPoint: Any,) -> bool:
100
+ def CheckCollisionLines(startPos1: Vector2|list|tuple,endPos1: Vector2|list|tuple,startPos2: Vector2|list|tuple,endPos2: Vector2|list|tuple,collisionPoint: Any|list|tuple,) -> bool:
99
101
  """Check the collision between two lines defined by two points each, returns collision point by reference"""
100
102
  ...
101
- def CheckCollisionPointCircle(point: Vector2,center: Vector2,radius: float,) -> bool:
103
+ def CheckCollisionPointCircle(point: Vector2|list|tuple,center: Vector2|list|tuple,radius: float,) -> bool:
102
104
  """Check if point is inside circle"""
103
105
  ...
104
- def CheckCollisionPointLine(point: Vector2,p1: Vector2,p2: Vector2,threshold: int,) -> bool:
106
+ def CheckCollisionPointLine(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,threshold: int,) -> bool:
105
107
  """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]"""
106
108
  ...
107
- def CheckCollisionPointPoly(point: Vector2,points: Any,pointCount: int,) -> bool:
109
+ def CheckCollisionPointPoly(point: Vector2|list|tuple,points: Any|list|tuple,pointCount: int,) -> bool:
108
110
  """Check if point is within a polygon described by array of vertices"""
109
111
  ...
110
- def CheckCollisionPointRec(point: Vector2,rec: Rectangle,) -> bool:
112
+ def CheckCollisionPointRec(point: Vector2|list|tuple,rec: Rectangle|list|tuple,) -> bool:
111
113
  """Check if point is inside rectangle"""
112
114
  ...
113
- def CheckCollisionPointTriangle(point: Vector2,p1: Vector2,p2: Vector2,p3: Vector2,) -> bool:
115
+ def CheckCollisionPointTriangle(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,) -> bool:
114
116
  """Check if point is inside a triangle"""
115
117
  ...
116
- def CheckCollisionRecs(rec1: Rectangle,rec2: Rectangle,) -> bool:
118
+ def CheckCollisionRecs(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> bool:
117
119
  """Check collision between two rectangles"""
118
120
  ...
119
- def CheckCollisionSpheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool:
121
+ def CheckCollisionSpheres(center1: Vector3|list|tuple,radius1: float,center2: Vector3|list|tuple,radius2: float,) -> bool:
120
122
  """Check collision between two spheres"""
121
123
  ...
122
124
  def Clamp(value: float,min_1: float,max_2: float,) -> float:
123
125
  """"""
124
126
  ...
125
- def ClearBackground(color: Color,) -> None:
127
+ def ClearBackground(color: Color|list|tuple,) -> None:
126
128
  """Set background color (framebuffer clear color)"""
127
129
  ...
128
130
  def ClearWindowState(flags: int,) -> None:
@@ -137,70 +139,87 @@ def ClosePhysics() -> None:
137
139
  def CloseWindow() -> None:
138
140
  """Close window and unload OpenGL context"""
139
141
  ...
140
- def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> str:
142
+ def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> bytes:
141
143
  """Encode one codepoint into UTF-8 byte array (array length returned as parameter)"""
142
144
  ...
143
- def ColorAlpha(color: Color,alpha: float,) -> Color:
145
+ def ColorAlpha(color: Color|list|tuple,alpha: float,) -> Color:
144
146
  """Get color with alpha applied, alpha goes from 0.0f to 1.0f"""
145
147
  ...
146
- def ColorAlphaBlend(dst: Color,src: Color,tint: Color,) -> Color:
148
+ def ColorAlphaBlend(dst: Color|list|tuple,src: Color|list|tuple,tint: Color|list|tuple,) -> Color:
147
149
  """Get src alpha-blended into dst color with tint"""
148
150
  ...
149
- def ColorBrightness(color: Color,factor: float,) -> Color:
151
+ def ColorBrightness(color: Color|list|tuple,factor: float,) -> Color:
150
152
  """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f"""
151
153
  ...
152
- def ColorContrast(color: Color,contrast: float,) -> Color:
154
+ def ColorContrast(color: Color|list|tuple,contrast: float,) -> Color:
153
155
  """Get color with contrast correction, contrast values between -1.0f and 1.0f"""
154
156
  ...
155
157
  def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color:
156
158
  """Get a Color from HSV values, hue [0..360], saturation/value [0..1]"""
157
159
  ...
158
- def ColorFromNormalized(normalized: Vector4,) -> Color:
160
+ def ColorFromNormalized(normalized: Vector4|list|tuple,) -> Color:
159
161
  """Get Color from normalized values [0..1]"""
160
162
  ...
161
- def ColorNormalize(color: Color,) -> Vector4:
163
+ def ColorIsEqual(col1: Color|list|tuple,col2: Color|list|tuple,) -> bool:
164
+ """Check if two colors are equal"""
165
+ ...
166
+ def ColorLerp(color1: Color|list|tuple,color2: Color|list|tuple,factor: float,) -> Color:
167
+ """Get color lerp interpolation between two colors, factor [0.0f..1.0f]"""
168
+ ...
169
+ def ColorNormalize(color: Color|list|tuple,) -> Vector4:
162
170
  """Get Color normalized as float [0..1]"""
163
171
  ...
164
- def ColorTint(color: Color,tint: Color,) -> Color:
172
+ def ColorTint(color: Color|list|tuple,tint: Color|list|tuple,) -> Color:
165
173
  """Get color multiplied with another color"""
166
174
  ...
167
- def ColorToHSV(color: Color,) -> Vector3:
175
+ def ColorToHSV(color: Color|list|tuple,) -> Vector3:
168
176
  """Get HSV values for a Color, hue [0..360], saturation/value [0..1]"""
169
177
  ...
170
- def ColorToInt(color: Color,) -> int:
171
- """Get hexadecimal value for a Color"""
178
+ def ColorToInt(color: Color|list|tuple,) -> int:
179
+ """Get hexadecimal value for a Color (0xRRGGBBAA)"""
172
180
  ...
173
- def CompressData(data: str,dataSize: int,compDataSize: Any,) -> str:
181
+ def CompressData(data: bytes,dataSize: int,compDataSize: Any,) -> bytes:
174
182
  """Compress data (DEFLATE algorithm), memory must be MemFree()"""
175
183
  ...
176
- def CreatePhysicsBodyCircle(pos: Vector2,radius: float,density: float,) -> Any:
184
+ def ComputeCRC32(data: bytes,dataSize: int,) -> int:
185
+ """Compute CRC32 hash code"""
186
+ ...
187
+ def ComputeMD5(data: bytes,dataSize: int,) -> Any:
188
+ """Compute MD5 hash code, returns static int[4] (16 bytes)"""
189
+ ...
190
+ def ComputeSHA1(data: bytes,dataSize: int,) -> Any:
191
+ """Compute SHA1 hash code, returns static int[5] (20 bytes)"""
192
+ ...
193
+ def CreatePhysicsBodyCircle(pos: Vector2|list|tuple,radius: float,density: float,) -> Any:
177
194
  """Creates a new circle physics body with generic parameters"""
178
195
  ...
179
- def CreatePhysicsBodyPolygon(pos: Vector2,radius: float,sides: int,density: float,) -> Any:
196
+ def CreatePhysicsBodyPolygon(pos: Vector2|list|tuple,radius: float,sides: int,density: float,) -> Any:
180
197
  """Creates a new polygon physics body with generic parameters"""
181
198
  ...
182
- def CreatePhysicsBodyRectangle(pos: Vector2,width: float,height: float,density: float,) -> Any:
199
+ def CreatePhysicsBodyRectangle(pos: Vector2|list|tuple,width: float,height: float,density: float,) -> Any:
183
200
  """Creates a new rectangle physics body with generic parameters"""
184
201
  ...
185
202
  DEFAULT: int
186
203
  DROPDOWNBOX: int
204
+ DROPDOWN_ARROW_HIDDEN: int
187
205
  DROPDOWN_ITEMS_SPACING: int
188
- def DecodeDataBase64(data: str,outputSize: Any,) -> str:
206
+ DROPDOWN_ROLL_UP: int
207
+ def DecodeDataBase64(data: bytes,outputSize: Any,) -> bytes:
189
208
  """Decode Base64 string data, memory must be MemFree()"""
190
209
  ...
191
- def DecompressData(compData: str,compDataSize: int,dataSize: Any,) -> str:
210
+ def DecompressData(compData: bytes,compDataSize: int,dataSize: Any,) -> bytes:
192
211
  """Decompress data (DEFLATE algorithm), memory must be MemFree()"""
193
212
  ...
194
- def DestroyPhysicsBody(body: Any,) -> None:
213
+ def DestroyPhysicsBody(body: Any|list|tuple,) -> None:
195
214
  """Destroy a physics body"""
196
215
  ...
197
216
  def DetachAudioMixedProcessor(processor: Any,) -> None:
198
217
  """Detach audio stream processor from the entire audio pipeline"""
199
218
  ...
200
- def DetachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
219
+ def DetachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None:
201
220
  """Detach audio stream processor from stream"""
202
221
  ...
203
- def DirectoryExists(dirPath: str,) -> bool:
222
+ def DirectoryExists(dirPath: bytes,) -> bool:
204
223
  """Check if a directory path exists"""
205
224
  ...
206
225
  def DisableCursor() -> None:
@@ -209,76 +228,76 @@ def DisableCursor() -> None:
209
228
  def DisableEventWaiting() -> None:
210
229
  """Disable waiting for events on EndDrawing(), automatic events polling"""
211
230
  ...
212
- def DrawBillboard(camera: Camera3D,texture: Texture,position: Vector3,size: float,tint: Color,) -> None:
231
+ def DrawBillboard(camera: Camera3D|list|tuple,texture: Texture|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
213
232
  """Draw a billboard texture"""
214
233
  ...
215
- def DrawBillboardPro(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,up: Vector3,size: Vector2,origin: Vector2,rotation: float,tint: Color,) -> None:
234
+ def DrawBillboardPro(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,up: Vector3|list|tuple,size: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
216
235
  """Draw a billboard texture defined by source and rotation"""
217
236
  ...
218
- def DrawBillboardRec(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,size: Vector2,tint: Color,) -> None:
237
+ def DrawBillboardRec(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,size: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
219
238
  """Draw a billboard texture defined by source"""
220
239
  ...
221
- def DrawBoundingBox(box: BoundingBox,color: Color,) -> None:
240
+ def DrawBoundingBox(box: BoundingBox|list|tuple,color: Color|list|tuple,) -> None:
222
241
  """Draw bounding box (wires)"""
223
242
  ...
224
- def DrawCapsule(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None:
243
+ def DrawCapsule(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
225
244
  """Draw a capsule with the center of its sphere caps at startPos and endPos"""
226
245
  ...
227
- def DrawCapsuleWires(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None:
246
+ def DrawCapsuleWires(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
228
247
  """Draw capsule wireframe with the center of its sphere caps at startPos and endPos"""
229
248
  ...
230
- def DrawCircle(centerX: int,centerY: int,radius: float,color: Color,) -> None:
249
+ def DrawCircle(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
231
250
  """Draw a color-filled circle"""
232
251
  ...
233
- def DrawCircle3D(center: Vector3,radius: float,rotationAxis: Vector3,rotationAngle: float,color: Color,) -> None:
252
+ def DrawCircle3D(center: Vector3|list|tuple,radius: float,rotationAxis: Vector3|list|tuple,rotationAngle: float,color: Color|list|tuple,) -> None:
234
253
  """Draw a circle in 3D world space"""
235
254
  ...
236
- def DrawCircleGradient(centerX: int,centerY: int,radius: float,color1: Color,color2: Color,) -> None:
255
+ def DrawCircleGradient(centerX: int,centerY: int,radius: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> None:
237
256
  """Draw a gradient-filled circle"""
238
257
  ...
239
- def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color,) -> None:
258
+ def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
240
259
  """Draw circle outline"""
241
260
  ...
242
- def DrawCircleLinesV(center: Vector2,radius: float,color: Color,) -> None:
261
+ def DrawCircleLinesV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
243
262
  """Draw circle outline (Vector version)"""
244
263
  ...
245
- def DrawCircleSector(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
264
+ def DrawCircleSector(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
246
265
  """Draw a piece of a circle"""
247
266
  ...
248
- def DrawCircleSectorLines(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
267
+ def DrawCircleSectorLines(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
249
268
  """Draw circle sector outline"""
250
269
  ...
251
- def DrawCircleV(center: Vector2,radius: float,color: Color,) -> None:
270
+ def DrawCircleV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
252
271
  """Draw a color-filled circle (Vector version)"""
253
272
  ...
254
- def DrawCube(position: Vector3,width: float,height: float,length: float,color: Color,) -> None:
273
+ def DrawCube(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
255
274
  """Draw cube"""
256
275
  ...
257
- def DrawCubeV(position: Vector3,size: Vector3,color: Color,) -> None:
276
+ def DrawCubeV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
258
277
  """Draw cube (Vector version)"""
259
278
  ...
260
- def DrawCubeWires(position: Vector3,width: float,height: float,length: float,color: Color,) -> None:
279
+ def DrawCubeWires(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
261
280
  """Draw cube wires"""
262
281
  ...
263
- def DrawCubeWiresV(position: Vector3,size: Vector3,color: Color,) -> None:
282
+ def DrawCubeWiresV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
264
283
  """Draw cube wires (Vector version)"""
265
284
  ...
266
- def DrawCylinder(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None:
285
+ def DrawCylinder(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
267
286
  """Draw a cylinder/cone"""
268
287
  ...
269
- def DrawCylinderEx(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None:
288
+ def DrawCylinderEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
270
289
  """Draw a cylinder with base at startPos and top at endPos"""
271
290
  ...
272
- def DrawCylinderWires(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None:
291
+ def DrawCylinderWires(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
273
292
  """Draw a cylinder/cone wires"""
274
293
  ...
275
- def DrawCylinderWiresEx(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None:
294
+ def DrawCylinderWiresEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
276
295
  """Draw a cylinder wires with base at startPos and top at endPos"""
277
296
  ...
278
- def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None:
297
+ def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
279
298
  """Draw ellipse"""
280
299
  ...
281
- def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None:
300
+ def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
282
301
  """Draw ellipse outline"""
283
302
  ...
284
303
  def DrawFPS(posX: int,posY: int,) -> None:
@@ -287,193 +306,202 @@ def DrawFPS(posX: int,posY: int,) -> None:
287
306
  def DrawGrid(slices: int,spacing: float,) -> None:
288
307
  """Draw a grid (centered at (0, 0, 0))"""
289
308
  ...
290
- def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None:
309
+ def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
291
310
  """Draw a line"""
292
311
  ...
293
- def DrawLine3D(startPos: Vector3,endPos: Vector3,color: Color,) -> None:
312
+ def DrawLine3D(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,color: Color|list|tuple,) -> None:
294
313
  """Draw a line in 3D world space"""
295
314
  ...
296
- def DrawLineBezier(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
315
+ def DrawLineBezier(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
297
316
  """Draw line segment cubic-bezier in-out interpolation"""
298
317
  ...
299
- def DrawLineEx(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
318
+ def DrawLineEx(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
300
319
  """Draw a line (using triangles/quads)"""
301
320
  ...
302
- def DrawLineStrip(points: Any,pointCount: int,color: Color,) -> None:
321
+ def DrawLineStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
303
322
  """Draw lines sequence (using gl lines)"""
304
323
  ...
305
- def DrawLineV(startPos: Vector2,endPos: Vector2,color: Color,) -> None:
324
+ def DrawLineV(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,color: Color|list|tuple,) -> None:
306
325
  """Draw a line (using gl lines)"""
307
326
  ...
308
- def DrawMesh(mesh: Mesh,material: Material,transform: Matrix,) -> None:
327
+ def DrawMesh(mesh: Mesh|list|tuple,material: Material|list|tuple,transform: Matrix|list|tuple,) -> None:
309
328
  """Draw a 3d mesh with material and transform"""
310
329
  ...
311
- def DrawMeshInstanced(mesh: Mesh,material: Material,transforms: Any,instances: int,) -> None:
330
+ def DrawMeshInstanced(mesh: Mesh|list|tuple,material: Material|list|tuple,transforms: Any|list|tuple,instances: int,) -> None:
312
331
  """Draw multiple mesh instances with material and different transforms"""
313
332
  ...
314
- def DrawModel(model: Model,position: Vector3,scale: float,tint: Color,) -> None:
333
+ def DrawModel(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
315
334
  """Draw a model (with texture if set)"""
316
335
  ...
317
- def DrawModelEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None:
336
+ def DrawModelEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
318
337
  """Draw a model with extended parameters"""
319
338
  ...
320
- def DrawModelWires(model: Model,position: Vector3,scale: float,tint: Color,) -> None:
339
+ def DrawModelPoints(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
340
+ """Draw a model as points"""
341
+ ...
342
+ def DrawModelPointsEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
343
+ """Draw a model as points with extended parameters"""
344
+ ...
345
+ def DrawModelWires(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
321
346
  """Draw a model wires (with texture if set)"""
322
347
  ...
323
- def DrawModelWiresEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None:
348
+ def DrawModelWiresEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
324
349
  """Draw a model wires (with texture if set) with extended parameters"""
325
350
  ...
326
- def DrawPixel(posX: int,posY: int,color: Color,) -> None:
327
- """Draw a pixel"""
351
+ def DrawPixel(posX: int,posY: int,color: Color|list|tuple,) -> None:
352
+ """Draw a pixel using geometry [Can be slow, use with care]"""
328
353
  ...
329
- def DrawPixelV(position: Vector2,color: Color,) -> None:
330
- """Draw a pixel (Vector version)"""
354
+ def DrawPixelV(position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
355
+ """Draw a pixel using geometry (Vector version) [Can be slow, use with care]"""
331
356
  ...
332
- def DrawPlane(centerPos: Vector3,size: Vector2,color: Color,) -> None:
357
+ def DrawPlane(centerPos: Vector3|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
333
358
  """Draw a plane XZ"""
334
359
  ...
335
- def DrawPoint3D(position: Vector3,color: Color,) -> None:
360
+ def DrawPoint3D(position: Vector3|list|tuple,color: Color|list|tuple,) -> None:
336
361
  """Draw a point in 3D space, actually a small line"""
337
362
  ...
338
- def DrawPoly(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None:
363
+ def DrawPoly(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
339
364
  """Draw a regular polygon (Vector version)"""
340
365
  ...
341
- def DrawPolyLines(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None:
366
+ def DrawPolyLines(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
342
367
  """Draw a polygon outline of n sides"""
343
368
  ...
344
- def DrawPolyLinesEx(center: Vector2,sides: int,radius: float,rotation: float,lineThick: float,color: Color,) -> None:
369
+ def DrawPolyLinesEx(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,lineThick: float,color: Color|list|tuple,) -> None:
345
370
  """Draw a polygon outline of n sides with extended parameters"""
346
371
  ...
347
- def DrawRay(ray: Ray,color: Color,) -> None:
372
+ def DrawRay(ray: Ray|list|tuple,color: Color|list|tuple,) -> None:
348
373
  """Draw a ray line"""
349
374
  ...
350
- def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color,) -> None:
375
+ def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
351
376
  """Draw a color-filled rectangle"""
352
377
  ...
353
- def DrawRectangleGradientEx(rec: Rectangle,col1: Color,col2: Color,col3: Color,col4: Color,) -> None:
378
+ def DrawRectangleGradientEx(rec: Rectangle|list|tuple,topLeft: Color|list|tuple,bottomLeft: Color|list|tuple,topRight: Color|list|tuple,bottomRight: Color|list|tuple,) -> None:
354
379
  """Draw a gradient-filled rectangle with custom vertex colors"""
355
380
  ...
356
- def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None:
381
+ def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,left: Color|list|tuple,right: Color|list|tuple,) -> None:
357
382
  """Draw a horizontal-gradient-filled rectangle"""
358
383
  ...
359
- def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None:
384
+ def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,top: Color|list|tuple,bottom: Color|list|tuple,) -> None:
360
385
  """Draw a vertical-gradient-filled rectangle"""
361
386
  ...
362
- def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color,) -> None:
387
+ def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
363
388
  """Draw rectangle outline"""
364
389
  ...
365
- def DrawRectangleLinesEx(rec: Rectangle,lineThick: float,color: Color,) -> None:
390
+ def DrawRectangleLinesEx(rec: Rectangle|list|tuple,lineThick: float,color: Color|list|tuple,) -> None:
366
391
  """Draw rectangle outline with extended parameters"""
367
392
  ...
368
- def DrawRectanglePro(rec: Rectangle,origin: Vector2,rotation: float,color: Color,) -> None:
393
+ def DrawRectanglePro(rec: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,color: Color|list|tuple,) -> None:
369
394
  """Draw a color-filled rectangle with pro parameters"""
370
395
  ...
371
- def DrawRectangleRec(rec: Rectangle,color: Color,) -> None:
396
+ def DrawRectangleRec(rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
372
397
  """Draw a color-filled rectangle"""
373
398
  ...
374
- def DrawRectangleRounded(rec: Rectangle,roundness: float,segments: int,color: Color,) -> None:
399
+ def DrawRectangleRounded(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None:
375
400
  """Draw rectangle with rounded edges"""
376
401
  ...
377
- def DrawRectangleRoundedLines(rec: Rectangle,roundness: float,segments: int,lineThick: float,color: Color,) -> None:
402
+ def DrawRectangleRoundedLines(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None:
403
+ """Draw rectangle lines with rounded edges"""
404
+ ...
405
+ def DrawRectangleRoundedLinesEx(rec: Rectangle|list|tuple,roundness: float,segments: int,lineThick: float,color: Color|list|tuple,) -> None:
378
406
  """Draw rectangle with rounded edges outline"""
379
407
  ...
380
- def DrawRectangleV(position: Vector2,size: Vector2,color: Color,) -> None:
408
+ def DrawRectangleV(position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
381
409
  """Draw a color-filled rectangle (Vector version)"""
382
410
  ...
383
- def DrawRing(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
411
+ def DrawRing(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
384
412
  """Draw ring"""
385
413
  ...
386
- def DrawRingLines(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
414
+ def DrawRingLines(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
387
415
  """Draw ring outline"""
388
416
  ...
389
- def DrawSphere(centerPos: Vector3,radius: float,color: Color,) -> None:
417
+ def DrawSphere(centerPos: Vector3|list|tuple,radius: float,color: Color|list|tuple,) -> None:
390
418
  """Draw sphere"""
391
419
  ...
392
- def DrawSphereEx(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None:
420
+ def DrawSphereEx(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
393
421
  """Draw sphere with extended parameters"""
394
422
  ...
395
- def DrawSphereWires(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None:
423
+ def DrawSphereWires(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
396
424
  """Draw sphere wires"""
397
425
  ...
398
- def DrawSplineBasis(points: Any,pointCount: int,thick: float,color: Color,) -> None:
426
+ def DrawSplineBasis(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
399
427
  """Draw spline: B-Spline, minimum 4 points"""
400
428
  ...
401
- def DrawSplineBezierCubic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
429
+ def DrawSplineBezierCubic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
402
430
  """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]"""
403
431
  ...
404
- def DrawSplineBezierQuadratic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
432
+ def DrawSplineBezierQuadratic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
405
433
  """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]"""
406
434
  ...
407
- def DrawSplineCatmullRom(points: Any,pointCount: int,thick: float,color: Color,) -> None:
435
+ def DrawSplineCatmullRom(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
408
436
  """Draw spline: Catmull-Rom, minimum 4 points"""
409
437
  ...
410
- def DrawSplineLinear(points: Any,pointCount: int,thick: float,color: Color,) -> None:
438
+ def DrawSplineLinear(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
411
439
  """Draw spline: Linear, minimum 2 points"""
412
440
  ...
413
- def DrawSplineSegmentBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
441
+ def DrawSplineSegmentBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
414
442
  """Draw spline segment: B-Spline, 4 points"""
415
443
  ...
416
- def DrawSplineSegmentBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
444
+ def DrawSplineSegmentBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
417
445
  """Draw spline segment: Cubic Bezier, 2 points, 2 control points"""
418
446
  ...
419
- def DrawSplineSegmentBezierQuadratic(p1: Vector2,c2: Vector2,p3: Vector2,thick: float,color: Color,) -> None:
447
+ def DrawSplineSegmentBezierQuadratic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
420
448
  """Draw spline segment: Quadratic Bezier, 2 points, 1 control point"""
421
449
  ...
422
- def DrawSplineSegmentCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
450
+ def DrawSplineSegmentCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
423
451
  """Draw spline segment: Catmull-Rom, 4 points"""
424
452
  ...
425
- def DrawSplineSegmentLinear(p1: Vector2,p2: Vector2,thick: float,color: Color,) -> None:
453
+ def DrawSplineSegmentLinear(p1: Vector2|list|tuple,p2: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
426
454
  """Draw spline segment: Linear, 2 points"""
427
455
  ...
428
- def DrawText(text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None:
456
+ def DrawText(text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
429
457
  """Draw text (using default font)"""
430
458
  ...
431
- def DrawTextCodepoint(font: Font,codepoint: int,position: Vector2,fontSize: float,tint: Color,) -> None:
459
+ def DrawTextCodepoint(font: Font|list|tuple,codepoint: int,position: Vector2|list|tuple,fontSize: float,tint: Color|list|tuple,) -> None:
432
460
  """Draw one character (codepoint)"""
433
461
  ...
434
- def DrawTextCodepoints(font: Font,codepoints: Any,codepointCount: int,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
462
+ def DrawTextCodepoints(font: Font|list|tuple,codepoints: Any,codepointCount: int,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
435
463
  """Draw multiple character (codepoint)"""
436
464
  ...
437
- def DrawTextEx(font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
465
+ def DrawTextEx(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
438
466
  """Draw text using font and additional parameters"""
439
467
  ...
440
- def DrawTextPro(font: Font,text: str,position: Vector2,origin: Vector2,rotation: float,fontSize: float,spacing: float,tint: Color,) -> None:
468
+ def DrawTextPro(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
441
469
  """Draw text using Font and pro parameters (rotation)"""
442
470
  ...
443
- def DrawTexture(texture: Texture,posX: int,posY: int,tint: Color,) -> None:
471
+ def DrawTexture(texture: Texture|list|tuple,posX: int,posY: int,tint: Color|list|tuple,) -> None:
444
472
  """Draw a Texture2D"""
445
473
  ...
446
- def DrawTextureEx(texture: Texture,position: Vector2,rotation: float,scale: float,tint: Color,) -> None:
474
+ def DrawTextureEx(texture: Texture|list|tuple,position: Vector2|list|tuple,rotation: float,scale: float,tint: Color|list|tuple,) -> None:
447
475
  """Draw a Texture2D with extended parameters"""
448
476
  ...
449
- def DrawTextureNPatch(texture: Texture,nPatchInfo: NPatchInfo,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None:
477
+ def DrawTextureNPatch(texture: Texture|list|tuple,nPatchInfo: NPatchInfo|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
450
478
  """Draws a texture (or part of it) that stretches or shrinks nicely"""
451
479
  ...
452
- def DrawTexturePro(texture: Texture,source: Rectangle,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None:
480
+ def DrawTexturePro(texture: Texture|list|tuple,source: Rectangle|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
453
481
  """Draw a part of a texture defined by a rectangle with 'pro' parameters"""
454
482
  ...
455
- def DrawTextureRec(texture: Texture,source: Rectangle,position: Vector2,tint: Color,) -> None:
483
+ def DrawTextureRec(texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
456
484
  """Draw a part of a texture defined by a rectangle"""
457
485
  ...
458
- def DrawTextureV(texture: Texture,position: Vector2,tint: Color,) -> None:
486
+ def DrawTextureV(texture: Texture|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
459
487
  """Draw a Texture2D with position defined as Vector2"""
460
488
  ...
461
- def DrawTriangle(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None:
489
+ def DrawTriangle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
462
490
  """Draw a color-filled triangle (vertex in counter-clockwise order!)"""
463
491
  ...
464
- def DrawTriangle3D(v1: Vector3,v2: Vector3,v3: Vector3,color: Color,) -> None:
492
+ def DrawTriangle3D(v1: Vector3|list|tuple,v2: Vector3|list|tuple,v3: Vector3|list|tuple,color: Color|list|tuple,) -> None:
465
493
  """Draw a color-filled triangle (vertex in counter-clockwise order!)"""
466
494
  ...
467
- def DrawTriangleFan(points: Any,pointCount: int,color: Color,) -> None:
495
+ def DrawTriangleFan(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
468
496
  """Draw a triangle fan defined by points (first vertex is the center)"""
469
497
  ...
470
- def DrawTriangleLines(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None:
498
+ def DrawTriangleLines(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
471
499
  """Draw triangle outline (vertex in counter-clockwise order!)"""
472
500
  ...
473
- def DrawTriangleStrip(points: Any,pointCount: int,color: Color,) -> None:
501
+ def DrawTriangleStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
474
502
  """Draw a triangle strip defined by points"""
475
503
  ...
476
- def DrawTriangleStrip3D(points: Any,pointCount: int,color: Color,) -> None:
504
+ def DrawTriangleStrip3D(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
477
505
  """Draw a triangle strip defined by points"""
478
506
  ...
479
507
  def EnableCursor() -> None:
@@ -482,7 +510,7 @@ def EnableCursor() -> None:
482
510
  def EnableEventWaiting() -> None:
483
511
  """Enable waiting for events on EndDrawing(), no automatic event polling"""
484
512
  ...
485
- def EncodeDataBase64(data: str,dataSize: int,outputSize: Any,) -> str:
513
+ def EncodeDataBase64(data: bytes,dataSize: int,outputSize: Any,) -> bytes:
486
514
  """Encode data to Base64 string, memory must be MemFree()"""
487
515
  ...
488
516
  def EndBlendMode() -> None:
@@ -509,31 +537,34 @@ def EndTextureMode() -> None:
509
537
  def EndVrStereoMode() -> None:
510
538
  """End stereo rendering (requires VR simulator)"""
511
539
  ...
512
- def ExportAutomationEventList(list_0: AutomationEventList,fileName: str,) -> bool:
540
+ def ExportAutomationEventList(list_0: AutomationEventList|list|tuple,fileName: bytes,) -> bool:
513
541
  """Export automation events list as text file"""
514
542
  ...
515
- def ExportDataAsCode(data: str,dataSize: int,fileName: str,) -> bool:
543
+ def ExportDataAsCode(data: bytes,dataSize: int,fileName: bytes,) -> bool:
516
544
  """Export data to code (.h), returns true on success"""
517
545
  ...
518
- def ExportFontAsCode(font: Font,fileName: str,) -> bool:
546
+ def ExportFontAsCode(font: Font|list|tuple,fileName: bytes,) -> bool:
519
547
  """Export font as code file, returns true on success"""
520
548
  ...
521
- def ExportImage(image: Image,fileName: str,) -> bool:
549
+ def ExportImage(image: Image|list|tuple,fileName: bytes,) -> bool:
522
550
  """Export image data to file, returns true on success"""
523
551
  ...
524
- def ExportImageAsCode(image: Image,fileName: str,) -> bool:
552
+ def ExportImageAsCode(image: Image|list|tuple,fileName: bytes,) -> bool:
525
553
  """Export image as code file defining an array of bytes, returns true on success"""
526
554
  ...
527
- def ExportImageToMemory(image: Image,fileType: str,fileSize: Any,) -> str:
555
+ def ExportImageToMemory(image: Image|list|tuple,fileType: bytes,fileSize: Any,) -> bytes:
528
556
  """Export image to memory buffer"""
529
557
  ...
530
- def ExportMesh(mesh: Mesh,fileName: str,) -> bool:
558
+ def ExportMesh(mesh: Mesh|list|tuple,fileName: bytes,) -> bool:
531
559
  """Export mesh data to file, returns true on success"""
532
560
  ...
533
- def ExportWave(wave: Wave,fileName: str,) -> bool:
561
+ def ExportMeshAsCode(mesh: Mesh|list|tuple,fileName: bytes,) -> bool:
562
+ """Export mesh as code file (.h) defining multiple arrays of vertex attributes"""
563
+ ...
564
+ def ExportWave(wave: Wave|list|tuple,fileName: bytes,) -> bool:
534
565
  """Export wave data to file, returns true on success"""
535
566
  ...
536
- def ExportWaveAsCode(wave: Wave,fileName: str,) -> bool:
567
+ def ExportWaveAsCode(wave: Wave|list|tuple,fileName: bytes,) -> bool:
537
568
  """Export wave sample data to code (.h), returns true on success"""
538
569
  ...
539
570
  FLAG_BORDERLESS_WINDOWED_MODE: int
@@ -555,10 +586,10 @@ FLAG_WINDOW_UNFOCUSED: int
555
586
  FONT_BITMAP: int
556
587
  FONT_DEFAULT: int
557
588
  FONT_SDF: int
558
- def Fade(color: Color,alpha: float,) -> Color:
589
+ def Fade(color: Color|list|tuple,alpha: float,) -> Color:
559
590
  """Get color with alpha applied, alpha goes from 0.0f to 1.0f"""
560
591
  ...
561
- def FileExists(fileName: str,) -> bool:
592
+ def FileExists(fileName: bytes,) -> bool:
562
593
  """Check if file exists"""
563
594
  ...
564
595
  def FloatEquals(x: float,y: float,) -> int:
@@ -603,28 +634,28 @@ GROUP_PADDING: int
603
634
  def GenImageCellular(width: int,height: int,tileSize: int,) -> Image:
604
635
  """Generate image: cellular algorithm, bigger tileSize means bigger cells"""
605
636
  ...
606
- def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color,col2: Color,) -> Image:
637
+ def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color|list|tuple,col2: Color|list|tuple,) -> Image:
607
638
  """Generate image: checked"""
608
639
  ...
609
- def GenImageColor(width: int,height: int,color: Color,) -> Image:
640
+ def GenImageColor(width: int,height: int,color: Color|list|tuple,) -> Image:
610
641
  """Generate image: plain color"""
611
642
  ...
612
- def GenImageFontAtlas(glyphs: Any,glyphRecs: Any,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
643
+ def GenImageFontAtlas(glyphs: Any|list|tuple,glyphRecs: Any|list|tuple,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
613
644
  """Generate image font atlas using chars info"""
614
645
  ...
615
- def GenImageGradientLinear(width: int,height: int,direction: int,start: Color,end: Color,) -> Image:
646
+ def GenImageGradientLinear(width: int,height: int,direction: int,start: Color|list|tuple,end: Color|list|tuple,) -> Image:
616
647
  """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient"""
617
648
  ...
618
- def GenImageGradientRadial(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
649
+ def GenImageGradientRadial(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
619
650
  """Generate image: radial gradient"""
620
651
  ...
621
- def GenImageGradientSquare(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
652
+ def GenImageGradientSquare(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
622
653
  """Generate image: square gradient"""
623
654
  ...
624
655
  def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image:
625
656
  """Generate image: perlin noise"""
626
657
  ...
627
- def GenImageText(width: int,height: int,text: str,) -> Image:
658
+ def GenImageText(width: int,height: int,text: bytes,) -> Image:
628
659
  """Generate image: grayscale image from text data"""
629
660
  ...
630
661
  def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image:
@@ -636,13 +667,13 @@ def GenMeshCone(radius: float,height: float,slices: int,) -> Mesh:
636
667
  def GenMeshCube(width: float,height: float,length: float,) -> Mesh:
637
668
  """Generate cuboid mesh"""
638
669
  ...
639
- def GenMeshCubicmap(cubicmap: Image,cubeSize: Vector3,) -> Mesh:
670
+ def GenMeshCubicmap(cubicmap: Image|list|tuple,cubeSize: Vector3|list|tuple,) -> Mesh:
640
671
  """Generate cubes-based map mesh from image data"""
641
672
  ...
642
673
  def GenMeshCylinder(radius: float,height: float,slices: int,) -> Mesh:
643
674
  """Generate cylinder mesh"""
644
675
  ...
645
- def GenMeshHeightmap(heightmap: Image,size: Vector3,) -> Mesh:
676
+ def GenMeshHeightmap(heightmap: Image|list|tuple,size: Vector3|list|tuple,) -> Mesh:
646
677
  """Generate heightmap mesh from image data"""
647
678
  ...
648
679
  def GenMeshHemiSphere(radius: float,rings: int,slices: int,) -> Mesh:
@@ -660,70 +691,73 @@ def GenMeshPoly(sides: int,radius: float,) -> Mesh:
660
691
  def GenMeshSphere(radius: float,rings: int,slices: int,) -> Mesh:
661
692
  """Generate sphere mesh (standard sphere)"""
662
693
  ...
663
- def GenMeshTangents(mesh: Any,) -> None:
694
+ def GenMeshTangents(mesh: Any|list|tuple,) -> None:
664
695
  """Compute mesh tangents"""
665
696
  ...
666
697
  def GenMeshTorus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh:
667
698
  """Generate torus mesh"""
668
699
  ...
669
- def GenTextureMipmaps(texture: Any,) -> None:
700
+ def GenTextureMipmaps(texture: Any|list|tuple,) -> None:
670
701
  """Generate GPU mipmaps for a texture"""
671
702
  ...
672
- def GetApplicationDirectory() -> str:
703
+ def GetApplicationDirectory() -> bytes:
673
704
  """Get the directory of the running application (uses static string)"""
674
705
  ...
675
- def GetCameraMatrix(camera: Camera3D,) -> Matrix:
706
+ def GetCameraMatrix(camera: Camera3D|list|tuple,) -> Matrix:
676
707
  """Get camera transform matrix (view matrix)"""
677
708
  ...
678
- def GetCameraMatrix2D(camera: Camera2D,) -> Matrix:
709
+ def GetCameraMatrix2D(camera: Camera2D|list|tuple,) -> Matrix:
679
710
  """Get camera 2d transform matrix"""
680
711
  ...
681
712
  def GetCharPressed() -> int:
682
713
  """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty"""
683
714
  ...
684
- def GetClipboardText() -> str:
715
+ def GetClipboardImage() -> Image:
716
+ """Get clipboard image content"""
717
+ ...
718
+ def GetClipboardText() -> bytes:
685
719
  """Get clipboard text content"""
686
720
  ...
687
- def GetCodepoint(text: str,codepointSize: Any,) -> int:
721
+ def GetCodepoint(text: bytes,codepointSize: Any,) -> int:
688
722
  """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
689
723
  ...
690
- def GetCodepointCount(text: str,) -> int:
724
+ def GetCodepointCount(text: bytes,) -> int:
691
725
  """Get total number of codepoints in a UTF-8 encoded string"""
692
726
  ...
693
- def GetCodepointNext(text: str,codepointSize: Any,) -> int:
727
+ def GetCodepointNext(text: bytes,codepointSize: Any,) -> int:
694
728
  """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
695
729
  ...
696
- def GetCodepointPrevious(text: str,codepointSize: Any,) -> int:
730
+ def GetCodepointPrevious(text: bytes,codepointSize: Any,) -> int:
697
731
  """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
698
732
  ...
699
- def GetCollisionRec(rec1: Rectangle,rec2: Rectangle,) -> Rectangle:
733
+ def GetCollisionRec(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> Rectangle:
700
734
  """Get collision rectangle for two rectangles collision"""
701
735
  ...
702
736
  def GetColor(hexValue: int,) -> Color:
703
737
  """Get Color structure from hexadecimal value"""
704
738
  ...
705
739
  def GetCurrentMonitor() -> int:
706
- """Get current connected monitor"""
740
+ """Get current monitor where window is placed"""
707
741
  ...
708
- def GetDirectoryPath(filePath: str,) -> str:
742
+ def GetDirectoryPath(filePath: bytes,) -> bytes:
709
743
  """Get full path for a given fileName with path (uses static string)"""
710
744
  ...
711
745
  def GetFPS() -> int:
712
746
  """Get current FPS"""
713
747
  ...
714
- def GetFileExtension(fileName: str,) -> str:
748
+ def GetFileExtension(fileName: bytes,) -> bytes:
715
749
  """Get pointer to extension for a filename string (includes dot: '.png')"""
716
750
  ...
717
- def GetFileLength(fileName: str,) -> int:
751
+ def GetFileLength(fileName: bytes,) -> int:
718
752
  """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)"""
719
753
  ...
720
- def GetFileModTime(fileName: str,) -> int:
754
+ def GetFileModTime(fileName: bytes,) -> int:
721
755
  """Get file modification time (last write time)"""
722
756
  ...
723
- def GetFileName(filePath: str,) -> str:
757
+ def GetFileName(filePath: bytes,) -> bytes:
724
758
  """Get pointer to filename for a path string"""
725
759
  ...
726
- def GetFileNameWithoutExt(filePath: str,) -> str:
760
+ def GetFileNameWithoutExt(filePath: bytes,) -> bytes:
727
761
  """Get filename string without extension (uses static string)"""
728
762
  ...
729
763
  def GetFontDefault() -> Font:
@@ -741,7 +775,7 @@ def GetGamepadAxisMovement(gamepad: int,axis: int,) -> float:
741
775
  def GetGamepadButtonPressed() -> int:
742
776
  """Get the last gamepad button pressed"""
743
777
  ...
744
- def GetGamepadName(gamepad: int,) -> str:
778
+ def GetGamepadName(gamepad: int,) -> bytes:
745
779
  """Get gamepad internal name id"""
746
780
  ...
747
781
  def GetGestureDetected() -> int:
@@ -754,7 +788,7 @@ def GetGestureDragVector() -> Vector2:
754
788
  """Get gesture drag vector"""
755
789
  ...
756
790
  def GetGestureHoldDuration() -> float:
757
- """Get gesture hold time in milliseconds"""
791
+ """Get gesture hold time in seconds"""
758
792
  ...
759
793
  def GetGesturePinchAngle() -> float:
760
794
  """Get gesture pinch angle"""
@@ -762,19 +796,19 @@ def GetGesturePinchAngle() -> float:
762
796
  def GetGesturePinchVector() -> Vector2:
763
797
  """Get gesture pinch delta"""
764
798
  ...
765
- def GetGlyphAtlasRec(font: Font,codepoint: int,) -> Rectangle:
799
+ def GetGlyphAtlasRec(font: Font|list|tuple,codepoint: int,) -> Rectangle:
766
800
  """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found"""
767
801
  ...
768
- def GetGlyphIndex(font: Font,codepoint: int,) -> int:
802
+ def GetGlyphIndex(font: Font|list|tuple,codepoint: int,) -> int:
769
803
  """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found"""
770
804
  ...
771
- def GetGlyphInfo(font: Font,codepoint: int,) -> GlyphInfo:
805
+ def GetGlyphInfo(font: Font|list|tuple,codepoint: int,) -> GlyphInfo:
772
806
  """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found"""
773
807
  ...
774
- def GetImageAlphaBorder(image: Image,threshold: float,) -> Rectangle:
808
+ def GetImageAlphaBorder(image: Image|list|tuple,threshold: float,) -> Rectangle:
775
809
  """Get image alpha border rectangle"""
776
810
  ...
777
- def GetImageColor(image: Image,x: int,y: int,) -> Color:
811
+ def GetImageColor(image: Image|list|tuple,x: int,y: int,) -> Color:
778
812
  """Get image pixel color at (x, y) position"""
779
813
  ...
780
814
  def GetKeyPressed() -> int:
@@ -783,10 +817,10 @@ def GetKeyPressed() -> int:
783
817
  def GetMasterVolume() -> float:
784
818
  """Get master volume (listener)"""
785
819
  ...
786
- def GetMeshBoundingBox(mesh: Mesh,) -> BoundingBox:
820
+ def GetMeshBoundingBox(mesh: Mesh|list|tuple,) -> BoundingBox:
787
821
  """Compute mesh bounding box limits"""
788
822
  ...
789
- def GetModelBoundingBox(model: Model,) -> BoundingBox:
823
+ def GetModelBoundingBox(model: Model|list|tuple,) -> BoundingBox:
790
824
  """Compute model bounding box limits (considers all meshes)"""
791
825
  ...
792
826
  def GetMonitorCount() -> int:
@@ -795,7 +829,7 @@ def GetMonitorCount() -> int:
795
829
  def GetMonitorHeight(monitor: int,) -> int:
796
830
  """Get specified monitor height (current video mode used by monitor)"""
797
831
  ...
798
- def GetMonitorName(monitor: int,) -> str:
832
+ def GetMonitorName(monitor: int,) -> bytes:
799
833
  """Get the human-readable, UTF-8 encoded name of the specified monitor"""
800
834
  ...
801
835
  def GetMonitorPhysicalHeight(monitor: int,) -> int:
@@ -819,9 +853,6 @@ def GetMouseDelta() -> Vector2:
819
853
  def GetMousePosition() -> Vector2:
820
854
  """Get mouse position XY"""
821
855
  ...
822
- def GetMouseRay(mousePosition: Vector2,camera: Camera3D,) -> Ray:
823
- """Get a ray trace from mouse position"""
824
- ...
825
856
  def GetMouseWheelMove() -> float:
826
857
  """Get mouse wheel movement for X or Y, whichever is larger"""
827
858
  ...
@@ -834,10 +865,10 @@ def GetMouseX() -> int:
834
865
  def GetMouseY() -> int:
835
866
  """Get mouse position Y"""
836
867
  ...
837
- def GetMusicTimeLength(music: Music,) -> float:
868
+ def GetMusicTimeLength(music: Music|list|tuple,) -> float:
838
869
  """Get music time length (in seconds)"""
839
870
  ...
840
- def GetMusicTimePlayed(music: Music,) -> float:
871
+ def GetMusicTimePlayed(music: Music|list|tuple,) -> float:
841
872
  """Get current music time played (in seconds)"""
842
873
  ...
843
874
  def GetPhysicsBodiesCount() -> int:
@@ -849,7 +880,7 @@ def GetPhysicsBody(index: int,) -> Any:
849
880
  def GetPhysicsShapeType(index: int,) -> int:
850
881
  """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)"""
851
882
  ...
852
- def GetPhysicsShapeVertex(body: Any,vertex: int,) -> Vector2:
883
+ def GetPhysicsShapeVertex(body: Any|list|tuple,vertex: int,) -> Vector2:
853
884
  """Returns transformed position of a body shape (body position + vertex transformed position)"""
854
885
  ...
855
886
  def GetPhysicsShapeVerticesCount(index: int,) -> int:
@@ -861,25 +892,25 @@ def GetPixelColor(srcPtr: Any,format: int,) -> Color:
861
892
  def GetPixelDataSize(width: int,height: int,format: int,) -> int:
862
893
  """Get pixel data size in bytes for certain format"""
863
894
  ...
864
- def GetPrevDirectoryPath(dirPath: str,) -> str:
895
+ def GetPrevDirectoryPath(dirPath: bytes,) -> bytes:
865
896
  """Get previous directory path for a given path (uses static string)"""
866
897
  ...
867
898
  def GetRandomValue(min_0: int,max_1: int,) -> int:
868
899
  """Get a random value between min and max (both included)"""
869
900
  ...
870
- def GetRayCollisionBox(ray: Ray,box: BoundingBox,) -> RayCollision:
901
+ def GetRayCollisionBox(ray: Ray|list|tuple,box: BoundingBox|list|tuple,) -> RayCollision:
871
902
  """Get collision info between ray and box"""
872
903
  ...
873
- def GetRayCollisionMesh(ray: Ray,mesh: Mesh,transform: Matrix,) -> RayCollision:
904
+ def GetRayCollisionMesh(ray: Ray|list|tuple,mesh: Mesh|list|tuple,transform: Matrix|list|tuple,) -> RayCollision:
874
905
  """Get collision info between ray and mesh"""
875
906
  ...
876
- def GetRayCollisionQuad(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,p4: Vector3,) -> RayCollision:
907
+ def GetRayCollisionQuad(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,p4: Vector3|list|tuple,) -> RayCollision:
877
908
  """Get collision info between ray and quad"""
878
909
  ...
879
- def GetRayCollisionSphere(ray: Ray,center: Vector3,radius: float,) -> RayCollision:
910
+ def GetRayCollisionSphere(ray: Ray|list|tuple,center: Vector3|list|tuple,radius: float,) -> RayCollision:
880
911
  """Get collision info between ray and sphere"""
881
912
  ...
882
- def GetRayCollisionTriangle(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,) -> RayCollision:
913
+ def GetRayCollisionTriangle(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,) -> RayCollision:
883
914
  """Get collision info between ray and triangle"""
884
915
  ...
885
916
  def GetRenderHeight() -> int:
@@ -891,31 +922,43 @@ def GetRenderWidth() -> int:
891
922
  def GetScreenHeight() -> int:
892
923
  """Get current screen height"""
893
924
  ...
894
- def GetScreenToWorld2D(position: Vector2,camera: Camera2D,) -> Vector2:
925
+ def GetScreenToWorld2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
895
926
  """Get the world space position for a 2d camera screen space position"""
896
927
  ...
928
+ def GetScreenToWorldRay(position: Vector2|list|tuple,camera: Camera3D|list|tuple,) -> Ray:
929
+ """Get a ray trace from screen position (i.e mouse)"""
930
+ ...
931
+ def GetScreenToWorldRayEx(position: Vector2|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Ray:
932
+ """Get a ray trace from screen position (i.e mouse) in a viewport"""
933
+ ...
897
934
  def GetScreenWidth() -> int:
898
935
  """Get current screen width"""
899
936
  ...
900
- def GetShaderLocation(shader: Shader,uniformName: str,) -> int:
937
+ def GetShaderLocation(shader: Shader|list|tuple,uniformName: bytes,) -> int:
901
938
  """Get shader uniform location"""
902
939
  ...
903
- def GetShaderLocationAttrib(shader: Shader,attribName: str,) -> int:
940
+ def GetShaderLocationAttrib(shader: Shader|list|tuple,attribName: bytes,) -> int:
904
941
  """Get shader attribute location"""
905
942
  ...
906
- def GetSplinePointBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
943
+ def GetShapesTexture() -> Texture:
944
+ """Get texture that is used for shapes drawing"""
945
+ ...
946
+ def GetShapesTextureRectangle() -> Rectangle:
947
+ """Get texture source rectangle that is used for shapes drawing"""
948
+ ...
949
+ def GetSplinePointBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
907
950
  """Get (evaluate) spline point: B-Spline"""
908
951
  ...
909
- def GetSplinePointBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,t: float,) -> Vector2:
952
+ def GetSplinePointBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
910
953
  """Get (evaluate) spline point: Cubic Bezier"""
911
954
  ...
912
- def GetSplinePointBezierQuad(p1: Vector2,c2: Vector2,p3: Vector2,t: float,) -> Vector2:
955
+ def GetSplinePointBezierQuad(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,t: float,) -> Vector2:
913
956
  """Get (evaluate) spline point: Quadratic Bezier"""
914
957
  ...
915
- def GetSplinePointCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
958
+ def GetSplinePointCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
916
959
  """Get (evaluate) spline point: Catmull-Rom"""
917
960
  ...
918
- def GetSplinePointLinear(startPos: Vector2,endPos: Vector2,t: float,) -> Vector2:
961
+ def GetSplinePointLinear(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,t: float,) -> Vector2:
919
962
  """Get (evaluate) spline point: Linear"""
920
963
  ...
921
964
  def GetTime() -> float:
@@ -945,44 +988,44 @@ def GetWindowPosition() -> Vector2:
945
988
  def GetWindowScaleDPI() -> Vector2:
946
989
  """Get window scale DPI factor"""
947
990
  ...
948
- def GetWorkingDirectory() -> str:
991
+ def GetWorkingDirectory() -> bytes:
949
992
  """Get current working directory (uses static string)"""
950
993
  ...
951
- def GetWorldToScreen(position: Vector3,camera: Camera3D,) -> Vector2:
994
+ def GetWorldToScreen(position: Vector3|list|tuple,camera: Camera3D|list|tuple,) -> Vector2:
952
995
  """Get the screen space position for a 3d world space position"""
953
996
  ...
954
- def GetWorldToScreen2D(position: Vector2,camera: Camera2D,) -> Vector2:
997
+ def GetWorldToScreen2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
955
998
  """Get the screen space position for a 2d camera world space position"""
956
999
  ...
957
- def GetWorldToScreenEx(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2:
1000
+ def GetWorldToScreenEx(position: Vector3|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Vector2:
958
1001
  """Get size position for a 3d world space position"""
959
1002
  ...
960
- def GuiButton(bounds: Rectangle,text: str,) -> int:
1003
+ def GuiButton(bounds: Rectangle|list|tuple,text: bytes,) -> int:
961
1004
  """Button control, returns true when clicked"""
962
1005
  ...
963
- def GuiCheckBox(bounds: Rectangle,text: str,checked: Any,) -> int:
1006
+ def GuiCheckBox(bounds: Rectangle|list|tuple,text: bytes,checked: Any,) -> int:
964
1007
  """Check Box control, returns true when active"""
965
1008
  ...
966
- def GuiColorBarAlpha(bounds: Rectangle,text: str,alpha: Any,) -> int:
1009
+ def GuiColorBarAlpha(bounds: Rectangle|list|tuple,text: bytes,alpha: Any,) -> int:
967
1010
  """Color Bar Alpha control"""
968
1011
  ...
969
- def GuiColorBarHue(bounds: Rectangle,text: str,value: Any,) -> int:
1012
+ def GuiColorBarHue(bounds: Rectangle|list|tuple,text: bytes,value: Any,) -> int:
970
1013
  """Color Bar Hue control"""
971
1014
  ...
972
- def GuiColorPanel(bounds: Rectangle,text: str,color: Any,) -> int:
1015
+ def GuiColorPanel(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int:
973
1016
  """Color Panel control"""
974
1017
  ...
975
- def GuiColorPanelHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
976
- """Color Panel control that returns HSV color value, used by GuiColorPickerHSV()"""
1018
+ def GuiColorPanelHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int:
1019
+ """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()"""
977
1020
  ...
978
- def GuiColorPicker(bounds: Rectangle,text: str,color: Any,) -> int:
1021
+ def GuiColorPicker(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int:
979
1022
  """Color Picker control (multiple color controls)"""
980
1023
  ...
981
- def GuiColorPickerHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
1024
+ def GuiColorPickerHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int:
982
1025
  """Color Picker control that avoids conversion to RGB on each call (multiple color controls)"""
983
1026
  ...
984
- def GuiComboBox(bounds: Rectangle,text: str,active: Any,) -> int:
985
- """Combo Box control, returns selected item index"""
1027
+ def GuiComboBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
1028
+ """Combo Box control"""
986
1029
  ...
987
1030
  def GuiDisable() -> None:
988
1031
  """Disable gui controls (global state)"""
@@ -990,13 +1033,13 @@ def GuiDisable() -> None:
990
1033
  def GuiDisableTooltip() -> None:
991
1034
  """Disable gui tooltips (global state)"""
992
1035
  ...
993
- def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color,) -> None:
1036
+ def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color|list|tuple,) -> None:
994
1037
  """Draw icon using pixel size at specified position"""
995
1038
  ...
996
- def GuiDropdownBox(bounds: Rectangle,text: str,active: Any,editMode: bool,) -> int:
997
- """Dropdown Box control, returns selected item"""
1039
+ def GuiDropdownBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,editMode: bool,) -> int:
1040
+ """Dropdown Box control"""
998
1041
  ...
999
- def GuiDummyRec(bounds: Rectangle,text: str,) -> int:
1042
+ def GuiDummyRec(bounds: Rectangle|list|tuple,text: bytes,) -> int:
1000
1043
  """Dummy control for placeholders"""
1001
1044
  ...
1002
1045
  def GuiEnable() -> None:
@@ -1017,37 +1060,37 @@ def GuiGetState() -> int:
1017
1060
  def GuiGetStyle(control: int,property: int,) -> int:
1018
1061
  """Get one style property"""
1019
1062
  ...
1020
- def GuiGrid(bounds: Rectangle,text: str,spacing: float,subdivs: int,mouseCell: Any,) -> int:
1021
- """Grid control, returns mouse cell position"""
1063
+ def GuiGrid(bounds: Rectangle|list|tuple,text: bytes,spacing: float,subdivs: int,mouseCell: Any|list|tuple,) -> int:
1064
+ """Grid control"""
1022
1065
  ...
1023
- def GuiGroupBox(bounds: Rectangle,text: str,) -> int:
1066
+ def GuiGroupBox(bounds: Rectangle|list|tuple,text: bytes,) -> int:
1024
1067
  """Group Box control with text name"""
1025
1068
  ...
1026
- def GuiIconText(iconId: int,text: str,) -> str:
1069
+ def GuiIconText(iconId: int,text: bytes,) -> bytes:
1027
1070
  """Get text with icon id prepended (if supported)"""
1028
1071
  ...
1029
1072
  def GuiIsLocked() -> bool:
1030
1073
  """Check if gui is locked (global state)"""
1031
1074
  ...
1032
- def GuiLabel(bounds: Rectangle,text: str,) -> int:
1033
- """Label control, shows text"""
1075
+ def GuiLabel(bounds: Rectangle|list|tuple,text: bytes,) -> int:
1076
+ """Label control"""
1034
1077
  ...
1035
- def GuiLabelButton(bounds: Rectangle,text: str,) -> int:
1036
- """Label button control, show true when clicked"""
1078
+ def GuiLabelButton(bounds: Rectangle|list|tuple,text: bytes,) -> int:
1079
+ """Label button control, returns true when clicked"""
1037
1080
  ...
1038
- def GuiLine(bounds: Rectangle,text: str,) -> int:
1081
+ def GuiLine(bounds: Rectangle|list|tuple,text: bytes,) -> int:
1039
1082
  """Line separator control, could contain text"""
1040
1083
  ...
1041
- def GuiListView(bounds: Rectangle,text: str,scrollIndex: Any,active: Any,) -> int:
1042
- """List View control, returns selected list item index"""
1084
+ def GuiListView(bounds: Rectangle|list|tuple,text: bytes,scrollIndex: Any,active: Any,) -> int:
1085
+ """List View control"""
1043
1086
  ...
1044
- def GuiListViewEx(bounds: Rectangle,text: list[str],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
1087
+ def GuiListViewEx(bounds: Rectangle|list|tuple,text: list[bytes],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
1045
1088
  """List View with extended parameters"""
1046
1089
  ...
1047
- def GuiLoadIcons(fileName: str,loadIconsName: bool,) -> list[str]:
1090
+ def GuiLoadIcons(fileName: bytes,loadIconsName: bool,) -> list[bytes]:
1048
1091
  """Load raygui icons file (.rgi) into internal icons data"""
1049
1092
  ...
1050
- def GuiLoadStyle(fileName: str,) -> None:
1093
+ def GuiLoadStyle(fileName: bytes,) -> None:
1051
1094
  """Load style file over global style variable (.rgs)"""
1052
1095
  ...
1053
1096
  def GuiLoadStyleDefault() -> None:
@@ -1056,22 +1099,22 @@ def GuiLoadStyleDefault() -> None:
1056
1099
  def GuiLock() -> None:
1057
1100
  """Lock gui controls (global state)"""
1058
1101
  ...
1059
- def GuiMessageBox(bounds: Rectangle,title: str,message: str,buttons: str,) -> int:
1102
+ def GuiMessageBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,) -> int:
1060
1103
  """Message Box control, displays a message"""
1061
1104
  ...
1062
- def GuiPanel(bounds: Rectangle,text: str,) -> int:
1105
+ def GuiPanel(bounds: Rectangle|list|tuple,text: bytes,) -> int:
1063
1106
  """Panel control, useful to group controls"""
1064
1107
  ...
1065
- def GuiProgressBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1066
- """Progress Bar control, shows current progress value"""
1108
+ def GuiProgressBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
1109
+ """Progress Bar control"""
1067
1110
  ...
1068
- def GuiScrollPanel(bounds: Rectangle,text: str,content: Rectangle,scroll: Any,view: Any,) -> int:
1111
+ def GuiScrollPanel(bounds: Rectangle|list|tuple,text: bytes,content: Rectangle|list|tuple,scroll: Any|list|tuple,view: Any|list|tuple,) -> int:
1069
1112
  """Scroll Panel control"""
1070
1113
  ...
1071
1114
  def GuiSetAlpha(alpha: float,) -> None:
1072
1115
  """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f"""
1073
1116
  ...
1074
- def GuiSetFont(font: Font,) -> None:
1117
+ def GuiSetFont(font: Font|list|tuple,) -> None:
1075
1118
  """Set gui custom font (global state)"""
1076
1119
  ...
1077
1120
  def GuiSetIconScale(scale: int,) -> None:
@@ -1083,46 +1126,49 @@ def GuiSetState(state: int,) -> None:
1083
1126
  def GuiSetStyle(control: int,property: int,value: int,) -> None:
1084
1127
  """Set one style property"""
1085
1128
  ...
1086
- def GuiSetTooltip(tooltip: str,) -> None:
1129
+ def GuiSetTooltip(tooltip: bytes,) -> None:
1087
1130
  """Set tooltip string"""
1088
1131
  ...
1089
- def GuiSlider(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1090
- """Slider control, returns selected value"""
1132
+ def GuiSlider(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
1133
+ """Slider control"""
1091
1134
  ...
1092
- def GuiSliderBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1093
- """Slider Bar control, returns selected value"""
1135
+ def GuiSliderBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
1136
+ """Slider Bar control"""
1094
1137
  ...
1095
- def GuiSpinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1096
- """Spinner control, returns selected value"""
1138
+ def GuiSpinner(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1139
+ """Spinner control"""
1097
1140
  ...
1098
- def GuiStatusBar(bounds: Rectangle,text: str,) -> int:
1141
+ def GuiStatusBar(bounds: Rectangle|list|tuple,text: bytes,) -> int:
1099
1142
  """Status Bar control, shows info text"""
1100
1143
  ...
1101
- def GuiTabBar(bounds: Rectangle,text: list[str],count: int,active: Any,) -> int:
1144
+ def GuiTabBar(bounds: Rectangle|list|tuple,text: list[bytes],count: int,active: Any,) -> int:
1102
1145
  """Tab Bar control, returns TAB to be closed or -1"""
1103
1146
  ...
1104
- def GuiTextBox(bounds: Rectangle,text: str,textSize: int,editMode: bool,) -> int:
1147
+ def GuiTextBox(bounds: Rectangle|list|tuple,text: bytes,textSize: int,editMode: bool,) -> int:
1105
1148
  """Text Box control, updates input text"""
1106
1149
  ...
1107
- def GuiTextInputBox(bounds: Rectangle,title: str,message: str,buttons: str,text: str,textMaxSize: int,secretViewActive: Any,) -> int:
1150
+ def GuiTextInputBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,text: bytes,textMaxSize: int,secretViewActive: Any,) -> int:
1108
1151
  """Text Input Box control, ask for text, supports secret"""
1109
1152
  ...
1110
- def GuiToggle(bounds: Rectangle,text: str,active: Any,) -> int:
1111
- """Toggle Button control, returns true when active"""
1153
+ def GuiToggle(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
1154
+ """Toggle Button control"""
1112
1155
  ...
1113
- def GuiToggleGroup(bounds: Rectangle,text: str,active: Any,) -> int:
1114
- """Toggle Group control, returns active toggle index"""
1156
+ def GuiToggleGroup(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
1157
+ """Toggle Group control"""
1115
1158
  ...
1116
- def GuiToggleSlider(bounds: Rectangle,text: str,active: Any,) -> int:
1117
- """Toggle Slider control, returns true when clicked"""
1159
+ def GuiToggleSlider(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
1160
+ """Toggle Slider control"""
1118
1161
  ...
1119
1162
  def GuiUnlock() -> None:
1120
1163
  """Unlock gui controls (global state)"""
1121
1164
  ...
1122
- def GuiValueBox(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1165
+ def GuiValueBox(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1123
1166
  """Value Box control, updates input text with numbers"""
1124
1167
  ...
1125
- def GuiWindowBox(bounds: Rectangle,title: str,) -> int:
1168
+ def GuiValueBoxFloat(bounds: Rectangle|list|tuple,text: bytes,textValue: bytes,value: Any,editMode: bool,) -> int:
1169
+ """Value box control for float values"""
1170
+ ...
1171
+ def GuiWindowBox(bounds: Rectangle|list|tuple,title: bytes,) -> int:
1126
1172
  """Window Box control, shows a window that can be closed"""
1127
1173
  ...
1128
1174
  HUEBAR_PADDING: int
@@ -1133,15 +1179,6 @@ def HideCursor() -> None:
1133
1179
  """Hides cursor"""
1134
1180
  ...
1135
1181
  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
1182
  ICON_229: int
1146
1183
  ICON_230: int
1147
1184
  ICON_231: int
@@ -1287,13 +1324,18 @@ ICON_GRID_FILL: int
1287
1324
  ICON_HAND_POINTER: int
1288
1325
  ICON_HEART: int
1289
1326
  ICON_HELP: int
1327
+ ICON_HELP_BOX: int
1290
1328
  ICON_HEX: int
1291
1329
  ICON_HIDPI: int
1330
+ ICON_HOT: int
1292
1331
  ICON_HOUSE: int
1293
1332
  ICON_INFO: int
1333
+ ICON_INFO_BOX: int
1294
1334
  ICON_KEY: int
1295
1335
  ICON_LASER: int
1296
1336
  ICON_LAYERS: int
1337
+ ICON_LAYERS2: int
1338
+ ICON_LAYERS_ISO: int
1297
1339
  ICON_LAYERS_VISIBLE: int
1298
1340
  ICON_LENS: int
1299
1341
  ICON_LENS_BIG: int
@@ -1307,7 +1349,9 @@ ICON_LOCK_CLOSE: int
1307
1349
  ICON_LOCK_OPEN: int
1308
1350
  ICON_MAGNET: int
1309
1351
  ICON_MAILBOX: int
1352
+ ICON_MAPS: int
1310
1353
  ICON_MIPMAPS: int
1354
+ ICON_MLAYERS: int
1311
1355
  ICON_MODE_2D: int
1312
1356
  ICON_MODE_3D: int
1313
1357
  ICON_MONITOR: int
@@ -1331,6 +1375,7 @@ ICON_PLAYER_RECORD: int
1331
1375
  ICON_PLAYER_STOP: int
1332
1376
  ICON_POT: int
1333
1377
  ICON_PRINTER: int
1378
+ ICON_PRIORITY: int
1334
1379
  ICON_REDO: int
1335
1380
  ICON_REDO_FILL: int
1336
1381
  ICON_REG_EXP: int
@@ -1377,6 +1422,7 @@ ICON_UNDO: int
1377
1422
  ICON_UNDO_FILL: int
1378
1423
  ICON_VERTICAL_BARS: int
1379
1424
  ICON_VERTICAL_BARS_FILL: int
1425
+ ICON_WARNING: int
1380
1426
  ICON_WATER_DROP: int
1381
1427
  ICON_WAVE: int
1382
1428
  ICON_WAVE_SINUS: int
@@ -1388,136 +1434,160 @@ ICON_ZOOM_BIG: int
1388
1434
  ICON_ZOOM_CENTER: int
1389
1435
  ICON_ZOOM_MEDIUM: int
1390
1436
  ICON_ZOOM_SMALL: int
1391
- def ImageAlphaClear(image: Any,color: Color,threshold: float,) -> None:
1437
+ def ImageAlphaClear(image: Any|list|tuple,color: Color|list|tuple,threshold: float,) -> None:
1392
1438
  """Clear alpha channel to desired color"""
1393
1439
  ...
1394
- def ImageAlphaCrop(image: Any,threshold: float,) -> None:
1440
+ def ImageAlphaCrop(image: Any|list|tuple,threshold: float,) -> None:
1395
1441
  """Crop image depending on alpha value"""
1396
1442
  ...
1397
- def ImageAlphaMask(image: Any,alphaMask: Image,) -> None:
1443
+ def ImageAlphaMask(image: Any|list|tuple,alphaMask: Image|list|tuple,) -> None:
1398
1444
  """Apply alpha mask to image"""
1399
1445
  ...
1400
- def ImageAlphaPremultiply(image: Any,) -> None:
1446
+ def ImageAlphaPremultiply(image: Any|list|tuple,) -> None:
1401
1447
  """Premultiply alpha channel"""
1402
1448
  ...
1403
- def ImageBlurGaussian(image: Any,blurSize: int,) -> None:
1449
+ def ImageBlurGaussian(image: Any|list|tuple,blurSize: int,) -> None:
1404
1450
  """Apply Gaussian blur using a box blur approximation"""
1405
1451
  ...
1406
- def ImageClearBackground(dst: Any,color: Color,) -> None:
1452
+ def ImageClearBackground(dst: Any|list|tuple,color: Color|list|tuple,) -> None:
1407
1453
  """Clear image background with given color"""
1408
1454
  ...
1409
- def ImageColorBrightness(image: Any,brightness: int,) -> None:
1455
+ def ImageColorBrightness(image: Any|list|tuple,brightness: int,) -> None:
1410
1456
  """Modify image color: brightness (-255 to 255)"""
1411
1457
  ...
1412
- def ImageColorContrast(image: Any,contrast: float,) -> None:
1458
+ def ImageColorContrast(image: Any|list|tuple,contrast: float,) -> None:
1413
1459
  """Modify image color: contrast (-100 to 100)"""
1414
1460
  ...
1415
- def ImageColorGrayscale(image: Any,) -> None:
1461
+ def ImageColorGrayscale(image: Any|list|tuple,) -> None:
1416
1462
  """Modify image color: grayscale"""
1417
1463
  ...
1418
- def ImageColorInvert(image: Any,) -> None:
1464
+ def ImageColorInvert(image: Any|list|tuple,) -> None:
1419
1465
  """Modify image color: invert"""
1420
1466
  ...
1421
- def ImageColorReplace(image: Any,color: Color,replace: Color,) -> None:
1467
+ def ImageColorReplace(image: Any|list|tuple,color: Color|list|tuple,replace: Color|list|tuple,) -> None:
1422
1468
  """Modify image color: replace color"""
1423
1469
  ...
1424
- def ImageColorTint(image: Any,color: Color,) -> None:
1470
+ def ImageColorTint(image: Any|list|tuple,color: Color|list|tuple,) -> None:
1425
1471
  """Modify image color: tint"""
1426
1472
  ...
1427
- def ImageCopy(image: Image,) -> Image:
1473
+ def ImageCopy(image: Image|list|tuple,) -> Image:
1428
1474
  """Create an image duplicate (useful for transformations)"""
1429
1475
  ...
1430
- def ImageCrop(image: Any,crop: Rectangle,) -> None:
1476
+ def ImageCrop(image: Any|list|tuple,crop: Rectangle|list|tuple,) -> None:
1431
1477
  """Crop an image to a defined rectangle"""
1432
1478
  ...
1433
- def ImageDither(image: Any,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None:
1479
+ def ImageDither(image: Any|list|tuple,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None:
1434
1480
  """Dither image data to 16bpp or lower (Floyd-Steinberg dithering)"""
1435
1481
  ...
1436
- def ImageDraw(dst: Any,src: Image,srcRec: Rectangle,dstRec: Rectangle,tint: Color,) -> None:
1482
+ def ImageDraw(dst: Any|list|tuple,src: Image|list|tuple,srcRec: Rectangle|list|tuple,dstRec: Rectangle|list|tuple,tint: Color|list|tuple,) -> None:
1437
1483
  """Draw a source image within a destination image (tint applied to source)"""
1438
1484
  ...
1439
- def ImageDrawCircle(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None:
1485
+ def ImageDrawCircle(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
1440
1486
  """Draw a filled circle within an image"""
1441
1487
  ...
1442
- def ImageDrawCircleLines(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None:
1488
+ def ImageDrawCircleLines(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
1443
1489
  """Draw circle outline within an image"""
1444
1490
  ...
1445
- def ImageDrawCircleLinesV(dst: Any,center: Vector2,radius: int,color: Color,) -> None:
1491
+ def ImageDrawCircleLinesV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
1446
1492
  """Draw circle outline within an image (Vector version)"""
1447
1493
  ...
1448
- def ImageDrawCircleV(dst: Any,center: Vector2,radius: int,color: Color,) -> None:
1494
+ def ImageDrawCircleV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
1449
1495
  """Draw a filled circle within an image (Vector version)"""
1450
1496
  ...
1451
- def ImageDrawLine(dst: Any,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None:
1497
+ def ImageDrawLine(dst: Any|list|tuple,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
1452
1498
  """Draw line within an image"""
1453
1499
  ...
1454
- def ImageDrawLineV(dst: Any,start: Vector2,end: Vector2,color: Color,) -> None:
1500
+ def ImageDrawLineEx(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,thick: int,color: Color|list|tuple,) -> None:
1501
+ """Draw a line defining thickness within an image"""
1502
+ ...
1503
+ def ImageDrawLineV(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1455
1504
  """Draw line within an image (Vector version)"""
1456
1505
  ...
1457
- def ImageDrawPixel(dst: Any,posX: int,posY: int,color: Color,) -> None:
1506
+ def ImageDrawPixel(dst: Any|list|tuple,posX: int,posY: int,color: Color|list|tuple,) -> None:
1458
1507
  """Draw pixel within an image"""
1459
1508
  ...
1460
- def ImageDrawPixelV(dst: Any,position: Vector2,color: Color,) -> None:
1509
+ def ImageDrawPixelV(dst: Any|list|tuple,position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1461
1510
  """Draw pixel within an image (Vector version)"""
1462
1511
  ...
1463
- def ImageDrawRectangle(dst: Any,posX: int,posY: int,width: int,height: int,color: Color,) -> None:
1512
+ def ImageDrawRectangle(dst: Any|list|tuple,posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
1464
1513
  """Draw rectangle within an image"""
1465
1514
  ...
1466
- def ImageDrawRectangleLines(dst: Any,rec: Rectangle,thick: int,color: Color,) -> None:
1515
+ def ImageDrawRectangleLines(dst: Any|list|tuple,rec: Rectangle|list|tuple,thick: int,color: Color|list|tuple,) -> None:
1467
1516
  """Draw rectangle lines within an image"""
1468
1517
  ...
1469
- def ImageDrawRectangleRec(dst: Any,rec: Rectangle,color: Color,) -> None:
1518
+ def ImageDrawRectangleRec(dst: Any|list|tuple,rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
1470
1519
  """Draw rectangle within an image"""
1471
1520
  ...
1472
- def ImageDrawRectangleV(dst: Any,position: Vector2,size: Vector2,color: Color,) -> None:
1521
+ def ImageDrawRectangleV(dst: Any|list|tuple,position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1473
1522
  """Draw rectangle within an image (Vector version)"""
1474
1523
  ...
1475
- def ImageDrawText(dst: Any,text: str,posX: int,posY: int,fontSize: int,color: Color,) -> None:
1524
+ def ImageDrawText(dst: Any|list|tuple,text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
1476
1525
  """Draw text (using default font) within an image (destination)"""
1477
1526
  ...
1478
- def ImageDrawTextEx(dst: Any,font: Font,text: str,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
1527
+ def ImageDrawTextEx(dst: Any|list|tuple,font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
1479
1528
  """Draw text (custom sprite font) within an image (destination)"""
1480
1529
  ...
1481
- def ImageFlipHorizontal(image: Any,) -> None:
1530
+ def ImageDrawTriangle(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1531
+ """Draw triangle within an image"""
1532
+ ...
1533
+ def ImageDrawTriangleEx(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,c1: Color|list|tuple,c2: Color|list|tuple,c3: Color|list|tuple,) -> None:
1534
+ """Draw triangle with interpolated colors within an image"""
1535
+ ...
1536
+ def ImageDrawTriangleFan(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
1537
+ """Draw a triangle fan defined by points within an image (first vertex is the center)"""
1538
+ ...
1539
+ def ImageDrawTriangleLines(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1540
+ """Draw triangle outline within an image"""
1541
+ ...
1542
+ def ImageDrawTriangleStrip(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
1543
+ """Draw a triangle strip defined by points within an image"""
1544
+ ...
1545
+ def ImageFlipHorizontal(image: Any|list|tuple,) -> None:
1482
1546
  """Flip image horizontally"""
1483
1547
  ...
1484
- def ImageFlipVertical(image: Any,) -> None:
1548
+ def ImageFlipVertical(image: Any|list|tuple,) -> None:
1485
1549
  """Flip image vertically"""
1486
1550
  ...
1487
- def ImageFormat(image: Any,newFormat: int,) -> None:
1551
+ def ImageFormat(image: Any|list|tuple,newFormat: int,) -> None:
1488
1552
  """Convert image data to desired format"""
1489
1553
  ...
1490
- def ImageFromImage(image: Image,rec: Rectangle,) -> Image:
1554
+ def ImageFromChannel(image: Image|list|tuple,selectedChannel: int,) -> Image:
1555
+ """Create an image from a selected channel of another image (GRAYSCALE)"""
1556
+ ...
1557
+ def ImageFromImage(image: Image|list|tuple,rec: Rectangle|list|tuple,) -> Image:
1491
1558
  """Create an image from another image piece"""
1492
1559
  ...
1493
- def ImageMipmaps(image: Any,) -> None:
1560
+ def ImageKernelConvolution(image: Any|list|tuple,kernel: Any,kernelSize: int,) -> None:
1561
+ """Apply custom square convolution kernel to image"""
1562
+ ...
1563
+ def ImageMipmaps(image: Any|list|tuple,) -> None:
1494
1564
  """Compute all mipmap levels for a provided image"""
1495
1565
  ...
1496
- def ImageResize(image: Any,newWidth: int,newHeight: int,) -> None:
1566
+ def ImageResize(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
1497
1567
  """Resize image (Bicubic scaling algorithm)"""
1498
1568
  ...
1499
- def ImageResizeCanvas(image: Any,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color,) -> None:
1569
+ def ImageResizeCanvas(image: Any|list|tuple,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color|list|tuple,) -> None:
1500
1570
  """Resize canvas and fill with color"""
1501
1571
  ...
1502
- def ImageResizeNN(image: Any,newWidth: int,newHeight: int,) -> None:
1572
+ def ImageResizeNN(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
1503
1573
  """Resize image (Nearest-Neighbor scaling algorithm)"""
1504
1574
  ...
1505
- def ImageRotate(image: Any,degrees: int,) -> None:
1575
+ def ImageRotate(image: Any|list|tuple,degrees: int,) -> None:
1506
1576
  """Rotate image by input angle in degrees (-359 to 359)"""
1507
1577
  ...
1508
- def ImageRotateCCW(image: Any,) -> None:
1578
+ def ImageRotateCCW(image: Any|list|tuple,) -> None:
1509
1579
  """Rotate image counter-clockwise 90deg"""
1510
1580
  ...
1511
- def ImageRotateCW(image: Any,) -> None:
1581
+ def ImageRotateCW(image: Any|list|tuple,) -> None:
1512
1582
  """Rotate image clockwise 90deg"""
1513
1583
  ...
1514
- def ImageText(text: str,fontSize: int,color: Color,) -> Image:
1584
+ def ImageText(text: bytes,fontSize: int,color: Color|list|tuple,) -> Image:
1515
1585
  """Create an image from text (default font)"""
1516
1586
  ...
1517
- def ImageTextEx(font: Font,text: str,fontSize: float,spacing: float,tint: Color,) -> Image:
1587
+ def ImageTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,tint: Color|list|tuple,) -> Image:
1518
1588
  """Create an image from text (custom sprite font)"""
1519
1589
  ...
1520
- def ImageToPOT(image: Any,fill: Color,) -> None:
1590
+ def ImageToPOT(image: Any|list|tuple,fill: Color|list|tuple,) -> None:
1521
1591
  """Convert image to POT (power-of-two)"""
1522
1592
  ...
1523
1593
  def InitAudioDevice() -> None:
@@ -1526,20 +1596,20 @@ def InitAudioDevice() -> None:
1526
1596
  def InitPhysics() -> None:
1527
1597
  """Initializes physics system"""
1528
1598
  ...
1529
- def InitWindow(width: int,height: int,title: str,) -> None:
1599
+ def InitWindow(width: int,height: int,title: bytes,) -> None:
1530
1600
  """Initialize window and OpenGL context"""
1531
1601
  ...
1532
1602
  def IsAudioDeviceReady() -> bool:
1533
1603
  """Check if audio device has been initialized successfully"""
1534
1604
  ...
1535
- def IsAudioStreamPlaying(stream: AudioStream,) -> bool:
1605
+ def IsAudioStreamPlaying(stream: AudioStream|list|tuple,) -> bool:
1536
1606
  """Check if audio stream is playing"""
1537
1607
  ...
1538
- def IsAudioStreamProcessed(stream: AudioStream,) -> bool:
1608
+ def IsAudioStreamProcessed(stream: AudioStream|list|tuple,) -> bool:
1539
1609
  """Check if any audio stream buffers requires refill"""
1540
1610
  ...
1541
- def IsAudioStreamReady(stream: AudioStream,) -> bool:
1542
- """Checks if an audio stream is ready"""
1611
+ def IsAudioStreamValid(stream: AudioStream|list|tuple,) -> bool:
1612
+ """Checks if an audio stream is valid (buffers initialized)"""
1543
1613
  ...
1544
1614
  def IsCursorHidden() -> bool:
1545
1615
  """Check if cursor is not visible"""
@@ -1550,11 +1620,14 @@ def IsCursorOnScreen() -> bool:
1550
1620
  def IsFileDropped() -> bool:
1551
1621
  """Check if a file has been dropped into window"""
1552
1622
  ...
1553
- def IsFileExtension(fileName: str,ext: str,) -> bool:
1623
+ def IsFileExtension(fileName: bytes,ext: bytes,) -> bool:
1554
1624
  """Check file extension (including point: .png, .wav)"""
1555
1625
  ...
1556
- def IsFontReady(font: Font,) -> bool:
1557
- """Check if a font is ready"""
1626
+ def IsFileNameValid(fileName: bytes,) -> bool:
1627
+ """Check if fileName is valid for the platform/OS"""
1628
+ ...
1629
+ def IsFontValid(font: Font|list|tuple,) -> bool:
1630
+ """Check if a font is valid (font data loaded, WARNING: GPU texture not checked)"""
1558
1631
  ...
1559
1632
  def IsGamepadAvailable(gamepad: int,) -> bool:
1560
1633
  """Check if a gamepad is available"""
@@ -1574,8 +1647,8 @@ def IsGamepadButtonUp(gamepad: int,button: int,) -> bool:
1574
1647
  def IsGestureDetected(gesture: int,) -> bool:
1575
1648
  """Check if a gesture have been detected"""
1576
1649
  ...
1577
- def IsImageReady(image: Image,) -> bool:
1578
- """Check if an image is ready"""
1650
+ def IsImageValid(image: Image|list|tuple,) -> bool:
1651
+ """Check if an image is valid (data and parameters)"""
1579
1652
  ...
1580
1653
  def IsKeyDown(key: int,) -> bool:
1581
1654
  """Check if a key is being pressed"""
@@ -1584,7 +1657,7 @@ def IsKeyPressed(key: int,) -> bool:
1584
1657
  """Check if a key has been pressed once"""
1585
1658
  ...
1586
1659
  def IsKeyPressedRepeat(key: int,) -> bool:
1587
- """Check if a key has been pressed again (Only PLATFORM_DESKTOP)"""
1660
+ """Check if a key has been pressed again"""
1588
1661
  ...
1589
1662
  def IsKeyReleased(key: int,) -> bool:
1590
1663
  """Check if a key has been released once"""
@@ -1592,14 +1665,14 @@ def IsKeyReleased(key: int,) -> bool:
1592
1665
  def IsKeyUp(key: int,) -> bool:
1593
1666
  """Check if a key is NOT being pressed"""
1594
1667
  ...
1595
- def IsMaterialReady(material: Material,) -> bool:
1596
- """Check if a material is ready"""
1668
+ def IsMaterialValid(material: Material|list|tuple,) -> bool:
1669
+ """Check if a material is valid (shader assigned, map textures loaded in GPU)"""
1597
1670
  ...
1598
- def IsModelAnimationValid(model: Model,anim: ModelAnimation,) -> bool:
1671
+ def IsModelAnimationValid(model: Model|list|tuple,anim: ModelAnimation|list|tuple,) -> bool:
1599
1672
  """Check model animation skeleton match"""
1600
1673
  ...
1601
- def IsModelReady(model: Model,) -> bool:
1602
- """Check if a model is ready"""
1674
+ def IsModelValid(model: Model|list|tuple,) -> bool:
1675
+ """Check if a model is valid (loaded in GPU, VAO/VBOs)"""
1603
1676
  ...
1604
1677
  def IsMouseButtonDown(button: int,) -> bool:
1605
1678
  """Check if a mouse button is being pressed"""
@@ -1613,47 +1686,47 @@ def IsMouseButtonReleased(button: int,) -> bool:
1613
1686
  def IsMouseButtonUp(button: int,) -> bool:
1614
1687
  """Check if a mouse button is NOT being pressed"""
1615
1688
  ...
1616
- def IsMusicReady(music: Music,) -> bool:
1617
- """Checks if a music stream is ready"""
1618
- ...
1619
- def IsMusicStreamPlaying(music: Music,) -> bool:
1689
+ def IsMusicStreamPlaying(music: Music|list|tuple,) -> bool:
1620
1690
  """Check if music is playing"""
1621
1691
  ...
1622
- def IsPathFile(path: str,) -> bool:
1692
+ def IsMusicValid(music: Music|list|tuple,) -> bool:
1693
+ """Checks if a music stream is valid (context and buffers initialized)"""
1694
+ ...
1695
+ def IsPathFile(path: bytes,) -> bool:
1623
1696
  """Check if a given path is a file or a directory"""
1624
1697
  ...
1625
- def IsRenderTextureReady(target: RenderTexture,) -> bool:
1626
- """Check if a render texture is ready"""
1698
+ def IsRenderTextureValid(target: RenderTexture|list|tuple,) -> bool:
1699
+ """Check if a render texture is valid (loaded in GPU)"""
1627
1700
  ...
1628
- def IsShaderReady(shader: Shader,) -> bool:
1629
- """Check if a shader is ready"""
1701
+ def IsShaderValid(shader: Shader|list|tuple,) -> bool:
1702
+ """Check if a shader is valid (loaded on GPU)"""
1630
1703
  ...
1631
- def IsSoundPlaying(sound: Sound,) -> bool:
1704
+ def IsSoundPlaying(sound: Sound|list|tuple,) -> bool:
1632
1705
  """Check if a sound is currently playing"""
1633
1706
  ...
1634
- def IsSoundReady(sound: Sound,) -> bool:
1635
- """Checks if a sound is ready"""
1707
+ def IsSoundValid(sound: Sound|list|tuple,) -> bool:
1708
+ """Checks if a sound is valid (data loaded and buffers initialized)"""
1636
1709
  ...
1637
- def IsTextureReady(texture: Texture,) -> bool:
1638
- """Check if a texture is ready"""
1710
+ def IsTextureValid(texture: Texture|list|tuple,) -> bool:
1711
+ """Check if a texture is valid (loaded in GPU)"""
1639
1712
  ...
1640
- def IsWaveReady(wave: Wave,) -> bool:
1641
- """Checks if wave data is ready"""
1713
+ def IsWaveValid(wave: Wave|list|tuple,) -> bool:
1714
+ """Checks if wave data is valid (data loaded and parameters)"""
1642
1715
  ...
1643
1716
  def IsWindowFocused() -> bool:
1644
- """Check if window is currently focused (only PLATFORM_DESKTOP)"""
1717
+ """Check if window is currently focused"""
1645
1718
  ...
1646
1719
  def IsWindowFullscreen() -> bool:
1647
1720
  """Check if window is currently fullscreen"""
1648
1721
  ...
1649
1722
  def IsWindowHidden() -> bool:
1650
- """Check if window is currently hidden (only PLATFORM_DESKTOP)"""
1723
+ """Check if window is currently hidden"""
1651
1724
  ...
1652
1725
  def IsWindowMaximized() -> bool:
1653
- """Check if window is currently maximized (only PLATFORM_DESKTOP)"""
1726
+ """Check if window is currently maximized"""
1654
1727
  ...
1655
1728
  def IsWindowMinimized() -> bool:
1656
- """Check if window is currently minimized (only PLATFORM_DESKTOP)"""
1729
+ """Check if window is currently minimized"""
1657
1730
  ...
1658
1731
  def IsWindowReady() -> bool:
1659
1732
  """Check if window has been initialized successfully"""
@@ -1777,6 +1850,7 @@ KEY_ZERO: int
1777
1850
  LABEL: int
1778
1851
  LINE_COLOR: int
1779
1852
  LISTVIEW: int
1853
+ LIST_ITEMS_BORDER_WIDTH: int
1780
1854
  LIST_ITEMS_HEIGHT: int
1781
1855
  LIST_ITEMS_SPACING: int
1782
1856
  LOG_ALL: int
@@ -1793,88 +1867,88 @@ def Lerp(start: float,end: float,amount: float,) -> float:
1793
1867
  def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
1794
1868
  """Load audio stream (to stream raw audio pcm data)"""
1795
1869
  ...
1796
- def LoadAutomationEventList(fileName: str,) -> AutomationEventList:
1870
+ def LoadAutomationEventList(fileName: bytes,) -> AutomationEventList:
1797
1871
  """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS"""
1798
1872
  ...
1799
- def LoadCodepoints(text: str,count: Any,) -> Any:
1873
+ def LoadCodepoints(text: bytes,count: Any,) -> Any:
1800
1874
  """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter"""
1801
1875
  ...
1802
- def LoadDirectoryFiles(dirPath: str,) -> FilePathList:
1876
+ def LoadDirectoryFiles(dirPath: bytes,) -> FilePathList:
1803
1877
  """Load directory filepaths"""
1804
1878
  ...
1805
- def LoadDirectoryFilesEx(basePath: str,filter: str,scanSubdirs: bool,) -> FilePathList:
1806
- """Load directory filepaths with extension filtering and recursive directory scan"""
1879
+ def LoadDirectoryFilesEx(basePath: bytes,filter: bytes,scanSubdirs: bool,) -> FilePathList:
1880
+ """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result"""
1807
1881
  ...
1808
1882
  def LoadDroppedFiles() -> FilePathList:
1809
1883
  """Load dropped filepaths"""
1810
1884
  ...
1811
- def LoadFileData(fileName: str,dataSize: Any,) -> str:
1885
+ def LoadFileData(fileName: bytes,dataSize: Any,) -> bytes:
1812
1886
  """Load file data as byte array (read)"""
1813
1887
  ...
1814
- def LoadFileText(fileName: str,) -> str:
1888
+ def LoadFileText(fileName: bytes,) -> bytes:
1815
1889
  """Load text data from file (read), returns a '\0' terminated string"""
1816
1890
  ...
1817
- def LoadFont(fileName: str,) -> Font:
1891
+ def LoadFont(fileName: bytes,) -> Font:
1818
1892
  """Load font from file into GPU memory (VRAM)"""
1819
1893
  ...
1820
- def LoadFontData(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any:
1894
+ def LoadFontData(fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any:
1821
1895
  """Load font data for further use"""
1822
1896
  ...
1823
- 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"""
1897
+ def LoadFontEx(fileName: bytes,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
1898
+ """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
1899
  ...
1826
- def LoadFontFromImage(image: Image,key: Color,firstChar: int,) -> Font:
1900
+ def LoadFontFromImage(image: Image|list|tuple,key: Color|list|tuple,firstChar: int,) -> Font:
1827
1901
  """Load font from Image (XNA style)"""
1828
1902
  ...
1829
- def LoadFontFromMemory(fileType: str,fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
1903
+ def LoadFontFromMemory(fileType: bytes,fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
1830
1904
  """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'"""
1831
1905
  ...
1832
- def LoadImage(fileName: str,) -> Image:
1906
+ def LoadImage(fileName: bytes,) -> Image:
1833
1907
  """Load image from file into CPU memory (RAM)"""
1834
1908
  ...
1835
- def LoadImageAnim(fileName: str,frames: Any,) -> Image:
1909
+ def LoadImageAnim(fileName: bytes,frames: Any,) -> Image:
1836
1910
  """Load image sequence from file (frames appended to image.data)"""
1837
1911
  ...
1838
- def LoadImageColors(image: Image,) -> Any:
1912
+ def LoadImageAnimFromMemory(fileType: bytes,fileData: bytes,dataSize: int,frames: Any,) -> Image:
1913
+ """Load image sequence from memory buffer"""
1914
+ ...
1915
+ def LoadImageColors(image: Image|list|tuple,) -> Any:
1839
1916
  """Load color data from image as a Color array (RGBA - 32bit)"""
1840
1917
  ...
1841
- def LoadImageFromMemory(fileType: str,fileData: str,dataSize: int,) -> Image:
1918
+ def LoadImageFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Image:
1842
1919
  """Load image from memory buffer, fileType refers to extension: i.e. '.png'"""
1843
1920
  ...
1844
1921
  def LoadImageFromScreen() -> Image:
1845
1922
  """Load image from screen buffer and (screenshot)"""
1846
1923
  ...
1847
- def LoadImageFromTexture(texture: Texture,) -> Image:
1924
+ def LoadImageFromTexture(texture: Texture|list|tuple,) -> Image:
1848
1925
  """Load image from GPU texture data"""
1849
1926
  ...
1850
- def LoadImagePalette(image: Image,maxPaletteSize: int,colorCount: Any,) -> Any:
1927
+ def LoadImagePalette(image: Image|list|tuple,maxPaletteSize: int,colorCount: Any,) -> Any:
1851
1928
  """Load colors palette from image as a Color array (RGBA - 32bit)"""
1852
1929
  ...
1853
- def LoadImageRaw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image:
1930
+ def LoadImageRaw(fileName: bytes,width: int,height: int,format: int,headerSize: int,) -> Image:
1854
1931
  """Load image from RAW file data"""
1855
1932
  ...
1856
- def LoadImageSvg(fileNameOrString: str,width: int,height: int,) -> Image:
1857
- """Load image from SVG file data or string with specified size"""
1858
- ...
1859
1933
  def LoadMaterialDefault() -> Material:
1860
1934
  """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"""
1861
1935
  ...
1862
- def LoadMaterials(fileName: str,materialCount: Any,) -> Any:
1936
+ def LoadMaterials(fileName: bytes,materialCount: Any,) -> Any:
1863
1937
  """Load materials from model file"""
1864
1938
  ...
1865
- def LoadModel(fileName: str,) -> Model:
1939
+ def LoadModel(fileName: bytes,) -> Model:
1866
1940
  """Load model from files (meshes and materials)"""
1867
1941
  ...
1868
- def LoadModelAnimations(fileName: str,animCount: Any,) -> Any:
1942
+ def LoadModelAnimations(fileName: bytes,animCount: Any,) -> Any:
1869
1943
  """Load model animations from file"""
1870
1944
  ...
1871
- def LoadModelFromMesh(mesh: Mesh,) -> Model:
1945
+ def LoadModelFromMesh(mesh: Mesh|list|tuple,) -> Model:
1872
1946
  """Load model from generated mesh (default material)"""
1873
1947
  ...
1874
- def LoadMusicStream(fileName: str,) -> Music:
1948
+ def LoadMusicStream(fileName: bytes,) -> Music:
1875
1949
  """Load music stream from file"""
1876
1950
  ...
1877
- def LoadMusicStreamFromMemory(fileType: str,data: str,dataSize: int,) -> Music:
1951
+ def LoadMusicStreamFromMemory(fileType: bytes,data: bytes,dataSize: int,) -> Music:
1878
1952
  """Load music stream from data"""
1879
1953
  ...
1880
1954
  def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any:
@@ -1883,43 +1957,43 @@ def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any:
1883
1957
  def LoadRenderTexture(width: int,height: int,) -> RenderTexture:
1884
1958
  """Load texture for rendering (framebuffer)"""
1885
1959
  ...
1886
- def LoadShader(vsFileName: str,fsFileName: str,) -> Shader:
1960
+ def LoadShader(vsFileName: bytes,fsFileName: bytes,) -> Shader:
1887
1961
  """Load shader from files and bind default locations"""
1888
1962
  ...
1889
- def LoadShaderFromMemory(vsCode: str,fsCode: str,) -> Shader:
1963
+ def LoadShaderFromMemory(vsCode: bytes,fsCode: bytes,) -> Shader:
1890
1964
  """Load shader from code strings and bind default locations"""
1891
1965
  ...
1892
- def LoadSound(fileName: str,) -> Sound:
1966
+ def LoadSound(fileName: bytes,) -> Sound:
1893
1967
  """Load sound from file"""
1894
1968
  ...
1895
- def LoadSoundAlias(source: Sound,) -> Sound:
1969
+ def LoadSoundAlias(source: Sound|list|tuple,) -> Sound:
1896
1970
  """Create a new sound that shares the same sample data as the source sound, does not own the sound data"""
1897
1971
  ...
1898
- def LoadSoundFromWave(wave: Wave,) -> Sound:
1972
+ def LoadSoundFromWave(wave: Wave|list|tuple,) -> Sound:
1899
1973
  """Load sound from wave data"""
1900
1974
  ...
1901
- def LoadTexture(fileName: str,) -> Texture:
1975
+ def LoadTexture(fileName: bytes,) -> Texture:
1902
1976
  """Load texture from file into GPU memory (VRAM)"""
1903
1977
  ...
1904
- def LoadTextureCubemap(image: Image,layout: int,) -> Texture:
1978
+ def LoadTextureCubemap(image: Image|list|tuple,layout: int,) -> Texture:
1905
1979
  """Load cubemap from image, multiple image cubemap layouts supported"""
1906
1980
  ...
1907
- def LoadTextureFromImage(image: Image,) -> Texture:
1981
+ def LoadTextureFromImage(image: Image|list|tuple,) -> Texture:
1908
1982
  """Load texture from image data"""
1909
1983
  ...
1910
- def LoadUTF8(codepoints: Any,length: int,) -> str:
1984
+ def LoadUTF8(codepoints: Any,length: int,) -> bytes:
1911
1985
  """Load UTF-8 text encoded from codepoints array"""
1912
1986
  ...
1913
- def LoadVrStereoConfig(device: VrDeviceInfo,) -> VrStereoConfig:
1987
+ def LoadVrStereoConfig(device: VrDeviceInfo|list|tuple,) -> VrStereoConfig:
1914
1988
  """Load VR stereo config for VR simulator device parameters"""
1915
1989
  ...
1916
- def LoadWave(fileName: str,) -> Wave:
1990
+ def LoadWave(fileName: bytes,) -> Wave:
1917
1991
  """Load wave data from file"""
1918
1992
  ...
1919
- def LoadWaveFromMemory(fileType: str,fileData: str,dataSize: int,) -> Wave:
1993
+ def LoadWaveFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Wave:
1920
1994
  """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'"""
1921
1995
  ...
1922
- def LoadWaveSamples(wave: Wave,) -> Any:
1996
+ def LoadWaveSamples(wave: Wave|list|tuple,) -> Any:
1923
1997
  """Load samples data from wave as a 32bit float data array"""
1924
1998
  ...
1925
1999
  MATERIAL_MAP_ALBEDO: int
@@ -1951,25 +2025,31 @@ MOUSE_CURSOR_RESIZE_EW: int
1951
2025
  MOUSE_CURSOR_RESIZE_NESW: int
1952
2026
  MOUSE_CURSOR_RESIZE_NS: int
1953
2027
  MOUSE_CURSOR_RESIZE_NWSE: int
1954
- def MatrixAdd(left: Matrix,right: Matrix,) -> Matrix:
2028
+ def MakeDirectory(dirPath: bytes,) -> int:
2029
+ """Create directories (including full path requested), returns 0 on success"""
2030
+ ...
2031
+ def MatrixAdd(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
1955
2032
  """"""
1956
2033
  ...
1957
- def MatrixDeterminant(mat: Matrix,) -> float:
2034
+ def MatrixDecompose(mat: Matrix|list|tuple,translation: Any|list|tuple,rotation: Any|list|tuple,scale: Any|list|tuple,) -> None:
1958
2035
  """"""
1959
2036
  ...
1960
- def MatrixFrustum(left: float,right: float,bottom: float,top: float,near: float,far: float,) -> Matrix:
2037
+ def MatrixDeterminant(mat: Matrix|list|tuple,) -> float:
2038
+ """"""
2039
+ ...
2040
+ def MatrixFrustum(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
1961
2041
  """"""
1962
2042
  ...
1963
2043
  def MatrixIdentity() -> Matrix:
1964
2044
  """"""
1965
2045
  ...
1966
- def MatrixInvert(mat: Matrix,) -> Matrix:
2046
+ def MatrixInvert(mat: Matrix|list|tuple,) -> Matrix:
1967
2047
  """"""
1968
2048
  ...
1969
- def MatrixLookAt(eye: Vector3,target: Vector3,up: Vector3,) -> Matrix:
2049
+ def MatrixLookAt(eye: Vector3|list|tuple,target: Vector3|list|tuple,up: Vector3|list|tuple,) -> Matrix:
1970
2050
  """"""
1971
2051
  ...
1972
- def MatrixMultiply(left: Matrix,right: Matrix,) -> Matrix:
2052
+ def MatrixMultiply(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
1973
2053
  """"""
1974
2054
  ...
1975
2055
  def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
@@ -1978,13 +2058,13 @@ def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: flo
1978
2058
  def MatrixPerspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix:
1979
2059
  """"""
1980
2060
  ...
1981
- def MatrixRotate(axis: Vector3,angle: float,) -> Matrix:
2061
+ def MatrixRotate(axis: Vector3|list|tuple,angle: float,) -> Matrix:
1982
2062
  """"""
1983
2063
  ...
1984
2064
  def MatrixRotateX(angle: float,) -> Matrix:
1985
2065
  """"""
1986
2066
  ...
1987
- def MatrixRotateXYZ(angle: Vector3,) -> Matrix:
2067
+ def MatrixRotateXYZ(angle: Vector3|list|tuple,) -> Matrix:
1988
2068
  """"""
1989
2069
  ...
1990
2070
  def MatrixRotateY(angle: float,) -> Matrix:
@@ -1993,34 +2073,34 @@ def MatrixRotateY(angle: float,) -> Matrix:
1993
2073
  def MatrixRotateZ(angle: float,) -> Matrix:
1994
2074
  """"""
1995
2075
  ...
1996
- def MatrixRotateZYX(angle: Vector3,) -> Matrix:
2076
+ def MatrixRotateZYX(angle: Vector3|list|tuple,) -> Matrix:
1997
2077
  """"""
1998
2078
  ...
1999
2079
  def MatrixScale(x: float,y: float,z: float,) -> Matrix:
2000
2080
  """"""
2001
2081
  ...
2002
- def MatrixSubtract(left: Matrix,right: Matrix,) -> Matrix:
2082
+ def MatrixSubtract(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
2003
2083
  """"""
2004
2084
  ...
2005
- def MatrixToFloatV(mat: Matrix,) -> float16:
2085
+ def MatrixToFloatV(mat: Matrix|list|tuple,) -> float16:
2006
2086
  """"""
2007
2087
  ...
2008
- def MatrixTrace(mat: Matrix,) -> float:
2088
+ def MatrixTrace(mat: Matrix|list|tuple,) -> float:
2009
2089
  """"""
2010
2090
  ...
2011
2091
  def MatrixTranslate(x: float,y: float,z: float,) -> Matrix:
2012
2092
  """"""
2013
2093
  ...
2014
- def MatrixTranspose(mat: Matrix,) -> Matrix:
2094
+ def MatrixTranspose(mat: Matrix|list|tuple,) -> Matrix:
2015
2095
  """"""
2016
2096
  ...
2017
2097
  def MaximizeWindow() -> None:
2018
- """Set window state: maximized, if resizable (only PLATFORM_DESKTOP)"""
2098
+ """Set window state: maximized, if resizable"""
2019
2099
  ...
2020
- def MeasureText(text: str,fontSize: int,) -> int:
2100
+ def MeasureText(text: bytes,fontSize: int,) -> int:
2021
2101
  """Measure string width for default font"""
2022
2102
  ...
2023
- def MeasureTextEx(font: Font,text: str,fontSize: float,spacing: float,) -> Vector2:
2103
+ def MeasureTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,) -> Vector2:
2024
2104
  """Measure string size for Font"""
2025
2105
  ...
2026
2106
  def MemAlloc(size: int,) -> Any:
@@ -2033,7 +2113,7 @@ def MemRealloc(ptr: Any,size: int,) -> Any:
2033
2113
  """Internal memory reallocator"""
2034
2114
  ...
2035
2115
  def MinimizeWindow() -> None:
2036
- """Set window state: minimized, if resizable (only PLATFORM_DESKTOP)"""
2116
+ """Set window state: minimized, if resizable"""
2037
2117
  ...
2038
2118
  NPATCH_NINE_PATCH: int
2039
2119
  NPATCH_THREE_PATCH_HORIZONTAL: int
@@ -2041,7 +2121,7 @@ NPATCH_THREE_PATCH_VERTICAL: int
2041
2121
  def Normalize(value: float,start: float,end: float,) -> float:
2042
2122
  """"""
2043
2123
  ...
2044
- def OpenURL(url: str,) -> None:
2124
+ def OpenURL(url: bytes,) -> None:
2045
2125
  """Open URL with default system browser (if available)"""
2046
2126
  ...
2047
2127
  PHYSICS_CIRCLE: int
@@ -2072,106 +2152,109 @@ PIXELFORMAT_UNCOMPRESSED_R8G8B8: int
2072
2152
  PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int
2073
2153
  PROGRESSBAR: int
2074
2154
  PROGRESS_PADDING: int
2075
- def PauseAudioStream(stream: AudioStream,) -> None:
2155
+ def PauseAudioStream(stream: AudioStream|list|tuple,) -> None:
2076
2156
  """Pause audio stream"""
2077
2157
  ...
2078
- def PauseMusicStream(music: Music,) -> None:
2158
+ def PauseMusicStream(music: Music|list|tuple,) -> None:
2079
2159
  """Pause music playing"""
2080
2160
  ...
2081
- def PauseSound(sound: Sound,) -> None:
2161
+ def PauseSound(sound: Sound|list|tuple,) -> None:
2082
2162
  """Pause a sound"""
2083
2163
  ...
2084
- def PhysicsAddForce(body: Any,force: Vector2,) -> None:
2164
+ def PhysicsAddForce(body: Any|list|tuple,force: Vector2|list|tuple,) -> None:
2085
2165
  """Adds a force to a physics body"""
2086
2166
  ...
2087
- def PhysicsAddTorque(body: Any,amount: float,) -> None:
2167
+ def PhysicsAddTorque(body: Any|list|tuple,amount: float,) -> None:
2088
2168
  """Adds an angular force to a physics body"""
2089
2169
  ...
2090
- def PhysicsShatter(body: Any,position: Vector2,force: float,) -> None:
2170
+ def PhysicsShatter(body: Any|list|tuple,position: Vector2|list|tuple,force: float,) -> None:
2091
2171
  """Shatters a polygon shape physics body to little physics bodies with explosion force"""
2092
2172
  ...
2093
- def PlayAudioStream(stream: AudioStream,) -> None:
2173
+ def PlayAudioStream(stream: AudioStream|list|tuple,) -> None:
2094
2174
  """Play audio stream"""
2095
2175
  ...
2096
- def PlayAutomationEvent(event: AutomationEvent,) -> None:
2176
+ def PlayAutomationEvent(event: AutomationEvent|list|tuple,) -> None:
2097
2177
  """Play a recorded automation event"""
2098
2178
  ...
2099
- def PlayMusicStream(music: Music,) -> None:
2179
+ def PlayMusicStream(music: Music|list|tuple,) -> None:
2100
2180
  """Start music playing"""
2101
2181
  ...
2102
- def PlaySound(sound: Sound,) -> None:
2182
+ def PlaySound(sound: Sound|list|tuple,) -> None:
2103
2183
  """Play a sound"""
2104
2184
  ...
2105
2185
  def PollInputEvents() -> None:
2106
2186
  """Register all input events"""
2107
2187
  ...
2108
- def QuaternionAdd(q1: Vector4,q2: Vector4,) -> Vector4:
2188
+ def QuaternionAdd(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2189
+ """"""
2190
+ ...
2191
+ def QuaternionAddValue(q: Vector4|list|tuple,add: float,) -> Vector4:
2109
2192
  """"""
2110
2193
  ...
2111
- def QuaternionAddValue(q: Vector4,add: float,) -> Vector4:
2194
+ def QuaternionCubicHermiteSpline(q1: Vector4|list|tuple,outTangent1: Vector4|list|tuple,q2: Vector4|list|tuple,inTangent2: Vector4|list|tuple,t: float,) -> Vector4:
2112
2195
  """"""
2113
2196
  ...
2114
- def QuaternionDivide(q1: Vector4,q2: Vector4,) -> Vector4:
2197
+ def QuaternionDivide(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2115
2198
  """"""
2116
2199
  ...
2117
- def QuaternionEquals(p: Vector4,q: Vector4,) -> int:
2200
+ def QuaternionEquals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int:
2118
2201
  """"""
2119
2202
  ...
2120
- def QuaternionFromAxisAngle(axis: Vector3,angle: float,) -> Vector4:
2203
+ def QuaternionFromAxisAngle(axis: Vector3|list|tuple,angle: float,) -> Vector4:
2121
2204
  """"""
2122
2205
  ...
2123
2206
  def QuaternionFromEuler(pitch: float,yaw: float,roll: float,) -> Vector4:
2124
2207
  """"""
2125
2208
  ...
2126
- def QuaternionFromMatrix(mat: Matrix,) -> Vector4:
2209
+ def QuaternionFromMatrix(mat: Matrix|list|tuple,) -> Vector4:
2127
2210
  """"""
2128
2211
  ...
2129
- def QuaternionFromVector3ToVector3(from_0: Vector3,to: Vector3,) -> Vector4:
2212
+ def QuaternionFromVector3ToVector3(from_0: Vector3|list|tuple,to: Vector3|list|tuple,) -> Vector4:
2130
2213
  """"""
2131
2214
  ...
2132
2215
  def QuaternionIdentity() -> Vector4:
2133
2216
  """"""
2134
2217
  ...
2135
- def QuaternionInvert(q: Vector4,) -> Vector4:
2218
+ def QuaternionInvert(q: Vector4|list|tuple,) -> Vector4:
2136
2219
  """"""
2137
2220
  ...
2138
- def QuaternionLength(q: Vector4,) -> float:
2221
+ def QuaternionLength(q: Vector4|list|tuple,) -> float:
2139
2222
  """"""
2140
2223
  ...
2141
- def QuaternionLerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
2224
+ def QuaternionLerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
2142
2225
  """"""
2143
2226
  ...
2144
- def QuaternionMultiply(q1: Vector4,q2: Vector4,) -> Vector4:
2227
+ def QuaternionMultiply(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2145
2228
  """"""
2146
2229
  ...
2147
- def QuaternionNlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
2230
+ def QuaternionNlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
2148
2231
  """"""
2149
2232
  ...
2150
- def QuaternionNormalize(q: Vector4,) -> Vector4:
2233
+ def QuaternionNormalize(q: Vector4|list|tuple,) -> Vector4:
2151
2234
  """"""
2152
2235
  ...
2153
- def QuaternionScale(q: Vector4,mul: float,) -> Vector4:
2236
+ def QuaternionScale(q: Vector4|list|tuple,mul: float,) -> Vector4:
2154
2237
  """"""
2155
2238
  ...
2156
- def QuaternionSlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
2239
+ def QuaternionSlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
2157
2240
  """"""
2158
2241
  ...
2159
- def QuaternionSubtract(q1: Vector4,q2: Vector4,) -> Vector4:
2242
+ def QuaternionSubtract(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2160
2243
  """"""
2161
2244
  ...
2162
- def QuaternionSubtractValue(q: Vector4,sub: float,) -> Vector4:
2245
+ def QuaternionSubtractValue(q: Vector4|list|tuple,sub: float,) -> Vector4:
2163
2246
  """"""
2164
2247
  ...
2165
- def QuaternionToAxisAngle(q: Vector4,outAxis: Any,outAngle: Any,) -> None:
2248
+ def QuaternionToAxisAngle(q: Vector4|list|tuple,outAxis: Any|list|tuple,outAngle: Any,) -> None:
2166
2249
  """"""
2167
2250
  ...
2168
- def QuaternionToEuler(q: Vector4,) -> Vector3:
2251
+ def QuaternionToEuler(q: Vector4|list|tuple,) -> Vector3:
2169
2252
  """"""
2170
2253
  ...
2171
- def QuaternionToMatrix(q: Vector4,) -> Matrix:
2254
+ def QuaternionToMatrix(q: Vector4|list|tuple,) -> Matrix:
2172
2255
  """"""
2173
2256
  ...
2174
- def QuaternionTransform(q: Vector4,mat: Matrix,) -> Vector4:
2257
+ def QuaternionTransform(q: Vector4|list|tuple,mat: Matrix|list|tuple,) -> Vector4:
2175
2258
  """"""
2176
2259
  ...
2177
2260
  RL_ATTACHMENT_COLOR_CHANNEL0: int
@@ -2276,6 +2359,10 @@ RL_SHADER_UNIFORM_IVEC2: int
2276
2359
  RL_SHADER_UNIFORM_IVEC3: int
2277
2360
  RL_SHADER_UNIFORM_IVEC4: int
2278
2361
  RL_SHADER_UNIFORM_SAMPLER2D: int
2362
+ RL_SHADER_UNIFORM_UINT: int
2363
+ RL_SHADER_UNIFORM_UIVEC2: int
2364
+ RL_SHADER_UNIFORM_UIVEC3: int
2365
+ RL_SHADER_UNIFORM_UIVEC4: int
2279
2366
  RL_SHADER_UNIFORM_VEC2: int
2280
2367
  RL_SHADER_UNIFORM_VEC3: int
2281
2368
  RL_SHADER_UNIFORM_VEC4: int
@@ -2292,15 +2379,15 @@ def ResetPhysics() -> None:
2292
2379
  """Reset physics system (global variables)"""
2293
2380
  ...
2294
2381
  def RestoreWindow() -> None:
2295
- """Set window state: not minimized/maximized (only PLATFORM_DESKTOP)"""
2382
+ """Set window state: not minimized/maximized"""
2296
2383
  ...
2297
- def ResumeAudioStream(stream: AudioStream,) -> None:
2384
+ def ResumeAudioStream(stream: AudioStream|list|tuple,) -> None:
2298
2385
  """Resume audio stream"""
2299
2386
  ...
2300
- def ResumeMusicStream(music: Music,) -> None:
2387
+ def ResumeMusicStream(music: Music|list|tuple,) -> None:
2301
2388
  """Resume playing paused music"""
2302
2389
  ...
2303
- def ResumeSound(sound: Sound,) -> None:
2390
+ def ResumeSound(sound: Sound|list|tuple,) -> None:
2304
2391
  """Resume a paused sound"""
2305
2392
  ...
2306
2393
  SCROLLBAR: int
@@ -2314,6 +2401,7 @@ SHADER_ATTRIB_FLOAT: int
2314
2401
  SHADER_ATTRIB_VEC2: int
2315
2402
  SHADER_ATTRIB_VEC3: int
2316
2403
  SHADER_ATTRIB_VEC4: int
2404
+ SHADER_LOC_BONE_MATRICES: int
2317
2405
  SHADER_LOC_COLOR_AMBIENT: int
2318
2406
  SHADER_LOC_COLOR_DIFFUSE: int
2319
2407
  SHADER_LOC_COLOR_SPECULAR: int
@@ -2334,6 +2422,8 @@ SHADER_LOC_MATRIX_NORMAL: int
2334
2422
  SHADER_LOC_MATRIX_PROJECTION: int
2335
2423
  SHADER_LOC_MATRIX_VIEW: int
2336
2424
  SHADER_LOC_VECTOR_VIEW: int
2425
+ SHADER_LOC_VERTEX_BONEIDS: int
2426
+ SHADER_LOC_VERTEX_BONEWEIGHTS: int
2337
2427
  SHADER_LOC_VERTEX_COLOR: int
2338
2428
  SHADER_LOC_VERTEX_NORMAL: int
2339
2429
  SHADER_LOC_VERTEX_POSITION: int
@@ -2360,37 +2450,37 @@ STATE_FOCUSED: int
2360
2450
  STATE_NORMAL: int
2361
2451
  STATE_PRESSED: int
2362
2452
  STATUSBAR: int
2363
- def SaveFileData(fileName: str,data: Any,dataSize: int,) -> bool:
2453
+ def SaveFileData(fileName: bytes,data: Any,dataSize: int,) -> bool:
2364
2454
  """Save data to file from byte array (write), returns true on success"""
2365
2455
  ...
2366
- def SaveFileText(fileName: str,text: str,) -> bool:
2456
+ def SaveFileText(fileName: bytes,text: bytes,) -> bool:
2367
2457
  """Save text data to file (write), string must be '\0' terminated, returns true on success"""
2368
2458
  ...
2369
- def SeekMusicStream(music: Music,position: float,) -> None:
2459
+ def SeekMusicStream(music: Music|list|tuple,position: float,) -> None:
2370
2460
  """Seek music to a position (in seconds)"""
2371
2461
  ...
2372
2462
  def SetAudioStreamBufferSizeDefault(size: int,) -> None:
2373
2463
  """Default size for new audio streams"""
2374
2464
  ...
2375
- def SetAudioStreamCallback(stream: AudioStream,callback: Any,) -> None:
2465
+ def SetAudioStreamCallback(stream: AudioStream|list|tuple,callback: Any,) -> None:
2376
2466
  """Audio thread callback to request new data"""
2377
2467
  ...
2378
- def SetAudioStreamPan(stream: AudioStream,pan: float,) -> None:
2468
+ def SetAudioStreamPan(stream: AudioStream|list|tuple,pan: float,) -> None:
2379
2469
  """Set pan for audio stream (0.5 is centered)"""
2380
2470
  ...
2381
- def SetAudioStreamPitch(stream: AudioStream,pitch: float,) -> None:
2471
+ def SetAudioStreamPitch(stream: AudioStream|list|tuple,pitch: float,) -> None:
2382
2472
  """Set pitch for audio stream (1.0 is base level)"""
2383
2473
  ...
2384
- def SetAudioStreamVolume(stream: AudioStream,volume: float,) -> None:
2474
+ def SetAudioStreamVolume(stream: AudioStream|list|tuple,volume: float,) -> None:
2385
2475
  """Set volume for audio stream (1.0 is max level)"""
2386
2476
  ...
2387
2477
  def SetAutomationEventBaseFrame(frame: int,) -> None:
2388
2478
  """Set automation event internal base frame to start recording"""
2389
2479
  ...
2390
- def SetAutomationEventList(list_0: Any,) -> None:
2480
+ def SetAutomationEventList(list_0: Any|list|tuple,) -> None:
2391
2481
  """Set automation event list to record to"""
2392
2482
  ...
2393
- def SetClipboardText(text: str,) -> None:
2483
+ def SetClipboardText(text: bytes,) -> None:
2394
2484
  """Set clipboard text content"""
2395
2485
  ...
2396
2486
  def SetConfigFlags(flags: int,) -> None:
@@ -2399,25 +2489,28 @@ def SetConfigFlags(flags: int,) -> None:
2399
2489
  def SetExitKey(key: int,) -> None:
2400
2490
  """Set a custom key to exit program (default is ESC)"""
2401
2491
  ...
2402
- def SetGamepadMappings(mappings: str,) -> int:
2492
+ def SetGamepadMappings(mappings: bytes,) -> int:
2403
2493
  """Set internal gamepad mappings (SDL_GameControllerDB)"""
2404
2494
  ...
2495
+ def SetGamepadVibration(gamepad: int,leftMotor: float,rightMotor: float,duration: float,) -> None:
2496
+ """Set gamepad vibration for both motors (duration in seconds)"""
2497
+ ...
2405
2498
  def SetGesturesEnabled(flags: int,) -> None:
2406
2499
  """Enable a set of gestures using flags"""
2407
2500
  ...
2408
- def SetLoadFileDataCallback(callback: str,) -> None:
2501
+ def SetLoadFileDataCallback(callback: bytes,) -> None:
2409
2502
  """Set custom file binary data loader"""
2410
2503
  ...
2411
- def SetLoadFileTextCallback(callback: str,) -> None:
2504
+ def SetLoadFileTextCallback(callback: bytes,) -> None:
2412
2505
  """Set custom file text data loader"""
2413
2506
  ...
2414
2507
  def SetMasterVolume(volume: float,) -> None:
2415
2508
  """Set master volume (listener)"""
2416
2509
  ...
2417
- def SetMaterialTexture(material: Any,mapType: int,texture: Texture,) -> None:
2510
+ def SetMaterialTexture(material: Any|list|tuple,mapType: int,texture: Texture|list|tuple,) -> None:
2418
2511
  """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)"""
2419
2512
  ...
2420
- def SetModelMeshMaterial(model: Any,meshId: int,materialId: int,) -> None:
2513
+ def SetModelMeshMaterial(model: Any|list|tuple,meshId: int,materialId: int,) -> None:
2421
2514
  """Set material for a mesh"""
2422
2515
  ...
2423
2516
  def SetMouseCursor(cursor: int,) -> None:
@@ -2432,16 +2525,16 @@ def SetMousePosition(x: int,y: int,) -> None:
2432
2525
  def SetMouseScale(scaleX: float,scaleY: float,) -> None:
2433
2526
  """Set mouse scaling"""
2434
2527
  ...
2435
- def SetMusicPan(music: Music,pan: float,) -> None:
2528
+ def SetMusicPan(music: Music|list|tuple,pan: float,) -> None:
2436
2529
  """Set pan for a music (0.5 is center)"""
2437
2530
  ...
2438
- def SetMusicPitch(music: Music,pitch: float,) -> None:
2531
+ def SetMusicPitch(music: Music|list|tuple,pitch: float,) -> None:
2439
2532
  """Set pitch for a music (1.0 is base level)"""
2440
2533
  ...
2441
- def SetMusicVolume(music: Music,volume: float,) -> None:
2534
+ def SetMusicVolume(music: Music|list|tuple,volume: float,) -> None:
2442
2535
  """Set volume for music (1.0 is max level)"""
2443
2536
  ...
2444
- def SetPhysicsBodyRotation(body: Any,radians: float,) -> None:
2537
+ def SetPhysicsBodyRotation(body: Any|list|tuple,radians: float,) -> None:
2445
2538
  """Sets physics body shape transform based on radians parameter"""
2446
2539
  ...
2447
2540
  def SetPhysicsGravity(x: float,y: float,) -> None:
@@ -2450,40 +2543,40 @@ def SetPhysicsGravity(x: float,y: float,) -> None:
2450
2543
  def SetPhysicsTimeStep(delta: float,) -> None:
2451
2544
  """Sets physics fixed time step in milliseconds. 1.666666 by default"""
2452
2545
  ...
2453
- def SetPixelColor(dstPtr: Any,color: Color,format: int,) -> None:
2546
+ def SetPixelColor(dstPtr: Any,color: Color|list|tuple,format: int,) -> None:
2454
2547
  """Set color formatted into destination pixel pointer"""
2455
2548
  ...
2456
2549
  def SetRandomSeed(seed: int,) -> None:
2457
2550
  """Set the seed for the random number generator"""
2458
2551
  ...
2459
- def SetSaveFileDataCallback(callback: str,) -> None:
2552
+ def SetSaveFileDataCallback(callback: bytes,) -> None:
2460
2553
  """Set custom file binary data saver"""
2461
2554
  ...
2462
- def SetSaveFileTextCallback(callback: str,) -> None:
2555
+ def SetSaveFileTextCallback(callback: bytes,) -> None:
2463
2556
  """Set custom file text data saver"""
2464
2557
  ...
2465
- def SetShaderValue(shader: Shader,locIndex: int,value: Any,uniformType: int,) -> None:
2558
+ def SetShaderValue(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,) -> None:
2466
2559
  """Set shader uniform value"""
2467
2560
  ...
2468
- def SetShaderValueMatrix(shader: Shader,locIndex: int,mat: Matrix,) -> None:
2561
+ def SetShaderValueMatrix(shader: Shader|list|tuple,locIndex: int,mat: Matrix|list|tuple,) -> None:
2469
2562
  """Set shader uniform value (matrix 4x4)"""
2470
2563
  ...
2471
- def SetShaderValueTexture(shader: Shader,locIndex: int,texture: Texture,) -> None:
2564
+ def SetShaderValueTexture(shader: Shader|list|tuple,locIndex: int,texture: Texture|list|tuple,) -> None:
2472
2565
  """Set shader uniform value for texture (sampler2d)"""
2473
2566
  ...
2474
- def SetShaderValueV(shader: Shader,locIndex: int,value: Any,uniformType: int,count: int,) -> None:
2567
+ def SetShaderValueV(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,count: int,) -> None:
2475
2568
  """Set shader uniform value vector"""
2476
2569
  ...
2477
- def SetShapesTexture(texture: Texture,source: Rectangle,) -> None:
2570
+ def SetShapesTexture(texture: Texture|list|tuple,source: Rectangle|list|tuple,) -> None:
2478
2571
  """Set texture and rectangle to be used on shapes drawing"""
2479
2572
  ...
2480
- def SetSoundPan(sound: Sound,pan: float,) -> None:
2573
+ def SetSoundPan(sound: Sound|list|tuple,pan: float,) -> None:
2481
2574
  """Set pan for a sound (0.5 is center)"""
2482
2575
  ...
2483
- def SetSoundPitch(sound: Sound,pitch: float,) -> None:
2576
+ def SetSoundPitch(sound: Sound|list|tuple,pitch: float,) -> None:
2484
2577
  """Set pitch for a sound (1.0 is base level)"""
2485
2578
  ...
2486
- def SetSoundVolume(sound: Sound,volume: float,) -> None:
2579
+ def SetSoundVolume(sound: Sound|list|tuple,volume: float,) -> None:
2487
2580
  """Set volume for a sound (1.0 is max level)"""
2488
2581
  ...
2489
2582
  def SetTargetFPS(fps: int,) -> None:
@@ -2492,26 +2585,26 @@ def SetTargetFPS(fps: int,) -> None:
2492
2585
  def SetTextLineSpacing(spacing: int,) -> None:
2493
2586
  """Set vertical line spacing when drawing with line-breaks"""
2494
2587
  ...
2495
- def SetTextureFilter(texture: Texture,filter: int,) -> None:
2588
+ def SetTextureFilter(texture: Texture|list|tuple,filter: int,) -> None:
2496
2589
  """Set texture scaling filter mode"""
2497
2590
  ...
2498
- def SetTextureWrap(texture: Texture,wrap: int,) -> None:
2591
+ def SetTextureWrap(texture: Texture|list|tuple,wrap: int,) -> None:
2499
2592
  """Set texture wrapping mode"""
2500
2593
  ...
2501
- def SetTraceLogCallback(callback: str,) -> None:
2594
+ def SetTraceLogCallback(callback: bytes,) -> None:
2502
2595
  """Set custom trace log"""
2503
2596
  ...
2504
2597
  def SetTraceLogLevel(logLevel: int,) -> None:
2505
2598
  """Set the current threshold (minimum) log level"""
2506
2599
  ...
2507
2600
  def SetWindowFocused() -> None:
2508
- """Set window focused (only PLATFORM_DESKTOP)"""
2601
+ """Set window focused"""
2509
2602
  ...
2510
- def SetWindowIcon(image: Image,) -> None:
2511
- """Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)"""
2603
+ def SetWindowIcon(image: Image|list|tuple,) -> None:
2604
+ """Set icon for window (single image, RGBA 32bit)"""
2512
2605
  ...
2513
- def SetWindowIcons(images: Any,count: int,) -> None:
2514
- """Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)"""
2606
+ def SetWindowIcons(images: Any|list|tuple,count: int,) -> None:
2607
+ """Set icon for window (multiple images, RGBA 32bit)"""
2515
2608
  ...
2516
2609
  def SetWindowMaxSize(width: int,height: int,) -> None:
2517
2610
  """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)"""
@@ -2523,19 +2616,19 @@ def SetWindowMonitor(monitor: int,) -> None:
2523
2616
  """Set monitor for the current window"""
2524
2617
  ...
2525
2618
  def SetWindowOpacity(opacity: float,) -> None:
2526
- """Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)"""
2619
+ """Set window opacity [0.0f..1.0f]"""
2527
2620
  ...
2528
2621
  def SetWindowPosition(x: int,y: int,) -> None:
2529
- """Set window position on screen (only PLATFORM_DESKTOP)"""
2622
+ """Set window position on screen"""
2530
2623
  ...
2531
2624
  def SetWindowSize(width: int,height: int,) -> None:
2532
2625
  """Set window dimensions"""
2533
2626
  ...
2534
2627
  def SetWindowState(flags: int,) -> None:
2535
- """Set window configuration state using flags (only PLATFORM_DESKTOP)"""
2628
+ """Set window configuration state using flags"""
2536
2629
  ...
2537
- def SetWindowTitle(title: str,) -> None:
2538
- """Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB)"""
2630
+ def SetWindowTitle(title: bytes,) -> None:
2631
+ """Set title for window"""
2539
2632
  ...
2540
2633
  def ShowCursor() -> None:
2541
2634
  """Shows cursor"""
@@ -2543,16 +2636,16 @@ def ShowCursor() -> None:
2543
2636
  def StartAutomationEventRecording() -> None:
2544
2637
  """Start recording automation events (AutomationEventList must be set)"""
2545
2638
  ...
2546
- def StopAudioStream(stream: AudioStream,) -> None:
2639
+ def StopAudioStream(stream: AudioStream|list|tuple,) -> None:
2547
2640
  """Stop audio stream"""
2548
2641
  ...
2549
2642
  def StopAutomationEventRecording() -> None:
2550
2643
  """Stop recording automation events"""
2551
2644
  ...
2552
- def StopMusicStream(music: Music,) -> None:
2645
+ def StopMusicStream(music: Music|list|tuple,) -> None:
2553
2646
  """Stop music playing"""
2554
2647
  ...
2555
- def StopSound(sound: Sound,) -> None:
2648
+ def StopSound(sound: Sound|list|tuple,) -> None:
2556
2649
  """Stop playing a sound"""
2557
2650
  ...
2558
2651
  def SwapScreenBuffer() -> None:
@@ -2591,383 +2684,476 @@ TEXT_WRAP_MODE: int
2591
2684
  TEXT_WRAP_NONE: int
2592
2685
  TEXT_WRAP_WORD: int
2593
2686
  TOGGLE: int
2594
- def TakeScreenshot(fileName: str,) -> None:
2687
+ def TakeScreenshot(fileName: bytes,) -> None:
2595
2688
  """Takes a screenshot of current screen (filename extension defines format)"""
2596
2689
  ...
2597
- def TextAppend(text: str,append: str,position: Any,) -> None:
2690
+ def TextAppend(text: bytes,append: bytes,position: Any,) -> None:
2598
2691
  """Append text at specific position and move cursor!"""
2599
2692
  ...
2600
- def TextCopy(dst: str,src: str,) -> int:
2693
+ def TextCopy(dst: bytes,src: bytes,) -> int:
2601
2694
  """Copy one string to another, returns bytes copied"""
2602
2695
  ...
2603
- def TextFindIndex(text: str,find: str,) -> int:
2696
+ def TextFindIndex(text: bytes,find: bytes,) -> int:
2604
2697
  """Find first text occurrence within a string"""
2605
2698
  ...
2606
- def TextFormat(*args) -> str:
2699
+ def TextFormat(*args) -> bytes:
2607
2700
  """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
2608
2701
  ...
2609
- def TextInsert(text: str,insert: str,position: int,) -> str:
2702
+ def TextInsert(text: bytes,insert: bytes,position: int,) -> bytes:
2610
2703
  """Insert text in a position (WARNING: memory must be freed!)"""
2611
2704
  ...
2612
- def TextIsEqual(text1: str,text2: str,) -> bool:
2705
+ def TextIsEqual(text1: bytes,text2: bytes,) -> bool:
2613
2706
  """Check if two text string are equal"""
2614
2707
  ...
2615
- def TextJoin(textList: list[str],count: int,delimiter: str,) -> str:
2708
+ def TextJoin(textList: list[bytes],count: int,delimiter: bytes,) -> bytes:
2616
2709
  """Join text strings with delimiter"""
2617
2710
  ...
2618
- def TextLength(text: str,) -> int:
2711
+ def TextLength(text: bytes,) -> int:
2619
2712
  """Get text length, checks for '\0' ending"""
2620
2713
  ...
2621
- def TextReplace(text: str,replace: str,by: str,) -> str:
2714
+ def TextReplace(text: bytes,replace: bytes,by: bytes,) -> bytes:
2622
2715
  """Replace text string (WARNING: memory must be freed!)"""
2623
2716
  ...
2624
- def TextSplit(text: str,delimiter: str,count: Any,) -> list[str]:
2717
+ def TextSplit(text: bytes,delimiter: bytes,count: Any,) -> list[bytes]:
2625
2718
  """Split text into multiple strings"""
2626
2719
  ...
2627
- def TextSubtext(text: str,position: int,length: int,) -> str:
2720
+ def TextSubtext(text: bytes,position: int,length: int,) -> bytes:
2628
2721
  """Get a piece of a text string"""
2629
2722
  ...
2630
- def TextToInteger(text: str,) -> int:
2723
+ def TextToCamel(text: bytes,) -> bytes:
2724
+ """Get Camel case notation version of provided string"""
2725
+ ...
2726
+ def TextToFloat(text: bytes,) -> float:
2727
+ """Get float value from text (negative values not supported)"""
2728
+ ...
2729
+ def TextToInteger(text: bytes,) -> int:
2631
2730
  """Get integer value from text (negative values not supported)"""
2632
2731
  ...
2633
- def TextToLower(text: str,) -> str:
2732
+ def TextToLower(text: bytes,) -> bytes:
2634
2733
  """Get lower case version of provided string"""
2635
2734
  ...
2636
- def TextToPascal(text: str,) -> str:
2735
+ def TextToPascal(text: bytes,) -> bytes:
2637
2736
  """Get Pascal case notation version of provided string"""
2638
2737
  ...
2639
- def TextToUpper(text: str,) -> str:
2738
+ def TextToSnake(text: bytes,) -> bytes:
2739
+ """Get Snake case notation version of provided string"""
2740
+ ...
2741
+ def TextToUpper(text: bytes,) -> bytes:
2640
2742
  """Get upper case version of provided string"""
2641
2743
  ...
2642
2744
  def ToggleBorderlessWindowed() -> None:
2643
- """Toggle window state: borderless windowed (only PLATFORM_DESKTOP)"""
2745
+ """Toggle window state: borderless windowed, resizes window to match monitor resolution"""
2644
2746
  ...
2645
2747
  def ToggleFullscreen() -> None:
2646
- """Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)"""
2748
+ """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution"""
2647
2749
  ...
2648
2750
  def TraceLog(*args) -> None:
2649
2751
  """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
2650
2752
  ...
2651
- def UnloadAudioStream(stream: AudioStream,) -> None:
2753
+ def UnloadAudioStream(stream: AudioStream|list|tuple,) -> None:
2652
2754
  """Unload audio stream and free memory"""
2653
2755
  ...
2654
- def UnloadAutomationEventList(list_0: Any,) -> None:
2756
+ def UnloadAutomationEventList(list_0: AutomationEventList|list|tuple,) -> None:
2655
2757
  """Unload automation events list from file"""
2656
2758
  ...
2657
2759
  def UnloadCodepoints(codepoints: Any,) -> None:
2658
2760
  """Unload codepoints data from memory"""
2659
2761
  ...
2660
- def UnloadDirectoryFiles(files: FilePathList,) -> None:
2762
+ def UnloadDirectoryFiles(files: FilePathList|list|tuple,) -> None:
2661
2763
  """Unload filepaths"""
2662
2764
  ...
2663
- def UnloadDroppedFiles(files: FilePathList,) -> None:
2765
+ def UnloadDroppedFiles(files: FilePathList|list|tuple,) -> None:
2664
2766
  """Unload dropped filepaths"""
2665
2767
  ...
2666
- def UnloadFileData(data: str,) -> None:
2768
+ def UnloadFileData(data: bytes,) -> None:
2667
2769
  """Unload file data allocated by LoadFileData()"""
2668
2770
  ...
2669
- def UnloadFileText(text: str,) -> None:
2771
+ def UnloadFileText(text: bytes,) -> None:
2670
2772
  """Unload file text data allocated by LoadFileText()"""
2671
2773
  ...
2672
- def UnloadFont(font: Font,) -> None:
2774
+ def UnloadFont(font: Font|list|tuple,) -> None:
2673
2775
  """Unload font from GPU memory (VRAM)"""
2674
2776
  ...
2675
- def UnloadFontData(glyphs: Any,glyphCount: int,) -> None:
2777
+ def UnloadFontData(glyphs: Any|list|tuple,glyphCount: int,) -> None:
2676
2778
  """Unload font chars info data (RAM)"""
2677
2779
  ...
2678
- def UnloadImage(image: Image,) -> None:
2780
+ def UnloadImage(image: Image|list|tuple,) -> None:
2679
2781
  """Unload image from CPU memory (RAM)"""
2680
2782
  ...
2681
- def UnloadImageColors(colors: Any,) -> None:
2783
+ def UnloadImageColors(colors: Any|list|tuple,) -> None:
2682
2784
  """Unload color data loaded with LoadImageColors()"""
2683
2785
  ...
2684
- def UnloadImagePalette(colors: Any,) -> None:
2786
+ def UnloadImagePalette(colors: Any|list|tuple,) -> None:
2685
2787
  """Unload colors palette loaded with LoadImagePalette()"""
2686
2788
  ...
2687
- def UnloadMaterial(material: Material,) -> None:
2789
+ def UnloadMaterial(material: Material|list|tuple,) -> None:
2688
2790
  """Unload material from GPU memory (VRAM)"""
2689
2791
  ...
2690
- def UnloadMesh(mesh: Mesh,) -> None:
2792
+ def UnloadMesh(mesh: Mesh|list|tuple,) -> None:
2691
2793
  """Unload mesh data from CPU and GPU"""
2692
2794
  ...
2693
- def UnloadModel(model: Model,) -> None:
2795
+ def UnloadModel(model: Model|list|tuple,) -> None:
2694
2796
  """Unload model (including meshes) from memory (RAM and/or VRAM)"""
2695
2797
  ...
2696
- def UnloadModelAnimation(anim: ModelAnimation,) -> None:
2798
+ def UnloadModelAnimation(anim: ModelAnimation|list|tuple,) -> None:
2697
2799
  """Unload animation data"""
2698
2800
  ...
2699
- def UnloadModelAnimations(animations: Any,animCount: int,) -> None:
2801
+ def UnloadModelAnimations(animations: Any|list|tuple,animCount: int,) -> None:
2700
2802
  """Unload animation array data"""
2701
2803
  ...
2702
- def UnloadMusicStream(music: Music,) -> None:
2804
+ def UnloadMusicStream(music: Music|list|tuple,) -> None:
2703
2805
  """Unload music stream"""
2704
2806
  ...
2705
2807
  def UnloadRandomSequence(sequence: Any,) -> None:
2706
2808
  """Unload random values sequence"""
2707
2809
  ...
2708
- def UnloadRenderTexture(target: RenderTexture,) -> None:
2810
+ def UnloadRenderTexture(target: RenderTexture|list|tuple,) -> None:
2709
2811
  """Unload render texture from GPU memory (VRAM)"""
2710
2812
  ...
2711
- def UnloadShader(shader: Shader,) -> None:
2813
+ def UnloadShader(shader: Shader|list|tuple,) -> None:
2712
2814
  """Unload shader from GPU memory (VRAM)"""
2713
2815
  ...
2714
- def UnloadSound(sound: Sound,) -> None:
2816
+ def UnloadSound(sound: Sound|list|tuple,) -> None:
2715
2817
  """Unload sound"""
2716
2818
  ...
2717
- def UnloadSoundAlias(alias: Sound,) -> None:
2819
+ def UnloadSoundAlias(alias: Sound|list|tuple,) -> None:
2718
2820
  """Unload a sound alias (does not deallocate sample data)"""
2719
2821
  ...
2720
- def UnloadTexture(texture: Texture,) -> None:
2822
+ def UnloadTexture(texture: Texture|list|tuple,) -> None:
2721
2823
  """Unload texture from GPU memory (VRAM)"""
2722
2824
  ...
2723
- def UnloadUTF8(text: str,) -> None:
2825
+ def UnloadUTF8(text: bytes,) -> None:
2724
2826
  """Unload UTF-8 text encoded from codepoints array"""
2725
2827
  ...
2726
- def UnloadVrStereoConfig(config: VrStereoConfig,) -> None:
2828
+ def UnloadVrStereoConfig(config: VrStereoConfig|list|tuple,) -> None:
2727
2829
  """Unload VR stereo config"""
2728
2830
  ...
2729
- def UnloadWave(wave: Wave,) -> None:
2831
+ def UnloadWave(wave: Wave|list|tuple,) -> None:
2730
2832
  """Unload wave data"""
2731
2833
  ...
2732
2834
  def UnloadWaveSamples(samples: Any,) -> None:
2733
2835
  """Unload samples data loaded with LoadWaveSamples()"""
2734
2836
  ...
2735
- def UpdateAudioStream(stream: AudioStream,data: Any,frameCount: int,) -> None:
2837
+ def UpdateAudioStream(stream: AudioStream|list|tuple,data: Any,frameCount: int,) -> None:
2736
2838
  """Update audio stream buffers with data"""
2737
2839
  ...
2738
- def UpdateCamera(camera: Any,mode: int,) -> None:
2840
+ def UpdateCamera(camera: Any|list|tuple,mode: int,) -> None:
2739
2841
  """Update camera position for selected mode"""
2740
2842
  ...
2741
- def UpdateCameraPro(camera: Any,movement: Vector3,rotation: Vector3,zoom: float,) -> None:
2843
+ def UpdateCameraPro(camera: Any|list|tuple,movement: Vector3|list|tuple,rotation: Vector3|list|tuple,zoom: float,) -> None:
2742
2844
  """Update camera movement/rotation"""
2743
2845
  ...
2744
- def UpdateMeshBuffer(mesh: Mesh,index: int,data: Any,dataSize: int,offset: int,) -> None:
2846
+ def UpdateMeshBuffer(mesh: Mesh|list|tuple,index: int,data: Any,dataSize: int,offset: int,) -> None:
2745
2847
  """Update mesh vertex data in GPU for a specific buffer index"""
2746
2848
  ...
2747
- def UpdateModelAnimation(model: Model,anim: ModelAnimation,frame: int,) -> None:
2748
- """Update model animation pose"""
2849
+ def UpdateModelAnimation(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None:
2850
+ """Update model animation pose (CPU)"""
2749
2851
  ...
2750
- def UpdateMusicStream(music: Music,) -> None:
2852
+ def UpdateModelAnimationBones(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None:
2853
+ """Update model animation mesh bone matrices (GPU skinning)"""
2854
+ ...
2855
+ def UpdateMusicStream(music: Music|list|tuple,) -> None:
2751
2856
  """Updates buffers for music streaming"""
2752
2857
  ...
2753
2858
  def UpdatePhysics() -> None:
2754
2859
  """Update physics system"""
2755
2860
  ...
2756
- def UpdateSound(sound: Sound,data: Any,sampleCount: int,) -> None:
2861
+ def UpdateSound(sound: Sound|list|tuple,data: Any,sampleCount: int,) -> None:
2757
2862
  """Update sound buffer with new data"""
2758
2863
  ...
2759
- def UpdateTexture(texture: Texture,pixels: Any,) -> None:
2864
+ def UpdateTexture(texture: Texture|list|tuple,pixels: Any,) -> None:
2760
2865
  """Update GPU texture with new data"""
2761
2866
  ...
2762
- def UpdateTextureRec(texture: Texture,rec: Rectangle,pixels: Any,) -> None:
2867
+ def UpdateTextureRec(texture: Texture|list|tuple,rec: Rectangle|list|tuple,pixels: Any,) -> None:
2763
2868
  """Update GPU texture rectangle with new data"""
2764
2869
  ...
2765
- def UploadMesh(mesh: Any,dynamic: bool,) -> None:
2870
+ def UploadMesh(mesh: Any|list|tuple,dynamic: bool,) -> None:
2766
2871
  """Upload mesh vertex data in GPU and provide VAO/VBO ids"""
2767
2872
  ...
2768
2873
  VALUEBOX: int
2769
- def Vector2Add(v1: Vector2,v2: Vector2,) -> Vector2:
2874
+ def Vector2Add(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2875
+ """"""
2876
+ ...
2877
+ def Vector2AddValue(v: Vector2|list|tuple,add: float,) -> Vector2:
2770
2878
  """"""
2771
2879
  ...
2772
- def Vector2AddValue(v: Vector2,add: float,) -> Vector2:
2880
+ def Vector2Angle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2773
2881
  """"""
2774
2882
  ...
2775
- def Vector2Angle(v1: Vector2,v2: Vector2,) -> float:
2883
+ def Vector2Clamp(v: Vector2|list|tuple,min_1: Vector2|list|tuple,max_2: Vector2|list|tuple,) -> Vector2:
2776
2884
  """"""
2777
2885
  ...
2778
- def Vector2Clamp(v: Vector2,min_1: Vector2,max_2: Vector2,) -> Vector2:
2886
+ def Vector2ClampValue(v: Vector2|list|tuple,min_1: float,max_2: float,) -> Vector2:
2779
2887
  """"""
2780
2888
  ...
2781
- def Vector2ClampValue(v: Vector2,min_1: float,max_2: float,) -> Vector2:
2889
+ def Vector2Distance(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2782
2890
  """"""
2783
2891
  ...
2784
- def Vector2Distance(v1: Vector2,v2: Vector2,) -> float:
2892
+ def Vector2DistanceSqr(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2785
2893
  """"""
2786
2894
  ...
2787
- def Vector2DistanceSqr(v1: Vector2,v2: Vector2,) -> float:
2895
+ def Vector2Divide(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2788
2896
  """"""
2789
2897
  ...
2790
- def Vector2Divide(v1: Vector2,v2: Vector2,) -> Vector2:
2898
+ def Vector2DotProduct(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2791
2899
  """"""
2792
2900
  ...
2793
- def Vector2DotProduct(v1: Vector2,v2: Vector2,) -> float:
2901
+ def Vector2Equals(p: Vector2|list|tuple,q: Vector2|list|tuple,) -> int:
2794
2902
  """"""
2795
2903
  ...
2796
- def Vector2Equals(p: Vector2,q: Vector2,) -> int:
2904
+ def Vector2Invert(v: Vector2|list|tuple,) -> Vector2:
2797
2905
  """"""
2798
2906
  ...
2799
- def Vector2Invert(v: Vector2,) -> Vector2:
2907
+ def Vector2Length(v: Vector2|list|tuple,) -> float:
2800
2908
  """"""
2801
2909
  ...
2802
- def Vector2Length(v: Vector2,) -> float:
2910
+ def Vector2LengthSqr(v: Vector2|list|tuple,) -> float:
2803
2911
  """"""
2804
2912
  ...
2805
- def Vector2LengthSqr(v: Vector2,) -> float:
2913
+ def Vector2Lerp(v1: Vector2|list|tuple,v2: Vector2|list|tuple,amount: float,) -> Vector2:
2806
2914
  """"""
2807
2915
  ...
2808
- def Vector2Lerp(v1: Vector2,v2: Vector2,amount: float,) -> Vector2:
2916
+ def Vector2LineAngle(start: Vector2|list|tuple,end: Vector2|list|tuple,) -> float:
2809
2917
  """"""
2810
2918
  ...
2811
- def Vector2LineAngle(start: Vector2,end: Vector2,) -> float:
2919
+ def Vector2Max(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2812
2920
  """"""
2813
2921
  ...
2814
- def Vector2MoveTowards(v: Vector2,target: Vector2,maxDistance: float,) -> Vector2:
2922
+ def Vector2Min(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2815
2923
  """"""
2816
2924
  ...
2817
- def Vector2Multiply(v1: Vector2,v2: Vector2,) -> Vector2:
2925
+ def Vector2MoveTowards(v: Vector2|list|tuple,target: Vector2|list|tuple,maxDistance: float,) -> Vector2:
2818
2926
  """"""
2819
2927
  ...
2820
- def Vector2Negate(v: Vector2,) -> Vector2:
2928
+ def Vector2Multiply(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2821
2929
  """"""
2822
2930
  ...
2823
- def Vector2Normalize(v: Vector2,) -> Vector2:
2931
+ def Vector2Negate(v: Vector2|list|tuple,) -> Vector2:
2932
+ """"""
2933
+ ...
2934
+ def Vector2Normalize(v: Vector2|list|tuple,) -> Vector2:
2824
2935
  """"""
2825
2936
  ...
2826
2937
  def Vector2One() -> Vector2:
2827
2938
  """"""
2828
2939
  ...
2829
- def Vector2Reflect(v: Vector2,normal: Vector2,) -> Vector2:
2940
+ def Vector2Reflect(v: Vector2|list|tuple,normal: Vector2|list|tuple,) -> Vector2:
2941
+ """"""
2942
+ ...
2943
+ def Vector2Refract(v: Vector2|list|tuple,n: Vector2|list|tuple,r: float,) -> Vector2:
2830
2944
  """"""
2831
2945
  ...
2832
- def Vector2Rotate(v: Vector2,angle: float,) -> Vector2:
2946
+ def Vector2Rotate(v: Vector2|list|tuple,angle: float,) -> Vector2:
2833
2947
  """"""
2834
2948
  ...
2835
- def Vector2Scale(v: Vector2,scale: float,) -> Vector2:
2949
+ def Vector2Scale(v: Vector2|list|tuple,scale: float,) -> Vector2:
2836
2950
  """"""
2837
2951
  ...
2838
- def Vector2Subtract(v1: Vector2,v2: Vector2,) -> Vector2:
2952
+ def Vector2Subtract(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2839
2953
  """"""
2840
2954
  ...
2841
- def Vector2SubtractValue(v: Vector2,sub: float,) -> Vector2:
2955
+ def Vector2SubtractValue(v: Vector2|list|tuple,sub: float,) -> Vector2:
2842
2956
  """"""
2843
2957
  ...
2844
- def Vector2Transform(v: Vector2,mat: Matrix,) -> Vector2:
2958
+ def Vector2Transform(v: Vector2|list|tuple,mat: Matrix|list|tuple,) -> Vector2:
2845
2959
  """"""
2846
2960
  ...
2847
2961
  def Vector2Zero() -> Vector2:
2848
2962
  """"""
2849
2963
  ...
2850
- def Vector3Add(v1: Vector3,v2: Vector3,) -> Vector3:
2964
+ def Vector3Add(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2965
+ """"""
2966
+ ...
2967
+ def Vector3AddValue(v: Vector3|list|tuple,add: float,) -> Vector3:
2968
+ """"""
2969
+ ...
2970
+ def Vector3Angle(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
2851
2971
  """"""
2852
2972
  ...
2853
- def Vector3AddValue(v: Vector3,add: float,) -> Vector3:
2973
+ def Vector3Barycenter(p: Vector3|list|tuple,a: Vector3|list|tuple,b: Vector3|list|tuple,c: Vector3|list|tuple,) -> Vector3:
2854
2974
  """"""
2855
2975
  ...
2856
- def Vector3Angle(v1: Vector3,v2: Vector3,) -> float:
2976
+ def Vector3Clamp(v: Vector3|list|tuple,min_1: Vector3|list|tuple,max_2: Vector3|list|tuple,) -> Vector3:
2857
2977
  """"""
2858
2978
  ...
2859
- def Vector3Barycenter(p: Vector3,a: Vector3,b: Vector3,c: Vector3,) -> Vector3:
2979
+ def Vector3ClampValue(v: Vector3|list|tuple,min_1: float,max_2: float,) -> Vector3:
2860
2980
  """"""
2861
2981
  ...
2862
- def Vector3Clamp(v: Vector3,min_1: Vector3,max_2: Vector3,) -> Vector3:
2982
+ def Vector3CrossProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2863
2983
  """"""
2864
2984
  ...
2865
- def Vector3ClampValue(v: Vector3,min_1: float,max_2: float,) -> Vector3:
2985
+ def Vector3CubicHermite(v1: Vector3|list|tuple,tangent1: Vector3|list|tuple,v2: Vector3|list|tuple,tangent2: Vector3|list|tuple,amount: float,) -> Vector3:
2866
2986
  """"""
2867
2987
  ...
2868
- def Vector3CrossProduct(v1: Vector3,v2: Vector3,) -> Vector3:
2988
+ def Vector3Distance(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
2869
2989
  """"""
2870
2990
  ...
2871
- def Vector3Distance(v1: Vector3,v2: Vector3,) -> float:
2991
+ def Vector3DistanceSqr(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
2872
2992
  """"""
2873
2993
  ...
2874
- def Vector3DistanceSqr(v1: Vector3,v2: Vector3,) -> float:
2994
+ def Vector3Divide(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2875
2995
  """"""
2876
2996
  ...
2877
- def Vector3Divide(v1: Vector3,v2: Vector3,) -> Vector3:
2997
+ def Vector3DotProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
2878
2998
  """"""
2879
2999
  ...
2880
- def Vector3DotProduct(v1: Vector3,v2: Vector3,) -> float:
3000
+ def Vector3Equals(p: Vector3|list|tuple,q: Vector3|list|tuple,) -> int:
2881
3001
  """"""
2882
3002
  ...
2883
- def Vector3Equals(p: Vector3,q: Vector3,) -> int:
3003
+ def Vector3Invert(v: Vector3|list|tuple,) -> Vector3:
2884
3004
  """"""
2885
3005
  ...
2886
- def Vector3Invert(v: Vector3,) -> Vector3:
3006
+ def Vector3Length(v: Vector3|list|tuple,) -> float:
2887
3007
  """"""
2888
3008
  ...
2889
- def Vector3Length(v: Vector3,) -> float:
3009
+ def Vector3LengthSqr(v: Vector3|list|tuple,) -> float:
2890
3010
  """"""
2891
3011
  ...
2892
- def Vector3LengthSqr(v: Vector3,) -> float:
3012
+ def Vector3Lerp(v1: Vector3|list|tuple,v2: Vector3|list|tuple,amount: float,) -> Vector3:
2893
3013
  """"""
2894
3014
  ...
2895
- def Vector3Lerp(v1: Vector3,v2: Vector3,amount: float,) -> Vector3:
3015
+ def Vector3Max(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2896
3016
  """"""
2897
3017
  ...
2898
- def Vector3Max(v1: Vector3,v2: Vector3,) -> Vector3:
3018
+ def Vector3Min(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2899
3019
  """"""
2900
3020
  ...
2901
- def Vector3Min(v1: Vector3,v2: Vector3,) -> Vector3:
3021
+ def Vector3MoveTowards(v: Vector3|list|tuple,target: Vector3|list|tuple,maxDistance: float,) -> Vector3:
2902
3022
  """"""
2903
3023
  ...
2904
- def Vector3Multiply(v1: Vector3,v2: Vector3,) -> Vector3:
3024
+ def Vector3Multiply(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2905
3025
  """"""
2906
3026
  ...
2907
- def Vector3Negate(v: Vector3,) -> Vector3:
3027
+ def Vector3Negate(v: Vector3|list|tuple,) -> Vector3:
2908
3028
  """"""
2909
3029
  ...
2910
- def Vector3Normalize(v: Vector3,) -> Vector3:
3030
+ def Vector3Normalize(v: Vector3|list|tuple,) -> Vector3:
2911
3031
  """"""
2912
3032
  ...
2913
3033
  def Vector3One() -> Vector3:
2914
3034
  """"""
2915
3035
  ...
2916
- def Vector3OrthoNormalize(v1: Any,v2: Any,) -> None:
3036
+ def Vector3OrthoNormalize(v1: Any|list|tuple,v2: Any|list|tuple,) -> None:
2917
3037
  """"""
2918
3038
  ...
2919
- def Vector3Perpendicular(v: Vector3,) -> Vector3:
3039
+ def Vector3Perpendicular(v: Vector3|list|tuple,) -> Vector3:
2920
3040
  """"""
2921
3041
  ...
2922
- def Vector3Project(v1: Vector3,v2: Vector3,) -> Vector3:
3042
+ def Vector3Project(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2923
3043
  """"""
2924
3044
  ...
2925
- def Vector3Reflect(v: Vector3,normal: Vector3,) -> Vector3:
3045
+ def Vector3Reflect(v: Vector3|list|tuple,normal: Vector3|list|tuple,) -> Vector3:
2926
3046
  """"""
2927
3047
  ...
2928
- def Vector3Refract(v: Vector3,n: Vector3,r: float,) -> Vector3:
3048
+ def Vector3Refract(v: Vector3|list|tuple,n: Vector3|list|tuple,r: float,) -> Vector3:
2929
3049
  """"""
2930
3050
  ...
2931
- def Vector3Reject(v1: Vector3,v2: Vector3,) -> Vector3:
3051
+ def Vector3Reject(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2932
3052
  """"""
2933
3053
  ...
2934
- def Vector3RotateByAxisAngle(v: Vector3,axis: Vector3,angle: float,) -> Vector3:
3054
+ def Vector3RotateByAxisAngle(v: Vector3|list|tuple,axis: Vector3|list|tuple,angle: float,) -> Vector3:
2935
3055
  """"""
2936
3056
  ...
2937
- def Vector3RotateByQuaternion(v: Vector3,q: Vector4,) -> Vector3:
3057
+ def Vector3RotateByQuaternion(v: Vector3|list|tuple,q: Vector4|list|tuple,) -> Vector3:
2938
3058
  """"""
2939
3059
  ...
2940
- def Vector3Scale(v: Vector3,scalar: float,) -> Vector3:
3060
+ def Vector3Scale(v: Vector3|list|tuple,scalar: float,) -> Vector3:
2941
3061
  """"""
2942
3062
  ...
2943
- def Vector3Subtract(v1: Vector3,v2: Vector3,) -> Vector3:
3063
+ def Vector3Subtract(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
2944
3064
  """"""
2945
3065
  ...
2946
- def Vector3SubtractValue(v: Vector3,sub: float,) -> Vector3:
3066
+ def Vector3SubtractValue(v: Vector3|list|tuple,sub: float,) -> Vector3:
2947
3067
  """"""
2948
3068
  ...
2949
- def Vector3ToFloatV(v: Vector3,) -> float3:
3069
+ def Vector3ToFloatV(v: Vector3|list|tuple,) -> float3:
2950
3070
  """"""
2951
3071
  ...
2952
- def Vector3Transform(v: Vector3,mat: Matrix,) -> Vector3:
3072
+ def Vector3Transform(v: Vector3|list|tuple,mat: Matrix|list|tuple,) -> Vector3:
2953
3073
  """"""
2954
3074
  ...
2955
- def Vector3Unproject(source: Vector3,projection: Matrix,view: Matrix,) -> Vector3:
3075
+ def Vector3Unproject(source: Vector3|list|tuple,projection: Matrix|list|tuple,view: Matrix|list|tuple,) -> Vector3:
2956
3076
  """"""
2957
3077
  ...
2958
3078
  def Vector3Zero() -> Vector3:
2959
3079
  """"""
2960
3080
  ...
3081
+ def Vector4Add(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3082
+ """"""
3083
+ ...
3084
+ def Vector4AddValue(v: Vector4|list|tuple,add: float,) -> Vector4:
3085
+ """"""
3086
+ ...
3087
+ def Vector4Distance(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
3088
+ """"""
3089
+ ...
3090
+ def Vector4DistanceSqr(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
3091
+ """"""
3092
+ ...
3093
+ def Vector4Divide(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3094
+ """"""
3095
+ ...
3096
+ def Vector4DotProduct(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
3097
+ """"""
3098
+ ...
3099
+ def Vector4Equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int:
3100
+ """"""
3101
+ ...
3102
+ def Vector4Invert(v: Vector4|list|tuple,) -> Vector4:
3103
+ """"""
3104
+ ...
3105
+ def Vector4Length(v: Vector4|list|tuple,) -> float:
3106
+ """"""
3107
+ ...
3108
+ def Vector4LengthSqr(v: Vector4|list|tuple,) -> float:
3109
+ """"""
3110
+ ...
3111
+ def Vector4Lerp(v1: Vector4|list|tuple,v2: Vector4|list|tuple,amount: float,) -> Vector4:
3112
+ """"""
3113
+ ...
3114
+ def Vector4Max(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3115
+ """"""
3116
+ ...
3117
+ def Vector4Min(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3118
+ """"""
3119
+ ...
3120
+ def Vector4MoveTowards(v: Vector4|list|tuple,target: Vector4|list|tuple,maxDistance: float,) -> Vector4:
3121
+ """"""
3122
+ ...
3123
+ def Vector4Multiply(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3124
+ """"""
3125
+ ...
3126
+ def Vector4Negate(v: Vector4|list|tuple,) -> Vector4:
3127
+ """"""
3128
+ ...
3129
+ def Vector4Normalize(v: Vector4|list|tuple,) -> Vector4:
3130
+ """"""
3131
+ ...
3132
+ def Vector4One() -> Vector4:
3133
+ """"""
3134
+ ...
3135
+ def Vector4Scale(v: Vector4|list|tuple,scale: float,) -> Vector4:
3136
+ """"""
3137
+ ...
3138
+ def Vector4Subtract(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3139
+ """"""
3140
+ ...
3141
+ def Vector4SubtractValue(v: Vector4|list|tuple,add: float,) -> Vector4:
3142
+ """"""
3143
+ ...
3144
+ def Vector4Zero() -> Vector4:
3145
+ """"""
3146
+ ...
2961
3147
  def WaitTime(seconds: float,) -> None:
2962
3148
  """Wait for some time (halt program execution)"""
2963
3149
  ...
2964
- def WaveCopy(wave: Wave,) -> Wave:
3150
+ def WaveCopy(wave: Wave|list|tuple,) -> Wave:
2965
3151
  """Copy a wave to a new wave"""
2966
3152
  ...
2967
- def WaveCrop(wave: Any,initSample: int,finalSample: int,) -> None:
2968
- """Crop a wave to defined samples range"""
3153
+ def WaveCrop(wave: Any|list|tuple,initFrame: int,finalFrame: int,) -> None:
3154
+ """Crop a wave to defined frames range"""
2969
3155
  ...
2970
- def WaveFormat(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None:
3156
+ def WaveFormat(wave: Any|list|tuple,sampleRate: int,sampleSize: int,channels: int,) -> None:
2971
3157
  """Convert wave data to desired format"""
2972
3158
  ...
2973
3159
  def WindowShouldClose() -> bool:
@@ -2976,106 +3162,106 @@ def WindowShouldClose() -> bool:
2976
3162
  def Wrap(value: float,min_1: float,max_2: float,) -> float:
2977
3163
  """"""
2978
3164
  ...
2979
- def glfwCreateCursor(image: Any,xhot: int,yhot: int,) -> Any:
3165
+ def glfwCreateCursor(image: Any|list|tuple,xhot: int,yhot: int,) -> Any:
2980
3166
  """"""
2981
3167
  ...
2982
3168
  def glfwCreateStandardCursor(shape: int,) -> Any:
2983
3169
  """"""
2984
3170
  ...
2985
- def glfwCreateWindow(width: int,height: int,title: str,monitor: Any,share: Any,) -> Any:
3171
+ def glfwCreateWindow(width: int,height: int,title: bytes,monitor: Any|list|tuple,share: Any|list|tuple,) -> Any:
2986
3172
  """"""
2987
3173
  ...
2988
3174
  def glfwDefaultWindowHints() -> None:
2989
3175
  """"""
2990
3176
  ...
2991
- def glfwDestroyCursor(cursor: Any,) -> None:
3177
+ def glfwDestroyCursor(cursor: Any|list|tuple,) -> None:
2992
3178
  """"""
2993
3179
  ...
2994
- def glfwDestroyWindow(window: Any,) -> None:
3180
+ def glfwDestroyWindow(window: Any|list|tuple,) -> None:
2995
3181
  """"""
2996
3182
  ...
2997
- def glfwExtensionSupported(extension: str,) -> int:
3183
+ def glfwExtensionSupported(extension: bytes,) -> int:
2998
3184
  """"""
2999
3185
  ...
3000
- def glfwFocusWindow(window: Any,) -> None:
3186
+ def glfwFocusWindow(window: Any|list|tuple,) -> None:
3001
3187
  """"""
3002
3188
  ...
3003
- def glfwGetClipboardString(window: Any,) -> str:
3189
+ def glfwGetClipboardString(window: Any|list|tuple,) -> bytes:
3004
3190
  """"""
3005
3191
  ...
3006
3192
  def glfwGetCurrentContext() -> Any:
3007
3193
  """"""
3008
3194
  ...
3009
- def glfwGetCursorPos(window: Any,xpos: Any,ypos: Any,) -> None:
3195
+ def glfwGetCursorPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
3010
3196
  """"""
3011
3197
  ...
3012
- def glfwGetError(description: list[str],) -> int:
3198
+ def glfwGetError(description: list[bytes],) -> int:
3013
3199
  """"""
3014
3200
  ...
3015
- def glfwGetFramebufferSize(window: Any,width: Any,height: Any,) -> None:
3201
+ def glfwGetFramebufferSize(window: Any|list|tuple,width: Any,height: Any,) -> None:
3016
3202
  """"""
3017
3203
  ...
3018
- def glfwGetGamepadName(jid: int,) -> str:
3204
+ def glfwGetGamepadName(jid: int,) -> bytes:
3019
3205
  """"""
3020
3206
  ...
3021
- def glfwGetGamepadState(jid: int,state: Any,) -> int:
3207
+ def glfwGetGamepadState(jid: int,state: Any|list|tuple,) -> int:
3022
3208
  """"""
3023
3209
  ...
3024
- def glfwGetGammaRamp(monitor: Any,) -> Any:
3210
+ def glfwGetGammaRamp(monitor: Any|list|tuple,) -> Any:
3025
3211
  """"""
3026
3212
  ...
3027
- def glfwGetInputMode(window: Any,mode: int,) -> int:
3213
+ def glfwGetInputMode(window: Any|list|tuple,mode: int,) -> int:
3028
3214
  """"""
3029
3215
  ...
3030
3216
  def glfwGetJoystickAxes(jid: int,count: Any,) -> Any:
3031
3217
  """"""
3032
3218
  ...
3033
- def glfwGetJoystickButtons(jid: int,count: Any,) -> str:
3219
+ def glfwGetJoystickButtons(jid: int,count: Any,) -> bytes:
3034
3220
  """"""
3035
3221
  ...
3036
- def glfwGetJoystickGUID(jid: int,) -> str:
3222
+ def glfwGetJoystickGUID(jid: int,) -> bytes:
3037
3223
  """"""
3038
3224
  ...
3039
- def glfwGetJoystickHats(jid: int,count: Any,) -> str:
3225
+ def glfwGetJoystickHats(jid: int,count: Any,) -> bytes:
3040
3226
  """"""
3041
3227
  ...
3042
- def glfwGetJoystickName(jid: int,) -> str:
3228
+ def glfwGetJoystickName(jid: int,) -> bytes:
3043
3229
  """"""
3044
3230
  ...
3045
3231
  def glfwGetJoystickUserPointer(jid: int,) -> Any:
3046
3232
  """"""
3047
3233
  ...
3048
- def glfwGetKey(window: Any,key: int,) -> int:
3234
+ def glfwGetKey(window: Any|list|tuple,key: int,) -> int:
3049
3235
  """"""
3050
3236
  ...
3051
- def glfwGetKeyName(key: int,scancode: int,) -> str:
3237
+ def glfwGetKeyName(key: int,scancode: int,) -> bytes:
3052
3238
  """"""
3053
3239
  ...
3054
3240
  def glfwGetKeyScancode(key: int,) -> int:
3055
3241
  """"""
3056
3242
  ...
3057
- def glfwGetMonitorContentScale(monitor: Any,xscale: Any,yscale: Any,) -> None:
3243
+ def glfwGetMonitorContentScale(monitor: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
3058
3244
  """"""
3059
3245
  ...
3060
- def glfwGetMonitorName(monitor: Any,) -> str:
3246
+ def glfwGetMonitorName(monitor: Any|list|tuple,) -> bytes:
3061
3247
  """"""
3062
3248
  ...
3063
- def glfwGetMonitorPhysicalSize(monitor: Any,widthMM: Any,heightMM: Any,) -> None:
3249
+ def glfwGetMonitorPhysicalSize(monitor: Any|list|tuple,widthMM: Any,heightMM: Any,) -> None:
3064
3250
  """"""
3065
3251
  ...
3066
- def glfwGetMonitorPos(monitor: Any,xpos: Any,ypos: Any,) -> None:
3252
+ def glfwGetMonitorPos(monitor: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
3067
3253
  """"""
3068
3254
  ...
3069
- def glfwGetMonitorUserPointer(monitor: Any,) -> Any:
3255
+ def glfwGetMonitorUserPointer(monitor: Any|list|tuple,) -> Any:
3070
3256
  """"""
3071
3257
  ...
3072
- def glfwGetMonitorWorkarea(monitor: Any,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
3258
+ def glfwGetMonitorWorkarea(monitor: Any|list|tuple,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
3073
3259
  """"""
3074
3260
  ...
3075
3261
  def glfwGetMonitors(count: Any,) -> Any:
3076
3262
  """"""
3077
3263
  ...
3078
- def glfwGetMouseButton(window: Any,button: int,) -> int:
3264
+ def glfwGetMouseButton(window: Any|list|tuple,button: int,) -> int:
3079
3265
  """"""
3080
3266
  ...
3081
3267
  def glfwGetPlatform() -> int:
@@ -3084,10 +3270,10 @@ def glfwGetPlatform() -> int:
3084
3270
  def glfwGetPrimaryMonitor() -> Any:
3085
3271
  """"""
3086
3272
  ...
3087
- def glfwGetProcAddress(procname: str,) -> Any:
3273
+ def glfwGetProcAddress(procname: bytes,) -> Any:
3088
3274
  """"""
3089
3275
  ...
3090
- def glfwGetRequiredInstanceExtensions(count: Any,) -> list[str]:
3276
+ def glfwGetRequiredInstanceExtensions(count: Any,) -> list[bytes]:
3091
3277
  """"""
3092
3278
  ...
3093
3279
  def glfwGetTime() -> float:
@@ -3102,49 +3288,52 @@ def glfwGetTimerValue() -> int:
3102
3288
  def glfwGetVersion(major: Any,minor: Any,rev: Any,) -> None:
3103
3289
  """"""
3104
3290
  ...
3105
- def glfwGetVersionString() -> str:
3291
+ def glfwGetVersionString() -> bytes:
3106
3292
  """"""
3107
3293
  ...
3108
- def glfwGetVideoMode(monitor: Any,) -> Any:
3294
+ def glfwGetVideoMode(monitor: Any|list|tuple,) -> Any:
3109
3295
  """"""
3110
3296
  ...
3111
- def glfwGetVideoModes(monitor: Any,count: Any,) -> Any:
3297
+ def glfwGetVideoModes(monitor: Any|list|tuple,count: Any,) -> Any:
3112
3298
  """"""
3113
3299
  ...
3114
- def glfwGetWindowAttrib(window: Any,attrib: int,) -> int:
3300
+ def glfwGetWindowAttrib(window: Any|list|tuple,attrib: int,) -> int:
3115
3301
  """"""
3116
3302
  ...
3117
- def glfwGetWindowContentScale(window: Any,xscale: Any,yscale: Any,) -> None:
3303
+ def glfwGetWindowContentScale(window: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
3118
3304
  """"""
3119
3305
  ...
3120
- def glfwGetWindowFrameSize(window: Any,left: Any,top: Any,right: Any,bottom: Any,) -> None:
3306
+ def glfwGetWindowFrameSize(window: Any|list|tuple,left: Any,top: Any,right: Any,bottom: Any,) -> None:
3121
3307
  """"""
3122
3308
  ...
3123
- def glfwGetWindowMonitor(window: Any,) -> Any:
3309
+ def glfwGetWindowMonitor(window: Any|list|tuple,) -> Any:
3124
3310
  """"""
3125
3311
  ...
3126
- def glfwGetWindowOpacity(window: Any,) -> float:
3312
+ def glfwGetWindowOpacity(window: Any|list|tuple,) -> float:
3127
3313
  """"""
3128
3314
  ...
3129
- def glfwGetWindowPos(window: Any,xpos: Any,ypos: Any,) -> None:
3315
+ def glfwGetWindowPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
3130
3316
  """"""
3131
3317
  ...
3132
- def glfwGetWindowSize(window: Any,width: Any,height: Any,) -> None:
3318
+ def glfwGetWindowSize(window: Any|list|tuple,width: Any,height: Any,) -> None:
3133
3319
  """"""
3134
3320
  ...
3135
- def glfwGetWindowUserPointer(window: Any,) -> Any:
3321
+ def glfwGetWindowTitle(window: Any|list|tuple,) -> bytes:
3136
3322
  """"""
3137
3323
  ...
3138
- def glfwHideWindow(window: Any,) -> None:
3324
+ def glfwGetWindowUserPointer(window: Any|list|tuple,) -> Any:
3139
3325
  """"""
3140
3326
  ...
3141
- def glfwIconifyWindow(window: Any,) -> None:
3327
+ def glfwHideWindow(window: Any|list|tuple,) -> None:
3328
+ """"""
3329
+ ...
3330
+ def glfwIconifyWindow(window: Any|list|tuple,) -> None:
3142
3331
  """"""
3143
3332
  ...
3144
3333
  def glfwInit() -> int:
3145
3334
  """"""
3146
3335
  ...
3147
- def glfwInitAllocator(allocator: Any,) -> None:
3336
+ def glfwInitAllocator(allocator: Any|list|tuple,) -> None:
3148
3337
  """"""
3149
3338
  ...
3150
3339
  def glfwInitHint(hint: int,value: int,) -> None:
@@ -3156,10 +3345,10 @@ def glfwJoystickIsGamepad(jid: int,) -> int:
3156
3345
  def glfwJoystickPresent(jid: int,) -> int:
3157
3346
  """"""
3158
3347
  ...
3159
- def glfwMakeContextCurrent(window: Any,) -> None:
3348
+ def glfwMakeContextCurrent(window: Any|list|tuple,) -> None:
3160
3349
  """"""
3161
3350
  ...
3162
- def glfwMaximizeWindow(window: Any,) -> None:
3351
+ def glfwMaximizeWindow(window: Any|list|tuple,) -> None:
3163
3352
  """"""
3164
3353
  ...
3165
3354
  def glfwPlatformSupported(platform: int,) -> int:
@@ -3174,49 +3363,49 @@ def glfwPostEmptyEvent() -> None:
3174
3363
  def glfwRawMouseMotionSupported() -> int:
3175
3364
  """"""
3176
3365
  ...
3177
- def glfwRequestWindowAttention(window: Any,) -> None:
3366
+ def glfwRequestWindowAttention(window: Any|list|tuple,) -> None:
3178
3367
  """"""
3179
3368
  ...
3180
- def glfwRestoreWindow(window: Any,) -> None:
3369
+ def glfwRestoreWindow(window: Any|list|tuple,) -> None:
3181
3370
  """"""
3182
3371
  ...
3183
- def glfwSetCharCallback(window: Any,callback: Any,) -> Any:
3372
+ def glfwSetCharCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3184
3373
  """"""
3185
3374
  ...
3186
- def glfwSetCharModsCallback(window: Any,callback: Any,) -> Any:
3375
+ def glfwSetCharModsCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3187
3376
  """"""
3188
3377
  ...
3189
- def glfwSetClipboardString(window: Any,string: str,) -> None:
3378
+ def glfwSetClipboardString(window: Any|list|tuple,string: bytes,) -> None:
3190
3379
  """"""
3191
3380
  ...
3192
- def glfwSetCursor(window: Any,cursor: Any,) -> None:
3381
+ def glfwSetCursor(window: Any|list|tuple,cursor: Any|list|tuple,) -> None:
3193
3382
  """"""
3194
3383
  ...
3195
- def glfwSetCursorEnterCallback(window: Any,callback: Any,) -> Any:
3384
+ def glfwSetCursorEnterCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3196
3385
  """"""
3197
3386
  ...
3198
- def glfwSetCursorPos(window: Any,xpos: float,ypos: float,) -> None:
3387
+ def glfwSetCursorPos(window: Any|list|tuple,xpos: float,ypos: float,) -> None:
3199
3388
  """"""
3200
3389
  ...
3201
- def glfwSetCursorPosCallback(window: Any,callback: Any,) -> Any:
3390
+ def glfwSetCursorPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3202
3391
  """"""
3203
3392
  ...
3204
- def glfwSetDropCallback(window: Any,callback: list[str],) -> list[str]:
3393
+ def glfwSetDropCallback(window: Any|list|tuple,callback: list[bytes]|list|tuple,) -> list[bytes]:
3205
3394
  """"""
3206
3395
  ...
3207
- def glfwSetErrorCallback(callback: str,) -> str:
3396
+ def glfwSetErrorCallback(callback: bytes,) -> bytes:
3208
3397
  """"""
3209
3398
  ...
3210
- def glfwSetFramebufferSizeCallback(window: Any,callback: Any,) -> Any:
3399
+ def glfwSetFramebufferSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3211
3400
  """"""
3212
3401
  ...
3213
- def glfwSetGamma(monitor: Any,gamma: float,) -> None:
3402
+ def glfwSetGamma(monitor: Any|list|tuple,gamma: float,) -> None:
3214
3403
  """"""
3215
3404
  ...
3216
- def glfwSetGammaRamp(monitor: Any,ramp: Any,) -> None:
3405
+ def glfwSetGammaRamp(monitor: Any|list|tuple,ramp: Any|list|tuple,) -> None:
3217
3406
  """"""
3218
3407
  ...
3219
- def glfwSetInputMode(window: Any,mode: int,value: int,) -> None:
3408
+ def glfwSetInputMode(window: Any|list|tuple,mode: int,value: int,) -> None:
3220
3409
  """"""
3221
3410
  ...
3222
3411
  def glfwSetJoystickCallback(callback: Any,) -> Any:
@@ -3225,85 +3414,85 @@ def glfwSetJoystickCallback(callback: Any,) -> Any:
3225
3414
  def glfwSetJoystickUserPointer(jid: int,pointer: Any,) -> None:
3226
3415
  """"""
3227
3416
  ...
3228
- def glfwSetKeyCallback(window: Any,callback: Any,) -> Any:
3417
+ def glfwSetKeyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3229
3418
  """"""
3230
3419
  ...
3231
- def glfwSetMonitorCallback(callback: Any,) -> Any:
3420
+ def glfwSetMonitorCallback(callback: Any|list|tuple,) -> Any:
3232
3421
  """"""
3233
3422
  ...
3234
- def glfwSetMonitorUserPointer(monitor: Any,pointer: Any,) -> None:
3423
+ def glfwSetMonitorUserPointer(monitor: Any|list|tuple,pointer: Any,) -> None:
3235
3424
  """"""
3236
3425
  ...
3237
- def glfwSetMouseButtonCallback(window: Any,callback: Any,) -> Any:
3426
+ def glfwSetMouseButtonCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3238
3427
  """"""
3239
3428
  ...
3240
- def glfwSetScrollCallback(window: Any,callback: Any,) -> Any:
3429
+ def glfwSetScrollCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3241
3430
  """"""
3242
3431
  ...
3243
3432
  def glfwSetTime(time: float,) -> None:
3244
3433
  """"""
3245
3434
  ...
3246
- def glfwSetWindowAspectRatio(window: Any,numer: int,denom: int,) -> None:
3435
+ def glfwSetWindowAspectRatio(window: Any|list|tuple,numer: int,denom: int,) -> None:
3247
3436
  """"""
3248
3437
  ...
3249
- def glfwSetWindowAttrib(window: Any,attrib: int,value: int,) -> None:
3438
+ def glfwSetWindowAttrib(window: Any|list|tuple,attrib: int,value: int,) -> None:
3250
3439
  """"""
3251
3440
  ...
3252
- def glfwSetWindowCloseCallback(window: Any,callback: Any,) -> Any:
3441
+ def glfwSetWindowCloseCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3253
3442
  """"""
3254
3443
  ...
3255
- def glfwSetWindowContentScaleCallback(window: Any,callback: Any,) -> Any:
3444
+ def glfwSetWindowContentScaleCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3256
3445
  """"""
3257
3446
  ...
3258
- def glfwSetWindowFocusCallback(window: Any,callback: Any,) -> Any:
3447
+ def glfwSetWindowFocusCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3259
3448
  """"""
3260
3449
  ...
3261
- def glfwSetWindowIcon(window: Any,count: int,images: Any,) -> None:
3450
+ def glfwSetWindowIcon(window: Any|list|tuple,count: int,images: Any|list|tuple,) -> None:
3262
3451
  """"""
3263
3452
  ...
3264
- def glfwSetWindowIconifyCallback(window: Any,callback: Any,) -> Any:
3453
+ def glfwSetWindowIconifyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3265
3454
  """"""
3266
3455
  ...
3267
- def glfwSetWindowMaximizeCallback(window: Any,callback: Any,) -> Any:
3456
+ def glfwSetWindowMaximizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3268
3457
  """"""
3269
3458
  ...
3270
- def glfwSetWindowMonitor(window: Any,monitor: Any,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
3459
+ def glfwSetWindowMonitor(window: Any|list|tuple,monitor: Any|list|tuple,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
3271
3460
  """"""
3272
3461
  ...
3273
- def glfwSetWindowOpacity(window: Any,opacity: float,) -> None:
3462
+ def glfwSetWindowOpacity(window: Any|list|tuple,opacity: float,) -> None:
3274
3463
  """"""
3275
3464
  ...
3276
- def glfwSetWindowPos(window: Any,xpos: int,ypos: int,) -> None:
3465
+ def glfwSetWindowPos(window: Any|list|tuple,xpos: int,ypos: int,) -> None:
3277
3466
  """"""
3278
3467
  ...
3279
- def glfwSetWindowPosCallback(window: Any,callback: Any,) -> Any:
3468
+ def glfwSetWindowPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3280
3469
  """"""
3281
3470
  ...
3282
- def glfwSetWindowRefreshCallback(window: Any,callback: Any,) -> Any:
3471
+ def glfwSetWindowRefreshCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3283
3472
  """"""
3284
3473
  ...
3285
- def glfwSetWindowShouldClose(window: Any,value: int,) -> None:
3474
+ def glfwSetWindowShouldClose(window: Any|list|tuple,value: int,) -> None:
3286
3475
  """"""
3287
3476
  ...
3288
- def glfwSetWindowSize(window: Any,width: int,height: int,) -> None:
3477
+ def glfwSetWindowSize(window: Any|list|tuple,width: int,height: int,) -> None:
3289
3478
  """"""
3290
3479
  ...
3291
- def glfwSetWindowSizeCallback(window: Any,callback: Any,) -> Any:
3480
+ def glfwSetWindowSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3292
3481
  """"""
3293
3482
  ...
3294
- def glfwSetWindowSizeLimits(window: Any,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
3483
+ def glfwSetWindowSizeLimits(window: Any|list|tuple,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
3295
3484
  """"""
3296
3485
  ...
3297
- def glfwSetWindowTitle(window: Any,title: str,) -> None:
3486
+ def glfwSetWindowTitle(window: Any|list|tuple,title: bytes,) -> None:
3298
3487
  """"""
3299
3488
  ...
3300
- def glfwSetWindowUserPointer(window: Any,pointer: Any,) -> None:
3489
+ def glfwSetWindowUserPointer(window: Any|list|tuple,pointer: Any,) -> None:
3301
3490
  """"""
3302
3491
  ...
3303
- def glfwShowWindow(window: Any,) -> None:
3492
+ def glfwShowWindow(window: Any|list|tuple,) -> None:
3304
3493
  """"""
3305
3494
  ...
3306
- def glfwSwapBuffers(window: Any,) -> None:
3495
+ def glfwSwapBuffers(window: Any|list|tuple,) -> None:
3307
3496
  """"""
3308
3497
  ...
3309
3498
  def glfwSwapInterval(interval: int,) -> None:
@@ -3312,7 +3501,7 @@ def glfwSwapInterval(interval: int,) -> None:
3312
3501
  def glfwTerminate() -> None:
3313
3502
  """"""
3314
3503
  ...
3315
- def glfwUpdateGamepadMappings(string: str,) -> int:
3504
+ def glfwUpdateGamepadMappings(string: bytes,) -> int:
3316
3505
  """"""
3317
3506
  ...
3318
3507
  def glfwVulkanSupported() -> int:
@@ -3327,10 +3516,10 @@ def glfwWaitEventsTimeout(timeout: float,) -> None:
3327
3516
  def glfwWindowHint(hint: int,value: int,) -> None:
3328
3517
  """"""
3329
3518
  ...
3330
- def glfwWindowHintString(hint: int,value: str,) -> None:
3519
+ def glfwWindowHintString(hint: int,value: bytes,) -> None:
3331
3520
  """"""
3332
3521
  ...
3333
- def glfwWindowShouldClose(window: Any,) -> int:
3522
+ def glfwWindowShouldClose(window: Any|list|tuple,) -> int:
3334
3523
  """"""
3335
3524
  ...
3336
3525
  def rlActiveDrawBuffers(count: int,) -> None:
@@ -3342,6 +3531,9 @@ def rlActiveTextureSlot(slot: int,) -> None:
3342
3531
  def rlBegin(mode: int,) -> None:
3343
3532
  """Initialize drawing mode (how to organize vertex)"""
3344
3533
  ...
3534
+ def rlBindFramebuffer(target: int,framebuffer: int,) -> None:
3535
+ """Bind framebuffer (FBO)"""
3536
+ ...
3345
3537
  def rlBindImageTexture(id: int,index: int,format: int,readonly: bool,) -> None:
3346
3538
  """Bind image texture"""
3347
3539
  ...
@@ -3357,7 +3549,7 @@ def rlCheckErrors() -> None:
3357
3549
  def rlCheckRenderBatchLimit(vCount: int,) -> bool:
3358
3550
  """Check internal buffer overflow for a given number of vertex"""
3359
3551
  ...
3360
- def rlClearColor(r: str,g: str,b: str,a: str,) -> None:
3552
+ def rlClearColor(r: bytes,g: bytes,b: bytes,a: bytes,) -> None:
3361
3553
  """Clear color buffer with color"""
3362
3554
  ...
3363
3555
  def rlClearScreenBuffers() -> None:
@@ -3369,10 +3561,13 @@ def rlColor3f(x: float,y: float,z: float,) -> None:
3369
3561
  def rlColor4f(x: float,y: float,z: float,w: float,) -> None:
3370
3562
  """Define one vertex (color) - 4 float"""
3371
3563
  ...
3372
- def rlColor4ub(r: str,g: str,b: str,a: str,) -> None:
3564
+ def rlColor4ub(r: bytes,g: bytes,b: bytes,a: bytes,) -> None:
3373
3565
  """Define one vertex (color) - 4 byte"""
3374
3566
  ...
3375
- def rlCompileShader(shaderCode: str,type: int,) -> int:
3567
+ def rlColorMask(r: bool,g: bool,b: bool,a: bool,) -> None:
3568
+ """Color mask control"""
3569
+ ...
3570
+ def rlCompileShader(shaderCode: bytes,type: int,) -> int:
3376
3571
  """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)"""
3377
3572
  ...
3378
3573
  def rlComputeShaderDispatch(groupX: int,groupY: int,groupZ: int,) -> None:
@@ -3430,25 +3625,25 @@ def rlDisableVertexBufferElement() -> None:
3430
3625
  """Disable vertex buffer element (VBO element)"""
3431
3626
  ...
3432
3627
  def rlDisableWireMode() -> None:
3433
- """Disable wire mode ( and point ) maybe rename"""
3628
+ """Disable wire (and point) mode"""
3434
3629
  ...
3435
- def rlDrawRenderBatch(batch: Any,) -> None:
3630
+ def rlDrawRenderBatch(batch: Any|list|tuple,) -> None:
3436
3631
  """Draw render batch data (Update->Draw->Reset)"""
3437
3632
  ...
3438
3633
  def rlDrawRenderBatchActive() -> None:
3439
3634
  """Update and draw internal render batch"""
3440
3635
  ...
3441
3636
  def rlDrawVertexArray(offset: int,count: int,) -> None:
3442
- """"""
3637
+ """Draw vertex array (currently active vao)"""
3443
3638
  ...
3444
3639
  def rlDrawVertexArrayElements(offset: int,count: int,buffer: Any,) -> None:
3445
- """"""
3640
+ """Draw vertex array elements"""
3446
3641
  ...
3447
3642
  def rlDrawVertexArrayElementsInstanced(offset: int,count: int,buffer: Any,instances: int,) -> None:
3448
- """"""
3643
+ """Draw vertex array elements with instancing"""
3449
3644
  ...
3450
3645
  def rlDrawVertexArrayInstanced(offset: int,count: int,instances: int,) -> None:
3451
- """"""
3646
+ """Draw vertex array (currently active vao) with instancing"""
3452
3647
  ...
3453
3648
  def rlEnableBackfaceCulling() -> None:
3454
3649
  """Enable backface culling"""
@@ -3516,6 +3711,15 @@ def rlFrustum(left: float,right: float,bottom: float,top: float,znear: float,zfa
3516
3711
  def rlGenTextureMipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None:
3517
3712
  """Generate mipmap data for selected texture"""
3518
3713
  ...
3714
+ def rlGetActiveFramebuffer() -> int:
3715
+ """Get the currently active render texture (fbo), 0 for default framebuffer"""
3716
+ ...
3717
+ def rlGetCullDistanceFar() -> float:
3718
+ """Get cull plane distance far"""
3719
+ ...
3720
+ def rlGetCullDistanceNear() -> float:
3721
+ """Get cull plane distance near"""
3722
+ ...
3519
3723
  def rlGetFramebufferHeight() -> int:
3520
3724
  """Get default framebuffer height"""
3521
3725
  ...
@@ -3528,10 +3732,10 @@ def rlGetGlTextureFormats(format: int,glInternalFormat: Any,glFormat: Any,glType
3528
3732
  def rlGetLineWidth() -> float:
3529
3733
  """Get the line drawing width"""
3530
3734
  ...
3531
- def rlGetLocationAttrib(shaderId: int,attribName: str,) -> int:
3735
+ def rlGetLocationAttrib(shaderId: int,attribName: bytes,) -> int:
3532
3736
  """Get shader location attribute"""
3533
3737
  ...
3534
- def rlGetLocationUniform(shaderId: int,uniformName: str,) -> int:
3738
+ def rlGetLocationUniform(shaderId: int,uniformName: bytes,) -> int:
3535
3739
  """Get shader location uniform"""
3536
3740
  ...
3537
3741
  def rlGetMatrixModelview() -> Matrix:
@@ -3549,7 +3753,7 @@ def rlGetMatrixTransform() -> Matrix:
3549
3753
  def rlGetMatrixViewOffsetStereo(eye: int,) -> Matrix:
3550
3754
  """Get internal view offset matrix for stereo render (selected eye)"""
3551
3755
  ...
3552
- def rlGetPixelFormatName(format: int,) -> str:
3756
+ def rlGetPixelFormatName(format: int,) -> bytes:
3553
3757
  """Get name string for pixel format"""
3554
3758
  ...
3555
3759
  def rlGetShaderBufferSize(id: int,) -> int:
@@ -3582,7 +3786,7 @@ def rlLoadDrawQuad() -> None:
3582
3786
  def rlLoadExtensions(loader: Any,) -> None:
3583
3787
  """Load OpenGL extensions (loader function required)"""
3584
3788
  ...
3585
- def rlLoadFramebuffer(width: int,height: int,) -> int:
3789
+ def rlLoadFramebuffer() -> int:
3586
3790
  """Load an empty framebuffer"""
3587
3791
  ...
3588
3792
  def rlLoadIdentity() -> None:
@@ -3594,17 +3798,17 @@ def rlLoadRenderBatch(numBuffers: int,bufferElements: int,) -> rlRenderBatch:
3594
3798
  def rlLoadShaderBuffer(size: int,data: Any,usageHint: int,) -> int:
3595
3799
  """Load shader storage buffer object (SSBO)"""
3596
3800
  ...
3597
- def rlLoadShaderCode(vsCode: str,fsCode: str,) -> int:
3801
+ def rlLoadShaderCode(vsCode: bytes,fsCode: bytes,) -> int:
3598
3802
  """Load shader from code strings"""
3599
3803
  ...
3600
3804
  def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int:
3601
3805
  """Load custom shader program"""
3602
3806
  ...
3603
3807
  def rlLoadTexture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int:
3604
- """Load texture in GPU"""
3808
+ """Load texture data"""
3605
3809
  ...
3606
- def rlLoadTextureCubemap(data: Any,size: int,format: int,) -> int:
3607
- """Load texture cubemap"""
3810
+ def rlLoadTextureCubemap(data: Any,size: int,format: int,mipmapCount: int,) -> int:
3811
+ """Load texture cubemap data"""
3608
3812
  ...
3609
3813
  def rlLoadTextureDepth(width: int,height: int,useRenderBuffer: bool,) -> int:
3610
3814
  """Load depth texture/renderbuffer (to be attached to fbo)"""
@@ -3613,10 +3817,10 @@ def rlLoadVertexArray() -> int:
3613
3817
  """Load vertex array (vao) if supported"""
3614
3818
  ...
3615
3819
  def rlLoadVertexBuffer(buffer: Any,size: int,dynamic: bool,) -> int:
3616
- """Load a vertex buffer attribute"""
3820
+ """Load a vertex buffer object"""
3617
3821
  ...
3618
3822
  def rlLoadVertexBufferElement(buffer: Any,size: int,dynamic: bool,) -> int:
3619
- """Load a new attributes element buffer"""
3823
+ """Load vertex buffer elements object"""
3620
3824
  ...
3621
3825
  def rlMatrixMode(mode: int,) -> None:
3622
3826
  """Choose the current matrix to be transformed"""
@@ -3636,7 +3840,7 @@ def rlPopMatrix() -> None:
3636
3840
  def rlPushMatrix() -> None:
3637
3841
  """Push the current matrix to stack"""
3638
3842
  ...
3639
- def rlReadScreenPixels(width: int,height: int,) -> str:
3843
+ def rlReadScreenPixels(width: int,height: int,) -> bytes:
3640
3844
  """Read screen pixel data (color buffer)"""
3641
3845
  ...
3642
3846
  def rlReadShaderBuffer(id: int,dest: Any,count: int,offset: int,) -> None:
@@ -3663,6 +3867,9 @@ def rlSetBlendFactorsSeparate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstA
3663
3867
  def rlSetBlendMode(mode: int,) -> None:
3664
3868
  """Set blending mode"""
3665
3869
  ...
3870
+ def rlSetClipPlanes(nearPlane: float,farPlane: float,) -> None:
3871
+ """Set clip planes distances"""
3872
+ ...
3666
3873
  def rlSetCullFace(mode: int,) -> None:
3667
3874
  """Set face culling mode"""
3668
3875
  ...
@@ -3675,19 +3882,19 @@ def rlSetFramebufferWidth(width: int,) -> None:
3675
3882
  def rlSetLineWidth(width: float,) -> None:
3676
3883
  """Set the line drawing width"""
3677
3884
  ...
3678
- def rlSetMatrixModelview(view: Matrix,) -> None:
3885
+ def rlSetMatrixModelview(view: Matrix|list|tuple,) -> None:
3679
3886
  """Set a custom modelview matrix (replaces internal modelview matrix)"""
3680
3887
  ...
3681
- def rlSetMatrixProjection(proj: Matrix,) -> None:
3888
+ def rlSetMatrixProjection(proj: Matrix|list|tuple,) -> None:
3682
3889
  """Set a custom projection matrix (replaces internal projection matrix)"""
3683
3890
  ...
3684
- def rlSetMatrixProjectionStereo(right: Matrix,left: Matrix,) -> None:
3891
+ def rlSetMatrixProjectionStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
3685
3892
  """Set eyes projection matrices for stereo rendering"""
3686
3893
  ...
3687
- def rlSetMatrixViewOffsetStereo(right: Matrix,left: Matrix,) -> None:
3894
+ def rlSetMatrixViewOffsetStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
3688
3895
  """Set eyes view offsets matrices for stereo rendering"""
3689
3896
  ...
3690
- def rlSetRenderBatchActive(batch: Any,) -> None:
3897
+ def rlSetRenderBatchActive(batch: Any|list|tuple,) -> None:
3691
3898
  """Set the active render batch for rlgl (NULL for default internal)"""
3692
3899
  ...
3693
3900
  def rlSetShader(id: int,locs: Any,) -> None:
@@ -3699,20 +3906,23 @@ def rlSetTexture(id: int,) -> None:
3699
3906
  def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None:
3700
3907
  """Set shader value uniform"""
3701
3908
  ...
3702
- def rlSetUniformMatrix(locIndex: int,mat: Matrix,) -> None:
3909
+ def rlSetUniformMatrices(locIndex: int,mat: Any|list|tuple,count: int,) -> None:
3910
+ """Set shader value matrices"""
3911
+ ...
3912
+ def rlSetUniformMatrix(locIndex: int,mat: Matrix|list|tuple,) -> None:
3703
3913
  """Set shader value matrix"""
3704
3914
  ...
3705
3915
  def rlSetUniformSampler(locIndex: int,textureId: int,) -> None:
3706
3916
  """Set shader value sampler"""
3707
3917
  ...
3708
- def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,pointer: Any,) -> None:
3709
- """"""
3918
+ def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,offset: int,) -> None:
3919
+ """Set vertex attribute data configuration"""
3710
3920
  ...
3711
3921
  def rlSetVertexAttributeDefault(locIndex: int,value: Any,attribType: int,count: int,) -> None:
3712
- """Set vertex attribute default value"""
3922
+ """Set vertex attribute default value, when attribute to provided"""
3713
3923
  ...
3714
3924
  def rlSetVertexAttributeDivisor(index: int,divisor: int,) -> None:
3715
- """"""
3925
+ """Set vertex attribute data divisor"""
3716
3926
  ...
3717
3927
  def rlTexCoord2f(x: float,y: float,) -> None:
3718
3928
  """Define one vertex (texture coordinate) - 2 float"""
@@ -3726,7 +3936,7 @@ def rlTranslatef(x: float,y: float,z: float,) -> None:
3726
3936
  def rlUnloadFramebuffer(id: int,) -> None:
3727
3937
  """Delete framebuffer from GPU"""
3728
3938
  ...
3729
- def rlUnloadRenderBatch(batch: rlRenderBatch,) -> None:
3939
+ def rlUnloadRenderBatch(batch: rlRenderBatch|list|tuple,) -> None:
3730
3940
  """Unload render batch system"""
3731
3941
  ...
3732
3942
  def rlUnloadShaderBuffer(ssboId: int,) -> None:
@@ -3739,22 +3949,22 @@ def rlUnloadTexture(id: int,) -> None:
3739
3949
  """Unload texture from GPU memory"""
3740
3950
  ...
3741
3951
  def rlUnloadVertexArray(vaoId: int,) -> None:
3742
- """"""
3952
+ """Unload vertex array (vao)"""
3743
3953
  ...
3744
3954
  def rlUnloadVertexBuffer(vboId: int,) -> None:
3745
- """"""
3955
+ """Unload vertex buffer object"""
3746
3956
  ...
3747
3957
  def rlUpdateShaderBuffer(id: int,data: Any,dataSize: int,offset: int,) -> None:
3748
3958
  """Update SSBO buffer data"""
3749
3959
  ...
3750
3960
  def rlUpdateTexture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None:
3751
- """Update GPU texture with new data"""
3961
+ """Update texture with new data on GPU"""
3752
3962
  ...
3753
3963
  def rlUpdateVertexBuffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None:
3754
- """Update GPU buffer with new data"""
3964
+ """Update vertex buffer object data on GPU buffer"""
3755
3965
  ...
3756
3966
  def rlUpdateVertexBufferElements(id: int,data: Any,dataSize: int,offset: int,) -> None:
3757
- """Update vertex buffer elements with new data"""
3967
+ """Update vertex buffer elements data on GPU buffer"""
3758
3968
  ...
3759
3969
  def rlVertex2f(x: float,y: float,) -> None:
3760
3970
  """Define one vertex (position) - 2 float"""
@@ -3774,118 +3984,395 @@ def rlglClose() -> None:
3774
3984
  def rlglInit(width: int,height: int,) -> None:
3775
3985
  """Initialize rlgl (buffers, shaders, textures, states)"""
3776
3986
  ...
3777
- AudioStream: struct
3778
- AutomationEvent: struct
3779
- AutomationEventList: struct
3780
- BlendMode: int
3781
- BoneInfo: struct
3782
- BoundingBox: struct
3783
- Camera: struct
3784
- Camera2D: struct
3785
- Camera3D: struct
3786
- CameraMode: int
3787
- CameraProjection: int
3788
- Color: struct
3789
- ConfigFlags: int
3790
- CubemapLayout: int
3791
- FilePathList: struct
3792
- Font: struct
3793
- FontType: int
3794
- GLFWallocator: struct
3795
- GLFWcursor: struct
3796
- GLFWgamepadstate: struct
3797
- GLFWgammaramp: struct
3798
- GLFWimage: struct
3799
- GLFWmonitor: struct
3800
- GLFWvidmode: struct
3801
- GLFWwindow: struct
3802
- GamepadAxis: int
3803
- GamepadButton: int
3804
- Gesture: int
3805
- GlyphInfo: struct
3806
- GuiCheckBoxProperty: int
3807
- GuiColorPickerProperty: int
3808
- GuiComboBoxProperty: int
3809
- GuiControl: int
3810
- GuiControlProperty: int
3811
- GuiDefaultProperty: int
3812
- GuiDropdownBoxProperty: int
3813
- GuiIconName: int
3814
- GuiListViewProperty: int
3815
- GuiProgressBarProperty: int
3816
- GuiScrollBarProperty: int
3817
- GuiSliderProperty: int
3818
- GuiSpinnerProperty: int
3819
- GuiState: int
3820
- GuiStyleProp: struct
3821
- GuiTextAlignment: int
3822
- GuiTextAlignmentVertical: int
3823
- GuiTextBoxProperty: int
3824
- GuiTextWrapMode: int
3825
- GuiToggleProperty: int
3826
- Image: struct
3827
- KeyboardKey: int
3828
- Material: struct
3829
- MaterialMap: struct
3830
- MaterialMapIndex: int
3831
- Matrix: struct
3832
- Matrix2x2: struct
3833
- Mesh: struct
3834
- Model: struct
3835
- ModelAnimation: struct
3836
- MouseButton: int
3837
- MouseCursor: int
3838
- Music: struct
3839
- NPatchInfo: struct
3840
- NPatchLayout: int
3841
- PhysicsBodyData: struct
3842
- PhysicsManifoldData: struct
3843
- PhysicsShape: struct
3844
- PhysicsShapeType: int
3845
- PhysicsVertexData: struct
3846
- PixelFormat: int
3847
- Quaternion: struct
3848
- Ray: struct
3849
- RayCollision: struct
3850
- Rectangle: struct
3851
- RenderTexture: struct
3852
- RenderTexture2D: struct
3853
- Shader: struct
3854
- ShaderAttributeDataType: int
3855
- ShaderLocationIndex: int
3856
- ShaderUniformDataType: int
3857
- Sound: struct
3858
- Texture: struct
3859
- Texture2D: struct
3860
- TextureCubemap: struct
3861
- TextureFilter: int
3862
- TextureWrap: int
3863
- TraceLogLevel: int
3864
- Transform: struct
3865
- Vector2: struct
3866
- Vector3: struct
3867
- Vector4: struct
3868
- VrDeviceInfo: struct
3869
- VrStereoConfig: struct
3870
- Wave: struct
3871
- float16: struct
3872
- float3: struct
3873
- rAudioBuffer: struct
3874
- rAudioProcessor: struct
3875
- rlBlendMode: int
3876
- rlCullMode: int
3877
- rlDrawCall: struct
3878
- rlFramebufferAttachTextureType: int
3879
- rlFramebufferAttachType: int
3880
- rlGlVersion: int
3881
- rlPixelFormat: int
3882
- rlRenderBatch: struct
3883
- rlShaderAttributeDataType: int
3884
- rlShaderLocationIndex: int
3885
- rlShaderUniformDataType: int
3886
- rlTextureFilter: int
3887
- rlTraceLogLevel: int
3888
- rlVertexBuffer: struct
3987
+ class AudioStream:
3988
+ buffer: Any
3989
+ processor: Any
3990
+ sampleRate: int
3991
+ sampleSize: int
3992
+ channels: int
3993
+ class AutomationEvent:
3994
+ frame: int
3995
+ type: int
3996
+ params: list
3997
+ class AutomationEventList:
3998
+ capacity: int
3999
+ count: int
4000
+ events: Any
4001
+ BlendMode = int
4002
+ class BoneInfo:
4003
+ name: bytes
4004
+ parent: int
4005
+ class BoundingBox:
4006
+ min: Vector3
4007
+ max: Vector3
4008
+ class Camera:
4009
+ position: Vector3
4010
+ target: Vector3
4011
+ up: Vector3
4012
+ fovy: float
4013
+ projection: int
4014
+ class Camera2D:
4015
+ offset: Vector2
4016
+ target: Vector2
4017
+ rotation: float
4018
+ zoom: float
4019
+ class Camera3D:
4020
+ position: Vector3
4021
+ target: Vector3
4022
+ up: Vector3
4023
+ fovy: float
4024
+ projection: int
4025
+ CameraMode = int
4026
+ CameraProjection = int
4027
+ class Color:
4028
+ r: bytes
4029
+ g: bytes
4030
+ b: bytes
4031
+ a: bytes
4032
+ ConfigFlags = int
4033
+ CubemapLayout = int
4034
+ class FilePathList:
4035
+ capacity: int
4036
+ count: int
4037
+ paths: list[bytes]
4038
+ class Font:
4039
+ baseSize: int
4040
+ glyphCount: int
4041
+ glyphPadding: int
4042
+ texture: Texture
4043
+ recs: Any
4044
+ glyphs: Any
4045
+ FontType = int
4046
+ class GLFWallocator:
4047
+ allocate: Any
4048
+ reallocate: Any
4049
+ deallocate: Any
4050
+ user: Any
4051
+ class GLFWcursor:
4052
+ ...
4053
+ class GLFWgamepadstate:
4054
+ buttons: bytes
4055
+ axes: list
4056
+ class GLFWgammaramp:
4057
+ red: Any
4058
+ green: Any
4059
+ blue: Any
4060
+ size: int
4061
+ class GLFWimage:
4062
+ width: int
4063
+ height: int
4064
+ pixels: bytes
4065
+ class GLFWmonitor:
4066
+ ...
4067
+ class GLFWvidmode:
4068
+ width: int
4069
+ height: int
4070
+ redBits: int
4071
+ greenBits: int
4072
+ blueBits: int
4073
+ refreshRate: int
4074
+ class GLFWwindow:
4075
+ ...
4076
+ GamepadAxis = int
4077
+ GamepadButton = int
4078
+ Gesture = int
4079
+ class GlyphInfo:
4080
+ value: int
4081
+ offsetX: int
4082
+ offsetY: int
4083
+ advanceX: int
4084
+ image: Image
4085
+ GuiCheckBoxProperty = int
4086
+ GuiColorPickerProperty = int
4087
+ GuiComboBoxProperty = int
4088
+ GuiControl = int
4089
+ GuiControlProperty = int
4090
+ GuiDefaultProperty = int
4091
+ GuiDropdownBoxProperty = int
4092
+ GuiIconName = int
4093
+ GuiListViewProperty = int
4094
+ GuiProgressBarProperty = int
4095
+ GuiScrollBarProperty = int
4096
+ GuiSliderProperty = int
4097
+ GuiSpinnerProperty = int
4098
+ GuiState = int
4099
+ class GuiStyleProp:
4100
+ controlId: int
4101
+ propertyId: int
4102
+ propertyValue: int
4103
+ GuiTextAlignment = int
4104
+ GuiTextAlignmentVertical = int
4105
+ GuiTextBoxProperty = int
4106
+ GuiTextWrapMode = int
4107
+ GuiToggleProperty = int
4108
+ class Image:
4109
+ data: Any
4110
+ width: int
4111
+ height: int
4112
+ mipmaps: int
4113
+ format: int
4114
+ KeyboardKey = int
4115
+ class Material:
4116
+ shader: Shader
4117
+ maps: Any
4118
+ params: list
4119
+ class MaterialMap:
4120
+ texture: Texture
4121
+ color: Color
4122
+ value: float
4123
+ MaterialMapIndex = int
4124
+ class Matrix:
4125
+ m0: float
4126
+ m4: float
4127
+ m8: float
4128
+ m12: float
4129
+ m1: float
4130
+ m5: float
4131
+ m9: float
4132
+ m13: float
4133
+ m2: float
4134
+ m6: float
4135
+ m10: float
4136
+ m14: float
4137
+ m3: float
4138
+ m7: float
4139
+ m11: float
4140
+ m15: float
4141
+ class Matrix2x2:
4142
+ m00: float
4143
+ m01: float
4144
+ m10: float
4145
+ m11: float
4146
+ class Mesh:
4147
+ vertexCount: int
4148
+ triangleCount: int
4149
+ vertices: Any
4150
+ texcoords: Any
4151
+ texcoords2: Any
4152
+ normals: Any
4153
+ tangents: Any
4154
+ colors: bytes
4155
+ indices: Any
4156
+ animVertices: Any
4157
+ animNormals: Any
4158
+ boneIds: bytes
4159
+ boneWeights: Any
4160
+ boneMatrices: Any
4161
+ boneCount: int
4162
+ vaoId: int
4163
+ vboId: Any
4164
+ class Model:
4165
+ transform: Matrix
4166
+ meshCount: int
4167
+ materialCount: int
4168
+ meshes: Any
4169
+ materials: Any
4170
+ meshMaterial: Any
4171
+ boneCount: int
4172
+ bones: Any
4173
+ bindPose: Any
4174
+ class ModelAnimation:
4175
+ boneCount: int
4176
+ frameCount: int
4177
+ bones: Any
4178
+ framePoses: Any
4179
+ name: bytes
4180
+ MouseButton = int
4181
+ MouseCursor = int
4182
+ class Music:
4183
+ stream: AudioStream
4184
+ frameCount: int
4185
+ looping: bool
4186
+ ctxType: int
4187
+ ctxData: Any
4188
+ class NPatchInfo:
4189
+ source: Rectangle
4190
+ left: int
4191
+ top: int
4192
+ right: int
4193
+ bottom: int
4194
+ layout: int
4195
+ NPatchLayout = int
4196
+ class PhysicsBodyData:
4197
+ id: int
4198
+ enabled: bool
4199
+ position: Vector2
4200
+ velocity: Vector2
4201
+ force: Vector2
4202
+ angularVelocity: float
4203
+ torque: float
4204
+ orient: float
4205
+ inertia: float
4206
+ inverseInertia: float
4207
+ mass: float
4208
+ inverseMass: float
4209
+ staticFriction: float
4210
+ dynamicFriction: float
4211
+ restitution: float
4212
+ useGravity: bool
4213
+ isGrounded: bool
4214
+ freezeOrient: bool
4215
+ shape: PhysicsShape
4216
+ class PhysicsManifoldData:
4217
+ id: int
4218
+ bodyA: Any
4219
+ bodyB: Any
4220
+ penetration: float
4221
+ normal: Vector2
4222
+ contacts: list
4223
+ contactsCount: int
4224
+ restitution: float
4225
+ dynamicFriction: float
4226
+ staticFriction: float
4227
+ class PhysicsShape:
4228
+ type: PhysicsShapeType
4229
+ body: Any
4230
+ vertexData: PhysicsVertexData
4231
+ radius: float
4232
+ transform: Matrix2x2
4233
+ PhysicsShapeType = int
4234
+ class PhysicsVertexData:
4235
+ vertexCount: int
4236
+ positions: list
4237
+ normals: list
4238
+ PixelFormat = int
4239
+ class Quaternion:
4240
+ x: float
4241
+ y: float
4242
+ z: float
4243
+ w: float
4244
+ class Ray:
4245
+ position: Vector3
4246
+ direction: Vector3
4247
+ class RayCollision:
4248
+ hit: bool
4249
+ distance: float
4250
+ point: Vector3
4251
+ normal: Vector3
4252
+ class Rectangle:
4253
+ x: float
4254
+ y: float
4255
+ width: float
4256
+ height: float
4257
+ class RenderTexture:
4258
+ id: int
4259
+ texture: Texture
4260
+ depth: Texture
4261
+ class RenderTexture2D:
4262
+ id: int
4263
+ texture: Texture
4264
+ depth: Texture
4265
+ class Shader:
4266
+ id: int
4267
+ locs: Any
4268
+ ShaderAttributeDataType = int
4269
+ ShaderLocationIndex = int
4270
+ ShaderUniformDataType = int
4271
+ class Sound:
4272
+ stream: AudioStream
4273
+ frameCount: int
4274
+ class Texture:
4275
+ id: int
4276
+ width: int
4277
+ height: int
4278
+ mipmaps: int
4279
+ format: int
4280
+ class Texture2D:
4281
+ id: int
4282
+ width: int
4283
+ height: int
4284
+ mipmaps: int
4285
+ format: int
4286
+ class TextureCubemap:
4287
+ id: int
4288
+ width: int
4289
+ height: int
4290
+ mipmaps: int
4291
+ format: int
4292
+ TextureFilter = int
4293
+ TextureWrap = int
4294
+ TraceLogLevel = int
4295
+ class Transform:
4296
+ translation: Vector3
4297
+ rotation: Vector4
4298
+ scale: Vector3
4299
+ class Vector2:
4300
+ x: float
4301
+ y: float
4302
+ class Vector3:
4303
+ x: float
4304
+ y: float
4305
+ z: float
4306
+ class Vector4:
4307
+ x: float
4308
+ y: float
4309
+ z: float
4310
+ w: float
4311
+ class VrDeviceInfo:
4312
+ hResolution: int
4313
+ vResolution: int
4314
+ hScreenSize: float
4315
+ vScreenSize: float
4316
+ eyeToScreenDistance: float
4317
+ lensSeparationDistance: float
4318
+ interpupillaryDistance: float
4319
+ lensDistortionValues: list
4320
+ chromaAbCorrection: list
4321
+ class VrStereoConfig:
4322
+ projection: list
4323
+ viewOffset: list
4324
+ leftLensCenter: list
4325
+ rightLensCenter: list
4326
+ leftScreenCenter: list
4327
+ rightScreenCenter: list
4328
+ scale: list
4329
+ scaleIn: list
4330
+ class Wave:
4331
+ frameCount: int
4332
+ sampleRate: int
4333
+ sampleSize: int
4334
+ channels: int
4335
+ data: Any
4336
+ class float16:
4337
+ v: list
4338
+ class float3:
4339
+ v: list
4340
+ class rAudioBuffer:
4341
+ ...
4342
+ class rAudioProcessor:
4343
+ ...
4344
+ rlBlendMode = int
4345
+ rlCullMode = int
4346
+ class rlDrawCall:
4347
+ mode: int
4348
+ vertexCount: int
4349
+ vertexAlignment: int
4350
+ textureId: int
4351
+ rlFramebufferAttachTextureType = int
4352
+ rlFramebufferAttachType = int
4353
+ rlGlVersion = int
4354
+ rlPixelFormat = int
4355
+ class rlRenderBatch:
4356
+ bufferCount: int
4357
+ currentBuffer: int
4358
+ vertexBuffer: Any
4359
+ draws: Any
4360
+ drawCounter: int
4361
+ currentDepth: float
4362
+ rlShaderAttributeDataType = int
4363
+ rlShaderLocationIndex = int
4364
+ rlShaderUniformDataType = int
4365
+ rlTextureFilter = int
4366
+ rlTraceLogLevel = int
4367
+ class rlVertexBuffer:
4368
+ elementCount: int
4369
+ vertices: Any
4370
+ texcoords: Any
4371
+ normals: Any
4372
+ colors: bytes
4373
+ indices: Any
4374
+ vaoId: int
4375
+ vboId: list
3889
4376
 
3890
4377
  LIGHTGRAY : Color
3891
4378
  GRAY : Color