raylib 4.5.0.1__cp312-cp312-macosx_12_0_arm64.whl

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

Potentially problematic release.


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

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