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