raylib 5.5.0.2__pp311-pypy311_pp73-manylinux2014_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of raylib might be problematic. Click here for more details.

pyray/__init__.pyi ADDED
@@ -0,0 +1,4484 @@
1
+ class ConfigFlags(int):
2
+ FLAG_VSYNC_HINT = 64
3
+ FLAG_FULLSCREEN_MODE = 2
4
+ FLAG_WINDOW_RESIZABLE = 4
5
+ FLAG_WINDOW_UNDECORATED = 8
6
+ FLAG_WINDOW_HIDDEN = 128
7
+ FLAG_WINDOW_MINIMIZED = 512
8
+ FLAG_WINDOW_MAXIMIZED = 1024
9
+ FLAG_WINDOW_UNFOCUSED = 2048
10
+ FLAG_WINDOW_TOPMOST = 4096
11
+ FLAG_WINDOW_ALWAYS_RUN = 256
12
+ FLAG_WINDOW_TRANSPARENT = 16
13
+ FLAG_WINDOW_HIGHDPI = 8192
14
+ FLAG_WINDOW_MOUSE_PASSTHROUGH = 16384
15
+ FLAG_BORDERLESS_WINDOWED_MODE = 32768
16
+ FLAG_MSAA_4X_HINT = 32
17
+ FLAG_INTERLACED_HINT = 65536
18
+
19
+ class TraceLogLevel(int):
20
+ LOG_ALL = 0
21
+ LOG_TRACE = 1
22
+ LOG_DEBUG = 2
23
+ LOG_INFO = 3
24
+ LOG_WARNING = 4
25
+ LOG_ERROR = 5
26
+ LOG_FATAL = 6
27
+ LOG_NONE = 7
28
+
29
+ class KeyboardKey(int):
30
+ KEY_NULL = 0
31
+ KEY_APOSTROPHE = 39
32
+ KEY_COMMA = 44
33
+ KEY_MINUS = 45
34
+ KEY_PERIOD = 46
35
+ KEY_SLASH = 47
36
+ KEY_ZERO = 48
37
+ KEY_ONE = 49
38
+ KEY_TWO = 50
39
+ KEY_THREE = 51
40
+ KEY_FOUR = 52
41
+ KEY_FIVE = 53
42
+ KEY_SIX = 54
43
+ KEY_SEVEN = 55
44
+ KEY_EIGHT = 56
45
+ KEY_NINE = 57
46
+ KEY_SEMICOLON = 59
47
+ KEY_EQUAL = 61
48
+ KEY_A = 65
49
+ KEY_B = 66
50
+ KEY_C = 67
51
+ KEY_D = 68
52
+ KEY_E = 69
53
+ KEY_F = 70
54
+ KEY_G = 71
55
+ KEY_H = 72
56
+ KEY_I = 73
57
+ KEY_J = 74
58
+ KEY_K = 75
59
+ KEY_L = 76
60
+ KEY_M = 77
61
+ KEY_N = 78
62
+ KEY_O = 79
63
+ KEY_P = 80
64
+ KEY_Q = 81
65
+ KEY_R = 82
66
+ KEY_S = 83
67
+ KEY_T = 84
68
+ KEY_U = 85
69
+ KEY_V = 86
70
+ KEY_W = 87
71
+ KEY_X = 88
72
+ KEY_Y = 89
73
+ KEY_Z = 90
74
+ KEY_LEFT_BRACKET = 91
75
+ KEY_BACKSLASH = 92
76
+ KEY_RIGHT_BRACKET = 93
77
+ KEY_GRAVE = 96
78
+ KEY_SPACE = 32
79
+ KEY_ESCAPE = 256
80
+ KEY_ENTER = 257
81
+ KEY_TAB = 258
82
+ KEY_BACKSPACE = 259
83
+ KEY_INSERT = 260
84
+ KEY_DELETE = 261
85
+ KEY_RIGHT = 262
86
+ KEY_LEFT = 263
87
+ KEY_DOWN = 264
88
+ KEY_UP = 265
89
+ KEY_PAGE_UP = 266
90
+ KEY_PAGE_DOWN = 267
91
+ KEY_HOME = 268
92
+ KEY_END = 269
93
+ KEY_CAPS_LOCK = 280
94
+ KEY_SCROLL_LOCK = 281
95
+ KEY_NUM_LOCK = 282
96
+ KEY_PRINT_SCREEN = 283
97
+ KEY_PAUSE = 284
98
+ KEY_F1 = 290
99
+ KEY_F2 = 291
100
+ KEY_F3 = 292
101
+ KEY_F4 = 293
102
+ KEY_F5 = 294
103
+ KEY_F6 = 295
104
+ KEY_F7 = 296
105
+ KEY_F8 = 297
106
+ KEY_F9 = 298
107
+ KEY_F10 = 299
108
+ KEY_F11 = 300
109
+ KEY_F12 = 301
110
+ KEY_LEFT_SHIFT = 340
111
+ KEY_LEFT_CONTROL = 341
112
+ KEY_LEFT_ALT = 342
113
+ KEY_LEFT_SUPER = 343
114
+ KEY_RIGHT_SHIFT = 344
115
+ KEY_RIGHT_CONTROL = 345
116
+ KEY_RIGHT_ALT = 346
117
+ KEY_RIGHT_SUPER = 347
118
+ KEY_KB_MENU = 348
119
+ KEY_KP_0 = 320
120
+ KEY_KP_1 = 321
121
+ KEY_KP_2 = 322
122
+ KEY_KP_3 = 323
123
+ KEY_KP_4 = 324
124
+ KEY_KP_5 = 325
125
+ KEY_KP_6 = 326
126
+ KEY_KP_7 = 327
127
+ KEY_KP_8 = 328
128
+ KEY_KP_9 = 329
129
+ KEY_KP_DECIMAL = 330
130
+ KEY_KP_DIVIDE = 331
131
+ KEY_KP_MULTIPLY = 332
132
+ KEY_KP_SUBTRACT = 333
133
+ KEY_KP_ADD = 334
134
+ KEY_KP_ENTER = 335
135
+ KEY_KP_EQUAL = 336
136
+ KEY_BACK = 4
137
+ KEY_MENU = 5
138
+ KEY_VOLUME_UP = 24
139
+ KEY_VOLUME_DOWN = 25
140
+
141
+ class MouseButton(int):
142
+ MOUSE_BUTTON_LEFT = 0
143
+ MOUSE_BUTTON_RIGHT = 1
144
+ MOUSE_BUTTON_MIDDLE = 2
145
+ MOUSE_BUTTON_SIDE = 3
146
+ MOUSE_BUTTON_EXTRA = 4
147
+ MOUSE_BUTTON_FORWARD = 5
148
+ MOUSE_BUTTON_BACK = 6
149
+
150
+ class MouseCursor(int):
151
+ MOUSE_CURSOR_DEFAULT = 0
152
+ MOUSE_CURSOR_ARROW = 1
153
+ MOUSE_CURSOR_IBEAM = 2
154
+ MOUSE_CURSOR_CROSSHAIR = 3
155
+ MOUSE_CURSOR_POINTING_HAND = 4
156
+ MOUSE_CURSOR_RESIZE_EW = 5
157
+ MOUSE_CURSOR_RESIZE_NS = 6
158
+ MOUSE_CURSOR_RESIZE_NWSE = 7
159
+ MOUSE_CURSOR_RESIZE_NESW = 8
160
+ MOUSE_CURSOR_RESIZE_ALL = 9
161
+ MOUSE_CURSOR_NOT_ALLOWED = 10
162
+
163
+ class GamepadButton(int):
164
+ GAMEPAD_BUTTON_UNKNOWN = 0
165
+ GAMEPAD_BUTTON_LEFT_FACE_UP = 1
166
+ GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2
167
+ GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3
168
+ GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4
169
+ GAMEPAD_BUTTON_RIGHT_FACE_UP = 5
170
+ GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6
171
+ GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7
172
+ GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8
173
+ GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9
174
+ GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10
175
+ GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11
176
+ GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12
177
+ GAMEPAD_BUTTON_MIDDLE_LEFT = 13
178
+ GAMEPAD_BUTTON_MIDDLE = 14
179
+ GAMEPAD_BUTTON_MIDDLE_RIGHT = 15
180
+ GAMEPAD_BUTTON_LEFT_THUMB = 16
181
+ GAMEPAD_BUTTON_RIGHT_THUMB = 17
182
+
183
+ class GamepadAxis(int):
184
+ GAMEPAD_AXIS_LEFT_X = 0
185
+ GAMEPAD_AXIS_LEFT_Y = 1
186
+ GAMEPAD_AXIS_RIGHT_X = 2
187
+ GAMEPAD_AXIS_RIGHT_Y = 3
188
+ GAMEPAD_AXIS_LEFT_TRIGGER = 4
189
+ GAMEPAD_AXIS_RIGHT_TRIGGER = 5
190
+
191
+ class MaterialMapIndex(int):
192
+ MATERIAL_MAP_ALBEDO = 0
193
+ MATERIAL_MAP_METALNESS = 1
194
+ MATERIAL_MAP_NORMAL = 2
195
+ MATERIAL_MAP_ROUGHNESS = 3
196
+ MATERIAL_MAP_OCCLUSION = 4
197
+ MATERIAL_MAP_EMISSION = 5
198
+ MATERIAL_MAP_HEIGHT = 6
199
+ MATERIAL_MAP_CUBEMAP = 7
200
+ MATERIAL_MAP_IRRADIANCE = 8
201
+ MATERIAL_MAP_PREFILTER = 9
202
+ MATERIAL_MAP_BRDF = 10
203
+
204
+ class ShaderLocationIndex(int):
205
+ SHADER_LOC_VERTEX_POSITION = 0
206
+ SHADER_LOC_VERTEX_TEXCOORD01 = 1
207
+ SHADER_LOC_VERTEX_TEXCOORD02 = 2
208
+ SHADER_LOC_VERTEX_NORMAL = 3
209
+ SHADER_LOC_VERTEX_TANGENT = 4
210
+ SHADER_LOC_VERTEX_COLOR = 5
211
+ SHADER_LOC_MATRIX_MVP = 6
212
+ SHADER_LOC_MATRIX_VIEW = 7
213
+ SHADER_LOC_MATRIX_PROJECTION = 8
214
+ SHADER_LOC_MATRIX_MODEL = 9
215
+ SHADER_LOC_MATRIX_NORMAL = 10
216
+ SHADER_LOC_VECTOR_VIEW = 11
217
+ SHADER_LOC_COLOR_DIFFUSE = 12
218
+ SHADER_LOC_COLOR_SPECULAR = 13
219
+ SHADER_LOC_COLOR_AMBIENT = 14
220
+ SHADER_LOC_MAP_ALBEDO = 15
221
+ SHADER_LOC_MAP_METALNESS = 16
222
+ SHADER_LOC_MAP_NORMAL = 17
223
+ SHADER_LOC_MAP_ROUGHNESS = 18
224
+ SHADER_LOC_MAP_OCCLUSION = 19
225
+ SHADER_LOC_MAP_EMISSION = 20
226
+ SHADER_LOC_MAP_HEIGHT = 21
227
+ SHADER_LOC_MAP_CUBEMAP = 22
228
+ SHADER_LOC_MAP_IRRADIANCE = 23
229
+ SHADER_LOC_MAP_PREFILTER = 24
230
+ SHADER_LOC_MAP_BRDF = 25
231
+ SHADER_LOC_VERTEX_BONEIDS = 26
232
+ SHADER_LOC_VERTEX_BONEWEIGHTS = 27
233
+ SHADER_LOC_BONE_MATRICES = 28
234
+
235
+ class ShaderUniformDataType(int):
236
+ SHADER_UNIFORM_FLOAT = 0
237
+ SHADER_UNIFORM_VEC2 = 1
238
+ SHADER_UNIFORM_VEC3 = 2
239
+ SHADER_UNIFORM_VEC4 = 3
240
+ SHADER_UNIFORM_INT = 4
241
+ SHADER_UNIFORM_IVEC2 = 5
242
+ SHADER_UNIFORM_IVEC3 = 6
243
+ SHADER_UNIFORM_IVEC4 = 7
244
+ SHADER_UNIFORM_SAMPLER2D = 8
245
+
246
+ class ShaderAttributeDataType(int):
247
+ SHADER_ATTRIB_FLOAT = 0
248
+ SHADER_ATTRIB_VEC2 = 1
249
+ SHADER_ATTRIB_VEC3 = 2
250
+ SHADER_ATTRIB_VEC4 = 3
251
+
252
+ class PixelFormat(int):
253
+ PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1
254
+ PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2
255
+ PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3
256
+ PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4
257
+ PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5
258
+ PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6
259
+ PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7
260
+ PIXELFORMAT_UNCOMPRESSED_R32 = 8
261
+ PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
262
+ PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
263
+ PIXELFORMAT_UNCOMPRESSED_R16 = 11
264
+ PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12
265
+ PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13
266
+ PIXELFORMAT_COMPRESSED_DXT1_RGB = 14
267
+ PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15
268
+ PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16
269
+ PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17
270
+ PIXELFORMAT_COMPRESSED_ETC1_RGB = 18
271
+ PIXELFORMAT_COMPRESSED_ETC2_RGB = 19
272
+ PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20
273
+ PIXELFORMAT_COMPRESSED_PVRT_RGB = 21
274
+ PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22
275
+ PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23
276
+ PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24
277
+
278
+ class TextureFilter(int):
279
+ TEXTURE_FILTER_POINT = 0
280
+ TEXTURE_FILTER_BILINEAR = 1
281
+ TEXTURE_FILTER_TRILINEAR = 2
282
+ TEXTURE_FILTER_ANISOTROPIC_4X = 3
283
+ TEXTURE_FILTER_ANISOTROPIC_8X = 4
284
+ TEXTURE_FILTER_ANISOTROPIC_16X = 5
285
+
286
+ class TextureWrap(int):
287
+ TEXTURE_WRAP_REPEAT = 0
288
+ TEXTURE_WRAP_CLAMP = 1
289
+ TEXTURE_WRAP_MIRROR_REPEAT = 2
290
+ TEXTURE_WRAP_MIRROR_CLAMP = 3
291
+
292
+ class CubemapLayout(int):
293
+ CUBEMAP_LAYOUT_AUTO_DETECT = 0
294
+ CUBEMAP_LAYOUT_LINE_VERTICAL = 1
295
+ CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2
296
+ CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3
297
+ CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4
298
+
299
+ class FontType(int):
300
+ FONT_DEFAULT = 0
301
+ FONT_BITMAP = 1
302
+ FONT_SDF = 2
303
+
304
+ class BlendMode(int):
305
+ BLEND_ALPHA = 0
306
+ BLEND_ADDITIVE = 1
307
+ BLEND_MULTIPLIED = 2
308
+ BLEND_ADD_COLORS = 3
309
+ BLEND_SUBTRACT_COLORS = 4
310
+ BLEND_ALPHA_PREMULTIPLY = 5
311
+ BLEND_CUSTOM = 6
312
+ BLEND_CUSTOM_SEPARATE = 7
313
+
314
+ class Gesture(int):
315
+ GESTURE_NONE = 0
316
+ GESTURE_TAP = 1
317
+ GESTURE_DOUBLETAP = 2
318
+ GESTURE_HOLD = 4
319
+ GESTURE_DRAG = 8
320
+ GESTURE_SWIPE_RIGHT = 16
321
+ GESTURE_SWIPE_LEFT = 32
322
+ GESTURE_SWIPE_UP = 64
323
+ GESTURE_SWIPE_DOWN = 128
324
+ GESTURE_PINCH_IN = 256
325
+ GESTURE_PINCH_OUT = 512
326
+
327
+ class CameraMode(int):
328
+ CAMERA_CUSTOM = 0
329
+ CAMERA_FREE = 1
330
+ CAMERA_ORBITAL = 2
331
+ CAMERA_FIRST_PERSON = 3
332
+ CAMERA_THIRD_PERSON = 4
333
+
334
+ class CameraProjection(int):
335
+ CAMERA_PERSPECTIVE = 0
336
+ CAMERA_ORTHOGRAPHIC = 1
337
+
338
+ class NPatchLayout(int):
339
+ NPATCH_NINE_PATCH = 0
340
+ NPATCH_THREE_PATCH_VERTICAL = 1
341
+ NPATCH_THREE_PATCH_HORIZONTAL = 2
342
+
343
+ class rlGlVersion(int):
344
+ RL_OPENGL_11 = 1
345
+ RL_OPENGL_21 = 2
346
+ RL_OPENGL_33 = 3
347
+ RL_OPENGL_43 = 4
348
+ RL_OPENGL_ES_20 = 5
349
+ RL_OPENGL_ES_30 = 6
350
+
351
+ class rlTraceLogLevel(int):
352
+ RL_LOG_ALL = 0
353
+ RL_LOG_TRACE = 1
354
+ RL_LOG_DEBUG = 2
355
+ RL_LOG_INFO = 3
356
+ RL_LOG_WARNING = 4
357
+ RL_LOG_ERROR = 5
358
+ RL_LOG_FATAL = 6
359
+ RL_LOG_NONE = 7
360
+
361
+ class rlPixelFormat(int):
362
+ RL_PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1
363
+ RL_PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2
364
+ RL_PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3
365
+ RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4
366
+ RL_PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5
367
+ RL_PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6
368
+ RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7
369
+ RL_PIXELFORMAT_UNCOMPRESSED_R32 = 8
370
+ RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
371
+ RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
372
+ RL_PIXELFORMAT_UNCOMPRESSED_R16 = 11
373
+ RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12
374
+ RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13
375
+ RL_PIXELFORMAT_COMPRESSED_DXT1_RGB = 14
376
+ RL_PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15
377
+ RL_PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16
378
+ RL_PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17
379
+ RL_PIXELFORMAT_COMPRESSED_ETC1_RGB = 18
380
+ RL_PIXELFORMAT_COMPRESSED_ETC2_RGB = 19
381
+ RL_PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20
382
+ RL_PIXELFORMAT_COMPRESSED_PVRT_RGB = 21
383
+ RL_PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22
384
+ RL_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23
385
+ RL_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24
386
+
387
+ class rlTextureFilter(int):
388
+ RL_TEXTURE_FILTER_POINT = 0
389
+ RL_TEXTURE_FILTER_BILINEAR = 1
390
+ RL_TEXTURE_FILTER_TRILINEAR = 2
391
+ RL_TEXTURE_FILTER_ANISOTROPIC_4X = 3
392
+ RL_TEXTURE_FILTER_ANISOTROPIC_8X = 4
393
+ RL_TEXTURE_FILTER_ANISOTROPIC_16X = 5
394
+
395
+ class rlBlendMode(int):
396
+ RL_BLEND_ALPHA = 0
397
+ RL_BLEND_ADDITIVE = 1
398
+ RL_BLEND_MULTIPLIED = 2
399
+ RL_BLEND_ADD_COLORS = 3
400
+ RL_BLEND_SUBTRACT_COLORS = 4
401
+ RL_BLEND_ALPHA_PREMULTIPLY = 5
402
+ RL_BLEND_CUSTOM = 6
403
+ RL_BLEND_CUSTOM_SEPARATE = 7
404
+
405
+ class rlShaderLocationIndex(int):
406
+ RL_SHADER_LOC_VERTEX_POSITION = 0
407
+ RL_SHADER_LOC_VERTEX_TEXCOORD01 = 1
408
+ RL_SHADER_LOC_VERTEX_TEXCOORD02 = 2
409
+ RL_SHADER_LOC_VERTEX_NORMAL = 3
410
+ RL_SHADER_LOC_VERTEX_TANGENT = 4
411
+ RL_SHADER_LOC_VERTEX_COLOR = 5
412
+ RL_SHADER_LOC_MATRIX_MVP = 6
413
+ RL_SHADER_LOC_MATRIX_VIEW = 7
414
+ RL_SHADER_LOC_MATRIX_PROJECTION = 8
415
+ RL_SHADER_LOC_MATRIX_MODEL = 9
416
+ RL_SHADER_LOC_MATRIX_NORMAL = 10
417
+ RL_SHADER_LOC_VECTOR_VIEW = 11
418
+ RL_SHADER_LOC_COLOR_DIFFUSE = 12
419
+ RL_SHADER_LOC_COLOR_SPECULAR = 13
420
+ RL_SHADER_LOC_COLOR_AMBIENT = 14
421
+ RL_SHADER_LOC_MAP_ALBEDO = 15
422
+ RL_SHADER_LOC_MAP_METALNESS = 16
423
+ RL_SHADER_LOC_MAP_NORMAL = 17
424
+ RL_SHADER_LOC_MAP_ROUGHNESS = 18
425
+ RL_SHADER_LOC_MAP_OCCLUSION = 19
426
+ RL_SHADER_LOC_MAP_EMISSION = 20
427
+ RL_SHADER_LOC_MAP_HEIGHT = 21
428
+ RL_SHADER_LOC_MAP_CUBEMAP = 22
429
+ RL_SHADER_LOC_MAP_IRRADIANCE = 23
430
+ RL_SHADER_LOC_MAP_PREFILTER = 24
431
+ RL_SHADER_LOC_MAP_BRDF = 25
432
+
433
+ class rlShaderUniformDataType(int):
434
+ RL_SHADER_UNIFORM_FLOAT = 0
435
+ RL_SHADER_UNIFORM_VEC2 = 1
436
+ RL_SHADER_UNIFORM_VEC3 = 2
437
+ RL_SHADER_UNIFORM_VEC4 = 3
438
+ RL_SHADER_UNIFORM_INT = 4
439
+ RL_SHADER_UNIFORM_IVEC2 = 5
440
+ RL_SHADER_UNIFORM_IVEC3 = 6
441
+ RL_SHADER_UNIFORM_IVEC4 = 7
442
+ RL_SHADER_UNIFORM_UINT = 8
443
+ RL_SHADER_UNIFORM_UIVEC2 = 9
444
+ RL_SHADER_UNIFORM_UIVEC3 = 10
445
+ RL_SHADER_UNIFORM_UIVEC4 = 11
446
+ RL_SHADER_UNIFORM_SAMPLER2D = 12
447
+
448
+ class rlShaderAttributeDataType(int):
449
+ RL_SHADER_ATTRIB_FLOAT = 0
450
+ RL_SHADER_ATTRIB_VEC2 = 1
451
+ RL_SHADER_ATTRIB_VEC3 = 2
452
+ RL_SHADER_ATTRIB_VEC4 = 3
453
+
454
+ class rlFramebufferAttachType(int):
455
+ RL_ATTACHMENT_COLOR_CHANNEL0 = 0
456
+ RL_ATTACHMENT_COLOR_CHANNEL1 = 1
457
+ RL_ATTACHMENT_COLOR_CHANNEL2 = 2
458
+ RL_ATTACHMENT_COLOR_CHANNEL3 = 3
459
+ RL_ATTACHMENT_COLOR_CHANNEL4 = 4
460
+ RL_ATTACHMENT_COLOR_CHANNEL5 = 5
461
+ RL_ATTACHMENT_COLOR_CHANNEL6 = 6
462
+ RL_ATTACHMENT_COLOR_CHANNEL7 = 7
463
+ RL_ATTACHMENT_DEPTH = 100
464
+ RL_ATTACHMENT_STENCIL = 200
465
+
466
+ class rlFramebufferAttachTextureType(int):
467
+ RL_ATTACHMENT_CUBEMAP_POSITIVE_X = 0
468
+ RL_ATTACHMENT_CUBEMAP_NEGATIVE_X = 1
469
+ RL_ATTACHMENT_CUBEMAP_POSITIVE_Y = 2
470
+ RL_ATTACHMENT_CUBEMAP_NEGATIVE_Y = 3
471
+ RL_ATTACHMENT_CUBEMAP_POSITIVE_Z = 4
472
+ RL_ATTACHMENT_CUBEMAP_NEGATIVE_Z = 5
473
+ RL_ATTACHMENT_TEXTURE2D = 100
474
+ RL_ATTACHMENT_RENDERBUFFER = 200
475
+
476
+ class rlCullMode(int):
477
+ RL_CULL_FACE_FRONT = 0
478
+ RL_CULL_FACE_BACK = 1
479
+
480
+ class GuiState(int):
481
+ STATE_NORMAL = 0
482
+ STATE_FOCUSED = 1
483
+ STATE_PRESSED = 2
484
+ STATE_DISABLED = 3
485
+
486
+ class GuiTextAlignment(int):
487
+ TEXT_ALIGN_LEFT = 0
488
+ TEXT_ALIGN_CENTER = 1
489
+ TEXT_ALIGN_RIGHT = 2
490
+
491
+ class GuiTextAlignmentVertical(int):
492
+ TEXT_ALIGN_TOP = 0
493
+ TEXT_ALIGN_MIDDLE = 1
494
+ TEXT_ALIGN_BOTTOM = 2
495
+
496
+ class GuiTextWrapMode(int):
497
+ TEXT_WRAP_NONE = 0
498
+ TEXT_WRAP_CHAR = 1
499
+ TEXT_WRAP_WORD = 2
500
+
501
+ class GuiControl(int):
502
+ DEFAULT = 0
503
+ LABEL = 1
504
+ BUTTON = 2
505
+ TOGGLE = 3
506
+ SLIDER = 4
507
+ PROGRESSBAR = 5
508
+ CHECKBOX = 6
509
+ COMBOBOX = 7
510
+ DROPDOWNBOX = 8
511
+ TEXTBOX = 9
512
+ VALUEBOX = 10
513
+ SPINNER = 11
514
+ LISTVIEW = 12
515
+ COLORPICKER = 13
516
+ SCROLLBAR = 14
517
+ STATUSBAR = 15
518
+
519
+ class GuiControlProperty(int):
520
+ BORDER_COLOR_NORMAL = 0
521
+ BASE_COLOR_NORMAL = 1
522
+ TEXT_COLOR_NORMAL = 2
523
+ BORDER_COLOR_FOCUSED = 3
524
+ BASE_COLOR_FOCUSED = 4
525
+ TEXT_COLOR_FOCUSED = 5
526
+ BORDER_COLOR_PRESSED = 6
527
+ BASE_COLOR_PRESSED = 7
528
+ TEXT_COLOR_PRESSED = 8
529
+ BORDER_COLOR_DISABLED = 9
530
+ BASE_COLOR_DISABLED = 10
531
+ TEXT_COLOR_DISABLED = 11
532
+ BORDER_WIDTH = 12
533
+ TEXT_PADDING = 13
534
+ TEXT_ALIGNMENT = 14
535
+
536
+ class GuiDefaultProperty(int):
537
+ TEXT_SIZE = 16
538
+ TEXT_SPACING = 17
539
+ LINE_COLOR = 18
540
+ BACKGROUND_COLOR = 19
541
+ TEXT_LINE_SPACING = 20
542
+ TEXT_ALIGNMENT_VERTICAL = 21
543
+ TEXT_WRAP_MODE = 22
544
+
545
+ class GuiToggleProperty(int):
546
+ GROUP_PADDING = 16
547
+
548
+ class GuiSliderProperty(int):
549
+ SLIDER_WIDTH = 16
550
+ SLIDER_PADDING = 17
551
+
552
+ class GuiProgressBarProperty(int):
553
+ PROGRESS_PADDING = 16
554
+
555
+ class GuiScrollBarProperty(int):
556
+ ARROWS_SIZE = 16
557
+ ARROWS_VISIBLE = 17
558
+ SCROLL_SLIDER_PADDING = 18
559
+ SCROLL_SLIDER_SIZE = 19
560
+ SCROLL_PADDING = 20
561
+ SCROLL_SPEED = 21
562
+
563
+ class GuiCheckBoxProperty(int):
564
+ CHECK_PADDING = 16
565
+
566
+ class GuiComboBoxProperty(int):
567
+ COMBO_BUTTON_WIDTH = 16
568
+ COMBO_BUTTON_SPACING = 17
569
+
570
+ class GuiDropdownBoxProperty(int):
571
+ ARROW_PADDING = 16
572
+ DROPDOWN_ITEMS_SPACING = 17
573
+ DROPDOWN_ARROW_HIDDEN = 18
574
+ DROPDOWN_ROLL_UP = 19
575
+
576
+ class GuiTextBoxProperty(int):
577
+ TEXT_READONLY = 16
578
+
579
+ class GuiSpinnerProperty(int):
580
+ SPIN_BUTTON_WIDTH = 16
581
+ SPIN_BUTTON_SPACING = 17
582
+
583
+ class GuiListViewProperty(int):
584
+ LIST_ITEMS_HEIGHT = 16
585
+ LIST_ITEMS_SPACING = 17
586
+ SCROLLBAR_WIDTH = 18
587
+ SCROLLBAR_SIDE = 19
588
+ LIST_ITEMS_BORDER_WIDTH = 20
589
+
590
+ class GuiColorPickerProperty(int):
591
+ COLOR_SELECTOR_SIZE = 16
592
+ HUEBAR_WIDTH = 17
593
+ HUEBAR_PADDING = 18
594
+ HUEBAR_SELECTOR_HEIGHT = 19
595
+ HUEBAR_SELECTOR_OVERFLOW = 20
596
+
597
+ class GuiIconName(int):
598
+ ICON_NONE = 0
599
+ ICON_FOLDER_FILE_OPEN = 1
600
+ ICON_FILE_SAVE_CLASSIC = 2
601
+ ICON_FOLDER_OPEN = 3
602
+ ICON_FOLDER_SAVE = 4
603
+ ICON_FILE_OPEN = 5
604
+ ICON_FILE_SAVE = 6
605
+ ICON_FILE_EXPORT = 7
606
+ ICON_FILE_ADD = 8
607
+ ICON_FILE_DELETE = 9
608
+ ICON_FILETYPE_TEXT = 10
609
+ ICON_FILETYPE_AUDIO = 11
610
+ ICON_FILETYPE_IMAGE = 12
611
+ ICON_FILETYPE_PLAY = 13
612
+ ICON_FILETYPE_VIDEO = 14
613
+ ICON_FILETYPE_INFO = 15
614
+ ICON_FILE_COPY = 16
615
+ ICON_FILE_CUT = 17
616
+ ICON_FILE_PASTE = 18
617
+ ICON_CURSOR_HAND = 19
618
+ ICON_CURSOR_POINTER = 20
619
+ ICON_CURSOR_CLASSIC = 21
620
+ ICON_PENCIL = 22
621
+ ICON_PENCIL_BIG = 23
622
+ ICON_BRUSH_CLASSIC = 24
623
+ ICON_BRUSH_PAINTER = 25
624
+ ICON_WATER_DROP = 26
625
+ ICON_COLOR_PICKER = 27
626
+ ICON_RUBBER = 28
627
+ ICON_COLOR_BUCKET = 29
628
+ ICON_TEXT_T = 30
629
+ ICON_TEXT_A = 31
630
+ ICON_SCALE = 32
631
+ ICON_RESIZE = 33
632
+ ICON_FILTER_POINT = 34
633
+ ICON_FILTER_BILINEAR = 35
634
+ ICON_CROP = 36
635
+ ICON_CROP_ALPHA = 37
636
+ ICON_SQUARE_TOGGLE = 38
637
+ ICON_SYMMETRY = 39
638
+ ICON_SYMMETRY_HORIZONTAL = 40
639
+ ICON_SYMMETRY_VERTICAL = 41
640
+ ICON_LENS = 42
641
+ ICON_LENS_BIG = 43
642
+ ICON_EYE_ON = 44
643
+ ICON_EYE_OFF = 45
644
+ ICON_FILTER_TOP = 46
645
+ ICON_FILTER = 47
646
+ ICON_TARGET_POINT = 48
647
+ ICON_TARGET_SMALL = 49
648
+ ICON_TARGET_BIG = 50
649
+ ICON_TARGET_MOVE = 51
650
+ ICON_CURSOR_MOVE = 52
651
+ ICON_CURSOR_SCALE = 53
652
+ ICON_CURSOR_SCALE_RIGHT = 54
653
+ ICON_CURSOR_SCALE_LEFT = 55
654
+ ICON_UNDO = 56
655
+ ICON_REDO = 57
656
+ ICON_REREDO = 58
657
+ ICON_MUTATE = 59
658
+ ICON_ROTATE = 60
659
+ ICON_REPEAT = 61
660
+ ICON_SHUFFLE = 62
661
+ ICON_EMPTYBOX = 63
662
+ ICON_TARGET = 64
663
+ ICON_TARGET_SMALL_FILL = 65
664
+ ICON_TARGET_BIG_FILL = 66
665
+ ICON_TARGET_MOVE_FILL = 67
666
+ ICON_CURSOR_MOVE_FILL = 68
667
+ ICON_CURSOR_SCALE_FILL = 69
668
+ ICON_CURSOR_SCALE_RIGHT_FILL = 70
669
+ ICON_CURSOR_SCALE_LEFT_FILL = 71
670
+ ICON_UNDO_FILL = 72
671
+ ICON_REDO_FILL = 73
672
+ ICON_REREDO_FILL = 74
673
+ ICON_MUTATE_FILL = 75
674
+ ICON_ROTATE_FILL = 76
675
+ ICON_REPEAT_FILL = 77
676
+ ICON_SHUFFLE_FILL = 78
677
+ ICON_EMPTYBOX_SMALL = 79
678
+ ICON_BOX = 80
679
+ ICON_BOX_TOP = 81
680
+ ICON_BOX_TOP_RIGHT = 82
681
+ ICON_BOX_RIGHT = 83
682
+ ICON_BOX_BOTTOM_RIGHT = 84
683
+ ICON_BOX_BOTTOM = 85
684
+ ICON_BOX_BOTTOM_LEFT = 86
685
+ ICON_BOX_LEFT = 87
686
+ ICON_BOX_TOP_LEFT = 88
687
+ ICON_BOX_CENTER = 89
688
+ ICON_BOX_CIRCLE_MASK = 90
689
+ ICON_POT = 91
690
+ ICON_ALPHA_MULTIPLY = 92
691
+ ICON_ALPHA_CLEAR = 93
692
+ ICON_DITHERING = 94
693
+ ICON_MIPMAPS = 95
694
+ ICON_BOX_GRID = 96
695
+ ICON_GRID = 97
696
+ ICON_BOX_CORNERS_SMALL = 98
697
+ ICON_BOX_CORNERS_BIG = 99
698
+ ICON_FOUR_BOXES = 100
699
+ ICON_GRID_FILL = 101
700
+ ICON_BOX_MULTISIZE = 102
701
+ ICON_ZOOM_SMALL = 103
702
+ ICON_ZOOM_MEDIUM = 104
703
+ ICON_ZOOM_BIG = 105
704
+ ICON_ZOOM_ALL = 106
705
+ ICON_ZOOM_CENTER = 107
706
+ ICON_BOX_DOTS_SMALL = 108
707
+ ICON_BOX_DOTS_BIG = 109
708
+ ICON_BOX_CONCENTRIC = 110
709
+ ICON_BOX_GRID_BIG = 111
710
+ ICON_OK_TICK = 112
711
+ ICON_CROSS = 113
712
+ ICON_ARROW_LEFT = 114
713
+ ICON_ARROW_RIGHT = 115
714
+ ICON_ARROW_DOWN = 116
715
+ ICON_ARROW_UP = 117
716
+ ICON_ARROW_LEFT_FILL = 118
717
+ ICON_ARROW_RIGHT_FILL = 119
718
+ ICON_ARROW_DOWN_FILL = 120
719
+ ICON_ARROW_UP_FILL = 121
720
+ ICON_AUDIO = 122
721
+ ICON_FX = 123
722
+ ICON_WAVE = 124
723
+ ICON_WAVE_SINUS = 125
724
+ ICON_WAVE_SQUARE = 126
725
+ ICON_WAVE_TRIANGULAR = 127
726
+ ICON_CROSS_SMALL = 128
727
+ ICON_PLAYER_PREVIOUS = 129
728
+ ICON_PLAYER_PLAY_BACK = 130
729
+ ICON_PLAYER_PLAY = 131
730
+ ICON_PLAYER_PAUSE = 132
731
+ ICON_PLAYER_STOP = 133
732
+ ICON_PLAYER_NEXT = 134
733
+ ICON_PLAYER_RECORD = 135
734
+ ICON_MAGNET = 136
735
+ ICON_LOCK_CLOSE = 137
736
+ ICON_LOCK_OPEN = 138
737
+ ICON_CLOCK = 139
738
+ ICON_TOOLS = 140
739
+ ICON_GEAR = 141
740
+ ICON_GEAR_BIG = 142
741
+ ICON_BIN = 143
742
+ ICON_HAND_POINTER = 144
743
+ ICON_LASER = 145
744
+ ICON_COIN = 146
745
+ ICON_EXPLOSION = 147
746
+ ICON_1UP = 148
747
+ ICON_PLAYER = 149
748
+ ICON_PLAYER_JUMP = 150
749
+ ICON_KEY = 151
750
+ ICON_DEMON = 152
751
+ ICON_TEXT_POPUP = 153
752
+ ICON_GEAR_EX = 154
753
+ ICON_CRACK = 155
754
+ ICON_CRACK_POINTS = 156
755
+ ICON_STAR = 157
756
+ ICON_DOOR = 158
757
+ ICON_EXIT = 159
758
+ ICON_MODE_2D = 160
759
+ ICON_MODE_3D = 161
760
+ ICON_CUBE = 162
761
+ ICON_CUBE_FACE_TOP = 163
762
+ ICON_CUBE_FACE_LEFT = 164
763
+ ICON_CUBE_FACE_FRONT = 165
764
+ ICON_CUBE_FACE_BOTTOM = 166
765
+ ICON_CUBE_FACE_RIGHT = 167
766
+ ICON_CUBE_FACE_BACK = 168
767
+ ICON_CAMERA = 169
768
+ ICON_SPECIAL = 170
769
+ ICON_LINK_NET = 171
770
+ ICON_LINK_BOXES = 172
771
+ ICON_LINK_MULTI = 173
772
+ ICON_LINK = 174
773
+ ICON_LINK_BROKE = 175
774
+ ICON_TEXT_NOTES = 176
775
+ ICON_NOTEBOOK = 177
776
+ ICON_SUITCASE = 178
777
+ ICON_SUITCASE_ZIP = 179
778
+ ICON_MAILBOX = 180
779
+ ICON_MONITOR = 181
780
+ ICON_PRINTER = 182
781
+ ICON_PHOTO_CAMERA = 183
782
+ ICON_PHOTO_CAMERA_FLASH = 184
783
+ ICON_HOUSE = 185
784
+ ICON_HEART = 186
785
+ ICON_CORNER = 187
786
+ ICON_VERTICAL_BARS = 188
787
+ ICON_VERTICAL_BARS_FILL = 189
788
+ ICON_LIFE_BARS = 190
789
+ ICON_INFO = 191
790
+ ICON_CROSSLINE = 192
791
+ ICON_HELP = 193
792
+ ICON_FILETYPE_ALPHA = 194
793
+ ICON_FILETYPE_HOME = 195
794
+ ICON_LAYERS_VISIBLE = 196
795
+ ICON_LAYERS = 197
796
+ ICON_WINDOW = 198
797
+ ICON_HIDPI = 199
798
+ ICON_FILETYPE_BINARY = 200
799
+ ICON_HEX = 201
800
+ ICON_SHIELD = 202
801
+ ICON_FILE_NEW = 203
802
+ ICON_FOLDER_ADD = 204
803
+ ICON_ALARM = 205
804
+ ICON_CPU = 206
805
+ ICON_ROM = 207
806
+ ICON_STEP_OVER = 208
807
+ ICON_STEP_INTO = 209
808
+ ICON_STEP_OUT = 210
809
+ ICON_RESTART = 211
810
+ ICON_BREAKPOINT_ON = 212
811
+ ICON_BREAKPOINT_OFF = 213
812
+ ICON_BURGER_MENU = 214
813
+ ICON_CASE_SENSITIVE = 215
814
+ ICON_REG_EXP = 216
815
+ ICON_FOLDER = 217
816
+ ICON_FILE = 218
817
+ ICON_SAND_TIMER = 219
818
+ ICON_WARNING = 220
819
+ ICON_HELP_BOX = 221
820
+ ICON_INFO_BOX = 222
821
+ ICON_PRIORITY = 223
822
+ ICON_LAYERS_ISO = 224
823
+ ICON_LAYERS2 = 225
824
+ ICON_MLAYERS = 226
825
+ ICON_MAPS = 227
826
+ ICON_HOT = 228
827
+ ICON_229 = 229
828
+ ICON_230 = 230
829
+ ICON_231 = 231
830
+ ICON_232 = 232
831
+ ICON_233 = 233
832
+ ICON_234 = 234
833
+ ICON_235 = 235
834
+ ICON_236 = 236
835
+ ICON_237 = 237
836
+ ICON_238 = 238
837
+ ICON_239 = 239
838
+ ICON_240 = 240
839
+ ICON_241 = 241
840
+ ICON_242 = 242
841
+ ICON_243 = 243
842
+ ICON_244 = 244
843
+ ICON_245 = 245
844
+ ICON_246 = 246
845
+ ICON_247 = 247
846
+ ICON_248 = 248
847
+ ICON_249 = 249
848
+ ICON_250 = 250
849
+ ICON_251 = 251
850
+ ICON_252 = 252
851
+ ICON_253 = 253
852
+ ICON_254 = 254
853
+ ICON_255 = 255
854
+
855
+ from typing import Any
856
+
857
+ import _cffi_backend # type: ignore
858
+
859
+ ffi: _cffi_backend.FFI
860
+
861
+ def attach_audio_mixed_processor(processor: Any,) -> None:
862
+ """Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'"""
863
+ ...
864
+ def attach_audio_stream_processor(stream: AudioStream|list|tuple,processor: Any,) -> None:
865
+ """Attach audio stream processor to stream, receives the samples as 'float'"""
866
+ ...
867
+ def begin_blend_mode(mode: int,) -> None:
868
+ """Begin blending mode (alpha, additive, multiplied, subtract, custom)"""
869
+ ...
870
+ def begin_drawing() -> None:
871
+ """Setup canvas (framebuffer) to start drawing"""
872
+ ...
873
+ def begin_mode_2d(camera: Camera2D|list|tuple,) -> None:
874
+ """Begin 2D mode with custom camera (2D)"""
875
+ ...
876
+ def begin_mode_3d(camera: Camera3D|list|tuple,) -> None:
877
+ """Begin 3D mode with custom camera (3D)"""
878
+ ...
879
+ def begin_scissor_mode(x: int,y: int,width: int,height: int,) -> None:
880
+ """Begin scissor mode (define screen area for following drawing)"""
881
+ ...
882
+ def begin_shader_mode(shader: Shader|list|tuple,) -> None:
883
+ """Begin custom shader drawing"""
884
+ ...
885
+ def begin_texture_mode(target: RenderTexture|list|tuple,) -> None:
886
+ """Begin drawing to render texture"""
887
+ ...
888
+ def begin_vr_stereo_mode(config: VrStereoConfig|list|tuple,) -> None:
889
+ """Begin stereo rendering (requires VR simulator)"""
890
+ ...
891
+ def change_directory(dir: str,) -> bool:
892
+ """Change working directory, return true on success"""
893
+ ...
894
+ def check_collision_box_sphere(box: BoundingBox|list|tuple,center: Vector3|list|tuple,radius: float,) -> bool:
895
+ """Check collision between box and sphere"""
896
+ ...
897
+ def check_collision_boxes(box1: BoundingBox|list|tuple,box2: BoundingBox|list|tuple,) -> bool:
898
+ """Check collision between two bounding boxes"""
899
+ ...
900
+ def check_collision_circle_line(center: Vector2|list|tuple,radius: float,p1: Vector2|list|tuple,p2: Vector2|list|tuple,) -> bool:
901
+ """Check if circle collides with a line created betweeen two points [p1] and [p2]"""
902
+ ...
903
+ def check_collision_circle_rec(center: Vector2|list|tuple,radius: float,rec: Rectangle|list|tuple,) -> bool:
904
+ """Check collision between circle and rectangle"""
905
+ ...
906
+ def check_collision_circles(center1: Vector2|list|tuple,radius1: float,center2: Vector2|list|tuple,radius2: float,) -> bool:
907
+ """Check collision between two circles"""
908
+ ...
909
+ def check_collision_lines(startPos1: Vector2|list|tuple,endPos1: Vector2|list|tuple,startPos2: Vector2|list|tuple,endPos2: Vector2|list|tuple,collisionPoint: Any|list|tuple,) -> bool:
910
+ """Check the collision between two lines defined by two points each, returns collision point by reference"""
911
+ ...
912
+ def check_collision_point_circle(point: Vector2|list|tuple,center: Vector2|list|tuple,radius: float,) -> bool:
913
+ """Check if point is inside circle"""
914
+ ...
915
+ def check_collision_point_line(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,threshold: int,) -> bool:
916
+ """Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]"""
917
+ ...
918
+ def check_collision_point_poly(point: Vector2|list|tuple,points: Any|list|tuple,pointCount: int,) -> bool:
919
+ """Check if point is within a polygon described by array of vertices"""
920
+ ...
921
+ def check_collision_point_rec(point: Vector2|list|tuple,rec: Rectangle|list|tuple,) -> bool:
922
+ """Check if point is inside rectangle"""
923
+ ...
924
+ def check_collision_point_triangle(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,) -> bool:
925
+ """Check if point is inside a triangle"""
926
+ ...
927
+ def check_collision_recs(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> bool:
928
+ """Check collision between two rectangles"""
929
+ ...
930
+ def check_collision_spheres(center1: Vector3|list|tuple,radius1: float,center2: Vector3|list|tuple,radius2: float,) -> bool:
931
+ """Check collision between two spheres"""
932
+ ...
933
+ def clamp(value: float,min_1: float,max_2: float,) -> float:
934
+ """"""
935
+ ...
936
+ def clear_background(color: Color|list|tuple,) -> None:
937
+ """Set background color (framebuffer clear color)"""
938
+ ...
939
+ def clear_window_state(flags: int,) -> None:
940
+ """Clear window configuration state flags"""
941
+ ...
942
+ def close_audio_device() -> None:
943
+ """Close the audio device and context"""
944
+ ...
945
+ def close_physics() -> None:
946
+ """Close physics system and unload used memory"""
947
+ ...
948
+ def close_window() -> None:
949
+ """Close window and unload OpenGL context"""
950
+ ...
951
+ def codepoint_to_utf8(codepoint: int,utf8Size: Any,) -> str:
952
+ """Encode one codepoint into UTF-8 byte array (array length returned as parameter)"""
953
+ ...
954
+ def color_alpha(color: Color|list|tuple,alpha: float,) -> Color:
955
+ """Get color with alpha applied, alpha goes from 0.0f to 1.0f"""
956
+ ...
957
+ def color_alpha_blend(dst: Color|list|tuple,src: Color|list|tuple,tint: Color|list|tuple,) -> Color:
958
+ """Get src alpha-blended into dst color with tint"""
959
+ ...
960
+ def color_brightness(color: Color|list|tuple,factor: float,) -> Color:
961
+ """Get color with brightness correction, brightness factor goes from -1.0f to 1.0f"""
962
+ ...
963
+ def color_contrast(color: Color|list|tuple,contrast: float,) -> Color:
964
+ """Get color with contrast correction, contrast values between -1.0f and 1.0f"""
965
+ ...
966
+ def color_from_hsv(hue: float,saturation: float,value: float,) -> Color:
967
+ """Get a Color from HSV values, hue [0..360], saturation/value [0..1]"""
968
+ ...
969
+ def color_from_normalized(normalized: Vector4|list|tuple,) -> Color:
970
+ """Get Color from normalized values [0..1]"""
971
+ ...
972
+ def color_is_equal(col1: Color|list|tuple,col2: Color|list|tuple,) -> bool:
973
+ """Check if two colors are equal"""
974
+ ...
975
+ def color_lerp(color1: Color|list|tuple,color2: Color|list|tuple,factor: float,) -> Color:
976
+ """Get color lerp interpolation between two colors, factor [0.0f..1.0f]"""
977
+ ...
978
+ def color_normalize(color: Color|list|tuple,) -> Vector4:
979
+ """Get Color normalized as float [0..1]"""
980
+ ...
981
+ def color_tint(color: Color|list|tuple,tint: Color|list|tuple,) -> Color:
982
+ """Get color multiplied with another color"""
983
+ ...
984
+ def color_to_hsv(color: Color|list|tuple,) -> Vector3:
985
+ """Get HSV values for a Color, hue [0..360], saturation/value [0..1]"""
986
+ ...
987
+ def color_to_int(color: Color|list|tuple,) -> int:
988
+ """Get hexadecimal value for a Color (0xRRGGBBAA)"""
989
+ ...
990
+ def compress_data(data: str,dataSize: int,compDataSize: Any,) -> str:
991
+ """Compress data (DEFLATE algorithm), memory must be MemFree()"""
992
+ ...
993
+ def compute_crc32(data: str,dataSize: int,) -> int:
994
+ """Compute CRC32 hash code"""
995
+ ...
996
+ def compute_md5(data: str,dataSize: int,) -> Any:
997
+ """Compute MD5 hash code, returns static int[4] (16 bytes)"""
998
+ ...
999
+ def compute_sha1(data: str,dataSize: int,) -> Any:
1000
+ """Compute SHA1 hash code, returns static int[5] (20 bytes)"""
1001
+ ...
1002
+ def create_physics_body_circle(pos: Vector2|list|tuple,radius: float,density: float,) -> Any:
1003
+ """Creates a new circle physics body with generic parameters"""
1004
+ ...
1005
+ def create_physics_body_polygon(pos: Vector2|list|tuple,radius: float,sides: int,density: float,) -> Any:
1006
+ """Creates a new polygon physics body with generic parameters"""
1007
+ ...
1008
+ def create_physics_body_rectangle(pos: Vector2|list|tuple,width: float,height: float,density: float,) -> Any:
1009
+ """Creates a new rectangle physics body with generic parameters"""
1010
+ ...
1011
+ def decode_data_base64(data: str,outputSize: Any,) -> str:
1012
+ """Decode Base64 string data, memory must be MemFree()"""
1013
+ ...
1014
+ def decompress_data(compData: str,compDataSize: int,dataSize: Any,) -> str:
1015
+ """Decompress data (DEFLATE algorithm), memory must be MemFree()"""
1016
+ ...
1017
+ def destroy_physics_body(body: Any|list|tuple,) -> None:
1018
+ """Destroy a physics body"""
1019
+ ...
1020
+ def detach_audio_mixed_processor(processor: Any,) -> None:
1021
+ """Detach audio stream processor from the entire audio pipeline"""
1022
+ ...
1023
+ def detach_audio_stream_processor(stream: AudioStream|list|tuple,processor: Any,) -> None:
1024
+ """Detach audio stream processor from stream"""
1025
+ ...
1026
+ def directory_exists(dirPath: str,) -> bool:
1027
+ """Check if a directory path exists"""
1028
+ ...
1029
+ def disable_cursor() -> None:
1030
+ """Disables cursor (lock cursor)"""
1031
+ ...
1032
+ def disable_event_waiting() -> None:
1033
+ """Disable waiting for events on EndDrawing(), automatic events polling"""
1034
+ ...
1035
+ def draw_billboard(camera: Camera3D|list|tuple,texture: Texture|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
1036
+ """Draw a billboard texture"""
1037
+ ...
1038
+ def draw_billboard_pro(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:
1039
+ """Draw a billboard texture defined by source and rotation"""
1040
+ ...
1041
+ def draw_billboard_rec(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:
1042
+ """Draw a billboard texture defined by source"""
1043
+ ...
1044
+ def draw_bounding_box(box: BoundingBox|list|tuple,color: Color|list|tuple,) -> None:
1045
+ """Draw bounding box (wires)"""
1046
+ ...
1047
+ def draw_capsule(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
1048
+ """Draw a capsule with the center of its sphere caps at startPos and endPos"""
1049
+ ...
1050
+ def draw_capsule_wires(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
1051
+ """Draw capsule wireframe with the center of its sphere caps at startPos and endPos"""
1052
+ ...
1053
+ def draw_circle(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
1054
+ """Draw a color-filled circle"""
1055
+ ...
1056
+ def draw_circle_3d(center: Vector3|list|tuple,radius: float,rotationAxis: Vector3|list|tuple,rotationAngle: float,color: Color|list|tuple,) -> None:
1057
+ """Draw a circle in 3D world space"""
1058
+ ...
1059
+ def draw_circle_gradient(centerX: int,centerY: int,radius: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> None:
1060
+ """Draw a gradient-filled circle"""
1061
+ ...
1062
+ def draw_circle_lines(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
1063
+ """Draw circle outline"""
1064
+ ...
1065
+ def draw_circle_lines_v(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
1066
+ """Draw circle outline (Vector version)"""
1067
+ ...
1068
+ def draw_circle_sector(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
1069
+ """Draw a piece of a circle"""
1070
+ ...
1071
+ def draw_circle_sector_lines(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
1072
+ """Draw circle sector outline"""
1073
+ ...
1074
+ def draw_circle_v(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
1075
+ """Draw a color-filled circle (Vector version)"""
1076
+ ...
1077
+ def draw_cube(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
1078
+ """Draw cube"""
1079
+ ...
1080
+ def draw_cube_v(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
1081
+ """Draw cube (Vector version)"""
1082
+ ...
1083
+ def draw_cube_wires(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
1084
+ """Draw cube wires"""
1085
+ ...
1086
+ def draw_cube_wires_v(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
1087
+ """Draw cube wires (Vector version)"""
1088
+ ...
1089
+ def draw_cylinder(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
1090
+ """Draw a cylinder/cone"""
1091
+ ...
1092
+ def draw_cylinder_ex(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
1093
+ """Draw a cylinder with base at startPos and top at endPos"""
1094
+ ...
1095
+ def draw_cylinder_wires(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
1096
+ """Draw a cylinder/cone wires"""
1097
+ ...
1098
+ def draw_cylinder_wires_ex(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
1099
+ """Draw a cylinder wires with base at startPos and top at endPos"""
1100
+ ...
1101
+ def draw_ellipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
1102
+ """Draw ellipse"""
1103
+ ...
1104
+ def draw_ellipse_lines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
1105
+ """Draw ellipse outline"""
1106
+ ...
1107
+ def draw_fps(posX: int,posY: int,) -> None:
1108
+ """Draw current FPS"""
1109
+ ...
1110
+ def draw_grid(slices: int,spacing: float,) -> None:
1111
+ """Draw a grid (centered at (0, 0, 0))"""
1112
+ ...
1113
+ def draw_line(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
1114
+ """Draw a line"""
1115
+ ...
1116
+ def draw_line_3d(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,color: Color|list|tuple,) -> None:
1117
+ """Draw a line in 3D world space"""
1118
+ ...
1119
+ def draw_line_bezier(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
1120
+ """Draw line segment cubic-bezier in-out interpolation"""
1121
+ ...
1122
+ def draw_line_ex(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
1123
+ """Draw a line (using triangles/quads)"""
1124
+ ...
1125
+ def draw_line_strip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
1126
+ """Draw lines sequence (using gl lines)"""
1127
+ ...
1128
+ def draw_line_v(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1129
+ """Draw a line (using gl lines)"""
1130
+ ...
1131
+ def draw_mesh(mesh: Mesh|list|tuple,material: Material|list|tuple,transform: Matrix|list|tuple,) -> None:
1132
+ """Draw a 3d mesh with material and transform"""
1133
+ ...
1134
+ def draw_mesh_instanced(mesh: Mesh|list|tuple,material: Material|list|tuple,transforms: Any|list|tuple,instances: int,) -> None:
1135
+ """Draw multiple mesh instances with material and different transforms"""
1136
+ ...
1137
+ def draw_model(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
1138
+ """Draw a model (with texture if set)"""
1139
+ ...
1140
+ def draw_model_ex(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
1141
+ """Draw a model with extended parameters"""
1142
+ ...
1143
+ def draw_model_points(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
1144
+ """Draw a model as points"""
1145
+ ...
1146
+ def draw_model_points_ex(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
1147
+ """Draw a model as points with extended parameters"""
1148
+ ...
1149
+ def draw_model_wires(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
1150
+ """Draw a model wires (with texture if set)"""
1151
+ ...
1152
+ def draw_model_wires_ex(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
1153
+ """Draw a model wires (with texture if set) with extended parameters"""
1154
+ ...
1155
+ def draw_pixel(posX: int,posY: int,color: Color|list|tuple,) -> None:
1156
+ """Draw a pixel using geometry [Can be slow, use with care]"""
1157
+ ...
1158
+ def draw_pixel_v(position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1159
+ """Draw a pixel using geometry (Vector version) [Can be slow, use with care]"""
1160
+ ...
1161
+ def draw_plane(centerPos: Vector3|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1162
+ """Draw a plane XZ"""
1163
+ ...
1164
+ def draw_point_3d(position: Vector3|list|tuple,color: Color|list|tuple,) -> None:
1165
+ """Draw a point in 3D space, actually a small line"""
1166
+ ...
1167
+ def draw_poly(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
1168
+ """Draw a regular polygon (Vector version)"""
1169
+ ...
1170
+ def draw_poly_lines(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
1171
+ """Draw a polygon outline of n sides"""
1172
+ ...
1173
+ def draw_poly_lines_ex(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,lineThick: float,color: Color|list|tuple,) -> None:
1174
+ """Draw a polygon outline of n sides with extended parameters"""
1175
+ ...
1176
+ def draw_ray(ray: Ray|list|tuple,color: Color|list|tuple,) -> None:
1177
+ """Draw a ray line"""
1178
+ ...
1179
+ def draw_rectangle(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
1180
+ """Draw a color-filled rectangle"""
1181
+ ...
1182
+ def draw_rectangle_gradient_ex(rec: Rectangle|list|tuple,topLeft: Color|list|tuple,bottomLeft: Color|list|tuple,topRight: Color|list|tuple,bottomRight: Color|list|tuple,) -> None:
1183
+ """Draw a gradient-filled rectangle with custom vertex colors"""
1184
+ ...
1185
+ def draw_rectangle_gradient_h(posX: int,posY: int,width: int,height: int,left: Color|list|tuple,right: Color|list|tuple,) -> None:
1186
+ """Draw a horizontal-gradient-filled rectangle"""
1187
+ ...
1188
+ def draw_rectangle_gradient_v(posX: int,posY: int,width: int,height: int,top: Color|list|tuple,bottom: Color|list|tuple,) -> None:
1189
+ """Draw a vertical-gradient-filled rectangle"""
1190
+ ...
1191
+ def draw_rectangle_lines(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
1192
+ """Draw rectangle outline"""
1193
+ ...
1194
+ def draw_rectangle_lines_ex(rec: Rectangle|list|tuple,lineThick: float,color: Color|list|tuple,) -> None:
1195
+ """Draw rectangle outline with extended parameters"""
1196
+ ...
1197
+ def draw_rectangle_pro(rec: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,color: Color|list|tuple,) -> None:
1198
+ """Draw a color-filled rectangle with pro parameters"""
1199
+ ...
1200
+ def draw_rectangle_rec(rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
1201
+ """Draw a color-filled rectangle"""
1202
+ ...
1203
+ def draw_rectangle_rounded(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None:
1204
+ """Draw rectangle with rounded edges"""
1205
+ ...
1206
+ def draw_rectangle_rounded_lines(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None:
1207
+ """Draw rectangle lines with rounded edges"""
1208
+ ...
1209
+ def draw_rectangle_rounded_lines_ex(rec: Rectangle|list|tuple,roundness: float,segments: int,lineThick: float,color: Color|list|tuple,) -> None:
1210
+ """Draw rectangle with rounded edges outline"""
1211
+ ...
1212
+ def draw_rectangle_v(position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1213
+ """Draw a color-filled rectangle (Vector version)"""
1214
+ ...
1215
+ def draw_ring(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
1216
+ """Draw ring"""
1217
+ ...
1218
+ def draw_ring_lines(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
1219
+ """Draw ring outline"""
1220
+ ...
1221
+ def draw_sphere(centerPos: Vector3|list|tuple,radius: float,color: Color|list|tuple,) -> None:
1222
+ """Draw sphere"""
1223
+ ...
1224
+ def draw_sphere_ex(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
1225
+ """Draw sphere with extended parameters"""
1226
+ ...
1227
+ def draw_sphere_wires(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
1228
+ """Draw sphere wires"""
1229
+ ...
1230
+ def draw_spline_basis(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
1231
+ """Draw spline: B-Spline, minimum 4 points"""
1232
+ ...
1233
+ def draw_spline_bezier_cubic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
1234
+ """Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]"""
1235
+ ...
1236
+ def draw_spline_bezier_quadratic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
1237
+ """Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]"""
1238
+ ...
1239
+ def draw_spline_catmull_rom(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
1240
+ """Draw spline: Catmull-Rom, minimum 4 points"""
1241
+ ...
1242
+ def draw_spline_linear(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
1243
+ """Draw spline: Linear, minimum 2 points"""
1244
+ ...
1245
+ def draw_spline_segment_basis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
1246
+ """Draw spline segment: B-Spline, 4 points"""
1247
+ ...
1248
+ def draw_spline_segment_bezier_cubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
1249
+ """Draw spline segment: Cubic Bezier, 2 points, 2 control points"""
1250
+ ...
1251
+ def draw_spline_segment_bezier_quadratic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
1252
+ """Draw spline segment: Quadratic Bezier, 2 points, 1 control point"""
1253
+ ...
1254
+ def draw_spline_segment_catmull_rom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
1255
+ """Draw spline segment: Catmull-Rom, 4 points"""
1256
+ ...
1257
+ def draw_spline_segment_linear(p1: Vector2|list|tuple,p2: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
1258
+ """Draw spline segment: Linear, 2 points"""
1259
+ ...
1260
+ def draw_text(text: str,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
1261
+ """Draw text (using default font)"""
1262
+ ...
1263
+ def draw_text_codepoint(font: Font|list|tuple,codepoint: int,position: Vector2|list|tuple,fontSize: float,tint: Color|list|tuple,) -> None:
1264
+ """Draw one character (codepoint)"""
1265
+ ...
1266
+ def draw_text_codepoints(font: Font|list|tuple,codepoints: Any,codepointCount: int,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
1267
+ """Draw multiple character (codepoint)"""
1268
+ ...
1269
+ def draw_text_ex(font: Font|list|tuple,text: str,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
1270
+ """Draw text using font and additional parameters"""
1271
+ ...
1272
+ def draw_text_pro(font: Font|list|tuple,text: str,position: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
1273
+ """Draw text using Font and pro parameters (rotation)"""
1274
+ ...
1275
+ def draw_texture(texture: Texture|list|tuple,posX: int,posY: int,tint: Color|list|tuple,) -> None:
1276
+ """Draw a Texture2D"""
1277
+ ...
1278
+ def draw_texture_ex(texture: Texture|list|tuple,position: Vector2|list|tuple,rotation: float,scale: float,tint: Color|list|tuple,) -> None:
1279
+ """Draw a Texture2D with extended parameters"""
1280
+ ...
1281
+ def draw_texture_n_patch(texture: Texture|list|tuple,nPatchInfo: NPatchInfo|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
1282
+ """Draws a texture (or part of it) that stretches or shrinks nicely"""
1283
+ ...
1284
+ def draw_texture_pro(texture: Texture|list|tuple,source: Rectangle|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
1285
+ """Draw a part of a texture defined by a rectangle with 'pro' parameters"""
1286
+ ...
1287
+ def draw_texture_rec(texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
1288
+ """Draw a part of a texture defined by a rectangle"""
1289
+ ...
1290
+ def draw_texture_v(texture: Texture|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
1291
+ """Draw a Texture2D with position defined as Vector2"""
1292
+ ...
1293
+ def draw_triangle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1294
+ """Draw a color-filled triangle (vertex in counter-clockwise order!)"""
1295
+ ...
1296
+ def draw_triangle_3d(v1: Vector3|list|tuple,v2: Vector3|list|tuple,v3: Vector3|list|tuple,color: Color|list|tuple,) -> None:
1297
+ """Draw a color-filled triangle (vertex in counter-clockwise order!)"""
1298
+ ...
1299
+ def draw_triangle_fan(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
1300
+ """Draw a triangle fan defined by points (first vertex is the center)"""
1301
+ ...
1302
+ def draw_triangle_lines(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1303
+ """Draw triangle outline (vertex in counter-clockwise order!)"""
1304
+ ...
1305
+ def draw_triangle_strip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
1306
+ """Draw a triangle strip defined by points"""
1307
+ ...
1308
+ def draw_triangle_strip_3d(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
1309
+ """Draw a triangle strip defined by points"""
1310
+ ...
1311
+ def enable_cursor() -> None:
1312
+ """Enables cursor (unlock cursor)"""
1313
+ ...
1314
+ def enable_event_waiting() -> None:
1315
+ """Enable waiting for events on EndDrawing(), no automatic event polling"""
1316
+ ...
1317
+ def encode_data_base64(data: str,dataSize: int,outputSize: Any,) -> str:
1318
+ """Encode data to Base64 string, memory must be MemFree()"""
1319
+ ...
1320
+ def end_blend_mode() -> None:
1321
+ """End blending mode (reset to default: alpha blending)"""
1322
+ ...
1323
+ def end_drawing() -> None:
1324
+ """End canvas drawing and swap buffers (double buffering)"""
1325
+ ...
1326
+ def end_mode_2d() -> None:
1327
+ """Ends 2D mode with custom camera"""
1328
+ ...
1329
+ def end_mode_3d() -> None:
1330
+ """Ends 3D mode and returns to default 2D orthographic mode"""
1331
+ ...
1332
+ def end_scissor_mode() -> None:
1333
+ """End scissor mode"""
1334
+ ...
1335
+ def end_shader_mode() -> None:
1336
+ """End custom shader drawing (use default shader)"""
1337
+ ...
1338
+ def end_texture_mode() -> None:
1339
+ """Ends drawing to render texture"""
1340
+ ...
1341
+ def end_vr_stereo_mode() -> None:
1342
+ """End stereo rendering (requires VR simulator)"""
1343
+ ...
1344
+ def export_automation_event_list(list_0: AutomationEventList|list|tuple,fileName: str,) -> bool:
1345
+ """Export automation events list as text file"""
1346
+ ...
1347
+ def export_data_as_code(data: str,dataSize: int,fileName: str,) -> bool:
1348
+ """Export data to code (.h), returns true on success"""
1349
+ ...
1350
+ def export_font_as_code(font: Font|list|tuple,fileName: str,) -> bool:
1351
+ """Export font as code file, returns true on success"""
1352
+ ...
1353
+ def export_image(image: Image|list|tuple,fileName: str,) -> bool:
1354
+ """Export image data to file, returns true on success"""
1355
+ ...
1356
+ def export_image_as_code(image: Image|list|tuple,fileName: str,) -> bool:
1357
+ """Export image as code file defining an array of bytes, returns true on success"""
1358
+ ...
1359
+ def export_image_to_memory(image: Image|list|tuple,fileType: str,fileSize: Any,) -> str:
1360
+ """Export image to memory buffer"""
1361
+ ...
1362
+ def export_mesh(mesh: Mesh|list|tuple,fileName: str,) -> bool:
1363
+ """Export mesh data to file, returns true on success"""
1364
+ ...
1365
+ def export_mesh_as_code(mesh: Mesh|list|tuple,fileName: str,) -> bool:
1366
+ """Export mesh as code file (.h) defining multiple arrays of vertex attributes"""
1367
+ ...
1368
+ def export_wave(wave: Wave|list|tuple,fileName: str,) -> bool:
1369
+ """Export wave data to file, returns true on success"""
1370
+ ...
1371
+ def export_wave_as_code(wave: Wave|list|tuple,fileName: str,) -> bool:
1372
+ """Export wave sample data to code (.h), returns true on success"""
1373
+ ...
1374
+ def fade(color: Color|list|tuple,alpha: float,) -> Color:
1375
+ """Get color with alpha applied, alpha goes from 0.0f to 1.0f"""
1376
+ ...
1377
+ def file_exists(fileName: str,) -> bool:
1378
+ """Check if file exists"""
1379
+ ...
1380
+ def float_equals(x: float,y: float,) -> int:
1381
+ """"""
1382
+ ...
1383
+ def gen_image_cellular(width: int,height: int,tileSize: int,) -> Image:
1384
+ """Generate image: cellular algorithm, bigger tileSize means bigger cells"""
1385
+ ...
1386
+ def gen_image_checked(width: int,height: int,checksX: int,checksY: int,col1: Color|list|tuple,col2: Color|list|tuple,) -> Image:
1387
+ """Generate image: checked"""
1388
+ ...
1389
+ def gen_image_color(width: int,height: int,color: Color|list|tuple,) -> Image:
1390
+ """Generate image: plain color"""
1391
+ ...
1392
+ def gen_image_font_atlas(glyphs: Any|list|tuple,glyphRecs: Any|list|tuple,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
1393
+ """Generate image font atlas using chars info"""
1394
+ ...
1395
+ def gen_image_gradient_linear(width: int,height: int,direction: int,start: Color|list|tuple,end: Color|list|tuple,) -> Image:
1396
+ """Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient"""
1397
+ ...
1398
+ def gen_image_gradient_radial(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
1399
+ """Generate image: radial gradient"""
1400
+ ...
1401
+ def gen_image_gradient_square(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
1402
+ """Generate image: square gradient"""
1403
+ ...
1404
+ def gen_image_perlin_noise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image:
1405
+ """Generate image: perlin noise"""
1406
+ ...
1407
+ def gen_image_text(width: int,height: int,text: str,) -> Image:
1408
+ """Generate image: grayscale image from text data"""
1409
+ ...
1410
+ def gen_image_white_noise(width: int,height: int,factor: float,) -> Image:
1411
+ """Generate image: white noise"""
1412
+ ...
1413
+ def gen_mesh_cone(radius: float,height: float,slices: int,) -> Mesh:
1414
+ """Generate cone/pyramid mesh"""
1415
+ ...
1416
+ def gen_mesh_cube(width: float,height: float,length: float,) -> Mesh:
1417
+ """Generate cuboid mesh"""
1418
+ ...
1419
+ def gen_mesh_cubicmap(cubicmap: Image|list|tuple,cubeSize: Vector3|list|tuple,) -> Mesh:
1420
+ """Generate cubes-based map mesh from image data"""
1421
+ ...
1422
+ def gen_mesh_cylinder(radius: float,height: float,slices: int,) -> Mesh:
1423
+ """Generate cylinder mesh"""
1424
+ ...
1425
+ def gen_mesh_heightmap(heightmap: Image|list|tuple,size: Vector3|list|tuple,) -> Mesh:
1426
+ """Generate heightmap mesh from image data"""
1427
+ ...
1428
+ def gen_mesh_hemi_sphere(radius: float,rings: int,slices: int,) -> Mesh:
1429
+ """Generate half-sphere mesh (no bottom cap)"""
1430
+ ...
1431
+ def gen_mesh_knot(radius: float,size: float,radSeg: int,sides: int,) -> Mesh:
1432
+ """Generate trefoil knot mesh"""
1433
+ ...
1434
+ def gen_mesh_plane(width: float,length: float,resX: int,resZ: int,) -> Mesh:
1435
+ """Generate plane mesh (with subdivisions)"""
1436
+ ...
1437
+ def gen_mesh_poly(sides: int,radius: float,) -> Mesh:
1438
+ """Generate polygonal mesh"""
1439
+ ...
1440
+ def gen_mesh_sphere(radius: float,rings: int,slices: int,) -> Mesh:
1441
+ """Generate sphere mesh (standard sphere)"""
1442
+ ...
1443
+ def gen_mesh_tangents(mesh: Any|list|tuple,) -> None:
1444
+ """Compute mesh tangents"""
1445
+ ...
1446
+ def gen_mesh_torus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh:
1447
+ """Generate torus mesh"""
1448
+ ...
1449
+ def gen_texture_mipmaps(texture: Any|list|tuple,) -> None:
1450
+ """Generate GPU mipmaps for a texture"""
1451
+ ...
1452
+ def get_application_directory() -> str:
1453
+ """Get the directory of the running application (uses static string)"""
1454
+ ...
1455
+ def get_camera_matrix(camera: Camera3D|list|tuple,) -> Matrix:
1456
+ """Get camera transform matrix (view matrix)"""
1457
+ ...
1458
+ def get_camera_matrix_2d(camera: Camera2D|list|tuple,) -> Matrix:
1459
+ """Get camera 2d transform matrix"""
1460
+ ...
1461
+ def get_char_pressed() -> int:
1462
+ """Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty"""
1463
+ ...
1464
+ def get_clipboard_image() -> Image:
1465
+ """Get clipboard image content"""
1466
+ ...
1467
+ def get_clipboard_text() -> str:
1468
+ """Get clipboard text content"""
1469
+ ...
1470
+ def get_codepoint(text: str,codepointSize: Any,) -> int:
1471
+ """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
1472
+ ...
1473
+ def get_codepoint_count(text: str,) -> int:
1474
+ """Get total number of codepoints in a UTF-8 encoded string"""
1475
+ ...
1476
+ def get_codepoint_next(text: str,codepointSize: Any,) -> int:
1477
+ """Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
1478
+ ...
1479
+ def get_codepoint_previous(text: str,codepointSize: Any,) -> int:
1480
+ """Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
1481
+ ...
1482
+ def get_collision_rec(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> Rectangle:
1483
+ """Get collision rectangle for two rectangles collision"""
1484
+ ...
1485
+ def get_color(hexValue: int,) -> Color:
1486
+ """Get Color structure from hexadecimal value"""
1487
+ ...
1488
+ def get_current_monitor() -> int:
1489
+ """Get current monitor where window is placed"""
1490
+ ...
1491
+ def get_directory_path(filePath: str,) -> str:
1492
+ """Get full path for a given fileName with path (uses static string)"""
1493
+ ...
1494
+ def get_fps() -> int:
1495
+ """Get current FPS"""
1496
+ ...
1497
+ def get_file_extension(fileName: str,) -> str:
1498
+ """Get pointer to extension for a filename string (includes dot: '.png')"""
1499
+ ...
1500
+ def get_file_length(fileName: str,) -> int:
1501
+ """Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)"""
1502
+ ...
1503
+ def get_file_mod_time(fileName: str,) -> int:
1504
+ """Get file modification time (last write time)"""
1505
+ ...
1506
+ def get_file_name(filePath: str,) -> str:
1507
+ """Get pointer to filename for a path string"""
1508
+ ...
1509
+ def get_file_name_without_ext(filePath: str,) -> str:
1510
+ """Get filename string without extension (uses static string)"""
1511
+ ...
1512
+ def get_font_default() -> Font:
1513
+ """Get the default Font"""
1514
+ ...
1515
+ def get_frame_time() -> float:
1516
+ """Get time in seconds for last frame drawn (delta time)"""
1517
+ ...
1518
+ def get_gamepad_axis_count(gamepad: int,) -> int:
1519
+ """Get gamepad axis count for a gamepad"""
1520
+ ...
1521
+ def get_gamepad_axis_movement(gamepad: int,axis: int,) -> float:
1522
+ """Get axis movement value for a gamepad axis"""
1523
+ ...
1524
+ def get_gamepad_button_pressed() -> int:
1525
+ """Get the last gamepad button pressed"""
1526
+ ...
1527
+ def get_gamepad_name(gamepad: int,) -> str:
1528
+ """Get gamepad internal name id"""
1529
+ ...
1530
+ def get_gesture_detected() -> int:
1531
+ """Get latest detected gesture"""
1532
+ ...
1533
+ def get_gesture_drag_angle() -> float:
1534
+ """Get gesture drag angle"""
1535
+ ...
1536
+ def get_gesture_drag_vector() -> Vector2:
1537
+ """Get gesture drag vector"""
1538
+ ...
1539
+ def get_gesture_hold_duration() -> float:
1540
+ """Get gesture hold time in seconds"""
1541
+ ...
1542
+ def get_gesture_pinch_angle() -> float:
1543
+ """Get gesture pinch angle"""
1544
+ ...
1545
+ def get_gesture_pinch_vector() -> Vector2:
1546
+ """Get gesture pinch delta"""
1547
+ ...
1548
+ def get_glyph_atlas_rec(font: Font|list|tuple,codepoint: int,) -> Rectangle:
1549
+ """Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found"""
1550
+ ...
1551
+ def get_glyph_index(font: Font|list|tuple,codepoint: int,) -> int:
1552
+ """Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found"""
1553
+ ...
1554
+ def get_glyph_info(font: Font|list|tuple,codepoint: int,) -> GlyphInfo:
1555
+ """Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found"""
1556
+ ...
1557
+ def get_image_alpha_border(image: Image|list|tuple,threshold: float,) -> Rectangle:
1558
+ """Get image alpha border rectangle"""
1559
+ ...
1560
+ def get_image_color(image: Image|list|tuple,x: int,y: int,) -> Color:
1561
+ """Get image pixel color at (x, y) position"""
1562
+ ...
1563
+ def get_key_pressed() -> int:
1564
+ """Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty"""
1565
+ ...
1566
+ def get_master_volume() -> float:
1567
+ """Get master volume (listener)"""
1568
+ ...
1569
+ def get_mesh_bounding_box(mesh: Mesh|list|tuple,) -> BoundingBox:
1570
+ """Compute mesh bounding box limits"""
1571
+ ...
1572
+ def get_model_bounding_box(model: Model|list|tuple,) -> BoundingBox:
1573
+ """Compute model bounding box limits (considers all meshes)"""
1574
+ ...
1575
+ def get_monitor_count() -> int:
1576
+ """Get number of connected monitors"""
1577
+ ...
1578
+ def get_monitor_height(monitor: int,) -> int:
1579
+ """Get specified monitor height (current video mode used by monitor)"""
1580
+ ...
1581
+ def get_monitor_name(monitor: int,) -> str:
1582
+ """Get the human-readable, UTF-8 encoded name of the specified monitor"""
1583
+ ...
1584
+ def get_monitor_physical_height(monitor: int,) -> int:
1585
+ """Get specified monitor physical height in millimetres"""
1586
+ ...
1587
+ def get_monitor_physical_width(monitor: int,) -> int:
1588
+ """Get specified monitor physical width in millimetres"""
1589
+ ...
1590
+ def get_monitor_position(monitor: int,) -> Vector2:
1591
+ """Get specified monitor position"""
1592
+ ...
1593
+ def get_monitor_refresh_rate(monitor: int,) -> int:
1594
+ """Get specified monitor refresh rate"""
1595
+ ...
1596
+ def get_monitor_width(monitor: int,) -> int:
1597
+ """Get specified monitor width (current video mode used by monitor)"""
1598
+ ...
1599
+ def get_mouse_delta() -> Vector2:
1600
+ """Get mouse delta between frames"""
1601
+ ...
1602
+ def get_mouse_position() -> Vector2:
1603
+ """Get mouse position XY"""
1604
+ ...
1605
+ def get_mouse_wheel_move() -> float:
1606
+ """Get mouse wheel movement for X or Y, whichever is larger"""
1607
+ ...
1608
+ def get_mouse_wheel_move_v() -> Vector2:
1609
+ """Get mouse wheel movement for both X and Y"""
1610
+ ...
1611
+ def get_mouse_x() -> int:
1612
+ """Get mouse position X"""
1613
+ ...
1614
+ def get_mouse_y() -> int:
1615
+ """Get mouse position Y"""
1616
+ ...
1617
+ def get_music_time_length(music: Music|list|tuple,) -> float:
1618
+ """Get music time length (in seconds)"""
1619
+ ...
1620
+ def get_music_time_played(music: Music|list|tuple,) -> float:
1621
+ """Get current music time played (in seconds)"""
1622
+ ...
1623
+ def get_physics_bodies_count() -> int:
1624
+ """Returns the current amount of created physics bodies"""
1625
+ ...
1626
+ def get_physics_body(index: int,) -> Any:
1627
+ """Returns a physics body of the bodies pool at a specific index"""
1628
+ ...
1629
+ def get_physics_shape_type(index: int,) -> int:
1630
+ """Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)"""
1631
+ ...
1632
+ def get_physics_shape_vertex(body: Any|list|tuple,vertex: int,) -> Vector2:
1633
+ """Returns transformed position of a body shape (body position + vertex transformed position)"""
1634
+ ...
1635
+ def get_physics_shape_vertices_count(index: int,) -> int:
1636
+ """Returns the amount of vertices of a physics body shape"""
1637
+ ...
1638
+ def get_pixel_color(srcPtr: Any,format: int,) -> Color:
1639
+ """Get Color from a source pixel pointer of certain format"""
1640
+ ...
1641
+ def get_pixel_data_size(width: int,height: int,format: int,) -> int:
1642
+ """Get pixel data size in bytes for certain format"""
1643
+ ...
1644
+ def get_prev_directory_path(dirPath: str,) -> str:
1645
+ """Get previous directory path for a given path (uses static string)"""
1646
+ ...
1647
+ def get_random_value(min_0: int,max_1: int,) -> int:
1648
+ """Get a random value between min and max (both included)"""
1649
+ ...
1650
+ def get_ray_collision_box(ray: Ray|list|tuple,box: BoundingBox|list|tuple,) -> RayCollision:
1651
+ """Get collision info between ray and box"""
1652
+ ...
1653
+ def get_ray_collision_mesh(ray: Ray|list|tuple,mesh: Mesh|list|tuple,transform: Matrix|list|tuple,) -> RayCollision:
1654
+ """Get collision info between ray and mesh"""
1655
+ ...
1656
+ def get_ray_collision_quad(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,p4: Vector3|list|tuple,) -> RayCollision:
1657
+ """Get collision info between ray and quad"""
1658
+ ...
1659
+ def get_ray_collision_sphere(ray: Ray|list|tuple,center: Vector3|list|tuple,radius: float,) -> RayCollision:
1660
+ """Get collision info between ray and sphere"""
1661
+ ...
1662
+ def get_ray_collision_triangle(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,) -> RayCollision:
1663
+ """Get collision info between ray and triangle"""
1664
+ ...
1665
+ def get_render_height() -> int:
1666
+ """Get current render height (it considers HiDPI)"""
1667
+ ...
1668
+ def get_render_width() -> int:
1669
+ """Get current render width (it considers HiDPI)"""
1670
+ ...
1671
+ def get_screen_height() -> int:
1672
+ """Get current screen height"""
1673
+ ...
1674
+ def get_screen_to_world_2d(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
1675
+ """Get the world space position for a 2d camera screen space position"""
1676
+ ...
1677
+ def get_screen_to_world_ray(position: Vector2|list|tuple,camera: Camera3D|list|tuple,) -> Ray:
1678
+ """Get a ray trace from screen position (i.e mouse)"""
1679
+ ...
1680
+ def get_screen_to_world_ray_ex(position: Vector2|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Ray:
1681
+ """Get a ray trace from screen position (i.e mouse) in a viewport"""
1682
+ ...
1683
+ def get_screen_width() -> int:
1684
+ """Get current screen width"""
1685
+ ...
1686
+ def get_shader_location(shader: Shader|list|tuple,uniformName: str,) -> int:
1687
+ """Get shader uniform location"""
1688
+ ...
1689
+ def get_shader_location_attrib(shader: Shader|list|tuple,attribName: str,) -> int:
1690
+ """Get shader attribute location"""
1691
+ ...
1692
+ def get_shapes_texture() -> Texture:
1693
+ """Get texture that is used for shapes drawing"""
1694
+ ...
1695
+ def get_shapes_texture_rectangle() -> Rectangle:
1696
+ """Get texture source rectangle that is used for shapes drawing"""
1697
+ ...
1698
+ def get_spline_point_basis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
1699
+ """Get (evaluate) spline point: B-Spline"""
1700
+ ...
1701
+ def get_spline_point_bezier_cubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
1702
+ """Get (evaluate) spline point: Cubic Bezier"""
1703
+ ...
1704
+ def get_spline_point_bezier_quad(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,t: float,) -> Vector2:
1705
+ """Get (evaluate) spline point: Quadratic Bezier"""
1706
+ ...
1707
+ def get_spline_point_catmull_rom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
1708
+ """Get (evaluate) spline point: Catmull-Rom"""
1709
+ ...
1710
+ def get_spline_point_linear(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,t: float,) -> Vector2:
1711
+ """Get (evaluate) spline point: Linear"""
1712
+ ...
1713
+ def get_time() -> float:
1714
+ """Get elapsed time in seconds since InitWindow()"""
1715
+ ...
1716
+ def get_touch_point_count() -> int:
1717
+ """Get number of touch points"""
1718
+ ...
1719
+ def get_touch_point_id(index: int,) -> int:
1720
+ """Get touch point identifier for given index"""
1721
+ ...
1722
+ def get_touch_position(index: int,) -> Vector2:
1723
+ """Get touch position XY for a touch point index (relative to screen size)"""
1724
+ ...
1725
+ def get_touch_x() -> int:
1726
+ """Get touch position X for touch point 0 (relative to screen size)"""
1727
+ ...
1728
+ def get_touch_y() -> int:
1729
+ """Get touch position Y for touch point 0 (relative to screen size)"""
1730
+ ...
1731
+ def get_window_handle() -> Any:
1732
+ """Get native window handle"""
1733
+ ...
1734
+ def get_window_position() -> Vector2:
1735
+ """Get window position XY on monitor"""
1736
+ ...
1737
+ def get_window_scale_dpi() -> Vector2:
1738
+ """Get window scale DPI factor"""
1739
+ ...
1740
+ def get_working_directory() -> str:
1741
+ """Get current working directory (uses static string)"""
1742
+ ...
1743
+ def get_world_to_screen(position: Vector3|list|tuple,camera: Camera3D|list|tuple,) -> Vector2:
1744
+ """Get the screen space position for a 3d world space position"""
1745
+ ...
1746
+ def get_world_to_screen_2d(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
1747
+ """Get the screen space position for a 2d camera world space position"""
1748
+ ...
1749
+ def get_world_to_screen_ex(position: Vector3|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Vector2:
1750
+ """Get size position for a 3d world space position"""
1751
+ ...
1752
+ def gui_button(bounds: Rectangle|list|tuple,text: str,) -> int:
1753
+ """Button control, returns true when clicked"""
1754
+ ...
1755
+ def gui_check_box(bounds: Rectangle|list|tuple,text: str,checked: Any,) -> int:
1756
+ """Check Box control, returns true when active"""
1757
+ ...
1758
+ def gui_color_bar_alpha(bounds: Rectangle|list|tuple,text: str,alpha: Any,) -> int:
1759
+ """Color Bar Alpha control"""
1760
+ ...
1761
+ def gui_color_bar_hue(bounds: Rectangle|list|tuple,text: str,value: Any,) -> int:
1762
+ """Color Bar Hue control"""
1763
+ ...
1764
+ def gui_color_panel(bounds: Rectangle|list|tuple,text: str,color: Any|list|tuple,) -> int:
1765
+ """Color Panel control"""
1766
+ ...
1767
+ def gui_color_panel_hsv(bounds: Rectangle|list|tuple,text: str,colorHsv: Any|list|tuple,) -> int:
1768
+ """Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()"""
1769
+ ...
1770
+ def gui_color_picker(bounds: Rectangle|list|tuple,text: str,color: Any|list|tuple,) -> int:
1771
+ """Color Picker control (multiple color controls)"""
1772
+ ...
1773
+ def gui_color_picker_hsv(bounds: Rectangle|list|tuple,text: str,colorHsv: Any|list|tuple,) -> int:
1774
+ """Color Picker control that avoids conversion to RGB on each call (multiple color controls)"""
1775
+ ...
1776
+ def gui_combo_box(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int:
1777
+ """Combo Box control"""
1778
+ ...
1779
+ def gui_disable() -> None:
1780
+ """Disable gui controls (global state)"""
1781
+ ...
1782
+ def gui_disable_tooltip() -> None:
1783
+ """Disable gui tooltips (global state)"""
1784
+ ...
1785
+ def gui_draw_icon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color|list|tuple,) -> None:
1786
+ """Draw icon using pixel size at specified position"""
1787
+ ...
1788
+ def gui_dropdown_box(bounds: Rectangle|list|tuple,text: str,active: Any,editMode: bool,) -> int:
1789
+ """Dropdown Box control"""
1790
+ ...
1791
+ def gui_dummy_rec(bounds: Rectangle|list|tuple,text: str,) -> int:
1792
+ """Dummy control for placeholders"""
1793
+ ...
1794
+ def gui_enable() -> None:
1795
+ """Enable gui controls (global state)"""
1796
+ ...
1797
+ def gui_enable_tooltip() -> None:
1798
+ """Enable gui tooltips (global state)"""
1799
+ ...
1800
+ def gui_get_font() -> Font:
1801
+ """Get gui custom font (global state)"""
1802
+ ...
1803
+ def gui_get_icons() -> Any:
1804
+ """Get raygui icons data pointer"""
1805
+ ...
1806
+ def gui_get_state() -> int:
1807
+ """Get gui state (global state)"""
1808
+ ...
1809
+ def gui_get_style(control: int,property: int,) -> int:
1810
+ """Get one style property"""
1811
+ ...
1812
+ def gui_grid(bounds: Rectangle|list|tuple,text: str,spacing: float,subdivs: int,mouseCell: Any|list|tuple,) -> int:
1813
+ """Grid control"""
1814
+ ...
1815
+ def gui_group_box(bounds: Rectangle|list|tuple,text: str,) -> int:
1816
+ """Group Box control with text name"""
1817
+ ...
1818
+ def gui_icon_text(iconId: int,text: str,) -> str:
1819
+ """Get text with icon id prepended (if supported)"""
1820
+ ...
1821
+ def gui_is_locked() -> bool:
1822
+ """Check if gui is locked (global state)"""
1823
+ ...
1824
+ def gui_label(bounds: Rectangle|list|tuple,text: str,) -> int:
1825
+ """Label control"""
1826
+ ...
1827
+ def gui_label_button(bounds: Rectangle|list|tuple,text: str,) -> int:
1828
+ """Label button control, returns true when clicked"""
1829
+ ...
1830
+ def gui_line(bounds: Rectangle|list|tuple,text: str,) -> int:
1831
+ """Line separator control, could contain text"""
1832
+ ...
1833
+ def gui_list_view(bounds: Rectangle|list|tuple,text: str,scrollIndex: Any,active: Any,) -> int:
1834
+ """List View control"""
1835
+ ...
1836
+ def gui_list_view_ex(bounds: Rectangle|list|tuple,text: list[str],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
1837
+ """List View with extended parameters"""
1838
+ ...
1839
+ def gui_load_icons(fileName: str,loadIconsName: bool,) -> list[str]:
1840
+ """Load raygui icons file (.rgi) into internal icons data"""
1841
+ ...
1842
+ def gui_load_style(fileName: str,) -> None:
1843
+ """Load style file over global style variable (.rgs)"""
1844
+ ...
1845
+ def gui_load_style_default() -> None:
1846
+ """Load style default over global style"""
1847
+ ...
1848
+ def gui_lock() -> None:
1849
+ """Lock gui controls (global state)"""
1850
+ ...
1851
+ def gui_message_box(bounds: Rectangle|list|tuple,title: str,message: str,buttons: str,) -> int:
1852
+ """Message Box control, displays a message"""
1853
+ ...
1854
+ def gui_panel(bounds: Rectangle|list|tuple,text: str,) -> int:
1855
+ """Panel control, useful to group controls"""
1856
+ ...
1857
+ def gui_progress_bar(bounds: Rectangle|list|tuple,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1858
+ """Progress Bar control"""
1859
+ ...
1860
+ def gui_scroll_panel(bounds: Rectangle|list|tuple,text: str,content: Rectangle|list|tuple,scroll: Any|list|tuple,view: Any|list|tuple,) -> int:
1861
+ """Scroll Panel control"""
1862
+ ...
1863
+ def gui_set_alpha(alpha: float,) -> None:
1864
+ """Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f"""
1865
+ ...
1866
+ def gui_set_font(font: Font|list|tuple,) -> None:
1867
+ """Set gui custom font (global state)"""
1868
+ ...
1869
+ def gui_set_icon_scale(scale: int,) -> None:
1870
+ """Set default icon drawing size"""
1871
+ ...
1872
+ def gui_set_state(state: int,) -> None:
1873
+ """Set gui state (global state)"""
1874
+ ...
1875
+ def gui_set_style(control: int,property: int,value: int,) -> None:
1876
+ """Set one style property"""
1877
+ ...
1878
+ def gui_set_tooltip(tooltip: str,) -> None:
1879
+ """Set tooltip string"""
1880
+ ...
1881
+ def gui_slider(bounds: Rectangle|list|tuple,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1882
+ """Slider control"""
1883
+ ...
1884
+ def gui_slider_bar(bounds: Rectangle|list|tuple,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
1885
+ """Slider Bar control"""
1886
+ ...
1887
+ def gui_spinner(bounds: Rectangle|list|tuple,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1888
+ """Spinner control"""
1889
+ ...
1890
+ def gui_status_bar(bounds: Rectangle|list|tuple,text: str,) -> int:
1891
+ """Status Bar control, shows info text"""
1892
+ ...
1893
+ def gui_tab_bar(bounds: Rectangle|list|tuple,text: list[str],count: int,active: Any,) -> int:
1894
+ """Tab Bar control, returns TAB to be closed or -1"""
1895
+ ...
1896
+ def gui_text_box(bounds: Rectangle|list|tuple,text: str,textSize: int,editMode: bool,) -> int:
1897
+ """Text Box control, updates input text"""
1898
+ ...
1899
+ def gui_text_input_box(bounds: Rectangle|list|tuple,title: str,message: str,buttons: str,text: str,textMaxSize: int,secretViewActive: Any,) -> int:
1900
+ """Text Input Box control, ask for text, supports secret"""
1901
+ ...
1902
+ def gui_toggle(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int:
1903
+ """Toggle Button control"""
1904
+ ...
1905
+ def gui_toggle_group(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int:
1906
+ """Toggle Group control"""
1907
+ ...
1908
+ def gui_toggle_slider(bounds: Rectangle|list|tuple,text: str,active: Any,) -> int:
1909
+ """Toggle Slider control"""
1910
+ ...
1911
+ def gui_unlock() -> None:
1912
+ """Unlock gui controls (global state)"""
1913
+ ...
1914
+ def gui_value_box(bounds: Rectangle|list|tuple,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
1915
+ """Value Box control, updates input text with numbers"""
1916
+ ...
1917
+ def gui_value_box_float(bounds: Rectangle|list|tuple,text: str,textValue: str,value: Any,editMode: bool,) -> int:
1918
+ """Value box control for float values"""
1919
+ ...
1920
+ def gui_window_box(bounds: Rectangle|list|tuple,title: str,) -> int:
1921
+ """Window Box control, shows a window that can be closed"""
1922
+ ...
1923
+ def hide_cursor() -> None:
1924
+ """Hides cursor"""
1925
+ ...
1926
+ def image_alpha_clear(image: Any|list|tuple,color: Color|list|tuple,threshold: float,) -> None:
1927
+ """Clear alpha channel to desired color"""
1928
+ ...
1929
+ def image_alpha_crop(image: Any|list|tuple,threshold: float,) -> None:
1930
+ """Crop image depending on alpha value"""
1931
+ ...
1932
+ def image_alpha_mask(image: Any|list|tuple,alphaMask: Image|list|tuple,) -> None:
1933
+ """Apply alpha mask to image"""
1934
+ ...
1935
+ def image_alpha_premultiply(image: Any|list|tuple,) -> None:
1936
+ """Premultiply alpha channel"""
1937
+ ...
1938
+ def image_blur_gaussian(image: Any|list|tuple,blurSize: int,) -> None:
1939
+ """Apply Gaussian blur using a box blur approximation"""
1940
+ ...
1941
+ def image_clear_background(dst: Any|list|tuple,color: Color|list|tuple,) -> None:
1942
+ """Clear image background with given color"""
1943
+ ...
1944
+ def image_color_brightness(image: Any|list|tuple,brightness: int,) -> None:
1945
+ """Modify image color: brightness (-255 to 255)"""
1946
+ ...
1947
+ def image_color_contrast(image: Any|list|tuple,contrast: float,) -> None:
1948
+ """Modify image color: contrast (-100 to 100)"""
1949
+ ...
1950
+ def image_color_grayscale(image: Any|list|tuple,) -> None:
1951
+ """Modify image color: grayscale"""
1952
+ ...
1953
+ def image_color_invert(image: Any|list|tuple,) -> None:
1954
+ """Modify image color: invert"""
1955
+ ...
1956
+ def image_color_replace(image: Any|list|tuple,color: Color|list|tuple,replace: Color|list|tuple,) -> None:
1957
+ """Modify image color: replace color"""
1958
+ ...
1959
+ def image_color_tint(image: Any|list|tuple,color: Color|list|tuple,) -> None:
1960
+ """Modify image color: tint"""
1961
+ ...
1962
+ def image_copy(image: Image|list|tuple,) -> Image:
1963
+ """Create an image duplicate (useful for transformations)"""
1964
+ ...
1965
+ def image_crop(image: Any|list|tuple,crop: Rectangle|list|tuple,) -> None:
1966
+ """Crop an image to a defined rectangle"""
1967
+ ...
1968
+ def image_dither(image: Any|list|tuple,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None:
1969
+ """Dither image data to 16bpp or lower (Floyd-Steinberg dithering)"""
1970
+ ...
1971
+ def image_draw(dst: Any|list|tuple,src: Image|list|tuple,srcRec: Rectangle|list|tuple,dstRec: Rectangle|list|tuple,tint: Color|list|tuple,) -> None:
1972
+ """Draw a source image within a destination image (tint applied to source)"""
1973
+ ...
1974
+ def image_draw_circle(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
1975
+ """Draw a filled circle within an image"""
1976
+ ...
1977
+ def image_draw_circle_lines(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
1978
+ """Draw circle outline within an image"""
1979
+ ...
1980
+ def image_draw_circle_lines_v(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
1981
+ """Draw circle outline within an image (Vector version)"""
1982
+ ...
1983
+ def image_draw_circle_v(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
1984
+ """Draw a filled circle within an image (Vector version)"""
1985
+ ...
1986
+ def image_draw_line(dst: Any|list|tuple,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
1987
+ """Draw line within an image"""
1988
+ ...
1989
+ def image_draw_line_ex(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,thick: int,color: Color|list|tuple,) -> None:
1990
+ """Draw a line defining thickness within an image"""
1991
+ ...
1992
+ def image_draw_line_v(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1993
+ """Draw line within an image (Vector version)"""
1994
+ ...
1995
+ def image_draw_pixel(dst: Any|list|tuple,posX: int,posY: int,color: Color|list|tuple,) -> None:
1996
+ """Draw pixel within an image"""
1997
+ ...
1998
+ def image_draw_pixel_v(dst: Any|list|tuple,position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
1999
+ """Draw pixel within an image (Vector version)"""
2000
+ ...
2001
+ def image_draw_rectangle(dst: Any|list|tuple,posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
2002
+ """Draw rectangle within an image"""
2003
+ ...
2004
+ def image_draw_rectangle_lines(dst: Any|list|tuple,rec: Rectangle|list|tuple,thick: int,color: Color|list|tuple,) -> None:
2005
+ """Draw rectangle lines within an image"""
2006
+ ...
2007
+ def image_draw_rectangle_rec(dst: Any|list|tuple,rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
2008
+ """Draw rectangle within an image"""
2009
+ ...
2010
+ def image_draw_rectangle_v(dst: Any|list|tuple,position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
2011
+ """Draw rectangle within an image (Vector version)"""
2012
+ ...
2013
+ def image_draw_text(dst: Any|list|tuple,text: str,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
2014
+ """Draw text (using default font) within an image (destination)"""
2015
+ ...
2016
+ def image_draw_text_ex(dst: Any|list|tuple,font: Font|list|tuple,text: str,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
2017
+ """Draw text (custom sprite font) within an image (destination)"""
2018
+ ...
2019
+ def image_draw_triangle(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
2020
+ """Draw triangle within an image"""
2021
+ ...
2022
+ def image_draw_triangle_ex(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:
2023
+ """Draw triangle with interpolated colors within an image"""
2024
+ ...
2025
+ def image_draw_triangle_fan(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
2026
+ """Draw a triangle fan defined by points within an image (first vertex is the center)"""
2027
+ ...
2028
+ def image_draw_triangle_lines(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
2029
+ """Draw triangle outline within an image"""
2030
+ ...
2031
+ def image_draw_triangle_strip(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
2032
+ """Draw a triangle strip defined by points within an image"""
2033
+ ...
2034
+ def image_flip_horizontal(image: Any|list|tuple,) -> None:
2035
+ """Flip image horizontally"""
2036
+ ...
2037
+ def image_flip_vertical(image: Any|list|tuple,) -> None:
2038
+ """Flip image vertically"""
2039
+ ...
2040
+ def image_format(image: Any|list|tuple,newFormat: int,) -> None:
2041
+ """Convert image data to desired format"""
2042
+ ...
2043
+ def image_from_channel(image: Image|list|tuple,selectedChannel: int,) -> Image:
2044
+ """Create an image from a selected channel of another image (GRAYSCALE)"""
2045
+ ...
2046
+ def image_from_image(image: Image|list|tuple,rec: Rectangle|list|tuple,) -> Image:
2047
+ """Create an image from another image piece"""
2048
+ ...
2049
+ def image_kernel_convolution(image: Any|list|tuple,kernel: Any,kernelSize: int,) -> None:
2050
+ """Apply custom square convolution kernel to image"""
2051
+ ...
2052
+ def image_mipmaps(image: Any|list|tuple,) -> None:
2053
+ """Compute all mipmap levels for a provided image"""
2054
+ ...
2055
+ def image_resize(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
2056
+ """Resize image (Bicubic scaling algorithm)"""
2057
+ ...
2058
+ def image_resize_canvas(image: Any|list|tuple,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color|list|tuple,) -> None:
2059
+ """Resize canvas and fill with color"""
2060
+ ...
2061
+ def image_resize_nn(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
2062
+ """Resize image (Nearest-Neighbor scaling algorithm)"""
2063
+ ...
2064
+ def image_rotate(image: Any|list|tuple,degrees: int,) -> None:
2065
+ """Rotate image by input angle in degrees (-359 to 359)"""
2066
+ ...
2067
+ def image_rotate_ccw(image: Any|list|tuple,) -> None:
2068
+ """Rotate image counter-clockwise 90deg"""
2069
+ ...
2070
+ def image_rotate_cw(image: Any|list|tuple,) -> None:
2071
+ """Rotate image clockwise 90deg"""
2072
+ ...
2073
+ def image_text(text: str,fontSize: int,color: Color|list|tuple,) -> Image:
2074
+ """Create an image from text (default font)"""
2075
+ ...
2076
+ def image_text_ex(font: Font|list|tuple,text: str,fontSize: float,spacing: float,tint: Color|list|tuple,) -> Image:
2077
+ """Create an image from text (custom sprite font)"""
2078
+ ...
2079
+ def image_to_pot(image: Any|list|tuple,fill: Color|list|tuple,) -> None:
2080
+ """Convert image to POT (power-of-two)"""
2081
+ ...
2082
+ def init_audio_device() -> None:
2083
+ """Initialize audio device and context"""
2084
+ ...
2085
+ def init_physics() -> None:
2086
+ """Initializes physics system"""
2087
+ ...
2088
+ def init_window(width: int,height: int,title: str,) -> None:
2089
+ """Initialize window and OpenGL context"""
2090
+ ...
2091
+ def is_audio_device_ready() -> bool:
2092
+ """Check if audio device has been initialized successfully"""
2093
+ ...
2094
+ def is_audio_stream_playing(stream: AudioStream|list|tuple,) -> bool:
2095
+ """Check if audio stream is playing"""
2096
+ ...
2097
+ def is_audio_stream_processed(stream: AudioStream|list|tuple,) -> bool:
2098
+ """Check if any audio stream buffers requires refill"""
2099
+ ...
2100
+ def is_audio_stream_valid(stream: AudioStream|list|tuple,) -> bool:
2101
+ """Checks if an audio stream is valid (buffers initialized)"""
2102
+ ...
2103
+ def is_cursor_hidden() -> bool:
2104
+ """Check if cursor is not visible"""
2105
+ ...
2106
+ def is_cursor_on_screen() -> bool:
2107
+ """Check if cursor is on the screen"""
2108
+ ...
2109
+ def is_file_dropped() -> bool:
2110
+ """Check if a file has been dropped into window"""
2111
+ ...
2112
+ def is_file_extension(fileName: str,ext: str,) -> bool:
2113
+ """Check file extension (including point: .png, .wav)"""
2114
+ ...
2115
+ def is_file_name_valid(fileName: str,) -> bool:
2116
+ """Check if fileName is valid for the platform/OS"""
2117
+ ...
2118
+ def is_font_valid(font: Font|list|tuple,) -> bool:
2119
+ """Check if a font is valid (font data loaded, WARNING: GPU texture not checked)"""
2120
+ ...
2121
+ def is_gamepad_available(gamepad: int,) -> bool:
2122
+ """Check if a gamepad is available"""
2123
+ ...
2124
+ def is_gamepad_button_down(gamepad: int,button: int,) -> bool:
2125
+ """Check if a gamepad button is being pressed"""
2126
+ ...
2127
+ def is_gamepad_button_pressed(gamepad: int,button: int,) -> bool:
2128
+ """Check if a gamepad button has been pressed once"""
2129
+ ...
2130
+ def is_gamepad_button_released(gamepad: int,button: int,) -> bool:
2131
+ """Check if a gamepad button has been released once"""
2132
+ ...
2133
+ def is_gamepad_button_up(gamepad: int,button: int,) -> bool:
2134
+ """Check if a gamepad button is NOT being pressed"""
2135
+ ...
2136
+ def is_gesture_detected(gesture: int,) -> bool:
2137
+ """Check if a gesture have been detected"""
2138
+ ...
2139
+ def is_image_valid(image: Image|list|tuple,) -> bool:
2140
+ """Check if an image is valid (data and parameters)"""
2141
+ ...
2142
+ def is_key_down(key: int,) -> bool:
2143
+ """Check if a key is being pressed"""
2144
+ ...
2145
+ def is_key_pressed(key: int,) -> bool:
2146
+ """Check if a key has been pressed once"""
2147
+ ...
2148
+ def is_key_pressed_repeat(key: int,) -> bool:
2149
+ """Check if a key has been pressed again"""
2150
+ ...
2151
+ def is_key_released(key: int,) -> bool:
2152
+ """Check if a key has been released once"""
2153
+ ...
2154
+ def is_key_up(key: int,) -> bool:
2155
+ """Check if a key is NOT being pressed"""
2156
+ ...
2157
+ def is_material_valid(material: Material|list|tuple,) -> bool:
2158
+ """Check if a material is valid (shader assigned, map textures loaded in GPU)"""
2159
+ ...
2160
+ def is_model_animation_valid(model: Model|list|tuple,anim: ModelAnimation|list|tuple,) -> bool:
2161
+ """Check model animation skeleton match"""
2162
+ ...
2163
+ def is_model_valid(model: Model|list|tuple,) -> bool:
2164
+ """Check if a model is valid (loaded in GPU, VAO/VBOs)"""
2165
+ ...
2166
+ def is_mouse_button_down(button: int,) -> bool:
2167
+ """Check if a mouse button is being pressed"""
2168
+ ...
2169
+ def is_mouse_button_pressed(button: int,) -> bool:
2170
+ """Check if a mouse button has been pressed once"""
2171
+ ...
2172
+ def is_mouse_button_released(button: int,) -> bool:
2173
+ """Check if a mouse button has been released once"""
2174
+ ...
2175
+ def is_mouse_button_up(button: int,) -> bool:
2176
+ """Check if a mouse button is NOT being pressed"""
2177
+ ...
2178
+ def is_music_stream_playing(music: Music|list|tuple,) -> bool:
2179
+ """Check if music is playing"""
2180
+ ...
2181
+ def is_music_valid(music: Music|list|tuple,) -> bool:
2182
+ """Checks if a music stream is valid (context and buffers initialized)"""
2183
+ ...
2184
+ def is_path_file(path: str,) -> bool:
2185
+ """Check if a given path is a file or a directory"""
2186
+ ...
2187
+ def is_render_texture_valid(target: RenderTexture|list|tuple,) -> bool:
2188
+ """Check if a render texture is valid (loaded in GPU)"""
2189
+ ...
2190
+ def is_shader_valid(shader: Shader|list|tuple,) -> bool:
2191
+ """Check if a shader is valid (loaded on GPU)"""
2192
+ ...
2193
+ def is_sound_playing(sound: Sound|list|tuple,) -> bool:
2194
+ """Check if a sound is currently playing"""
2195
+ ...
2196
+ def is_sound_valid(sound: Sound|list|tuple,) -> bool:
2197
+ """Checks if a sound is valid (data loaded and buffers initialized)"""
2198
+ ...
2199
+ def is_texture_valid(texture: Texture|list|tuple,) -> bool:
2200
+ """Check if a texture is valid (loaded in GPU)"""
2201
+ ...
2202
+ def is_wave_valid(wave: Wave|list|tuple,) -> bool:
2203
+ """Checks if wave data is valid (data loaded and parameters)"""
2204
+ ...
2205
+ def is_window_focused() -> bool:
2206
+ """Check if window is currently focused"""
2207
+ ...
2208
+ def is_window_fullscreen() -> bool:
2209
+ """Check if window is currently fullscreen"""
2210
+ ...
2211
+ def is_window_hidden() -> bool:
2212
+ """Check if window is currently hidden"""
2213
+ ...
2214
+ def is_window_maximized() -> bool:
2215
+ """Check if window is currently maximized"""
2216
+ ...
2217
+ def is_window_minimized() -> bool:
2218
+ """Check if window is currently minimized"""
2219
+ ...
2220
+ def is_window_ready() -> bool:
2221
+ """Check if window has been initialized successfully"""
2222
+ ...
2223
+ def is_window_resized() -> bool:
2224
+ """Check if window has been resized last frame"""
2225
+ ...
2226
+ def is_window_state(flag: int,) -> bool:
2227
+ """Check if one specific window flag is enabled"""
2228
+ ...
2229
+ def lerp(start: float,end: float,amount: float,) -> float:
2230
+ """"""
2231
+ ...
2232
+ def load_audio_stream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
2233
+ """Load audio stream (to stream raw audio pcm data)"""
2234
+ ...
2235
+ def load_automation_event_list(fileName: str,) -> AutomationEventList:
2236
+ """Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS"""
2237
+ ...
2238
+ def load_codepoints(text: str,count: Any,) -> Any:
2239
+ """Load all codepoints from a UTF-8 text string, codepoints count returned by parameter"""
2240
+ ...
2241
+ def load_directory_files(dirPath: str,) -> FilePathList:
2242
+ """Load directory filepaths"""
2243
+ ...
2244
+ def load_directory_files_ex(basePath: str,filter: str,scanSubdirs: bool,) -> FilePathList:
2245
+ """Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result"""
2246
+ ...
2247
+ def load_dropped_files() -> FilePathList:
2248
+ """Load dropped filepaths"""
2249
+ ...
2250
+ def load_file_data(fileName: str,dataSize: Any,) -> str:
2251
+ """Load file data as byte array (read)"""
2252
+ ...
2253
+ def load_file_text(fileName: str,) -> str:
2254
+ """Load text data from file (read), returns a '\0' terminated string"""
2255
+ ...
2256
+ def load_font(fileName: str,) -> Font:
2257
+ """Load font from file into GPU memory (VRAM)"""
2258
+ ...
2259
+ def load_font_data(fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any:
2260
+ """Load font data for further use"""
2261
+ ...
2262
+ def load_font_ex(fileName: str,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
2263
+ """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"""
2264
+ ...
2265
+ def load_font_from_image(image: Image|list|tuple,key: Color|list|tuple,firstChar: int,) -> Font:
2266
+ """Load font from Image (XNA style)"""
2267
+ ...
2268
+ def load_font_from_memory(fileType: str,fileData: str,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
2269
+ """Load font from memory buffer, fileType refers to extension: i.e. '.ttf'"""
2270
+ ...
2271
+ def load_image(fileName: str,) -> Image:
2272
+ """Load image from file into CPU memory (RAM)"""
2273
+ ...
2274
+ def load_image_anim(fileName: str,frames: Any,) -> Image:
2275
+ """Load image sequence from file (frames appended to image.data)"""
2276
+ ...
2277
+ def load_image_anim_from_memory(fileType: str,fileData: str,dataSize: int,frames: Any,) -> Image:
2278
+ """Load image sequence from memory buffer"""
2279
+ ...
2280
+ def load_image_colors(image: Image|list|tuple,) -> Any:
2281
+ """Load color data from image as a Color array (RGBA - 32bit)"""
2282
+ ...
2283
+ def load_image_from_memory(fileType: str,fileData: str,dataSize: int,) -> Image:
2284
+ """Load image from memory buffer, fileType refers to extension: i.e. '.png'"""
2285
+ ...
2286
+ def load_image_from_screen() -> Image:
2287
+ """Load image from screen buffer and (screenshot)"""
2288
+ ...
2289
+ def load_image_from_texture(texture: Texture|list|tuple,) -> Image:
2290
+ """Load image from GPU texture data"""
2291
+ ...
2292
+ def load_image_palette(image: Image|list|tuple,maxPaletteSize: int,colorCount: Any,) -> Any:
2293
+ """Load colors palette from image as a Color array (RGBA - 32bit)"""
2294
+ ...
2295
+ def load_image_raw(fileName: str,width: int,height: int,format: int,headerSize: int,) -> Image:
2296
+ """Load image from RAW file data"""
2297
+ ...
2298
+ def load_material_default() -> Material:
2299
+ """Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"""
2300
+ ...
2301
+ def load_materials(fileName: str,materialCount: Any,) -> Any:
2302
+ """Load materials from model file"""
2303
+ ...
2304
+ def load_model(fileName: str,) -> Model:
2305
+ """Load model from files (meshes and materials)"""
2306
+ ...
2307
+ def load_model_animations(fileName: str,animCount: Any,) -> Any:
2308
+ """Load model animations from file"""
2309
+ ...
2310
+ def load_model_from_mesh(mesh: Mesh|list|tuple,) -> Model:
2311
+ """Load model from generated mesh (default material)"""
2312
+ ...
2313
+ def load_music_stream(fileName: str,) -> Music:
2314
+ """Load music stream from file"""
2315
+ ...
2316
+ def load_music_stream_from_memory(fileType: str,data: str,dataSize: int,) -> Music:
2317
+ """Load music stream from data"""
2318
+ ...
2319
+ def load_random_sequence(count: int,min_1: int,max_2: int,) -> Any:
2320
+ """Load random values sequence, no values repeated"""
2321
+ ...
2322
+ def load_render_texture(width: int,height: int,) -> RenderTexture:
2323
+ """Load texture for rendering (framebuffer)"""
2324
+ ...
2325
+ def load_shader(vsFileName: str,fsFileName: str,) -> Shader:
2326
+ """Load shader from files and bind default locations"""
2327
+ ...
2328
+ def load_shader_from_memory(vsCode: str,fsCode: str,) -> Shader:
2329
+ """Load shader from code strings and bind default locations"""
2330
+ ...
2331
+ def load_sound(fileName: str,) -> Sound:
2332
+ """Load sound from file"""
2333
+ ...
2334
+ def load_sound_alias(source: Sound|list|tuple,) -> Sound:
2335
+ """Create a new sound that shares the same sample data as the source sound, does not own the sound data"""
2336
+ ...
2337
+ def load_sound_from_wave(wave: Wave|list|tuple,) -> Sound:
2338
+ """Load sound from wave data"""
2339
+ ...
2340
+ def load_texture(fileName: str,) -> Texture:
2341
+ """Load texture from file into GPU memory (VRAM)"""
2342
+ ...
2343
+ def load_texture_cubemap(image: Image|list|tuple,layout: int,) -> Texture:
2344
+ """Load cubemap from image, multiple image cubemap layouts supported"""
2345
+ ...
2346
+ def load_texture_from_image(image: Image|list|tuple,) -> Texture:
2347
+ """Load texture from image data"""
2348
+ ...
2349
+ def load_utf8(codepoints: Any,length: int,) -> str:
2350
+ """Load UTF-8 text encoded from codepoints array"""
2351
+ ...
2352
+ def load_vr_stereo_config(device: VrDeviceInfo|list|tuple,) -> VrStereoConfig:
2353
+ """Load VR stereo config for VR simulator device parameters"""
2354
+ ...
2355
+ def load_wave(fileName: str,) -> Wave:
2356
+ """Load wave data from file"""
2357
+ ...
2358
+ def load_wave_from_memory(fileType: str,fileData: str,dataSize: int,) -> Wave:
2359
+ """Load wave from memory buffer, fileType refers to extension: i.e. '.wav'"""
2360
+ ...
2361
+ def load_wave_samples(wave: Wave|list|tuple,) -> Any:
2362
+ """Load samples data from wave as a 32bit float data array"""
2363
+ ...
2364
+ def make_directory(dirPath: str,) -> int:
2365
+ """Create directories (including full path requested), returns 0 on success"""
2366
+ ...
2367
+ def matrix_add(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
2368
+ """"""
2369
+ ...
2370
+ def matrix_decompose(mat: Matrix|list|tuple,translation: Any|list|tuple,rotation: Any|list|tuple,scale: Any|list|tuple,) -> None:
2371
+ """"""
2372
+ ...
2373
+ def matrix_determinant(mat: Matrix|list|tuple,) -> float:
2374
+ """"""
2375
+ ...
2376
+ def matrix_frustum(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
2377
+ """"""
2378
+ ...
2379
+ def matrix_identity() -> Matrix:
2380
+ """"""
2381
+ ...
2382
+ def matrix_invert(mat: Matrix|list|tuple,) -> Matrix:
2383
+ """"""
2384
+ ...
2385
+ def matrix_look_at(eye: Vector3|list|tuple,target: Vector3|list|tuple,up: Vector3|list|tuple,) -> Matrix:
2386
+ """"""
2387
+ ...
2388
+ def matrix_multiply(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
2389
+ """"""
2390
+ ...
2391
+ def matrix_ortho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
2392
+ """"""
2393
+ ...
2394
+ def matrix_perspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix:
2395
+ """"""
2396
+ ...
2397
+ def matrix_rotate(axis: Vector3|list|tuple,angle: float,) -> Matrix:
2398
+ """"""
2399
+ ...
2400
+ def matrix_rotate_x(angle: float,) -> Matrix:
2401
+ """"""
2402
+ ...
2403
+ def matrix_rotate_xyz(angle: Vector3|list|tuple,) -> Matrix:
2404
+ """"""
2405
+ ...
2406
+ def matrix_rotate_y(angle: float,) -> Matrix:
2407
+ """"""
2408
+ ...
2409
+ def matrix_rotate_z(angle: float,) -> Matrix:
2410
+ """"""
2411
+ ...
2412
+ def matrix_rotate_zyx(angle: Vector3|list|tuple,) -> Matrix:
2413
+ """"""
2414
+ ...
2415
+ def matrix_scale(x: float,y: float,z: float,) -> Matrix:
2416
+ """"""
2417
+ ...
2418
+ def matrix_subtract(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
2419
+ """"""
2420
+ ...
2421
+ def matrix_to_float_v(mat: Matrix|list|tuple,) -> float16:
2422
+ """"""
2423
+ ...
2424
+ def matrix_trace(mat: Matrix|list|tuple,) -> float:
2425
+ """"""
2426
+ ...
2427
+ def matrix_translate(x: float,y: float,z: float,) -> Matrix:
2428
+ """"""
2429
+ ...
2430
+ def matrix_transpose(mat: Matrix|list|tuple,) -> Matrix:
2431
+ """"""
2432
+ ...
2433
+ def maximize_window() -> None:
2434
+ """Set window state: maximized, if resizable"""
2435
+ ...
2436
+ def measure_text(text: str,fontSize: int,) -> int:
2437
+ """Measure string width for default font"""
2438
+ ...
2439
+ def measure_text_ex(font: Font|list|tuple,text: str,fontSize: float,spacing: float,) -> Vector2:
2440
+ """Measure string size for Font"""
2441
+ ...
2442
+ def mem_alloc(size: int,) -> Any:
2443
+ """Internal memory allocator"""
2444
+ ...
2445
+ def mem_free(ptr: Any,) -> None:
2446
+ """Internal memory free"""
2447
+ ...
2448
+ def mem_realloc(ptr: Any,size: int,) -> Any:
2449
+ """Internal memory reallocator"""
2450
+ ...
2451
+ def minimize_window() -> None:
2452
+ """Set window state: minimized, if resizable"""
2453
+ ...
2454
+ def normalize(value: float,start: float,end: float,) -> float:
2455
+ """"""
2456
+ ...
2457
+ def open_url(url: str,) -> None:
2458
+ """Open URL with default system browser (if available)"""
2459
+ ...
2460
+ def pause_audio_stream(stream: AudioStream|list|tuple,) -> None:
2461
+ """Pause audio stream"""
2462
+ ...
2463
+ def pause_music_stream(music: Music|list|tuple,) -> None:
2464
+ """Pause music playing"""
2465
+ ...
2466
+ def pause_sound(sound: Sound|list|tuple,) -> None:
2467
+ """Pause a sound"""
2468
+ ...
2469
+ def physics_add_force(body: Any|list|tuple,force: Vector2|list|tuple,) -> None:
2470
+ """Adds a force to a physics body"""
2471
+ ...
2472
+ def physics_add_torque(body: Any|list|tuple,amount: float,) -> None:
2473
+ """Adds an angular force to a physics body"""
2474
+ ...
2475
+ def physics_shatter(body: Any|list|tuple,position: Vector2|list|tuple,force: float,) -> None:
2476
+ """Shatters a polygon shape physics body to little physics bodies with explosion force"""
2477
+ ...
2478
+ def play_audio_stream(stream: AudioStream|list|tuple,) -> None:
2479
+ """Play audio stream"""
2480
+ ...
2481
+ def play_automation_event(event: AutomationEvent|list|tuple,) -> None:
2482
+ """Play a recorded automation event"""
2483
+ ...
2484
+ def play_music_stream(music: Music|list|tuple,) -> None:
2485
+ """Start music playing"""
2486
+ ...
2487
+ def play_sound(sound: Sound|list|tuple,) -> None:
2488
+ """Play a sound"""
2489
+ ...
2490
+ def poll_input_events() -> None:
2491
+ """Register all input events"""
2492
+ ...
2493
+ def quaternion_add(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2494
+ """"""
2495
+ ...
2496
+ def quaternion_add_value(q: Vector4|list|tuple,add: float,) -> Vector4:
2497
+ """"""
2498
+ ...
2499
+ def quaternion_cubic_hermite_spline(q1: Vector4|list|tuple,outTangent1: Vector4|list|tuple,q2: Vector4|list|tuple,inTangent2: Vector4|list|tuple,t: float,) -> Vector4:
2500
+ """"""
2501
+ ...
2502
+ def quaternion_divide(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2503
+ """"""
2504
+ ...
2505
+ def quaternion_equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int:
2506
+ """"""
2507
+ ...
2508
+ def quaternion_from_axis_angle(axis: Vector3|list|tuple,angle: float,) -> Vector4:
2509
+ """"""
2510
+ ...
2511
+ def quaternion_from_euler(pitch: float,yaw: float,roll: float,) -> Vector4:
2512
+ """"""
2513
+ ...
2514
+ def quaternion_from_matrix(mat: Matrix|list|tuple,) -> Vector4:
2515
+ """"""
2516
+ ...
2517
+ def quaternion_from_vector3_to_vector3(from_0: Vector3|list|tuple,to: Vector3|list|tuple,) -> Vector4:
2518
+ """"""
2519
+ ...
2520
+ def quaternion_identity() -> Vector4:
2521
+ """"""
2522
+ ...
2523
+ def quaternion_invert(q: Vector4|list|tuple,) -> Vector4:
2524
+ """"""
2525
+ ...
2526
+ def quaternion_length(q: Vector4|list|tuple,) -> float:
2527
+ """"""
2528
+ ...
2529
+ def quaternion_lerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
2530
+ """"""
2531
+ ...
2532
+ def quaternion_multiply(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2533
+ """"""
2534
+ ...
2535
+ def quaternion_nlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
2536
+ """"""
2537
+ ...
2538
+ def quaternion_normalize(q: Vector4|list|tuple,) -> Vector4:
2539
+ """"""
2540
+ ...
2541
+ def quaternion_scale(q: Vector4|list|tuple,mul: float,) -> Vector4:
2542
+ """"""
2543
+ ...
2544
+ def quaternion_slerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
2545
+ """"""
2546
+ ...
2547
+ def quaternion_subtract(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
2548
+ """"""
2549
+ ...
2550
+ def quaternion_subtract_value(q: Vector4|list|tuple,sub: float,) -> Vector4:
2551
+ """"""
2552
+ ...
2553
+ def quaternion_to_axis_angle(q: Vector4|list|tuple,outAxis: Any|list|tuple,outAngle: Any,) -> None:
2554
+ """"""
2555
+ ...
2556
+ def quaternion_to_euler(q: Vector4|list|tuple,) -> Vector3:
2557
+ """"""
2558
+ ...
2559
+ def quaternion_to_matrix(q: Vector4|list|tuple,) -> Matrix:
2560
+ """"""
2561
+ ...
2562
+ def quaternion_transform(q: Vector4|list|tuple,mat: Matrix|list|tuple,) -> Vector4:
2563
+ """"""
2564
+ ...
2565
+ def remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float:
2566
+ """"""
2567
+ ...
2568
+ def reset_physics() -> None:
2569
+ """Reset physics system (global variables)"""
2570
+ ...
2571
+ def restore_window() -> None:
2572
+ """Set window state: not minimized/maximized"""
2573
+ ...
2574
+ def resume_audio_stream(stream: AudioStream|list|tuple,) -> None:
2575
+ """Resume audio stream"""
2576
+ ...
2577
+ def resume_music_stream(music: Music|list|tuple,) -> None:
2578
+ """Resume playing paused music"""
2579
+ ...
2580
+ def resume_sound(sound: Sound|list|tuple,) -> None:
2581
+ """Resume a paused sound"""
2582
+ ...
2583
+ def save_file_data(fileName: str,data: Any,dataSize: int,) -> bool:
2584
+ """Save data to file from byte array (write), returns true on success"""
2585
+ ...
2586
+ def save_file_text(fileName: str,text: str,) -> bool:
2587
+ """Save text data to file (write), string must be '\0' terminated, returns true on success"""
2588
+ ...
2589
+ def seek_music_stream(music: Music|list|tuple,position: float,) -> None:
2590
+ """Seek music to a position (in seconds)"""
2591
+ ...
2592
+ def set_audio_stream_buffer_size_default(size: int,) -> None:
2593
+ """Default size for new audio streams"""
2594
+ ...
2595
+ def set_audio_stream_callback(stream: AudioStream|list|tuple,callback: Any,) -> None:
2596
+ """Audio thread callback to request new data"""
2597
+ ...
2598
+ def set_audio_stream_pan(stream: AudioStream|list|tuple,pan: float,) -> None:
2599
+ """Set pan for audio stream (0.5 is centered)"""
2600
+ ...
2601
+ def set_audio_stream_pitch(stream: AudioStream|list|tuple,pitch: float,) -> None:
2602
+ """Set pitch for audio stream (1.0 is base level)"""
2603
+ ...
2604
+ def set_audio_stream_volume(stream: AudioStream|list|tuple,volume: float,) -> None:
2605
+ """Set volume for audio stream (1.0 is max level)"""
2606
+ ...
2607
+ def set_automation_event_base_frame(frame: int,) -> None:
2608
+ """Set automation event internal base frame to start recording"""
2609
+ ...
2610
+ def set_automation_event_list(list_0: Any|list|tuple,) -> None:
2611
+ """Set automation event list to record to"""
2612
+ ...
2613
+ def set_clipboard_text(text: str,) -> None:
2614
+ """Set clipboard text content"""
2615
+ ...
2616
+ def set_config_flags(flags: int,) -> None:
2617
+ """Setup init configuration flags (view FLAGS)"""
2618
+ ...
2619
+ def set_exit_key(key: int,) -> None:
2620
+ """Set a custom key to exit program (default is ESC)"""
2621
+ ...
2622
+ def set_gamepad_mappings(mappings: str,) -> int:
2623
+ """Set internal gamepad mappings (SDL_GameControllerDB)"""
2624
+ ...
2625
+ def set_gamepad_vibration(gamepad: int,leftMotor: float,rightMotor: float,duration: float,) -> None:
2626
+ """Set gamepad vibration for both motors (duration in seconds)"""
2627
+ ...
2628
+ def set_gestures_enabled(flags: int,) -> None:
2629
+ """Enable a set of gestures using flags"""
2630
+ ...
2631
+ def set_load_file_data_callback(callback: str,) -> None:
2632
+ """Set custom file binary data loader"""
2633
+ ...
2634
+ def set_load_file_text_callback(callback: str,) -> None:
2635
+ """Set custom file text data loader"""
2636
+ ...
2637
+ def set_master_volume(volume: float,) -> None:
2638
+ """Set master volume (listener)"""
2639
+ ...
2640
+ def set_material_texture(material: Any|list|tuple,mapType: int,texture: Texture|list|tuple,) -> None:
2641
+ """Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)"""
2642
+ ...
2643
+ def set_model_mesh_material(model: Any|list|tuple,meshId: int,materialId: int,) -> None:
2644
+ """Set material for a mesh"""
2645
+ ...
2646
+ def set_mouse_cursor(cursor: int,) -> None:
2647
+ """Set mouse cursor"""
2648
+ ...
2649
+ def set_mouse_offset(offsetX: int,offsetY: int,) -> None:
2650
+ """Set mouse offset"""
2651
+ ...
2652
+ def set_mouse_position(x: int,y: int,) -> None:
2653
+ """Set mouse position XY"""
2654
+ ...
2655
+ def set_mouse_scale(scaleX: float,scaleY: float,) -> None:
2656
+ """Set mouse scaling"""
2657
+ ...
2658
+ def set_music_pan(music: Music|list|tuple,pan: float,) -> None:
2659
+ """Set pan for a music (0.5 is center)"""
2660
+ ...
2661
+ def set_music_pitch(music: Music|list|tuple,pitch: float,) -> None:
2662
+ """Set pitch for a music (1.0 is base level)"""
2663
+ ...
2664
+ def set_music_volume(music: Music|list|tuple,volume: float,) -> None:
2665
+ """Set volume for music (1.0 is max level)"""
2666
+ ...
2667
+ def set_physics_body_rotation(body: Any|list|tuple,radians: float,) -> None:
2668
+ """Sets physics body shape transform based on radians parameter"""
2669
+ ...
2670
+ def set_physics_gravity(x: float,y: float,) -> None:
2671
+ """Sets physics global gravity force"""
2672
+ ...
2673
+ def set_physics_time_step(delta: float,) -> None:
2674
+ """Sets physics fixed time step in milliseconds. 1.666666 by default"""
2675
+ ...
2676
+ def set_pixel_color(dstPtr: Any,color: Color|list|tuple,format: int,) -> None:
2677
+ """Set color formatted into destination pixel pointer"""
2678
+ ...
2679
+ def set_random_seed(seed: int,) -> None:
2680
+ """Set the seed for the random number generator"""
2681
+ ...
2682
+ def set_save_file_data_callback(callback: str,) -> None:
2683
+ """Set custom file binary data saver"""
2684
+ ...
2685
+ def set_save_file_text_callback(callback: str,) -> None:
2686
+ """Set custom file text data saver"""
2687
+ ...
2688
+ def set_shader_value(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,) -> None:
2689
+ """Set shader uniform value"""
2690
+ ...
2691
+ def set_shader_value_matrix(shader: Shader|list|tuple,locIndex: int,mat: Matrix|list|tuple,) -> None:
2692
+ """Set shader uniform value (matrix 4x4)"""
2693
+ ...
2694
+ def set_shader_value_texture(shader: Shader|list|tuple,locIndex: int,texture: Texture|list|tuple,) -> None:
2695
+ """Set shader uniform value for texture (sampler2d)"""
2696
+ ...
2697
+ def set_shader_value_v(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,count: int,) -> None:
2698
+ """Set shader uniform value vector"""
2699
+ ...
2700
+ def set_shapes_texture(texture: Texture|list|tuple,source: Rectangle|list|tuple,) -> None:
2701
+ """Set texture and rectangle to be used on shapes drawing"""
2702
+ ...
2703
+ def set_sound_pan(sound: Sound|list|tuple,pan: float,) -> None:
2704
+ """Set pan for a sound (0.5 is center)"""
2705
+ ...
2706
+ def set_sound_pitch(sound: Sound|list|tuple,pitch: float,) -> None:
2707
+ """Set pitch for a sound (1.0 is base level)"""
2708
+ ...
2709
+ def set_sound_volume(sound: Sound|list|tuple,volume: float,) -> None:
2710
+ """Set volume for a sound (1.0 is max level)"""
2711
+ ...
2712
+ def set_target_fps(fps: int,) -> None:
2713
+ """Set target FPS (maximum)"""
2714
+ ...
2715
+ def set_text_line_spacing(spacing: int,) -> None:
2716
+ """Set vertical line spacing when drawing with line-breaks"""
2717
+ ...
2718
+ def set_texture_filter(texture: Texture|list|tuple,filter: int,) -> None:
2719
+ """Set texture scaling filter mode"""
2720
+ ...
2721
+ def set_texture_wrap(texture: Texture|list|tuple,wrap: int,) -> None:
2722
+ """Set texture wrapping mode"""
2723
+ ...
2724
+ def set_trace_log_callback(callback: str,) -> None:
2725
+ """Set custom trace log"""
2726
+ ...
2727
+ def set_trace_log_level(logLevel: int,) -> None:
2728
+ """Set the current threshold (minimum) log level"""
2729
+ ...
2730
+ def set_window_focused() -> None:
2731
+ """Set window focused"""
2732
+ ...
2733
+ def set_window_icon(image: Image|list|tuple,) -> None:
2734
+ """Set icon for window (single image, RGBA 32bit)"""
2735
+ ...
2736
+ def set_window_icons(images: Any|list|tuple,count: int,) -> None:
2737
+ """Set icon for window (multiple images, RGBA 32bit)"""
2738
+ ...
2739
+ def set_window_max_size(width: int,height: int,) -> None:
2740
+ """Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)"""
2741
+ ...
2742
+ def set_window_min_size(width: int,height: int,) -> None:
2743
+ """Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)"""
2744
+ ...
2745
+ def set_window_monitor(monitor: int,) -> None:
2746
+ """Set monitor for the current window"""
2747
+ ...
2748
+ def set_window_opacity(opacity: float,) -> None:
2749
+ """Set window opacity [0.0f..1.0f]"""
2750
+ ...
2751
+ def set_window_position(x: int,y: int,) -> None:
2752
+ """Set window position on screen"""
2753
+ ...
2754
+ def set_window_size(width: int,height: int,) -> None:
2755
+ """Set window dimensions"""
2756
+ ...
2757
+ def set_window_state(flags: int,) -> None:
2758
+ """Set window configuration state using flags"""
2759
+ ...
2760
+ def set_window_title(title: str,) -> None:
2761
+ """Set title for window"""
2762
+ ...
2763
+ def show_cursor() -> None:
2764
+ """Shows cursor"""
2765
+ ...
2766
+ def start_automation_event_recording() -> None:
2767
+ """Start recording automation events (AutomationEventList must be set)"""
2768
+ ...
2769
+ def stop_audio_stream(stream: AudioStream|list|tuple,) -> None:
2770
+ """Stop audio stream"""
2771
+ ...
2772
+ def stop_automation_event_recording() -> None:
2773
+ """Stop recording automation events"""
2774
+ ...
2775
+ def stop_music_stream(music: Music|list|tuple,) -> None:
2776
+ """Stop music playing"""
2777
+ ...
2778
+ def stop_sound(sound: Sound|list|tuple,) -> None:
2779
+ """Stop playing a sound"""
2780
+ ...
2781
+ def swap_screen_buffer() -> None:
2782
+ """Swap back buffer with front buffer (screen drawing)"""
2783
+ ...
2784
+ def take_screenshot(fileName: str,) -> None:
2785
+ """Takes a screenshot of current screen (filename extension defines format)"""
2786
+ ...
2787
+ def text_append(text: str,append: str,position: Any,) -> None:
2788
+ """Append text at specific position and move cursor!"""
2789
+ ...
2790
+ def text_copy(dst: str,src: str,) -> int:
2791
+ """Copy one string to another, returns bytes copied"""
2792
+ ...
2793
+ def text_find_index(text: str,find: str,) -> int:
2794
+ """Find first text occurrence within a string"""
2795
+ ...
2796
+ def text_format(*args) -> str:
2797
+ """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
2798
+ ...
2799
+ def text_insert(text: str,insert: str,position: int,) -> str:
2800
+ """Insert text in a position (WARNING: memory must be freed!)"""
2801
+ ...
2802
+ def text_is_equal(text1: str,text2: str,) -> bool:
2803
+ """Check if two text string are equal"""
2804
+ ...
2805
+ def text_join(textList: list[str],count: int,delimiter: str,) -> str:
2806
+ """Join text strings with delimiter"""
2807
+ ...
2808
+ def text_length(text: str,) -> int:
2809
+ """Get text length, checks for '\0' ending"""
2810
+ ...
2811
+ def text_replace(text: str,replace: str,by: str,) -> str:
2812
+ """Replace text string (WARNING: memory must be freed!)"""
2813
+ ...
2814
+ def text_split(text: str,delimiter: str,count: Any,) -> list[str]:
2815
+ """Split text into multiple strings"""
2816
+ ...
2817
+ def text_subtext(text: str,position: int,length: int,) -> str:
2818
+ """Get a piece of a text string"""
2819
+ ...
2820
+ def text_to_camel(text: str,) -> str:
2821
+ """Get Camel case notation version of provided string"""
2822
+ ...
2823
+ def text_to_float(text: str,) -> float:
2824
+ """Get float value from text (negative values not supported)"""
2825
+ ...
2826
+ def text_to_integer(text: str,) -> int:
2827
+ """Get integer value from text (negative values not supported)"""
2828
+ ...
2829
+ def text_to_lower(text: str,) -> str:
2830
+ """Get lower case version of provided string"""
2831
+ ...
2832
+ def text_to_pascal(text: str,) -> str:
2833
+ """Get Pascal case notation version of provided string"""
2834
+ ...
2835
+ def text_to_snake(text: str,) -> str:
2836
+ """Get Snake case notation version of provided string"""
2837
+ ...
2838
+ def text_to_upper(text: str,) -> str:
2839
+ """Get upper case version of provided string"""
2840
+ ...
2841
+ def toggle_borderless_windowed() -> None:
2842
+ """Toggle window state: borderless windowed, resizes window to match monitor resolution"""
2843
+ ...
2844
+ def toggle_fullscreen() -> None:
2845
+ """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution"""
2846
+ ...
2847
+ def trace_log(*args) -> None:
2848
+ """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
2849
+ ...
2850
+ def unload_audio_stream(stream: AudioStream|list|tuple,) -> None:
2851
+ """Unload audio stream and free memory"""
2852
+ ...
2853
+ def unload_automation_event_list(list_0: AutomationEventList|list|tuple,) -> None:
2854
+ """Unload automation events list from file"""
2855
+ ...
2856
+ def unload_codepoints(codepoints: Any,) -> None:
2857
+ """Unload codepoints data from memory"""
2858
+ ...
2859
+ def unload_directory_files(files: FilePathList|list|tuple,) -> None:
2860
+ """Unload filepaths"""
2861
+ ...
2862
+ def unload_dropped_files(files: FilePathList|list|tuple,) -> None:
2863
+ """Unload dropped filepaths"""
2864
+ ...
2865
+ def unload_file_data(data: str,) -> None:
2866
+ """Unload file data allocated by LoadFileData()"""
2867
+ ...
2868
+ def unload_file_text(text: str,) -> None:
2869
+ """Unload file text data allocated by LoadFileText()"""
2870
+ ...
2871
+ def unload_font(font: Font|list|tuple,) -> None:
2872
+ """Unload font from GPU memory (VRAM)"""
2873
+ ...
2874
+ def unload_font_data(glyphs: Any|list|tuple,glyphCount: int,) -> None:
2875
+ """Unload font chars info data (RAM)"""
2876
+ ...
2877
+ def unload_image(image: Image|list|tuple,) -> None:
2878
+ """Unload image from CPU memory (RAM)"""
2879
+ ...
2880
+ def unload_image_colors(colors: Any|list|tuple,) -> None:
2881
+ """Unload color data loaded with LoadImageColors()"""
2882
+ ...
2883
+ def unload_image_palette(colors: Any|list|tuple,) -> None:
2884
+ """Unload colors palette loaded with LoadImagePalette()"""
2885
+ ...
2886
+ def unload_material(material: Material|list|tuple,) -> None:
2887
+ """Unload material from GPU memory (VRAM)"""
2888
+ ...
2889
+ def unload_mesh(mesh: Mesh|list|tuple,) -> None:
2890
+ """Unload mesh data from CPU and GPU"""
2891
+ ...
2892
+ def unload_model(model: Model|list|tuple,) -> None:
2893
+ """Unload model (including meshes) from memory (RAM and/or VRAM)"""
2894
+ ...
2895
+ def unload_model_animation(anim: ModelAnimation|list|tuple,) -> None:
2896
+ """Unload animation data"""
2897
+ ...
2898
+ def unload_model_animations(animations: Any|list|tuple,animCount: int,) -> None:
2899
+ """Unload animation array data"""
2900
+ ...
2901
+ def unload_music_stream(music: Music|list|tuple,) -> None:
2902
+ """Unload music stream"""
2903
+ ...
2904
+ def unload_random_sequence(sequence: Any,) -> None:
2905
+ """Unload random values sequence"""
2906
+ ...
2907
+ def unload_render_texture(target: RenderTexture|list|tuple,) -> None:
2908
+ """Unload render texture from GPU memory (VRAM)"""
2909
+ ...
2910
+ def unload_shader(shader: Shader|list|tuple,) -> None:
2911
+ """Unload shader from GPU memory (VRAM)"""
2912
+ ...
2913
+ def unload_sound(sound: Sound|list|tuple,) -> None:
2914
+ """Unload sound"""
2915
+ ...
2916
+ def unload_sound_alias(alias: Sound|list|tuple,) -> None:
2917
+ """Unload a sound alias (does not deallocate sample data)"""
2918
+ ...
2919
+ def unload_texture(texture: Texture|list|tuple,) -> None:
2920
+ """Unload texture from GPU memory (VRAM)"""
2921
+ ...
2922
+ def unload_utf8(text: str,) -> None:
2923
+ """Unload UTF-8 text encoded from codepoints array"""
2924
+ ...
2925
+ def unload_vr_stereo_config(config: VrStereoConfig|list|tuple,) -> None:
2926
+ """Unload VR stereo config"""
2927
+ ...
2928
+ def unload_wave(wave: Wave|list|tuple,) -> None:
2929
+ """Unload wave data"""
2930
+ ...
2931
+ def unload_wave_samples(samples: Any,) -> None:
2932
+ """Unload samples data loaded with LoadWaveSamples()"""
2933
+ ...
2934
+ def update_audio_stream(stream: AudioStream|list|tuple,data: Any,frameCount: int,) -> None:
2935
+ """Update audio stream buffers with data"""
2936
+ ...
2937
+ def update_camera(camera: Any|list|tuple,mode: int,) -> None:
2938
+ """Update camera position for selected mode"""
2939
+ ...
2940
+ def update_camera_pro(camera: Any|list|tuple,movement: Vector3|list|tuple,rotation: Vector3|list|tuple,zoom: float,) -> None:
2941
+ """Update camera movement/rotation"""
2942
+ ...
2943
+ def update_mesh_buffer(mesh: Mesh|list|tuple,index: int,data: Any,dataSize: int,offset: int,) -> None:
2944
+ """Update mesh vertex data in GPU for a specific buffer index"""
2945
+ ...
2946
+ def update_model_animation(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None:
2947
+ """Update model animation pose (CPU)"""
2948
+ ...
2949
+ def update_model_animation_bones(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None:
2950
+ """Update model animation mesh bone matrices (GPU skinning)"""
2951
+ ...
2952
+ def update_music_stream(music: Music|list|tuple,) -> None:
2953
+ """Updates buffers for music streaming"""
2954
+ ...
2955
+ def update_physics() -> None:
2956
+ """Update physics system"""
2957
+ ...
2958
+ def update_sound(sound: Sound|list|tuple,data: Any,sampleCount: int,) -> None:
2959
+ """Update sound buffer with new data"""
2960
+ ...
2961
+ def update_texture(texture: Texture|list|tuple,pixels: Any,) -> None:
2962
+ """Update GPU texture with new data"""
2963
+ ...
2964
+ def update_texture_rec(texture: Texture|list|tuple,rec: Rectangle|list|tuple,pixels: Any,) -> None:
2965
+ """Update GPU texture rectangle with new data"""
2966
+ ...
2967
+ def upload_mesh(mesh: Any|list|tuple,dynamic: bool,) -> None:
2968
+ """Upload mesh vertex data in GPU and provide VAO/VBO ids"""
2969
+ ...
2970
+ def vector2_add(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2971
+ """"""
2972
+ ...
2973
+ def vector2_add_value(v: Vector2|list|tuple,add: float,) -> Vector2:
2974
+ """"""
2975
+ ...
2976
+ def vector2_angle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2977
+ """"""
2978
+ ...
2979
+ def vector2_clamp(v: Vector2|list|tuple,min_1: Vector2|list|tuple,max_2: Vector2|list|tuple,) -> Vector2:
2980
+ """"""
2981
+ ...
2982
+ def vector2_clamp_value(v: Vector2|list|tuple,min_1: float,max_2: float,) -> Vector2:
2983
+ """"""
2984
+ ...
2985
+ def vector2_distance(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2986
+ """"""
2987
+ ...
2988
+ def vector2_distance_sqr(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2989
+ """"""
2990
+ ...
2991
+ def vector2_divide(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
2992
+ """"""
2993
+ ...
2994
+ def vector2_dot_product(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
2995
+ """"""
2996
+ ...
2997
+ def vector2_equals(p: Vector2|list|tuple,q: Vector2|list|tuple,) -> int:
2998
+ """"""
2999
+ ...
3000
+ def vector2_invert(v: Vector2|list|tuple,) -> Vector2:
3001
+ """"""
3002
+ ...
3003
+ def vector2_length(v: Vector2|list|tuple,) -> float:
3004
+ """"""
3005
+ ...
3006
+ def vector2_length_sqr(v: Vector2|list|tuple,) -> float:
3007
+ """"""
3008
+ ...
3009
+ def vector2_lerp(v1: Vector2|list|tuple,v2: Vector2|list|tuple,amount: float,) -> Vector2:
3010
+ """"""
3011
+ ...
3012
+ def vector2_line_angle(start: Vector2|list|tuple,end: Vector2|list|tuple,) -> float:
3013
+ """"""
3014
+ ...
3015
+ def vector2_max(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
3016
+ """"""
3017
+ ...
3018
+ def vector2_min(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
3019
+ """"""
3020
+ ...
3021
+ def vector2_move_towards(v: Vector2|list|tuple,target: Vector2|list|tuple,maxDistance: float,) -> Vector2:
3022
+ """"""
3023
+ ...
3024
+ def vector2_multiply(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
3025
+ """"""
3026
+ ...
3027
+ def vector2_negate(v: Vector2|list|tuple,) -> Vector2:
3028
+ """"""
3029
+ ...
3030
+ def vector2_normalize(v: Vector2|list|tuple,) -> Vector2:
3031
+ """"""
3032
+ ...
3033
+ def vector2_one() -> Vector2:
3034
+ """"""
3035
+ ...
3036
+ def vector2_reflect(v: Vector2|list|tuple,normal: Vector2|list|tuple,) -> Vector2:
3037
+ """"""
3038
+ ...
3039
+ def vector2_refract(v: Vector2|list|tuple,n: Vector2|list|tuple,r: float,) -> Vector2:
3040
+ """"""
3041
+ ...
3042
+ def vector2_rotate(v: Vector2|list|tuple,angle: float,) -> Vector2:
3043
+ """"""
3044
+ ...
3045
+ def vector2_scale(v: Vector2|list|tuple,scale: float,) -> Vector2:
3046
+ """"""
3047
+ ...
3048
+ def vector2_subtract(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
3049
+ """"""
3050
+ ...
3051
+ def vector2_subtract_value(v: Vector2|list|tuple,sub: float,) -> Vector2:
3052
+ """"""
3053
+ ...
3054
+ def vector2_transform(v: Vector2|list|tuple,mat: Matrix|list|tuple,) -> Vector2:
3055
+ """"""
3056
+ ...
3057
+ def vector2_zero() -> Vector2:
3058
+ """"""
3059
+ ...
3060
+ def vector3_add(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3061
+ """"""
3062
+ ...
3063
+ def vector3_add_value(v: Vector3|list|tuple,add: float,) -> Vector3:
3064
+ """"""
3065
+ ...
3066
+ def vector3_angle(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
3067
+ """"""
3068
+ ...
3069
+ def vector3_barycenter(p: Vector3|list|tuple,a: Vector3|list|tuple,b: Vector3|list|tuple,c: Vector3|list|tuple,) -> Vector3:
3070
+ """"""
3071
+ ...
3072
+ def vector3_clamp(v: Vector3|list|tuple,min_1: Vector3|list|tuple,max_2: Vector3|list|tuple,) -> Vector3:
3073
+ """"""
3074
+ ...
3075
+ def vector3_clamp_value(v: Vector3|list|tuple,min_1: float,max_2: float,) -> Vector3:
3076
+ """"""
3077
+ ...
3078
+ def vector3_cross_product(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3079
+ """"""
3080
+ ...
3081
+ def vector3_cubic_hermite(v1: Vector3|list|tuple,tangent1: Vector3|list|tuple,v2: Vector3|list|tuple,tangent2: Vector3|list|tuple,amount: float,) -> Vector3:
3082
+ """"""
3083
+ ...
3084
+ def vector3_distance(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
3085
+ """"""
3086
+ ...
3087
+ def vector3_distance_sqr(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
3088
+ """"""
3089
+ ...
3090
+ def vector3_divide(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3091
+ """"""
3092
+ ...
3093
+ def vector3_dot_product(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
3094
+ """"""
3095
+ ...
3096
+ def vector3_equals(p: Vector3|list|tuple,q: Vector3|list|tuple,) -> int:
3097
+ """"""
3098
+ ...
3099
+ def vector3_invert(v: Vector3|list|tuple,) -> Vector3:
3100
+ """"""
3101
+ ...
3102
+ def vector3_length(v: Vector3|list|tuple,) -> float:
3103
+ """"""
3104
+ ...
3105
+ def vector3_length_sqr(v: Vector3|list|tuple,) -> float:
3106
+ """"""
3107
+ ...
3108
+ def vector3_lerp(v1: Vector3|list|tuple,v2: Vector3|list|tuple,amount: float,) -> Vector3:
3109
+ """"""
3110
+ ...
3111
+ def vector3_max(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3112
+ """"""
3113
+ ...
3114
+ def vector3_min(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3115
+ """"""
3116
+ ...
3117
+ def vector3_move_towards(v: Vector3|list|tuple,target: Vector3|list|tuple,maxDistance: float,) -> Vector3:
3118
+ """"""
3119
+ ...
3120
+ def vector3_multiply(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3121
+ """"""
3122
+ ...
3123
+ def vector3_negate(v: Vector3|list|tuple,) -> Vector3:
3124
+ """"""
3125
+ ...
3126
+ def vector3_normalize(v: Vector3|list|tuple,) -> Vector3:
3127
+ """"""
3128
+ ...
3129
+ def vector3_one() -> Vector3:
3130
+ """"""
3131
+ ...
3132
+ def vector3_ortho_normalize(v1: Any|list|tuple,v2: Any|list|tuple,) -> None:
3133
+ """"""
3134
+ ...
3135
+ def vector3_perpendicular(v: Vector3|list|tuple,) -> Vector3:
3136
+ """"""
3137
+ ...
3138
+ def vector3_project(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3139
+ """"""
3140
+ ...
3141
+ def vector3_reflect(v: Vector3|list|tuple,normal: Vector3|list|tuple,) -> Vector3:
3142
+ """"""
3143
+ ...
3144
+ def vector3_refract(v: Vector3|list|tuple,n: Vector3|list|tuple,r: float,) -> Vector3:
3145
+ """"""
3146
+ ...
3147
+ def vector3_reject(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3148
+ """"""
3149
+ ...
3150
+ def vector3_rotate_by_axis_angle(v: Vector3|list|tuple,axis: Vector3|list|tuple,angle: float,) -> Vector3:
3151
+ """"""
3152
+ ...
3153
+ def vector3_rotate_by_quaternion(v: Vector3|list|tuple,q: Vector4|list|tuple,) -> Vector3:
3154
+ """"""
3155
+ ...
3156
+ def vector3_scale(v: Vector3|list|tuple,scalar: float,) -> Vector3:
3157
+ """"""
3158
+ ...
3159
+ def vector3_subtract(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
3160
+ """"""
3161
+ ...
3162
+ def vector3_subtract_value(v: Vector3|list|tuple,sub: float,) -> Vector3:
3163
+ """"""
3164
+ ...
3165
+ def vector3_to_float_v(v: Vector3|list|tuple,) -> float3:
3166
+ """"""
3167
+ ...
3168
+ def vector3_transform(v: Vector3|list|tuple,mat: Matrix|list|tuple,) -> Vector3:
3169
+ """"""
3170
+ ...
3171
+ def vector3_unproject(source: Vector3|list|tuple,projection: Matrix|list|tuple,view: Matrix|list|tuple,) -> Vector3:
3172
+ """"""
3173
+ ...
3174
+ def vector3_zero() -> Vector3:
3175
+ """"""
3176
+ ...
3177
+ def vector4_add(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3178
+ """"""
3179
+ ...
3180
+ def vector4_add_value(v: Vector4|list|tuple,add: float,) -> Vector4:
3181
+ """"""
3182
+ ...
3183
+ def vector4_distance(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
3184
+ """"""
3185
+ ...
3186
+ def vector4_distance_sqr(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
3187
+ """"""
3188
+ ...
3189
+ def vector4_divide(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3190
+ """"""
3191
+ ...
3192
+ def vector4_dot_product(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
3193
+ """"""
3194
+ ...
3195
+ def vector4_equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int:
3196
+ """"""
3197
+ ...
3198
+ def vector4_invert(v: Vector4|list|tuple,) -> Vector4:
3199
+ """"""
3200
+ ...
3201
+ def vector4_length(v: Vector4|list|tuple,) -> float:
3202
+ """"""
3203
+ ...
3204
+ def vector4_length_sqr(v: Vector4|list|tuple,) -> float:
3205
+ """"""
3206
+ ...
3207
+ def vector4_lerp(v1: Vector4|list|tuple,v2: Vector4|list|tuple,amount: float,) -> Vector4:
3208
+ """"""
3209
+ ...
3210
+ def vector4_max(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3211
+ """"""
3212
+ ...
3213
+ def vector4_min(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3214
+ """"""
3215
+ ...
3216
+ def vector4_move_towards(v: Vector4|list|tuple,target: Vector4|list|tuple,maxDistance: float,) -> Vector4:
3217
+ """"""
3218
+ ...
3219
+ def vector4_multiply(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3220
+ """"""
3221
+ ...
3222
+ def vector4_negate(v: Vector4|list|tuple,) -> Vector4:
3223
+ """"""
3224
+ ...
3225
+ def vector4_normalize(v: Vector4|list|tuple,) -> Vector4:
3226
+ """"""
3227
+ ...
3228
+ def vector4_one() -> Vector4:
3229
+ """"""
3230
+ ...
3231
+ def vector4_scale(v: Vector4|list|tuple,scale: float,) -> Vector4:
3232
+ """"""
3233
+ ...
3234
+ def vector4_subtract(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
3235
+ """"""
3236
+ ...
3237
+ def vector4_subtract_value(v: Vector4|list|tuple,add: float,) -> Vector4:
3238
+ """"""
3239
+ ...
3240
+ def vector4_zero() -> Vector4:
3241
+ """"""
3242
+ ...
3243
+ def wait_time(seconds: float,) -> None:
3244
+ """Wait for some time (halt program execution)"""
3245
+ ...
3246
+ def wave_copy(wave: Wave|list|tuple,) -> Wave:
3247
+ """Copy a wave to a new wave"""
3248
+ ...
3249
+ def wave_crop(wave: Any|list|tuple,initFrame: int,finalFrame: int,) -> None:
3250
+ """Crop a wave to defined frames range"""
3251
+ ...
3252
+ def wave_format(wave: Any|list|tuple,sampleRate: int,sampleSize: int,channels: int,) -> None:
3253
+ """Convert wave data to desired format"""
3254
+ ...
3255
+ def window_should_close() -> bool:
3256
+ """Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)"""
3257
+ ...
3258
+ def wrap(value: float,min_1: float,max_2: float,) -> float:
3259
+ """"""
3260
+ ...
3261
+ def glfw_create_cursor(image: Any|list|tuple,xhot: int,yhot: int,) -> Any:
3262
+ """"""
3263
+ ...
3264
+ def glfw_create_standard_cursor(shape: int,) -> Any:
3265
+ """"""
3266
+ ...
3267
+ def glfw_create_window(width: int,height: int,title: str,monitor: Any|list|tuple,share: Any|list|tuple,) -> Any:
3268
+ """"""
3269
+ ...
3270
+ def glfw_default_window_hints() -> None:
3271
+ """"""
3272
+ ...
3273
+ def glfw_destroy_cursor(cursor: Any|list|tuple,) -> None:
3274
+ """"""
3275
+ ...
3276
+ def glfw_destroy_window(window: Any|list|tuple,) -> None:
3277
+ """"""
3278
+ ...
3279
+ def glfw_extension_supported(extension: str,) -> int:
3280
+ """"""
3281
+ ...
3282
+ def glfw_focus_window(window: Any|list|tuple,) -> None:
3283
+ """"""
3284
+ ...
3285
+ def glfw_get_clipboard_string(window: Any|list|tuple,) -> str:
3286
+ """"""
3287
+ ...
3288
+ def glfw_get_current_context() -> Any:
3289
+ """"""
3290
+ ...
3291
+ def glfw_get_cursor_pos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
3292
+ """"""
3293
+ ...
3294
+ def glfw_get_error(description: list[str],) -> int:
3295
+ """"""
3296
+ ...
3297
+ def glfw_get_framebuffer_size(window: Any|list|tuple,width: Any,height: Any,) -> None:
3298
+ """"""
3299
+ ...
3300
+ def glfw_get_gamepad_name(jid: int,) -> str:
3301
+ """"""
3302
+ ...
3303
+ def glfw_get_gamepad_state(jid: int,state: Any|list|tuple,) -> int:
3304
+ """"""
3305
+ ...
3306
+ def glfw_get_gamma_ramp(monitor: Any|list|tuple,) -> Any:
3307
+ """"""
3308
+ ...
3309
+ def glfw_get_input_mode(window: Any|list|tuple,mode: int,) -> int:
3310
+ """"""
3311
+ ...
3312
+ def glfw_get_joystick_axes(jid: int,count: Any,) -> Any:
3313
+ """"""
3314
+ ...
3315
+ def glfw_get_joystick_buttons(jid: int,count: Any,) -> str:
3316
+ """"""
3317
+ ...
3318
+ def glfw_get_joystick_guid(jid: int,) -> str:
3319
+ """"""
3320
+ ...
3321
+ def glfw_get_joystick_hats(jid: int,count: Any,) -> str:
3322
+ """"""
3323
+ ...
3324
+ def glfw_get_joystick_name(jid: int,) -> str:
3325
+ """"""
3326
+ ...
3327
+ def glfw_get_joystick_user_pointer(jid: int,) -> Any:
3328
+ """"""
3329
+ ...
3330
+ def glfw_get_key(window: Any|list|tuple,key: int,) -> int:
3331
+ """"""
3332
+ ...
3333
+ def glfw_get_key_name(key: int,scancode: int,) -> str:
3334
+ """"""
3335
+ ...
3336
+ def glfw_get_key_scancode(key: int,) -> int:
3337
+ """"""
3338
+ ...
3339
+ def glfw_get_monitor_content_scale(monitor: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
3340
+ """"""
3341
+ ...
3342
+ def glfw_get_monitor_name(monitor: Any|list|tuple,) -> str:
3343
+ """"""
3344
+ ...
3345
+ def glfw_get_monitor_physical_size(monitor: Any|list|tuple,widthMM: Any,heightMM: Any,) -> None:
3346
+ """"""
3347
+ ...
3348
+ def glfw_get_monitor_pos(monitor: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
3349
+ """"""
3350
+ ...
3351
+ def glfw_get_monitor_user_pointer(monitor: Any|list|tuple,) -> Any:
3352
+ """"""
3353
+ ...
3354
+ def glfw_get_monitor_workarea(monitor: Any|list|tuple,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
3355
+ """"""
3356
+ ...
3357
+ def glfw_get_monitors(count: Any,) -> Any:
3358
+ """"""
3359
+ ...
3360
+ def glfw_get_mouse_button(window: Any|list|tuple,button: int,) -> int:
3361
+ """"""
3362
+ ...
3363
+ def glfw_get_platform() -> int:
3364
+ """"""
3365
+ ...
3366
+ def glfw_get_primary_monitor() -> Any:
3367
+ """"""
3368
+ ...
3369
+ def glfw_get_proc_address(procname: str,) -> Any:
3370
+ """"""
3371
+ ...
3372
+ def glfw_get_required_instance_extensions(count: Any,) -> list[str]:
3373
+ """"""
3374
+ ...
3375
+ def glfw_get_time() -> float:
3376
+ """"""
3377
+ ...
3378
+ def glfw_get_timer_frequency() -> int:
3379
+ """"""
3380
+ ...
3381
+ def glfw_get_timer_value() -> int:
3382
+ """"""
3383
+ ...
3384
+ def glfw_get_version(major: Any,minor: Any,rev: Any,) -> None:
3385
+ """"""
3386
+ ...
3387
+ def glfw_get_version_string() -> str:
3388
+ """"""
3389
+ ...
3390
+ def glfw_get_video_mode(monitor: Any|list|tuple,) -> Any:
3391
+ """"""
3392
+ ...
3393
+ def glfw_get_video_modes(monitor: Any|list|tuple,count: Any,) -> Any:
3394
+ """"""
3395
+ ...
3396
+ def glfw_get_window_attrib(window: Any|list|tuple,attrib: int,) -> int:
3397
+ """"""
3398
+ ...
3399
+ def glfw_get_window_content_scale(window: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
3400
+ """"""
3401
+ ...
3402
+ def glfw_get_window_frame_size(window: Any|list|tuple,left: Any,top: Any,right: Any,bottom: Any,) -> None:
3403
+ """"""
3404
+ ...
3405
+ def glfw_get_window_monitor(window: Any|list|tuple,) -> Any:
3406
+ """"""
3407
+ ...
3408
+ def glfw_get_window_opacity(window: Any|list|tuple,) -> float:
3409
+ """"""
3410
+ ...
3411
+ def glfw_get_window_pos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
3412
+ """"""
3413
+ ...
3414
+ def glfw_get_window_size(window: Any|list|tuple,width: Any,height: Any,) -> None:
3415
+ """"""
3416
+ ...
3417
+ def glfw_get_window_title(window: Any|list|tuple,) -> str:
3418
+ """"""
3419
+ ...
3420
+ def glfw_get_window_user_pointer(window: Any|list|tuple,) -> Any:
3421
+ """"""
3422
+ ...
3423
+ def glfw_hide_window(window: Any|list|tuple,) -> None:
3424
+ """"""
3425
+ ...
3426
+ def glfw_iconify_window(window: Any|list|tuple,) -> None:
3427
+ """"""
3428
+ ...
3429
+ def glfw_init() -> int:
3430
+ """"""
3431
+ ...
3432
+ def glfw_init_allocator(allocator: Any|list|tuple,) -> None:
3433
+ """"""
3434
+ ...
3435
+ def glfw_init_hint(hint: int,value: int,) -> None:
3436
+ """"""
3437
+ ...
3438
+ def glfw_joystick_is_gamepad(jid: int,) -> int:
3439
+ """"""
3440
+ ...
3441
+ def glfw_joystick_present(jid: int,) -> int:
3442
+ """"""
3443
+ ...
3444
+ def glfw_make_context_current(window: Any|list|tuple,) -> None:
3445
+ """"""
3446
+ ...
3447
+ def glfw_maximize_window(window: Any|list|tuple,) -> None:
3448
+ """"""
3449
+ ...
3450
+ def glfw_platform_supported(platform: int,) -> int:
3451
+ """"""
3452
+ ...
3453
+ def glfw_poll_events() -> None:
3454
+ """"""
3455
+ ...
3456
+ def glfw_post_empty_event() -> None:
3457
+ """"""
3458
+ ...
3459
+ def glfw_raw_mouse_motion_supported() -> int:
3460
+ """"""
3461
+ ...
3462
+ def glfw_request_window_attention(window: Any|list|tuple,) -> None:
3463
+ """"""
3464
+ ...
3465
+ def glfw_restore_window(window: Any|list|tuple,) -> None:
3466
+ """"""
3467
+ ...
3468
+ def glfw_set_char_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3469
+ """"""
3470
+ ...
3471
+ def glfw_set_char_mods_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3472
+ """"""
3473
+ ...
3474
+ def glfw_set_clipboard_string(window: Any|list|tuple,string: str,) -> None:
3475
+ """"""
3476
+ ...
3477
+ def glfw_set_cursor(window: Any|list|tuple,cursor: Any|list|tuple,) -> None:
3478
+ """"""
3479
+ ...
3480
+ def glfw_set_cursor_enter_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3481
+ """"""
3482
+ ...
3483
+ def glfw_set_cursor_pos(window: Any|list|tuple,xpos: float,ypos: float,) -> None:
3484
+ """"""
3485
+ ...
3486
+ def glfw_set_cursor_pos_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3487
+ """"""
3488
+ ...
3489
+ def glfw_set_drop_callback(window: Any|list|tuple,callback: list[str]|list|tuple,) -> list[str]:
3490
+ """"""
3491
+ ...
3492
+ def glfw_set_error_callback(callback: str,) -> str:
3493
+ """"""
3494
+ ...
3495
+ def glfw_set_framebuffer_size_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3496
+ """"""
3497
+ ...
3498
+ def glfw_set_gamma(monitor: Any|list|tuple,gamma: float,) -> None:
3499
+ """"""
3500
+ ...
3501
+ def glfw_set_gamma_ramp(monitor: Any|list|tuple,ramp: Any|list|tuple,) -> None:
3502
+ """"""
3503
+ ...
3504
+ def glfw_set_input_mode(window: Any|list|tuple,mode: int,value: int,) -> None:
3505
+ """"""
3506
+ ...
3507
+ def glfw_set_joystick_callback(callback: Any,) -> Any:
3508
+ """"""
3509
+ ...
3510
+ def glfw_set_joystick_user_pointer(jid: int,pointer: Any,) -> None:
3511
+ """"""
3512
+ ...
3513
+ def glfw_set_key_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3514
+ """"""
3515
+ ...
3516
+ def glfw_set_monitor_callback(callback: Any|list|tuple,) -> Any:
3517
+ """"""
3518
+ ...
3519
+ def glfw_set_monitor_user_pointer(monitor: Any|list|tuple,pointer: Any,) -> None:
3520
+ """"""
3521
+ ...
3522
+ def glfw_set_mouse_button_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3523
+ """"""
3524
+ ...
3525
+ def glfw_set_scroll_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3526
+ """"""
3527
+ ...
3528
+ def glfw_set_time(time: float,) -> None:
3529
+ """"""
3530
+ ...
3531
+ def glfw_set_window_aspect_ratio(window: Any|list|tuple,numer: int,denom: int,) -> None:
3532
+ """"""
3533
+ ...
3534
+ def glfw_set_window_attrib(window: Any|list|tuple,attrib: int,value: int,) -> None:
3535
+ """"""
3536
+ ...
3537
+ def glfw_set_window_close_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3538
+ """"""
3539
+ ...
3540
+ def glfw_set_window_content_scale_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3541
+ """"""
3542
+ ...
3543
+ def glfw_set_window_focus_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3544
+ """"""
3545
+ ...
3546
+ def glfw_set_window_icon(window: Any|list|tuple,count: int,images: Any|list|tuple,) -> None:
3547
+ """"""
3548
+ ...
3549
+ def glfw_set_window_iconify_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3550
+ """"""
3551
+ ...
3552
+ def glfw_set_window_maximize_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3553
+ """"""
3554
+ ...
3555
+ def glfw_set_window_monitor(window: Any|list|tuple,monitor: Any|list|tuple,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
3556
+ """"""
3557
+ ...
3558
+ def glfw_set_window_opacity(window: Any|list|tuple,opacity: float,) -> None:
3559
+ """"""
3560
+ ...
3561
+ def glfw_set_window_pos(window: Any|list|tuple,xpos: int,ypos: int,) -> None:
3562
+ """"""
3563
+ ...
3564
+ def glfw_set_window_pos_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3565
+ """"""
3566
+ ...
3567
+ def glfw_set_window_refresh_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3568
+ """"""
3569
+ ...
3570
+ def glfw_set_window_should_close(window: Any|list|tuple,value: int,) -> None:
3571
+ """"""
3572
+ ...
3573
+ def glfw_set_window_size(window: Any|list|tuple,width: int,height: int,) -> None:
3574
+ """"""
3575
+ ...
3576
+ def glfw_set_window_size_callback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
3577
+ """"""
3578
+ ...
3579
+ def glfw_set_window_size_limits(window: Any|list|tuple,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
3580
+ """"""
3581
+ ...
3582
+ def glfw_set_window_title(window: Any|list|tuple,title: str,) -> None:
3583
+ """"""
3584
+ ...
3585
+ def glfw_set_window_user_pointer(window: Any|list|tuple,pointer: Any,) -> None:
3586
+ """"""
3587
+ ...
3588
+ def glfw_show_window(window: Any|list|tuple,) -> None:
3589
+ """"""
3590
+ ...
3591
+ def glfw_swap_buffers(window: Any|list|tuple,) -> None:
3592
+ """"""
3593
+ ...
3594
+ def glfw_swap_interval(interval: int,) -> None:
3595
+ """"""
3596
+ ...
3597
+ def glfw_terminate() -> None:
3598
+ """"""
3599
+ ...
3600
+ def glfw_update_gamepad_mappings(string: str,) -> int:
3601
+ """"""
3602
+ ...
3603
+ def glfw_vulkan_supported() -> int:
3604
+ """"""
3605
+ ...
3606
+ def glfw_wait_events() -> None:
3607
+ """"""
3608
+ ...
3609
+ def glfw_wait_events_timeout(timeout: float,) -> None:
3610
+ """"""
3611
+ ...
3612
+ def glfw_window_hint(hint: int,value: int,) -> None:
3613
+ """"""
3614
+ ...
3615
+ def glfw_window_hint_string(hint: int,value: str,) -> None:
3616
+ """"""
3617
+ ...
3618
+ def glfw_window_should_close(window: Any|list|tuple,) -> int:
3619
+ """"""
3620
+ ...
3621
+ def rl_active_draw_buffers(count: int,) -> None:
3622
+ """Activate multiple draw color buffers"""
3623
+ ...
3624
+ def rl_active_texture_slot(slot: int,) -> None:
3625
+ """Select and active a texture slot"""
3626
+ ...
3627
+ def rl_begin(mode: int,) -> None:
3628
+ """Initialize drawing mode (how to organize vertex)"""
3629
+ ...
3630
+ def rl_bind_framebuffer(target: int,framebuffer: int,) -> None:
3631
+ """Bind framebuffer (FBO)"""
3632
+ ...
3633
+ def rl_bind_image_texture(id: int,index: int,format: int,readonly: bool,) -> None:
3634
+ """Bind image texture"""
3635
+ ...
3636
+ def rl_bind_shader_buffer(id: int,index: int,) -> None:
3637
+ """Bind SSBO buffer"""
3638
+ ...
3639
+ def rl_blit_framebuffer(srcX: int,srcY: int,srcWidth: int,srcHeight: int,dstX: int,dstY: int,dstWidth: int,dstHeight: int,bufferMask: int,) -> None:
3640
+ """Blit active framebuffer to main framebuffer"""
3641
+ ...
3642
+ def rl_check_errors() -> None:
3643
+ """Check and log OpenGL error codes"""
3644
+ ...
3645
+ def rl_check_render_batch_limit(vCount: int,) -> bool:
3646
+ """Check internal buffer overflow for a given number of vertex"""
3647
+ ...
3648
+ def rl_clear_color(r: int,g: int,b: int,a: int,) -> None:
3649
+ """Clear color buffer with color"""
3650
+ ...
3651
+ def rl_clear_screen_buffers() -> None:
3652
+ """Clear used screen buffers (color and depth)"""
3653
+ ...
3654
+ def rl_color3f(x: float,y: float,z: float,) -> None:
3655
+ """Define one vertex (color) - 3 float"""
3656
+ ...
3657
+ def rl_color4f(x: float,y: float,z: float,w: float,) -> None:
3658
+ """Define one vertex (color) - 4 float"""
3659
+ ...
3660
+ def rl_color4ub(r: int,g: int,b: int,a: int,) -> None:
3661
+ """Define one vertex (color) - 4 byte"""
3662
+ ...
3663
+ def rl_color_mask(r: bool,g: bool,b: bool,a: bool,) -> None:
3664
+ """Color mask control"""
3665
+ ...
3666
+ def rl_compile_shader(shaderCode: str,type: int,) -> int:
3667
+ """Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)"""
3668
+ ...
3669
+ def rl_compute_shader_dispatch(groupX: int,groupY: int,groupZ: int,) -> None:
3670
+ """Dispatch compute shader (equivalent to *draw* for graphics pipeline)"""
3671
+ ...
3672
+ def rl_copy_shader_buffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None:
3673
+ """Copy SSBO data between buffers"""
3674
+ ...
3675
+ def rl_cubemap_parameters(id: int,param: int,value: int,) -> None:
3676
+ """Set cubemap parameters (filter, wrap)"""
3677
+ ...
3678
+ def rl_disable_backface_culling() -> None:
3679
+ """Disable backface culling"""
3680
+ ...
3681
+ def rl_disable_color_blend() -> None:
3682
+ """Disable color blending"""
3683
+ ...
3684
+ def rl_disable_depth_mask() -> None:
3685
+ """Disable depth write"""
3686
+ ...
3687
+ def rl_disable_depth_test() -> None:
3688
+ """Disable depth test"""
3689
+ ...
3690
+ def rl_disable_framebuffer() -> None:
3691
+ """Disable render texture (fbo), return to default framebuffer"""
3692
+ ...
3693
+ def rl_disable_scissor_test() -> None:
3694
+ """Disable scissor test"""
3695
+ ...
3696
+ def rl_disable_shader() -> None:
3697
+ """Disable shader program"""
3698
+ ...
3699
+ def rl_disable_smooth_lines() -> None:
3700
+ """Disable line aliasing"""
3701
+ ...
3702
+ def rl_disable_stereo_render() -> None:
3703
+ """Disable stereo rendering"""
3704
+ ...
3705
+ def rl_disable_texture() -> None:
3706
+ """Disable texture"""
3707
+ ...
3708
+ def rl_disable_texture_cubemap() -> None:
3709
+ """Disable texture cubemap"""
3710
+ ...
3711
+ def rl_disable_vertex_array() -> None:
3712
+ """Disable vertex array (VAO, if supported)"""
3713
+ ...
3714
+ def rl_disable_vertex_attribute(index: int,) -> None:
3715
+ """Disable vertex attribute index"""
3716
+ ...
3717
+ def rl_disable_vertex_buffer() -> None:
3718
+ """Disable vertex buffer (VBO)"""
3719
+ ...
3720
+ def rl_disable_vertex_buffer_element() -> None:
3721
+ """Disable vertex buffer element (VBO element)"""
3722
+ ...
3723
+ def rl_disable_wire_mode() -> None:
3724
+ """Disable wire (and point) mode"""
3725
+ ...
3726
+ def rl_draw_render_batch(batch: Any|list|tuple,) -> None:
3727
+ """Draw render batch data (Update->Draw->Reset)"""
3728
+ ...
3729
+ def rl_draw_render_batch_active() -> None:
3730
+ """Update and draw internal render batch"""
3731
+ ...
3732
+ def rl_draw_vertex_array(offset: int,count: int,) -> None:
3733
+ """Draw vertex array (currently active vao)"""
3734
+ ...
3735
+ def rl_draw_vertex_array_elements(offset: int,count: int,buffer: Any,) -> None:
3736
+ """Draw vertex array elements"""
3737
+ ...
3738
+ def rl_draw_vertex_array_elements_instanced(offset: int,count: int,buffer: Any,instances: int,) -> None:
3739
+ """Draw vertex array elements with instancing"""
3740
+ ...
3741
+ def rl_draw_vertex_array_instanced(offset: int,count: int,instances: int,) -> None:
3742
+ """Draw vertex array (currently active vao) with instancing"""
3743
+ ...
3744
+ def rl_enable_backface_culling() -> None:
3745
+ """Enable backface culling"""
3746
+ ...
3747
+ def rl_enable_color_blend() -> None:
3748
+ """Enable color blending"""
3749
+ ...
3750
+ def rl_enable_depth_mask() -> None:
3751
+ """Enable depth write"""
3752
+ ...
3753
+ def rl_enable_depth_test() -> None:
3754
+ """Enable depth test"""
3755
+ ...
3756
+ def rl_enable_framebuffer(id: int,) -> None:
3757
+ """Enable render texture (fbo)"""
3758
+ ...
3759
+ def rl_enable_point_mode() -> None:
3760
+ """Enable point mode"""
3761
+ ...
3762
+ def rl_enable_scissor_test() -> None:
3763
+ """Enable scissor test"""
3764
+ ...
3765
+ def rl_enable_shader(id: int,) -> None:
3766
+ """Enable shader program"""
3767
+ ...
3768
+ def rl_enable_smooth_lines() -> None:
3769
+ """Enable line aliasing"""
3770
+ ...
3771
+ def rl_enable_stereo_render() -> None:
3772
+ """Enable stereo rendering"""
3773
+ ...
3774
+ def rl_enable_texture(id: int,) -> None:
3775
+ """Enable texture"""
3776
+ ...
3777
+ def rl_enable_texture_cubemap(id: int,) -> None:
3778
+ """Enable texture cubemap"""
3779
+ ...
3780
+ def rl_enable_vertex_array(vaoId: int,) -> bool:
3781
+ """Enable vertex array (VAO, if supported)"""
3782
+ ...
3783
+ def rl_enable_vertex_attribute(index: int,) -> None:
3784
+ """Enable vertex attribute index"""
3785
+ ...
3786
+ def rl_enable_vertex_buffer(id: int,) -> None:
3787
+ """Enable vertex buffer (VBO)"""
3788
+ ...
3789
+ def rl_enable_vertex_buffer_element(id: int,) -> None:
3790
+ """Enable vertex buffer element (VBO element)"""
3791
+ ...
3792
+ def rl_enable_wire_mode() -> None:
3793
+ """Enable wire mode"""
3794
+ ...
3795
+ def rl_end() -> None:
3796
+ """Finish vertex providing"""
3797
+ ...
3798
+ def rl_framebuffer_attach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None:
3799
+ """Attach texture/renderbuffer to a framebuffer"""
3800
+ ...
3801
+ def rl_framebuffer_complete(id: int,) -> bool:
3802
+ """Verify framebuffer is complete"""
3803
+ ...
3804
+ def rl_frustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
3805
+ """"""
3806
+ ...
3807
+ def rl_gen_texture_mipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None:
3808
+ """Generate mipmap data for selected texture"""
3809
+ ...
3810
+ def rl_get_active_framebuffer() -> int:
3811
+ """Get the currently active render texture (fbo), 0 for default framebuffer"""
3812
+ ...
3813
+ def rl_get_cull_distance_far() -> float:
3814
+ """Get cull plane distance far"""
3815
+ ...
3816
+ def rl_get_cull_distance_near() -> float:
3817
+ """Get cull plane distance near"""
3818
+ ...
3819
+ def rl_get_framebuffer_height() -> int:
3820
+ """Get default framebuffer height"""
3821
+ ...
3822
+ def rl_get_framebuffer_width() -> int:
3823
+ """Get default framebuffer width"""
3824
+ ...
3825
+ def rl_get_gl_texture_formats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None:
3826
+ """Get OpenGL internal formats"""
3827
+ ...
3828
+ def rl_get_line_width() -> float:
3829
+ """Get the line drawing width"""
3830
+ ...
3831
+ def rl_get_location_attrib(shaderId: int,attribName: str,) -> int:
3832
+ """Get shader location attribute"""
3833
+ ...
3834
+ def rl_get_location_uniform(shaderId: int,uniformName: str,) -> int:
3835
+ """Get shader location uniform"""
3836
+ ...
3837
+ def rl_get_matrix_modelview() -> Matrix:
3838
+ """Get internal modelview matrix"""
3839
+ ...
3840
+ def rl_get_matrix_projection() -> Matrix:
3841
+ """Get internal projection matrix"""
3842
+ ...
3843
+ def rl_get_matrix_projection_stereo(eye: int,) -> Matrix:
3844
+ """Get internal projection matrix for stereo render (selected eye)"""
3845
+ ...
3846
+ def rl_get_matrix_transform() -> Matrix:
3847
+ """Get internal accumulated transform matrix"""
3848
+ ...
3849
+ def rl_get_matrix_view_offset_stereo(eye: int,) -> Matrix:
3850
+ """Get internal view offset matrix for stereo render (selected eye)"""
3851
+ ...
3852
+ def rl_get_pixel_format_name(format: int,) -> str:
3853
+ """Get name string for pixel format"""
3854
+ ...
3855
+ def rl_get_shader_buffer_size(id: int,) -> int:
3856
+ """Get SSBO buffer size"""
3857
+ ...
3858
+ def rl_get_shader_id_default() -> int:
3859
+ """Get default shader id"""
3860
+ ...
3861
+ def rl_get_shader_locs_default() -> Any:
3862
+ """Get default shader locations"""
3863
+ ...
3864
+ def rl_get_texture_id_default() -> int:
3865
+ """Get default texture id"""
3866
+ ...
3867
+ def rl_get_version() -> int:
3868
+ """Get current OpenGL version"""
3869
+ ...
3870
+ def rl_is_stereo_render_enabled() -> bool:
3871
+ """Check if stereo render is enabled"""
3872
+ ...
3873
+ def rl_load_compute_shader_program(shaderId: int,) -> int:
3874
+ """Load compute shader program"""
3875
+ ...
3876
+ def rl_load_draw_cube() -> None:
3877
+ """Load and draw a cube"""
3878
+ ...
3879
+ def rl_load_draw_quad() -> None:
3880
+ """Load and draw a quad"""
3881
+ ...
3882
+ def rl_load_extensions(loader: Any,) -> None:
3883
+ """Load OpenGL extensions (loader function required)"""
3884
+ ...
3885
+ def rl_load_framebuffer() -> int:
3886
+ """Load an empty framebuffer"""
3887
+ ...
3888
+ def rl_load_identity() -> None:
3889
+ """Reset current matrix to identity matrix"""
3890
+ ...
3891
+ def rl_load_render_batch(numBuffers: int,bufferElements: int,) -> rlRenderBatch:
3892
+ """Load a render batch system"""
3893
+ ...
3894
+ def rl_load_shader_buffer(size: int,data: Any,usageHint: int,) -> int:
3895
+ """Load shader storage buffer object (SSBO)"""
3896
+ ...
3897
+ def rl_load_shader_code(vsCode: str,fsCode: str,) -> int:
3898
+ """Load shader from code strings"""
3899
+ ...
3900
+ def rl_load_shader_program(vShaderId: int,fShaderId: int,) -> int:
3901
+ """Load custom shader program"""
3902
+ ...
3903
+ def rl_load_texture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int:
3904
+ """Load texture data"""
3905
+ ...
3906
+ def rl_load_texture_cubemap(data: Any,size: int,format: int,mipmapCount: int,) -> int:
3907
+ """Load texture cubemap data"""
3908
+ ...
3909
+ def rl_load_texture_depth(width: int,height: int,useRenderBuffer: bool,) -> int:
3910
+ """Load depth texture/renderbuffer (to be attached to fbo)"""
3911
+ ...
3912
+ def rl_load_vertex_array() -> int:
3913
+ """Load vertex array (vao) if supported"""
3914
+ ...
3915
+ def rl_load_vertex_buffer(buffer: Any,size: int,dynamic: bool,) -> int:
3916
+ """Load a vertex buffer object"""
3917
+ ...
3918
+ def rl_load_vertex_buffer_element(buffer: Any,size: int,dynamic: bool,) -> int:
3919
+ """Load vertex buffer elements object"""
3920
+ ...
3921
+ def rl_matrix_mode(mode: int,) -> None:
3922
+ """Choose the current matrix to be transformed"""
3923
+ ...
3924
+ def rl_mult_matrixf(matf: Any,) -> None:
3925
+ """Multiply the current matrix by another matrix"""
3926
+ ...
3927
+ def rl_normal3f(x: float,y: float,z: float,) -> None:
3928
+ """Define one vertex (normal) - 3 float"""
3929
+ ...
3930
+ def rl_ortho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
3931
+ """"""
3932
+ ...
3933
+ def rl_pop_matrix() -> None:
3934
+ """Pop latest inserted matrix from stack"""
3935
+ ...
3936
+ def rl_push_matrix() -> None:
3937
+ """Push the current matrix to stack"""
3938
+ ...
3939
+ def rl_read_screen_pixels(width: int,height: int,) -> str:
3940
+ """Read screen pixel data (color buffer)"""
3941
+ ...
3942
+ def rl_read_shader_buffer(id: int,dest: Any,count: int,offset: int,) -> None:
3943
+ """Read SSBO buffer data (GPU->CPU)"""
3944
+ ...
3945
+ def rl_read_texture_pixels(id: int,width: int,height: int,format: int,) -> Any:
3946
+ """Read texture pixel data"""
3947
+ ...
3948
+ def rl_rotatef(angle: float,x: float,y: float,z: float,) -> None:
3949
+ """Multiply the current matrix by a rotation matrix"""
3950
+ ...
3951
+ def rl_scalef(x: float,y: float,z: float,) -> None:
3952
+ """Multiply the current matrix by a scaling matrix"""
3953
+ ...
3954
+ def rl_scissor(x: int,y: int,width: int,height: int,) -> None:
3955
+ """Scissor test"""
3956
+ ...
3957
+ def rl_set_blend_factors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None:
3958
+ """Set blending mode factor and equation (using OpenGL factors)"""
3959
+ ...
3960
+ def rl_set_blend_factors_separate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstAlpha: int,glEqRGB: int,glEqAlpha: int,) -> None:
3961
+ """Set blending mode factors and equations separately (using OpenGL factors)"""
3962
+ ...
3963
+ def rl_set_blend_mode(mode: int,) -> None:
3964
+ """Set blending mode"""
3965
+ ...
3966
+ def rl_set_clip_planes(nearPlane: float,farPlane: float,) -> None:
3967
+ """Set clip planes distances"""
3968
+ ...
3969
+ def rl_set_cull_face(mode: int,) -> None:
3970
+ """Set face culling mode"""
3971
+ ...
3972
+ def rl_set_framebuffer_height(height: int,) -> None:
3973
+ """Set current framebuffer height"""
3974
+ ...
3975
+ def rl_set_framebuffer_width(width: int,) -> None:
3976
+ """Set current framebuffer width"""
3977
+ ...
3978
+ def rl_set_line_width(width: float,) -> None:
3979
+ """Set the line drawing width"""
3980
+ ...
3981
+ def rl_set_matrix_modelview(view: Matrix|list|tuple,) -> None:
3982
+ """Set a custom modelview matrix (replaces internal modelview matrix)"""
3983
+ ...
3984
+ def rl_set_matrix_projection(proj: Matrix|list|tuple,) -> None:
3985
+ """Set a custom projection matrix (replaces internal projection matrix)"""
3986
+ ...
3987
+ def rl_set_matrix_projection_stereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
3988
+ """Set eyes projection matrices for stereo rendering"""
3989
+ ...
3990
+ def rl_set_matrix_view_offset_stereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
3991
+ """Set eyes view offsets matrices for stereo rendering"""
3992
+ ...
3993
+ def rl_set_render_batch_active(batch: Any|list|tuple,) -> None:
3994
+ """Set the active render batch for rlgl (NULL for default internal)"""
3995
+ ...
3996
+ def rl_set_shader(id: int,locs: Any,) -> None:
3997
+ """Set shader currently active (id and locations)"""
3998
+ ...
3999
+ def rl_set_texture(id: int,) -> None:
4000
+ """Set current texture for render batch and check buffers limits"""
4001
+ ...
4002
+ def rl_set_uniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None:
4003
+ """Set shader value uniform"""
4004
+ ...
4005
+ def rl_set_uniform_matrices(locIndex: int,mat: Any|list|tuple,count: int,) -> None:
4006
+ """Set shader value matrices"""
4007
+ ...
4008
+ def rl_set_uniform_matrix(locIndex: int,mat: Matrix|list|tuple,) -> None:
4009
+ """Set shader value matrix"""
4010
+ ...
4011
+ def rl_set_uniform_sampler(locIndex: int,textureId: int,) -> None:
4012
+ """Set shader value sampler"""
4013
+ ...
4014
+ def rl_set_vertex_attribute(index: int,compSize: int,type: int,normalized: bool,stride: int,offset: int,) -> None:
4015
+ """Set vertex attribute data configuration"""
4016
+ ...
4017
+ def rl_set_vertex_attribute_default(locIndex: int,value: Any,attribType: int,count: int,) -> None:
4018
+ """Set vertex attribute default value, when attribute to provided"""
4019
+ ...
4020
+ def rl_set_vertex_attribute_divisor(index: int,divisor: int,) -> None:
4021
+ """Set vertex attribute data divisor"""
4022
+ ...
4023
+ def rl_tex_coord2f(x: float,y: float,) -> None:
4024
+ """Define one vertex (texture coordinate) - 2 float"""
4025
+ ...
4026
+ def rl_texture_parameters(id: int,param: int,value: int,) -> None:
4027
+ """Set texture parameters (filter, wrap)"""
4028
+ ...
4029
+ def rl_translatef(x: float,y: float,z: float,) -> None:
4030
+ """Multiply the current matrix by a translation matrix"""
4031
+ ...
4032
+ def rl_unload_framebuffer(id: int,) -> None:
4033
+ """Delete framebuffer from GPU"""
4034
+ ...
4035
+ def rl_unload_render_batch(batch: rlRenderBatch|list|tuple,) -> None:
4036
+ """Unload render batch system"""
4037
+ ...
4038
+ def rl_unload_shader_buffer(ssboId: int,) -> None:
4039
+ """Unload shader storage buffer object (SSBO)"""
4040
+ ...
4041
+ def rl_unload_shader_program(id: int,) -> None:
4042
+ """Unload shader program"""
4043
+ ...
4044
+ def rl_unload_texture(id: int,) -> None:
4045
+ """Unload texture from GPU memory"""
4046
+ ...
4047
+ def rl_unload_vertex_array(vaoId: int,) -> None:
4048
+ """Unload vertex array (vao)"""
4049
+ ...
4050
+ def rl_unload_vertex_buffer(vboId: int,) -> None:
4051
+ """Unload vertex buffer object"""
4052
+ ...
4053
+ def rl_update_shader_buffer(id: int,data: Any,dataSize: int,offset: int,) -> None:
4054
+ """Update SSBO buffer data"""
4055
+ ...
4056
+ def rl_update_texture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None:
4057
+ """Update texture with new data on GPU"""
4058
+ ...
4059
+ def rl_update_vertex_buffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None:
4060
+ """Update vertex buffer object data on GPU buffer"""
4061
+ ...
4062
+ def rl_update_vertex_buffer_elements(id: int,data: Any,dataSize: int,offset: int,) -> None:
4063
+ """Update vertex buffer elements data on GPU buffer"""
4064
+ ...
4065
+ def rl_vertex2f(x: float,y: float,) -> None:
4066
+ """Define one vertex (position) - 2 float"""
4067
+ ...
4068
+ def rl_vertex2i(x: int,y: int,) -> None:
4069
+ """Define one vertex (position) - 2 int"""
4070
+ ...
4071
+ def rl_vertex3f(x: float,y: float,z: float,) -> None:
4072
+ """Define one vertex (position) - 3 float"""
4073
+ ...
4074
+ def rl_viewport(x: int,y: int,width: int,height: int,) -> None:
4075
+ """Set the viewport area"""
4076
+ ...
4077
+ def rlgl_close() -> None:
4078
+ """De-initialize rlgl (buffers, shaders, textures)"""
4079
+ ...
4080
+ def rlgl_init(width: int,height: int,) -> None:
4081
+ """Initialize rlgl (buffers, shaders, textures, states)"""
4082
+ ...
4083
+ class AudioStream:
4084
+ """ struct """
4085
+ def __init__(self, buffer: Any|None = None, processor: Any|None = None, sampleRate: int|None = None, sampleSize: int|None = None, channels: int|None = None):
4086
+ self.buffer:Any = buffer # type: ignore
4087
+ self.processor:Any = processor # type: ignore
4088
+ self.sampleRate:int = sampleRate # type: ignore
4089
+ self.sampleSize:int = sampleSize # type: ignore
4090
+ self.channels:int = channels # type: ignore
4091
+ class AutomationEvent:
4092
+ """ struct """
4093
+ def __init__(self, frame: int|None = None, type: int|None = None, params: list|None = None):
4094
+ self.frame:int = frame # type: ignore
4095
+ self.type:int = type # type: ignore
4096
+ self.params:list = params # type: ignore
4097
+ class AutomationEventList:
4098
+ """ struct """
4099
+ def __init__(self, capacity: int|None = None, count: int|None = None, events: Any|None = None):
4100
+ self.capacity:int = capacity # type: ignore
4101
+ self.count:int = count # type: ignore
4102
+ self.events:Any = events # type: ignore
4103
+ class BoneInfo:
4104
+ """ struct """
4105
+ def __init__(self, name: list|None = None, parent: int|None = None):
4106
+ self.name:list = name # type: ignore
4107
+ self.parent:int = parent # type: ignore
4108
+ class BoundingBox:
4109
+ """ struct """
4110
+ def __init__(self, min: Vector3|list|tuple|None = None, max: Vector3|list|tuple|None = None):
4111
+ self.min:Vector3 = min # type: ignore
4112
+ self.max:Vector3 = max # type: ignore
4113
+ class Camera2D:
4114
+ """ struct """
4115
+ def __init__(self, offset: Vector2|list|tuple|None = None, target: Vector2|list|tuple|None = None, rotation: float|None = None, zoom: float|None = None):
4116
+ self.offset:Vector2 = offset # type: ignore
4117
+ self.target:Vector2 = target # type: ignore
4118
+ self.rotation:float = rotation # type: ignore
4119
+ self.zoom:float = zoom # type: ignore
4120
+ class Camera3D:
4121
+ """ struct """
4122
+ def __init__(self, position: Vector3|list|tuple|None = None, target: Vector3|list|tuple|None = None, up: Vector3|list|tuple|None = None, fovy: float|None = None, projection: int|None = None):
4123
+ self.position:Vector3 = position # type: ignore
4124
+ self.target:Vector3 = target # type: ignore
4125
+ self.up:Vector3 = up # type: ignore
4126
+ self.fovy:float = fovy # type: ignore
4127
+ self.projection:int = projection # type: ignore
4128
+ class Color:
4129
+ """ struct """
4130
+ def __init__(self, r: int|None = None, g: int|None = None, b: int|None = None, a: int|None = None):
4131
+ self.r:int = r # type: ignore
4132
+ self.g:int = g # type: ignore
4133
+ self.b:int = b # type: ignore
4134
+ self.a:int = a # type: ignore
4135
+ class FilePathList:
4136
+ """ struct """
4137
+ def __init__(self, capacity: int|None = None, count: int|None = None, paths: list[str]|None = None):
4138
+ self.capacity:int = capacity # type: ignore
4139
+ self.count:int = count # type: ignore
4140
+ self.paths:list[str] = paths # type: ignore
4141
+ class Font:
4142
+ """ struct """
4143
+ def __init__(self, baseSize: int|None = None, glyphCount: int|None = None, glyphPadding: int|None = None, texture: Texture|list|tuple|None = None, recs: Any|None = None, glyphs: Any|None = None):
4144
+ self.baseSize:int = baseSize # type: ignore
4145
+ self.glyphCount:int = glyphCount # type: ignore
4146
+ self.glyphPadding:int = glyphPadding # type: ignore
4147
+ self.texture:Texture = texture # type: ignore
4148
+ self.recs:Any = recs # type: ignore
4149
+ self.glyphs:Any = glyphs # type: ignore
4150
+ class GlyphInfo:
4151
+ """ struct """
4152
+ def __init__(self, value: int|None = None, offsetX: int|None = None, offsetY: int|None = None, advanceX: int|None = None, image: Image|list|tuple|None = None):
4153
+ self.value:int = value # type: ignore
4154
+ self.offsetX:int = offsetX # type: ignore
4155
+ self.offsetY:int = offsetY # type: ignore
4156
+ self.advanceX:int = advanceX # type: ignore
4157
+ self.image:Image = image # type: ignore
4158
+ class GuiStyleProp:
4159
+ """ struct """
4160
+ def __init__(self, controlId: int|None = None, propertyId: int|None = None, propertyValue: int|None = None):
4161
+ self.controlId:int = controlId # type: ignore
4162
+ self.propertyId:int = propertyId # type: ignore
4163
+ self.propertyValue:int = propertyValue # type: ignore
4164
+ class Image:
4165
+ """ struct """
4166
+ def __init__(self, data: Any|None = None, width: int|None = None, height: int|None = None, mipmaps: int|None = None, format: int|None = None):
4167
+ self.data:Any = data # type: ignore
4168
+ self.width:int = width # type: ignore
4169
+ self.height:int = height # type: ignore
4170
+ self.mipmaps:int = mipmaps # type: ignore
4171
+ self.format:int = format # type: ignore
4172
+ class Material:
4173
+ """ struct """
4174
+ def __init__(self, shader: Shader|list|tuple|None = None, maps: Any|None = None, params: list|None = None):
4175
+ self.shader:Shader = shader # type: ignore
4176
+ self.maps:Any = maps # type: ignore
4177
+ self.params:list = params # type: ignore
4178
+ class MaterialMap:
4179
+ """ struct """
4180
+ def __init__(self, texture: Texture|list|tuple|None = None, color: Color|list|tuple|None = None, value: float|None = None):
4181
+ self.texture:Texture = texture # type: ignore
4182
+ self.color:Color = color # type: ignore
4183
+ self.value:float = value # type: ignore
4184
+ class Matrix:
4185
+ """ struct """
4186
+ def __init__(self, m0: float|None = None, m4: float|None = None, m8: float|None = None, m12: float|None = None, m1: float|None = None, m5: float|None = None, m9: float|None = None, m13: float|None = None, m2: float|None = None, m6: float|None = None, m10: float|None = None, m14: float|None = None, m3: float|None = None, m7: float|None = None, m11: float|None = None, m15: float|None = None):
4187
+ self.m0:float = m0 # type: ignore
4188
+ self.m4:float = m4 # type: ignore
4189
+ self.m8:float = m8 # type: ignore
4190
+ self.m12:float = m12 # type: ignore
4191
+ self.m1:float = m1 # type: ignore
4192
+ self.m5:float = m5 # type: ignore
4193
+ self.m9:float = m9 # type: ignore
4194
+ self.m13:float = m13 # type: ignore
4195
+ self.m2:float = m2 # type: ignore
4196
+ self.m6:float = m6 # type: ignore
4197
+ self.m10:float = m10 # type: ignore
4198
+ self.m14:float = m14 # type: ignore
4199
+ self.m3:float = m3 # type: ignore
4200
+ self.m7:float = m7 # type: ignore
4201
+ self.m11:float = m11 # type: ignore
4202
+ self.m15:float = m15 # type: ignore
4203
+ class Matrix2x2:
4204
+ """ struct """
4205
+ def __init__(self, m00: float|None = None, m01: float|None = None, m10: float|None = None, m11: float|None = None):
4206
+ self.m00:float = m00 # type: ignore
4207
+ self.m01:float = m01 # type: ignore
4208
+ self.m10:float = m10 # type: ignore
4209
+ self.m11:float = m11 # type: ignore
4210
+ class Mesh:
4211
+ """ struct """
4212
+ def __init__(self, vertexCount: int|None = None, triangleCount: int|None = None, vertices: Any|None = None, texcoords: Any|None = None, texcoords2: Any|None = None, normals: Any|None = None, tangents: Any|None = None, colors: str|None = None, indices: Any|None = None, animVertices: Any|None = None, animNormals: Any|None = None, boneIds: str|None = None, boneWeights: Any|None = None, boneMatrices: Any|None = None, boneCount: int|None = None, vaoId: int|None = None, vboId: Any|None = None):
4213
+ self.vertexCount:int = vertexCount # type: ignore
4214
+ self.triangleCount:int = triangleCount # type: ignore
4215
+ self.vertices:Any = vertices # type: ignore
4216
+ self.texcoords:Any = texcoords # type: ignore
4217
+ self.texcoords2:Any = texcoords2 # type: ignore
4218
+ self.normals:Any = normals # type: ignore
4219
+ self.tangents:Any = tangents # type: ignore
4220
+ self.colors:str = colors # type: ignore
4221
+ self.indices:Any = indices # type: ignore
4222
+ self.animVertices:Any = animVertices # type: ignore
4223
+ self.animNormals:Any = animNormals # type: ignore
4224
+ self.boneIds:str = boneIds # type: ignore
4225
+ self.boneWeights:Any = boneWeights # type: ignore
4226
+ self.boneMatrices:Any = boneMatrices # type: ignore
4227
+ self.boneCount:int = boneCount # type: ignore
4228
+ self.vaoId:int = vaoId # type: ignore
4229
+ self.vboId:Any = vboId # type: ignore
4230
+ class Model:
4231
+ """ struct """
4232
+ def __init__(self, transform: Matrix|list|tuple|None = None, meshCount: int|None = None, materialCount: int|None = None, meshes: Any|None = None, materials: Any|None = None, meshMaterial: Any|None = None, boneCount: int|None = None, bones: Any|None = None, bindPose: Any|None = None):
4233
+ self.transform:Matrix = transform # type: ignore
4234
+ self.meshCount:int = meshCount # type: ignore
4235
+ self.materialCount:int = materialCount # type: ignore
4236
+ self.meshes:Any = meshes # type: ignore
4237
+ self.materials:Any = materials # type: ignore
4238
+ self.meshMaterial:Any = meshMaterial # type: ignore
4239
+ self.boneCount:int = boneCount # type: ignore
4240
+ self.bones:Any = bones # type: ignore
4241
+ self.bindPose:Any = bindPose # type: ignore
4242
+ class ModelAnimation:
4243
+ """ struct """
4244
+ def __init__(self, boneCount: int|None = None, frameCount: int|None = None, bones: Any|None = None, framePoses: Any|None = None, name: list|None = None):
4245
+ self.boneCount:int = boneCount # type: ignore
4246
+ self.frameCount:int = frameCount # type: ignore
4247
+ self.bones:Any = bones # type: ignore
4248
+ self.framePoses:Any = framePoses # type: ignore
4249
+ self.name:list = name # type: ignore
4250
+ class Music:
4251
+ """ struct """
4252
+ def __init__(self, stream: AudioStream|list|tuple|None = None, frameCount: int|None = None, looping: bool|None = None, ctxType: int|None = None, ctxData: Any|None = None):
4253
+ self.stream:AudioStream = stream # type: ignore
4254
+ self.frameCount:int = frameCount # type: ignore
4255
+ self.looping:bool = looping # type: ignore
4256
+ self.ctxType:int = ctxType # type: ignore
4257
+ self.ctxData:Any = ctxData # type: ignore
4258
+ class NPatchInfo:
4259
+ """ struct """
4260
+ def __init__(self, source: Rectangle|list|tuple|None = None, left: int|None = None, top: int|None = None, right: int|None = None, bottom: int|None = None, layout: int|None = None):
4261
+ self.source:Rectangle = source # type: ignore
4262
+ self.left:int = left # type: ignore
4263
+ self.top:int = top # type: ignore
4264
+ self.right:int = right # type: ignore
4265
+ self.bottom:int = bottom # type: ignore
4266
+ self.layout:int = layout # type: ignore
4267
+ class PhysicsBodyData:
4268
+ """ struct """
4269
+ def __init__(self, id: int|None = None, enabled: bool|None = None, position: Vector2|list|tuple|None = None, velocity: Vector2|list|tuple|None = None, force: Vector2|list|tuple|None = None, angularVelocity: float|None = None, torque: float|None = None, orient: float|None = None, inertia: float|None = None, inverseInertia: float|None = None, mass: float|None = None, inverseMass: float|None = None, staticFriction: float|None = None, dynamicFriction: float|None = None, restitution: float|None = None, useGravity: bool|None = None, isGrounded: bool|None = None, freezeOrient: bool|None = None, shape: PhysicsShape|list|tuple|None = None):
4270
+ self.id:int = id # type: ignore
4271
+ self.enabled:bool = enabled # type: ignore
4272
+ self.position:Vector2 = position # type: ignore
4273
+ self.velocity:Vector2 = velocity # type: ignore
4274
+ self.force:Vector2 = force # type: ignore
4275
+ self.angularVelocity:float = angularVelocity # type: ignore
4276
+ self.torque:float = torque # type: ignore
4277
+ self.orient:float = orient # type: ignore
4278
+ self.inertia:float = inertia # type: ignore
4279
+ self.inverseInertia:float = inverseInertia # type: ignore
4280
+ self.mass:float = mass # type: ignore
4281
+ self.inverseMass:float = inverseMass # type: ignore
4282
+ self.staticFriction:float = staticFriction # type: ignore
4283
+ self.dynamicFriction:float = dynamicFriction # type: ignore
4284
+ self.restitution:float = restitution # type: ignore
4285
+ self.useGravity:bool = useGravity # type: ignore
4286
+ self.isGrounded:bool = isGrounded # type: ignore
4287
+ self.freezeOrient:bool = freezeOrient # type: ignore
4288
+ self.shape:PhysicsShape = shape # type: ignore
4289
+ class PhysicsManifoldData:
4290
+ """ struct """
4291
+ def __init__(self, id: int|None = None, bodyA: Any|None = None, bodyB: Any|None = None, penetration: float|None = None, normal: Vector2|list|tuple|None = None, contacts: list|None = None, contactsCount: int|None = None, restitution: float|None = None, dynamicFriction: float|None = None, staticFriction: float|None = None):
4292
+ self.id:int = id # type: ignore
4293
+ self.bodyA:Any = bodyA # type: ignore
4294
+ self.bodyB:Any = bodyB # type: ignore
4295
+ self.penetration:float = penetration # type: ignore
4296
+ self.normal:Vector2 = normal # type: ignore
4297
+ self.contacts:list = contacts # type: ignore
4298
+ self.contactsCount:int = contactsCount # type: ignore
4299
+ self.restitution:float = restitution # type: ignore
4300
+ self.dynamicFriction:float = dynamicFriction # type: ignore
4301
+ self.staticFriction:float = staticFriction # type: ignore
4302
+ class PhysicsShape:
4303
+ """ struct """
4304
+ def __init__(self, type: PhysicsShapeType|None = None, body: Any|None = None, vertexData: PhysicsVertexData|list|tuple|None = None, radius: float|None = None, transform: Matrix2x2|list|tuple|None = None):
4305
+ self.type:PhysicsShapeType = type # type: ignore
4306
+ self.body:Any = body # type: ignore
4307
+ self.vertexData:PhysicsVertexData = vertexData # type: ignore
4308
+ self.radius:float = radius # type: ignore
4309
+ self.transform:Matrix2x2 = transform # type: ignore
4310
+ class PhysicsVertexData:
4311
+ """ struct """
4312
+ def __init__(self, vertexCount: int|None = None, positions: list|None = None, normals: list|None = None):
4313
+ self.vertexCount:int = vertexCount # type: ignore
4314
+ self.positions:list = positions # type: ignore
4315
+ self.normals:list = normals # type: ignore
4316
+ class Ray:
4317
+ """ struct """
4318
+ def __init__(self, position: Vector3|list|tuple|None = None, direction: Vector3|list|tuple|None = None):
4319
+ self.position:Vector3 = position # type: ignore
4320
+ self.direction:Vector3 = direction # type: ignore
4321
+ class RayCollision:
4322
+ """ struct """
4323
+ def __init__(self, hit: bool|None = None, distance: float|None = None, point: Vector3|list|tuple|None = None, normal: Vector3|list|tuple|None = None):
4324
+ self.hit:bool = hit # type: ignore
4325
+ self.distance:float = distance # type: ignore
4326
+ self.point:Vector3 = point # type: ignore
4327
+ self.normal:Vector3 = normal # type: ignore
4328
+ class Rectangle:
4329
+ """ struct """
4330
+ def __init__(self, x: float|None = None, y: float|None = None, width: float|None = None, height: float|None = None):
4331
+ self.x:float = x # type: ignore
4332
+ self.y:float = y # type: ignore
4333
+ self.width:float = width # type: ignore
4334
+ self.height:float = height # type: ignore
4335
+ class RenderTexture:
4336
+ """ struct """
4337
+ def __init__(self, id: int|None = None, texture: Texture|list|tuple|None = None, depth: Texture|list|tuple|None = None):
4338
+ self.id:int = id # type: ignore
4339
+ self.texture:Texture = texture # type: ignore
4340
+ self.depth:Texture = depth # type: ignore
4341
+ class Shader:
4342
+ """ struct """
4343
+ def __init__(self, id: int|None = None, locs: Any|None = None):
4344
+ self.id:int = id # type: ignore
4345
+ self.locs:Any = locs # type: ignore
4346
+ class Sound:
4347
+ """ struct """
4348
+ def __init__(self, stream: AudioStream|list|tuple|None = None, frameCount: int|None = None):
4349
+ self.stream:AudioStream = stream # type: ignore
4350
+ self.frameCount:int = frameCount # type: ignore
4351
+ class Texture:
4352
+ """ struct """
4353
+ def __init__(self, id: int|None = None, width: int|None = None, height: int|None = None, mipmaps: int|None = None, format: int|None = None):
4354
+ self.id:int = id # type: ignore
4355
+ self.width:int = width # type: ignore
4356
+ self.height:int = height # type: ignore
4357
+ self.mipmaps:int = mipmaps # type: ignore
4358
+ self.format:int = format # type: ignore
4359
+ class Texture2D:
4360
+ """ struct """
4361
+ def __init__(self, id: int|None = None, width: int|None = None, height: int|None = None, mipmaps: int|None = None, format: int|None = None):
4362
+ self.id:int = id # type: ignore
4363
+ self.width:int = width # type: ignore
4364
+ self.height:int = height # type: ignore
4365
+ self.mipmaps:int = mipmaps # type: ignore
4366
+ self.format:int = format # type: ignore
4367
+ class Transform:
4368
+ """ struct """
4369
+ def __init__(self, translation: Vector3|list|tuple|None = None, rotation: Vector4|list|tuple|None = None, scale: Vector3|list|tuple|None = None):
4370
+ self.translation:Vector3 = translation # type: ignore
4371
+ self.rotation:Vector4 = rotation # type: ignore
4372
+ self.scale:Vector3 = scale # type: ignore
4373
+ class Vector2:
4374
+ """ struct """
4375
+ def __init__(self, x: float|None = None, y: float|None = None):
4376
+ self.x:float = x # type: ignore
4377
+ self.y:float = y # type: ignore
4378
+ class Vector3:
4379
+ """ struct """
4380
+ def __init__(self, x: float|None = None, y: float|None = None, z: float|None = None):
4381
+ self.x:float = x # type: ignore
4382
+ self.y:float = y # type: ignore
4383
+ self.z:float = z # type: ignore
4384
+ class Vector4:
4385
+ """ struct """
4386
+ def __init__(self, x: float|None = None, y: float|None = None, z: float|None = None, w: float|None = None):
4387
+ self.x:float = x # type: ignore
4388
+ self.y:float = y # type: ignore
4389
+ self.z:float = z # type: ignore
4390
+ self.w:float = w # type: ignore
4391
+ class VrDeviceInfo:
4392
+ """ struct """
4393
+ def __init__(self, hResolution: int|None = None, vResolution: int|None = None, hScreenSize: float|None = None, vScreenSize: float|None = None, eyeToScreenDistance: float|None = None, lensSeparationDistance: float|None = None, interpupillaryDistance: float|None = None, lensDistortionValues: list|None = None, chromaAbCorrection: list|None = None):
4394
+ self.hResolution:int = hResolution # type: ignore
4395
+ self.vResolution:int = vResolution # type: ignore
4396
+ self.hScreenSize:float = hScreenSize # type: ignore
4397
+ self.vScreenSize:float = vScreenSize # type: ignore
4398
+ self.eyeToScreenDistance:float = eyeToScreenDistance # type: ignore
4399
+ self.lensSeparationDistance:float = lensSeparationDistance # type: ignore
4400
+ self.interpupillaryDistance:float = interpupillaryDistance # type: ignore
4401
+ self.lensDistortionValues:list = lensDistortionValues # type: ignore
4402
+ self.chromaAbCorrection:list = chromaAbCorrection # type: ignore
4403
+ class VrStereoConfig:
4404
+ """ struct """
4405
+ def __init__(self, projection: list|None = None, viewOffset: list|None = None, leftLensCenter: list|None = None, rightLensCenter: list|None = None, leftScreenCenter: list|None = None, rightScreenCenter: list|None = None, scale: list|None = None, scaleIn: list|None = None):
4406
+ self.projection:list = projection # type: ignore
4407
+ self.viewOffset:list = viewOffset # type: ignore
4408
+ self.leftLensCenter:list = leftLensCenter # type: ignore
4409
+ self.rightLensCenter:list = rightLensCenter # type: ignore
4410
+ self.leftScreenCenter:list = leftScreenCenter # type: ignore
4411
+ self.rightScreenCenter:list = rightScreenCenter # type: ignore
4412
+ self.scale:list = scale # type: ignore
4413
+ self.scaleIn:list = scaleIn # type: ignore
4414
+ class Wave:
4415
+ """ struct """
4416
+ def __init__(self, frameCount: int|None = None, sampleRate: int|None = None, sampleSize: int|None = None, channels: int|None = None, data: Any|None = None):
4417
+ self.frameCount:int = frameCount # type: ignore
4418
+ self.sampleRate:int = sampleRate # type: ignore
4419
+ self.sampleSize:int = sampleSize # type: ignore
4420
+ self.channels:int = channels # type: ignore
4421
+ self.data:Any = data # type: ignore
4422
+ class float16:
4423
+ """ struct """
4424
+ def __init__(self, v: list|None = None):
4425
+ self.v:list = v # type: ignore
4426
+ class float3:
4427
+ """ struct """
4428
+ def __init__(self, v: list|None = None):
4429
+ self.v:list = v # type: ignore
4430
+ class rlDrawCall:
4431
+ """ struct """
4432
+ def __init__(self, mode: int|None = None, vertexCount: int|None = None, vertexAlignment: int|None = None, textureId: int|None = None):
4433
+ self.mode:int = mode # type: ignore
4434
+ self.vertexCount:int = vertexCount # type: ignore
4435
+ self.vertexAlignment:int = vertexAlignment # type: ignore
4436
+ self.textureId:int = textureId # type: ignore
4437
+ class rlRenderBatch:
4438
+ """ struct """
4439
+ def __init__(self, bufferCount: int|None = None, currentBuffer: int|None = None, vertexBuffer: Any|None = None, draws: Any|None = None, drawCounter: int|None = None, currentDepth: float|None = None):
4440
+ self.bufferCount:int = bufferCount # type: ignore
4441
+ self.currentBuffer:int = currentBuffer # type: ignore
4442
+ self.vertexBuffer:Any = vertexBuffer # type: ignore
4443
+ self.draws:Any = draws # type: ignore
4444
+ self.drawCounter:int = drawCounter # type: ignore
4445
+ self.currentDepth:float = currentDepth # type: ignore
4446
+ class rlVertexBuffer:
4447
+ """ struct """
4448
+ def __init__(self, elementCount: int|None = None, vertices: Any|None = None, texcoords: Any|None = None, normals: Any|None = None, colors: str|None = None, indices: Any|None = None, vaoId: int|None = None, vboId: list|None = None):
4449
+ self.elementCount:int = elementCount # type: ignore
4450
+ self.vertices:Any = vertices # type: ignore
4451
+ self.texcoords:Any = texcoords # type: ignore
4452
+ self.normals:Any = normals # type: ignore
4453
+ self.colors:str = colors # type: ignore
4454
+ self.indices:Any = indices # type: ignore
4455
+ self.vaoId:int = vaoId # type: ignore
4456
+ self.vboId:list = vboId # type: ignore
4457
+
4458
+ LIGHTGRAY : Color
4459
+ GRAY : Color
4460
+ DARKGRAY : Color
4461
+ YELLOW : Color
4462
+ GOLD : Color
4463
+ ORANGE : Color
4464
+ PINK : Color
4465
+ RED : Color
4466
+ MAROON : Color
4467
+ GREEN : Color
4468
+ LIME : Color
4469
+ DARKGREEN : Color
4470
+ SKYBLUE : Color
4471
+ BLUE : Color
4472
+ DARKBLUE : Color
4473
+ PURPLE : Color
4474
+ VIOLET : Color
4475
+ DARKPURPLE : Color
4476
+ BEIGE : Color
4477
+ BROWN : Color
4478
+ DARKBROWN : Color
4479
+ WHITE : Color
4480
+ BLACK : Color
4481
+ BLANK : Color
4482
+ MAGENTA : Color
4483
+ RAYWHITE : Color
4484
+