raylib 5.5.0.0.dev3__cp39-cp39-macosx_10_13_x86_64.whl

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

Potentially problematic release.


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

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