Debian Codegraph @

projects/Notepad++/raylib_npp_parser/raylib_npp.xml

raw symbols SCIP
1 <!-------------------------------------------------------------------------------------- -->
2 <!-- Window and Graphics Device Functions (Module: core) -->
3 <!-------------------------------------------------------------------------------------- -->
4
5 <!-- Window-related functions -->
6 <KeyWord name="InitWindow" func="yes">
7 <Overload retVal="void" descr="Initialize window and OpenGL context">
8 <Param name="int width" />
9 <Param name="int height" />
10 <Param name="const char *title" />
11 </Overload>
12 </KeyWord>
13 <KeyWord name="CloseWindow" func="yes">
14 <Overload retVal="void" descr="Close window and unload OpenGL context"></Overload>
15 </KeyWord>
16 <KeyWord name="WindowShouldClose" func="yes">
17 <Overload retVal="bool" descr="Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)"></Overload>
18 </KeyWord>
19 <KeyWord name="IsWindowReady" func="yes">
20 <Overload retVal="bool" descr="Check if window has been initialized successfully"></Overload>
21 </KeyWord>
22 <KeyWord name="IsWindowFullscreen" func="yes">
23 <Overload retVal="bool" descr="Check if window is currently fullscreen"></Overload>
24 </KeyWord>
25 <KeyWord name="IsWindowHidden" func="yes">
26 <Overload retVal="bool" descr="Check if window is currently hidden"></Overload>
27 </KeyWord>
28 <KeyWord name="IsWindowMinimized" func="yes">
29 <Overload retVal="bool" descr="Check if window is currently minimized"></Overload>
30 </KeyWord>
31 <KeyWord name="IsWindowMaximized" func="yes">
32 <Overload retVal="bool" descr="Check if window is currently maximized"></Overload>
33 </KeyWord>
34 <KeyWord name="IsWindowFocused" func="yes">
35 <Overload retVal="bool" descr="Check if window is currently focused"></Overload>
36 </KeyWord>
37 <KeyWord name="IsWindowResized" func="yes">
38 <Overload retVal="bool" descr="Check if window has been resized last frame"></Overload>
39 </KeyWord>
40 <KeyWord name="IsWindowState" func="yes">
41 <Overload retVal="bool" descr="Check if one specific window flag is enabled">
42 <Param name="unsigned int flag" />
43 </Overload>
44 </KeyWord>
45 <KeyWord name="SetWindowState" func="yes">
46 <Overload retVal="void" descr="Set window configuration state using flags">
47 <Param name="unsigned int flags" />
48 </Overload>
49 </KeyWord>
50 <KeyWord name="ClearWindowState" func="yes">
51 <Overload retVal="void" descr="Clear window configuration state flags">
52 <Param name="unsigned int flags" />
53 </Overload>
54 </KeyWord>
55 <KeyWord name="ToggleFullscreen" func="yes">
56 <Overload retVal="void" descr="Toggle window state: fullscreen/windowed, resizes monitor to match window resolution"></Overload>
57 </KeyWord>
58 <KeyWord name="ToggleBorderlessWindowed" func="yes">
59 <Overload retVal="void" descr="Toggle window state: borderless windowed, resizes window to match monitor resolution"></Overload>
60 </KeyWord>
61 <KeyWord name="MaximizeWindow" func="yes">
62 <Overload retVal="void" descr="Set window state: maximized, if resizable"></Overload>
63 </KeyWord>
64 <KeyWord name="MinimizeWindow" func="yes">
65 <Overload retVal="void" descr="Set window state: minimized, if resizable"></Overload>
66 </KeyWord>
67 <KeyWord name="RestoreWindow" func="yes">
68 <Overload retVal="void" descr="Restore window from being minimized/maximized"></Overload>
69 </KeyWord>
70 <KeyWord name="SetWindowIcon" func="yes">
71 <Overload retVal="void" descr="Set icon for window (single image, RGBA 32bit)">
72 <Param name="Image image" />
73 </Overload>
74 </KeyWord>
75 <KeyWord name="SetWindowIcons" func="yes">
76 <Overload retVal="void" descr="Set icon for window (multiple images, RGBA 32bit)">
77 <Param name="Image *images" />
78 <Param name="int count" />
79 </Overload>
80 </KeyWord>
81 <KeyWord name="SetWindowTitle" func="yes">
82 <Overload retVal="void" descr="Set title for window">
83 <Param name="const char *title" />
84 </Overload>
85 </KeyWord>
86 <KeyWord name="SetWindowPosition" func="yes">
87 <Overload retVal="void" descr="Set window position on screen">
88 <Param name="int x" />
89 <Param name="int y" />
90 </Overload>
91 </KeyWord>
92 <KeyWord name="SetWindowMonitor" func="yes">
93 <Overload retVal="void" descr="Set monitor for the current window">
94 <Param name="int monitor" />
95 </Overload>
96 </KeyWord>
97 <KeyWord name="SetWindowMinSize" func="yes">
98 <Overload retVal="void" descr="Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)">
99 <Param name="int width" />
100 <Param name="int height" />
101 </Overload>
102 </KeyWord>
103 <KeyWord name="SetWindowMaxSize" func="yes">
104 <Overload retVal="void" descr="Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)">
105 <Param name="int width" />
106 <Param name="int height" />
107 </Overload>
108 </KeyWord>
109 <KeyWord name="SetWindowSize" func="yes">
110 <Overload retVal="void" descr="Set window dimensions">
111 <Param name="int width" />
112 <Param name="int height" />
113 </Overload>
114 </KeyWord>
115 <KeyWord name="SetWindowOpacity" func="yes">
116 <Overload retVal="void" descr="Set window opacity [0.0f..1.0f]">
117 <Param name="float opacity" />
118 </Overload>
119 </KeyWord>
120 <KeyWord name="SetWindowFocused" func="yes">
121 <Overload retVal="void" descr="Set window focused"></Overload>
122 </KeyWord>
123 <KeyWord name="GetWindowHandle" func="yes">
124 <Overload retVal="void" descr="Get native window handle"></Overload>
125 </KeyWord>
126 <KeyWord name="GetScreenWidth" func="yes">
127 <Overload retVal="int" descr="Get current screen width"></Overload>
128 </KeyWord>
129 <KeyWord name="GetScreenHeight" func="yes">
130 <Overload retVal="int" descr="Get current screen height"></Overload>
131 </KeyWord>
132 <KeyWord name="GetRenderWidth" func="yes">
133 <Overload retVal="int" descr="Get current render width (it considers HiDPI)"></Overload>
134 </KeyWord>
135 <KeyWord name="GetRenderHeight" func="yes">
136 <Overload retVal="int" descr="Get current render height (it considers HiDPI)"></Overload>
137 </KeyWord>
138 <KeyWord name="GetMonitorCount" func="yes">
139 <Overload retVal="int" descr="Get number of connected monitors"></Overload>
140 </KeyWord>
141 <KeyWord name="GetCurrentMonitor" func="yes">
142 <Overload retVal="int" descr="Get current monitor where window is placed"></Overload>
143 </KeyWord>
144 <KeyWord name="GetMonitorPosition" func="yes">
145 <Overload retVal="Vector2" descr="Get specified monitor position">
146 <Param name="int monitor" />
147 </Overload>
148 </KeyWord>
149 <KeyWord name="GetMonitorWidth" func="yes">
150 <Overload retVal="int" descr="Get specified monitor width (current video mode used by monitor)">
151 <Param name="int monitor" />
152 </Overload>
153 </KeyWord>
154 <KeyWord name="GetMonitorHeight" func="yes">
155 <Overload retVal="int" descr="Get specified monitor height (current video mode used by monitor)">
156 <Param name="int monitor" />
157 </Overload>
158 </KeyWord>
159 <KeyWord name="GetMonitorPhysicalWidth" func="yes">
160 <Overload retVal="int" descr="Get specified monitor physical width in millimetres">
161 <Param name="int monitor" />
162 </Overload>
163 </KeyWord>
164 <KeyWord name="GetMonitorPhysicalHeight" func="yes">
165 <Overload retVal="int" descr="Get specified monitor physical height in millimetres">
166 <Param name="int monitor" />
167 </Overload>
168 </KeyWord>
169 <KeyWord name="GetMonitorRefreshRate" func="yes">
170 <Overload retVal="int" descr="Get specified monitor refresh rate">
171 <Param name="int monitor" />
172 </Overload>
173 </KeyWord>
174 <KeyWord name="GetWindowPosition" func="yes">
175 <Overload retVal="Vector2" descr="Get window position XY on monitor"></Overload>
176 </KeyWord>
177 <KeyWord name="GetWindowScaleDPI" func="yes">
178 <Overload retVal="Vector2" descr="Get window scale DPI factor"></Overload>
179 </KeyWord>
180 <KeyWord name="GetMonitorName" func="yes">
181 <Overload retVal="const char" descr="Get the human-readable, UTF-8 encoded name of the specified monitor">
182 <Param name="int monitor" />
183 </Overload>
184 </KeyWord>
185 <KeyWord name="SetClipboardText" func="yes">
186 <Overload retVal="void" descr="Set clipboard text content">
187 <Param name="const char *text" />
188 </Overload>
189 </KeyWord>
190 <KeyWord name="GetClipboardText" func="yes">
191 <Overload retVal="const char" descr="Get clipboard text content"></Overload>
192 </KeyWord>
193 <KeyWord name="GetClipboardImage" func="yes">
194 <Overload retVal="Image" descr="Get clipboard image content"></Overload>
195 </KeyWord>
196 <KeyWord name="EnableEventWaiting" func="yes">
197 <Overload retVal="void" descr="Enable waiting for events on EndDrawing(), no automatic event polling"></Overload>
198 </KeyWord>
199 <KeyWord name="DisableEventWaiting" func="yes">
200 <Overload retVal="void" descr="Disable waiting for events on EndDrawing(), automatic events polling"></Overload>
201 </KeyWord>
202
203 <!-- Cursor-related functions -->
204 <KeyWord name="ShowCursor" func="yes">
205 <Overload retVal="void" descr="Shows cursor"></Overload>
206 </KeyWord>
207 <KeyWord name="HideCursor" func="yes">
208 <Overload retVal="void" descr="Hides cursor"></Overload>
209 </KeyWord>
210 <KeyWord name="IsCursorHidden" func="yes">
211 <Overload retVal="bool" descr="Check if cursor is not visible"></Overload>
212 </KeyWord>
213 <KeyWord name="EnableCursor" func="yes">
214 <Overload retVal="void" descr="Enables cursor (unlock cursor)"></Overload>
215 </KeyWord>
216 <KeyWord name="DisableCursor" func="yes">
217 <Overload retVal="void" descr="Disables cursor (lock cursor)"></Overload>
218 </KeyWord>
219 <KeyWord name="IsCursorOnScreen" func="yes">
220 <Overload retVal="bool" descr="Check if cursor is on the screen"></Overload>
221 </KeyWord>
222
223 <!-- Drawing-related functions -->
224 <KeyWord name="ClearBackground" func="yes">
225 <Overload retVal="void" descr="Set background color (framebuffer clear color)">
226 <Param name="Color color" />
227 </Overload>
228 </KeyWord>
229 <KeyWord name="BeginDrawing" func="yes">
230 <Overload retVal="void" descr="Setup canvas (framebuffer) to start drawing"></Overload>
231 </KeyWord>
232 <KeyWord name="EndDrawing" func="yes">
233 <Overload retVal="void" descr="End canvas drawing and swap buffers (double buffering)"></Overload>
234 </KeyWord>
235 <KeyWord name="BeginMode2D" func="yes">
236 <Overload retVal="void" descr="Begin 2D mode with custom camera (2D)">
237 <Param name="Camera2D camera" />
238 </Overload>
239 </KeyWord>
240 <KeyWord name="EndMode2D" func="yes">
241 <Overload retVal="void" descr="Ends 2D mode with custom camera"></Overload>
242 </KeyWord>
243 <KeyWord name="BeginMode3D" func="yes">
244 <Overload retVal="void" descr="Begin 3D mode with custom camera (3D)">
245 <Param name="Camera3D camera" />
246 </Overload>
247 </KeyWord>
248 <KeyWord name="EndMode3D" func="yes">
249 <Overload retVal="void" descr="Ends 3D mode and returns to default 2D orthographic mode"></Overload>
250 </KeyWord>
251 <KeyWord name="BeginTextureMode" func="yes">
252 <Overload retVal="void" descr="Begin drawing to render texture">
253 <Param name="RenderTexture2D target" />
254 </Overload>
255 </KeyWord>
256 <KeyWord name="EndTextureMode" func="yes">
257 <Overload retVal="void" descr="Ends drawing to render texture"></Overload>
258 </KeyWord>
259 <KeyWord name="BeginShaderMode" func="yes">
260 <Overload retVal="void" descr="Begin custom shader drawing">
261 <Param name="Shader shader" />
262 </Overload>
263 </KeyWord>
264 <KeyWord name="EndShaderMode" func="yes">
265 <Overload retVal="void" descr="End custom shader drawing (use default shader)"></Overload>
266 </KeyWord>
267 <KeyWord name="BeginBlendMode" func="yes">
268 <Overload retVal="void" descr="Begin blending mode (alpha, additive, multiplied, subtract, custom)">
269 <Param name="int mode" />
270 </Overload>
271 </KeyWord>
272 <KeyWord name="EndBlendMode" func="yes">
273 <Overload retVal="void" descr="End blending mode (reset to default: alpha blending)"></Overload>
274 </KeyWord>
275 <KeyWord name="BeginScissorMode" func="yes">
276 <Overload retVal="void" descr="Begin scissor mode (define screen area for following drawing)">
277 <Param name="int x" />
278 <Param name="int y" />
279 <Param name="int width" />
280 <Param name="int height" />
281 </Overload>
282 </KeyWord>
283 <KeyWord name="EndScissorMode" func="yes">
284 <Overload retVal="void" descr="End scissor mode"></Overload>
285 </KeyWord>
286 <KeyWord name="BeginVrStereoMode" func="yes">
287 <Overload retVal="void" descr="Begin stereo rendering (requires VR simulator)">
288 <Param name="VrStereoConfig config" />
289 </Overload>
290 </KeyWord>
291 <KeyWord name="EndVrStereoMode" func="yes">
292 <Overload retVal="void" descr="End stereo rendering (requires VR simulator)"></Overload>
293 </KeyWord>
294
295 <!-- VR stereo config functions for VR simulator -->
296 <KeyWord name="LoadVrStereoConfig" func="yes">
297 <Overload retVal="VrStereoConfig" descr="Load VR stereo config for VR simulator device parameters">
298 <Param name="VrDeviceInfo device" />
299 </Overload>
300 </KeyWord>
301 <KeyWord name="UnloadVrStereoConfig" func="yes">
302 <Overload retVal="void" descr="Unload VR stereo config">
303 <Param name="VrStereoConfig config" />
304 </Overload>
305 </KeyWord>
306
307 <!-- Shader management functions -->
308 <!-- NOTE: Shader functionality is not available on OpenGL 1.1 -->
309 <KeyWord name="LoadShader" func="yes">
310 <Overload retVal="Shader" descr="Load shader from files and bind default locations">
311 <Param name="const char *vsFileName" />
312 <Param name="const char *fsFileName" />
313 </Overload>
314 </KeyWord>
315 <KeyWord name="LoadShaderFromMemory" func="yes">
316 <Overload retVal="Shader" descr="Load shader from code strings and bind default locations">
317 <Param name="const char *vsCode" />
318 <Param name="const char *fsCode" />
319 </Overload>
320 </KeyWord>
321 <KeyWord name="IsShaderValid" func="yes">
322 <Overload retVal="bool" descr="Check if a shader is valid (loaded on GPU)">
323 <Param name="Shader shader" />
324 </Overload>
325 </KeyWord>
326 <KeyWord name="GetShaderLocation" func="yes">
327 <Overload retVal="int" descr="Get shader uniform location">
328 <Param name="Shader shader" />
329 <Param name="const char *uniformName" />
330 </Overload>
331 </KeyWord>
332 <KeyWord name="GetShaderLocationAttrib" func="yes">
333 <Overload retVal="int" descr="Get shader attribute location">
334 <Param name="Shader shader" />
335 <Param name="const char *attribName" />
336 </Overload>
337 </KeyWord>
338 <KeyWord name="SetShaderValue" func="yes">
339 <Overload retVal="void" descr="Set shader uniform value">
340 <Param name="Shader shader" />
341 <Param name="int locIndex" />
342 <Param name="const void *value" />
343 <Param name="int uniformType" />
344 </Overload>
345 </KeyWord>
346 <KeyWord name="SetShaderValueV" func="yes">
347 <Overload retVal="void" descr="Set shader uniform value vector">
348 <Param name="Shader shader" />
349 <Param name="int locIndex" />
350 <Param name="const void *value" />
351 <Param name="int uniformType" />
352 <Param name="int count" />
353 </Overload>
354 </KeyWord>
355 <KeyWord name="SetShaderValueMatrix" func="yes">
356 <Overload retVal="void" descr="Set shader uniform value (matrix 4x4)">
357 <Param name="Shader shader" />
358 <Param name="int locIndex" />
359 <Param name="Matrix mat" />
360 </Overload>
361 </KeyWord>
362 <KeyWord name="SetShaderValueTexture" func="yes">
363 <Overload retVal="void" descr="Set shader uniform value and bind the texture (sampler2d)">
364 <Param name="Shader shader" />
365 <Param name="int locIndex" />
366 <Param name="Texture2D texture" />
367 </Overload>
368 </KeyWord>
369 <KeyWord name="UnloadShader" func="yes">
370 <Overload retVal="void" descr="Unload shader from GPU memory (VRAM)">
371 <Param name="Shader shader" />
372 </Overload>
373 </KeyWord>
374
375 <!-- Screen-space-related functions -->
376 <KeyWord name="GetScreenToWorldRay" func="yes">
377 <Overload retVal="Ray" descr="Get a ray trace from screen position (i.e mouse)">
378 <Param name="Vector2 position" />
379 <Param name="Camera camera" />
380 </Overload>
381 </KeyWord>
382 <KeyWord name="GetScreenToWorldRayEx" func="yes">
383 <Overload retVal="Ray" descr="Get a ray trace from screen position (i.e mouse) in a viewport">
384 <Param name="Vector2 position" />
385 <Param name="Camera camera" />
386 <Param name="int width" />
387 <Param name="int height" />
388 </Overload>
389 </KeyWord>
390 <KeyWord name="GetWorldToScreen" func="yes">
391 <Overload retVal="Vector2" descr="Get the screen space position for a 3d world space position">
392 <Param name="Vector3 position" />
393 <Param name="Camera camera" />
394 </Overload>
395 </KeyWord>
396 <KeyWord name="GetWorldToScreenEx" func="yes">
397 <Overload retVal="Vector2" descr="Get size position for a 3d world space position">
398 <Param name="Vector3 position" />
399 <Param name="Camera camera" />
400 <Param name="int width" />
401 <Param name="int height" />
402 </Overload>
403 </KeyWord>
404 <KeyWord name="GetWorldToScreen2D" func="yes">
405 <Overload retVal="Vector2" descr="Get the screen space position for a 2d camera world space position">
406 <Param name="Vector2 position" />
407 <Param name="Camera2D camera" />
408 </Overload>
409 </KeyWord>
410 <KeyWord name="GetScreenToWorld2D" func="yes">
411 <Overload retVal="Vector2" descr="Get the world space position for a 2d camera screen space position">
412 <Param name="Vector2 position" />
413 <Param name="Camera2D camera" />
414 </Overload>
415 </KeyWord>
416 <KeyWord name="GetCameraMatrix" func="yes">
417 <Overload retVal="Matrix" descr="Get camera transform matrix (view matrix)">
418 <Param name="Camera camera" />
419 </Overload>
420 </KeyWord>
421 <KeyWord name="GetCameraMatrix2D" func="yes">
422 <Overload retVal="Matrix" descr="Get camera 2d transform matrix">
423 <Param name="Camera2D camera" />
424 </Overload>
425 </KeyWord>
426
427 <!-- Timing-related functions -->
428 <KeyWord name="SetTargetFPS" func="yes">
429 <Overload retVal="void" descr="Set target FPS (maximum)">
430 <Param name="int fps" />
431 </Overload>
432 </KeyWord>
433 <KeyWord name="GetFrameTime" func="yes">
434 <Overload retVal="float" descr="Get time in seconds for last frame drawn (delta time)"></Overload>
435 </KeyWord>
436 <KeyWord name="GetTime" func="yes">
437 <Overload retVal="double" descr="Get elapsed time in seconds since InitWindow()"></Overload>
438 </KeyWord>
439 <KeyWord name="GetFPS" func="yes">
440 <Overload retVal="int" descr="Get current FPS"></Overload>
441 </KeyWord>
442
443 <!-- Custom frame control functions -->
444 <!-- NOTE: Those functions are intended for advanced users that want full control over the frame processing -->
445 <!-- By default EndDrawing() does this job: draws everything + SwapScreenBuffer() + manage frame timing + PollInputEvents() -->
446 <!-- To avoid that behaviour and control frame processes manually, enable in config.h: SUPPORT_CUSTOM_FRAME_CONTROL -->
447 <KeyWord name="SwapScreenBuffer" func="yes">
448 <Overload retVal="void" descr="Swap back buffer with front buffer (screen drawing)"></Overload>
449 </KeyWord>
450 <KeyWord name="PollInputEvents" func="yes">
451 <Overload retVal="void" descr="Register all input events"></Overload>
452 </KeyWord>
453 <KeyWord name="WaitTime" func="yes">
454 <Overload retVal="void" descr="Wait for some time (halt program execution)">
455 <Param name="double seconds" />
456 </Overload>
457 </KeyWord>
458
459 <!-- Random values generation functions -->
460 <KeyWord name="SetRandomSeed" func="yes">
461 <Overload retVal="void" descr="Set the seed for the random number generator">
462 <Param name="unsigned int seed" />
463 </Overload>
464 </KeyWord>
465 <KeyWord name="GetRandomValue" func="yes">
466 <Overload retVal="int" descr="Get a random value between min and max (both included)">
467 <Param name="int min" />
468 <Param name="int max" />
469 </Overload>
470 </KeyWord>
471 <KeyWord name="LoadRandomSequence" func="yes">
472 <Overload retVal="int" descr="Load random values sequence, no values repeated">
473 <Param name="unsigned int count" />
474 <Param name="int min" />
475 <Param name="int max" />
476 </Overload>
477 </KeyWord>
478 <KeyWord name="UnloadRandomSequence" func="yes">
479 <Overload retVal="void" descr="Unload random values sequence">
480 <Param name="int *sequence" />
481 </Overload>
482 </KeyWord>
483
484 <!-- Misc. functions -->
485 <KeyWord name="TakeScreenshot" func="yes">
486 <Overload retVal="void" descr="Takes a screenshot of current screen (filename extension defines format)">
487 <Param name="const char *fileName" />
488 </Overload>
489 </KeyWord>
490 <KeyWord name="SetConfigFlags" func="yes">
491 <Overload retVal="void" descr="Setup init configuration flags (view FLAGS)">
492 <Param name="unsigned int flags" />
493 </Overload>
494 </KeyWord>
495 <KeyWord name="OpenURL" func="yes">
496 <Overload retVal="void" descr="Open URL with default system browser (if available)">
497 <Param name="const char *url" />
498 </Overload>
499 </KeyWord>
500
501 <!-- Logging system -->
502 <KeyWord name="SetTraceLogLevel" func="yes">
503 <Overload retVal="void" descr="Set the current threshold (minimum) log level">
504 <Param name="int logLevel" />
505 </Overload>
506 </KeyWord>
507 <KeyWord name="TraceLog" func="yes">
508 <Overload retVal="void" descr="Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)">
509 <Param name="int logLevel" />
510 <Param name="const char *text" />
511 <Param name="..." />
512 </Overload>
513 </KeyWord>
514 <KeyWord name="SetTraceLogCallback" func="yes">
515 <Overload retVal="void" descr="Set custom trace log">
516 <Param name="TraceLogCallback callback" />
517 </Overload>
518 </KeyWord>
519
520 <!-- Memory management, using internal allocators -->
521 <KeyWord name="MemAlloc" func="yes">
522 <Overload retVal="void" descr="Internal memory allocator">
523 <Param name="unsigned int size" />
524 </Overload>
525 </KeyWord>
526 <KeyWord name="MemRealloc" func="yes">
527 <Overload retVal="void" descr="Internal memory reallocator"></Overload>
528 </KeyWord>
529 <KeyWord name="MemFree" func="yes">
530 <Overload retVal="void" descr="Internal memory free"></Overload>
531 </KeyWord>
532
533 <!-- File system management functions -->
534 <KeyWord name="char *LoadFileData" func="yes">
535 <Overload retVal="unsigned" descr="Load file data as byte array (read)">
536 <Param name="const char *fileName" />
537 <Param name="int *dataSize" />
538 </Overload>
539 </KeyWord>
540 <KeyWord name="UnloadFileData" func="yes">
541 <Overload retVal="void" descr="Unload file data allocated by LoadFileData()">
542 <Param name="unsigned char *data" />
543 </Overload>
544 </KeyWord>
545 <KeyWord name="SaveFileData" func="yes">
546 <Overload retVal="bool" descr="Save data to file from byte array (write), returns true on success">
547 <Param name="const char *fileName" /></Overload>
548 </KeyWord>
549 <KeyWord name="ExportDataAsCode" func="yes">
550 <Overload retVal="bool" descr="Export data to code (.h), returns true on success">
551 <Param name="const unsigned char" />
552 <Param name="int dataSize" />
553 <Param name="const char *fileName" />
554 </Overload>
555 </KeyWord>
556 <KeyWord name="LoadFileText" func="yes">
557 <Overload retVal="char" descr="Load text data from file (read), returns a '\0' terminated string">
558 <Param name="const char *fileName" />
559 </Overload>
560 </KeyWord>
561 <KeyWord name="UnloadFileText" func="yes">
562 <Overload retVal="void" descr="Unload file text data allocated by LoadFileText()">
563 <Param name="char *text" />
564 </Overload>
565 </KeyWord>
566 <KeyWord name="SaveFileText" func="yes">
567 <Overload retVal="bool" descr="Save text data to file (write), string must be '\0' terminated, returns true on success">
568 <Param name="const char *fileName" />
569 <Param name="const char *text" />
570 </Overload>
571 </KeyWord>
572
573 <!-- File access custom callbacks -->
574 <!-- WARNING: Callbacks setup is intended for advanced users -->
575 <KeyWord name="SetLoadFileDataCallback" func="yes">
576 <Overload retVal="void" descr="Set custom file binary data loader">
577 <Param name="LoadFileDataCallback callback" />
578 </Overload>
579 </KeyWord>
580 <KeyWord name="SetSaveFileDataCallback" func="yes">
581 <Overload retVal="void" descr="Set custom file binary data saver">
582 <Param name="SaveFileDataCallback callback" />
583 </Overload>
584 </KeyWord>
585 <KeyWord name="SetLoadFileTextCallback" func="yes">
586 <Overload retVal="void" descr="Set custom file text data loader">
587 <Param name="LoadFileTextCallback callback" />
588 </Overload>
589 </KeyWord>
590 <KeyWord name="SetSaveFileTextCallback" func="yes">
591 <Overload retVal="void" descr="Set custom file text data saver">
592 <Param name="SaveFileTextCallback callback" />
593 </Overload>
594 </KeyWord>
595
596 <KeyWord name="FileRename" func="yes">
597 <Overload retVal="int" descr="Rename file (if exists)">
598 <Param name="const char *fileName" />
599 <Param name="const char *fileRename" />
600 </Overload>
601 </KeyWord>
602 <KeyWord name="FileRemove" func="yes">
603 <Overload retVal="int" descr="Remove file (if exists)">
604 <Param name="const char *fileName" />
605 </Overload>
606 </KeyWord>
607 <KeyWord name="FileCopy" func="yes">
608 <Overload retVal="int" descr="Copy file from one path to another, dstPath created if it doesn't exist">
609 <Param name="const char *srcPath" />
610 <Param name="const char *dstPath" />
611 </Overload>
612 </KeyWord>
613 <KeyWord name="FileMove" func="yes">
614 <Overload retVal="int" descr="Move file from one directory to another, dstPath created if it doesn't exist">
615 <Param name="const char *srcPath" />
616 <Param name="const char *dstPath" />
617 </Overload>
618 </KeyWord>
619 <KeyWord name="FileTextReplace" func="yes">
620 <Overload retVal="int" descr="Replace text in an existing file">
621 <Param name="const char *fileName" />
622 <Param name="const char *search" />
623 <Param name="const char *replacement" />
624 </Overload>
625 </KeyWord>
626 <KeyWord name="FileTextFindIndex" func="yes">
627 <Overload retVal="int" descr="Find text in existing file">
628 <Param name="const char *fileName" />
629 <Param name="const char *search" />
630 </Overload>
631 </KeyWord>
632 <KeyWord name="FileExists" func="yes">
633 <Overload retVal="bool" descr="Check if file exists">
634 <Param name="const char *fileName" />
635 </Overload>
636 </KeyWord>
637 <KeyWord name="DirectoryExists" func="yes">
638 <Overload retVal="bool" descr="Check if a directory path exists">
639 <Param name="const char *dirPath" />
640 </Overload>
641 </KeyWord>
642 <KeyWord name="IsFileExtension" func="yes">
643 <Overload retVal="bool" descr="Check file extension (recommended include point: .png, .wav)">
644 <Param name="const char *fileName" />
645 <Param name="const char *ext" />
646 </Overload>
647 </KeyWord>
648 <KeyWord name="GetFileLength" func="yes">
649 <Overload retVal="int" descr="Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)">
650 <Param name="const char *fileName" />
651 </Overload>
652 </KeyWord>
653 <KeyWord name="GetFileModTime" func="yes">
654 <Overload retVal="long" descr="Get file modification time (last write time)">
655 <Param name="const char *fileName" />
656 </Overload>
657 </KeyWord>
658 <KeyWord name="GetFileExtension" func="yes">
659 <Overload retVal="const char" descr="Get pointer to extension for a filename string (includes dot: '.png')">
660 <Param name="const char *fileName" />
661 </Overload>
662 </KeyWord>
663 <KeyWord name="GetFileName" func="yes">
664 <Overload retVal="const char" descr="Get pointer to filename for a path string">
665 <Param name="const char *filePath" />
666 </Overload>
667 </KeyWord>
668 <KeyWord name="GetFileNameWithoutExt" func="yes">
669 <Overload retVal="const char" descr="Get filename string without extension (uses static string)">
670 <Param name="const char *filePath" />
671 </Overload>
672 </KeyWord>
673 <KeyWord name="GetDirectoryPath" func="yes">
674 <Overload retVal="const char" descr="Get full path for a given fileName with path (uses static string)">
675 <Param name="const char *filePath" />
676 </Overload>
677 </KeyWord>
678 <KeyWord name="GetPrevDirectoryPath" func="yes">
679 <Overload retVal="const char" descr="Get previous directory path for a given path (uses static string)">
680 <Param name="const char *dirPath" />
681 </Overload>
682 </KeyWord>
683 <KeyWord name="GetWorkingDirectory" func="yes">
684 <Overload retVal="const char" descr="Get current working directory (uses static string)"></Overload>
685 </KeyWord>
686 <KeyWord name="GetApplicationDirectory" func="yes">
687 <Overload retVal="const char" descr="Get the directory of the running application (uses static string)"></Overload>
688 </KeyWord>
689 <KeyWord name="MakeDirectory" func="yes">
690 <Overload retVal="int" descr="Create directories (including full path requested), returns 0 on success">
691 <Param name="const char *dirPath" />
692 </Overload>
693 </KeyWord>
694 <KeyWord name="ChangeDirectory" func="yes">
695 <Overload retVal="bool" descr="Change working directory, return true on success">
696 <Param name="const char *dirPath" />
697 </Overload>
698 </KeyWord>
699 <KeyWord name="IsPathFile" func="yes">
700 <Overload retVal="bool" descr="Check if a given path is a file or a directory">
701 <Param name="const char *path" />
702 </Overload>
703 </KeyWord>
704 <KeyWord name="IsFileNameValid" func="yes">
705 <Overload retVal="bool" descr="Check if fileName is valid for the platform/OS">
706 <Param name="const char *fileName" />
707 </Overload>
708 </KeyWord>
709 <KeyWord name="LoadDirectoryFiles" func="yes">
710 <Overload retVal="FilePathList" descr="Load directory filepaths, files and directories, no subdirs scan">
711 <Param name="const char *dirPath" />
712 </Overload>
713 </KeyWord>
714 <KeyWord name="LoadDirectoryFilesEx" func="yes">
715 <Overload retVal="FilePathList" descr="Load directory filepaths with extension filtering and subdir scan; some filters available: "*.*", "FILES*", "DIRS*"">
716 <Param name="const char *basePath" />
717 <Param name="const char *filter" />
718 <Param name="bool scanSubdirs" />
719 </Overload>
720 </KeyWord>
721 <KeyWord name="UnloadDirectoryFiles" func="yes">
722 <Overload retVal="void" descr="Unload filepaths">
723 <Param name="FilePathList files" />
724 </Overload>
725 </KeyWord>
726 <KeyWord name="IsFileDropped" func="yes">
727 <Overload retVal="bool" descr="Check if a file has been dropped into window"></Overload>
728 </KeyWord>
729 <KeyWord name="LoadDroppedFiles" func="yes">
730 <Overload retVal="FilePathList" descr="Load dropped filepaths"></Overload>
731 </KeyWord>
732 <KeyWord name="UnloadDroppedFiles" func="yes">
733 <Overload retVal="void" descr="Unload dropped filepaths">
734 <Param name="FilePathList files" />
735 </Overload>
736 </KeyWord>
737 <KeyWord name="int GetDirectoryFileCount" func="yes">
738 <Overload retVal="unsigned" descr="Get the file count in a directory">
739 <Param name="const char *dirPath" />
740 </Overload>
741 </KeyWord>
742 <KeyWord name="int GetDirectoryFileCountEx" func="yes">
743 <Overload retVal="unsigned" descr="Get the file count in a directory with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result">
744 <Param name="const char *basePath" />
745 <Param name="const char *filter" />
746 <Param name="bool scanSubdirs" />
747 </Overload>
748 </KeyWord>
749
750 <!-- Compression/Encoding functionality -->
751 <KeyWord name="char *CompressData" func="yes">
752 <Overload retVal="unsigned" descr="Compress data (DEFLATE algorithm), memory must be MemFree()">
753 <Param name="const unsigned char" />
754 <Param name="int dataSize" />
755 <Param name="int *compDataSize" />
756 </Overload>
757 </KeyWord>
758 <KeyWord name="char *DecompressData" func="yes">
759 <Overload retVal="unsigned" descr="Decompress data (DEFLATE algorithm), memory must be MemFree()">
760 <Param name="const unsigned char" />
761 <Param name="int compDataSize" />
762 <Param name="int *dataSize" />
763 </Overload>
764 </KeyWord>
765 <KeyWord name="EncodeDataBase64" func="yes">
766 <Overload retVal="char" descr="Encode data to Base64 string (includes NULL terminator), memory must be MemFree()">
767 <Param name="const unsigned char" />
768 <Param name="int dataSize" />
769 <Param name="int *outputSize" />
770 </Overload>
771 </KeyWord>
772 <KeyWord name="char *DecodeDataBase64" func="yes">
773 <Overload retVal="unsigned" descr="Decode Base64 string (expected NULL terminated), memory must be MemFree()">
774 <Param name="const char *text" />
775 <Param name="int *outputSize" />
776 </Overload>
777 </KeyWord>
778 <KeyWord name="int ComputeCRC32" func="yes">
779 <Overload retVal="unsigned" descr="Compute CRC32 hash code">
780 <Param name="unsigned char *data" />
781 <Param name="int dataSize" />
782 </Overload>
783 </KeyWord>
784 <KeyWord name="int *ComputeMD5" func="yes">
785 <Overload retVal="unsigned" descr="Compute MD5 hash code, returns static int[4] (16 bytes)">
786 <Param name="unsigned char *data" />
787 <Param name="int dataSize" />
788 </Overload>
789 </KeyWord>
790 <KeyWord name="int *ComputeSHA1" func="yes">
791 <Overload retVal="unsigned" descr="Compute SHA1 hash code, returns static int[5] (20 bytes)">
792 <Param name="unsigned char *data" />
793 <Param name="int dataSize" />
794 </Overload>
795 </KeyWord>
796 <KeyWord name="int *ComputeSHA256" func="yes">
797 <Overload retVal="unsigned" descr="Compute SHA256 hash code, returns static int[8] (32 bytes)">
798 <Param name="unsigned char *data" />
799 <Param name="int dataSize" />
800 </Overload>
801 </KeyWord>
802
803 <!-- Automation events functionality -->
804 <KeyWord name="LoadAutomationEventList" func="yes">
805 <Overload retVal="AutomationEventList" descr="Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS">
806 <Param name="const char *fileName" />
807 </Overload>
808 </KeyWord>
809 <KeyWord name="UnloadAutomationEventList" func="yes">
810 <Overload retVal="void" descr="Unload automation events list from file">
811 <Param name="AutomationEventList list" />
812 </Overload>
813 </KeyWord>
814 <KeyWord name="ExportAutomationEventList" func="yes">
815 <Overload retVal="bool" descr="Export automation events list as text file">
816 <Param name="AutomationEventList list" />
817 <Param name="const char *fileName" />
818 </Overload>
819 </KeyWord>
820 <KeyWord name="SetAutomationEventList" func="yes">
821 <Overload retVal="void" descr="Set automation event list to record to">
822 <Param name="AutomationEventList *list" />
823 </Overload>
824 </KeyWord>
825 <KeyWord name="SetAutomationEventBaseFrame" func="yes">
826 <Overload retVal="void" descr="Set automation event internal base frame to start recording">
827 <Param name="int frame" />
828 </Overload>
829 </KeyWord>
830 <KeyWord name="StartAutomationEventRecording" func="yes">
831 <Overload retVal="void" descr="Start recording automation events (AutomationEventList must be set)"></Overload>
832 </KeyWord>
833 <KeyWord name="StopAutomationEventRecording" func="yes">
834 <Overload retVal="void" descr="Stop recording automation events"></Overload>
835 </KeyWord>
836 <KeyWord name="PlayAutomationEvent" func="yes">
837 <Overload retVal="void" descr="Play a recorded automation event">
838 <Param name="AutomationEvent event" />
839 </Overload>
840 </KeyWord>
841
842 <!-------------------------------------------------------------------------------------- -->
843 <!-- Input Handling Functions (Module: core) -->
844 <!-------------------------------------------------------------------------------------- -->
845
846 <!-- Input-related functions: keyboard -->
847 <KeyWord name="IsKeyPressed" func="yes">
848 <Overload retVal="bool" descr="Check if a key has been pressed once">
849 <Param name="int key" />
850 </Overload>
851 </KeyWord>
852 <KeyWord name="IsKeyPressedRepeat" func="yes">
853 <Overload retVal="bool" descr="Check if a key has been pressed again">
854 <Param name="int key" />
855 </Overload>
856 </KeyWord>
857 <KeyWord name="IsKeyDown" func="yes">
858 <Overload retVal="bool" descr="Check if a key is being pressed">
859 <Param name="int key" />
860 </Overload>
861 </KeyWord>
862 <KeyWord name="IsKeyReleased" func="yes">
863 <Overload retVal="bool" descr="Check if a key has been released once">
864 <Param name="int key" />
865 </Overload>
866 </KeyWord>
867 <KeyWord name="IsKeyUp" func="yes">
868 <Overload retVal="bool" descr="Check if a key is NOT being pressed">
869 <Param name="int key" />
870 </Overload>
871 </KeyWord>
872 <KeyWord name="GetKeyPressed" func="yes">
873 <Overload retVal="int" descr="Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty"></Overload>
874 </KeyWord>
875 <KeyWord name="GetCharPressed" func="yes">
876 <Overload retVal="int" descr="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty"></Overload>
877 </KeyWord>
878 <KeyWord name="GetKeyName" func="yes">
879 <Overload retVal="const char" descr="Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)">
880 <Param name="int key" />
881 </Overload>
882 </KeyWord>
883 <KeyWord name="SetExitKey" func="yes">
884 <Overload retVal="void" descr="Set a custom key to exit program (default is ESC)">
885 <Param name="int key" />
886 </Overload>
887 </KeyWord>
888
889 <!-- Input-related functions: gamepads -->
890 <KeyWord name="IsGamepadAvailable" func="yes">
891 <Overload retVal="bool" descr="Check if a gamepad is available">
892 <Param name="int gamepad" />
893 </Overload>
894 </KeyWord>
895 <KeyWord name="GetGamepadName" func="yes">
896 <Overload retVal="const char" descr="Get gamepad internal name id">
897 <Param name="int gamepad" />
898 </Overload>
899 </KeyWord>
900 <KeyWord name="IsGamepadButtonPressed" func="yes">
901 <Overload retVal="bool" descr="Check if a gamepad button has been pressed once">
902 <Param name="int gamepad" />
903 <Param name="int button" />
904 </Overload>
905 </KeyWord>
906 <KeyWord name="IsGamepadButtonDown" func="yes">
907 <Overload retVal="bool" descr="Check if a gamepad button is being pressed">
908 <Param name="int gamepad" />
909 <Param name="int button" />
910 </Overload>
911 </KeyWord>
912 <KeyWord name="IsGamepadButtonReleased" func="yes">
913 <Overload retVal="bool" descr="Check if a gamepad button has been released once">
914 <Param name="int gamepad" />
915 <Param name="int button" />
916 </Overload>
917 </KeyWord>
918 <KeyWord name="IsGamepadButtonUp" func="yes">
919 <Overload retVal="bool" descr="Check if a gamepad button is NOT being pressed">
920 <Param name="int gamepad" />
921 <Param name="int button" />
922 </Overload>
923 </KeyWord>
924 <KeyWord name="GetGamepadButtonPressed" func="yes">
925 <Overload retVal="int" descr="Get the last gamepad button pressed"></Overload>
926 </KeyWord>
927 <KeyWord name="GetGamepadAxisCount" func="yes">
928 <Overload retVal="int" descr="Get axis count for a gamepad">
929 <Param name="int gamepad" />
930 </Overload>
931 </KeyWord>
932 <KeyWord name="GetGamepadAxisMovement" func="yes">
933 <Overload retVal="float" descr="Get movement value for a gamepad axis">
934 <Param name="int gamepad" />
935 <Param name="int axis" />
936 </Overload>
937 </KeyWord>
938 <KeyWord name="SetGamepadMappings" func="yes">
939 <Overload retVal="int" descr="Set internal gamepad mappings (SDL_GameControllerDB)">
940 <Param name="const char *mappings" />
941 </Overload>
942 </KeyWord>
943 <KeyWord name="SetGamepadVibration" func="yes">
944 <Overload retVal="void" descr="Set gamepad vibration for both motors (duration in seconds)">
945 <Param name="int gamepad" />
946 <Param name="float leftMotor" />
947 <Param name="float rightMotor" />
948 <Param name="float duration" />
949 </Overload>
950 </KeyWord>
951
952 <!-- Input-related functions: mouse -->
953 <KeyWord name="IsMouseButtonPressed" func="yes">
954 <Overload retVal="bool" descr="Check if a mouse button has been pressed once">
955 <Param name="int button" />
956 </Overload>
957 </KeyWord>
958 <KeyWord name="IsMouseButtonDown" func="yes">
959 <Overload retVal="bool" descr="Check if a mouse button is being pressed">
960 <Param name="int button" />
961 </Overload>
962 </KeyWord>
963 <KeyWord name="IsMouseButtonReleased" func="yes">
964 <Overload retVal="bool" descr="Check if a mouse button has been released once">
965 <Param name="int button" />
966 </Overload>
967 </KeyWord>
968 <KeyWord name="IsMouseButtonUp" func="yes">
969 <Overload retVal="bool" descr="Check if a mouse button is NOT being pressed">
970 <Param name="int button" />
971 </Overload>
972 </KeyWord>
973 <KeyWord name="GetMouseX" func="yes">
974 <Overload retVal="int" descr="Get mouse position X"></Overload>
975 </KeyWord>
976 <KeyWord name="GetMouseY" func="yes">
977 <Overload retVal="int" descr="Get mouse position Y"></Overload>
978 </KeyWord>
979 <KeyWord name="GetMousePosition" func="yes">
980 <Overload retVal="Vector2" descr="Get mouse position XY"></Overload>
981 </KeyWord>
982 <KeyWord name="GetMouseDelta" func="yes">
983 <Overload retVal="Vector2" descr="Get mouse delta between frames"></Overload>
984 </KeyWord>
985 <KeyWord name="SetMousePosition" func="yes">
986 <Overload retVal="void" descr="Set mouse position XY">
987 <Param name="int x" />
988 <Param name="int y" />
989 </Overload>
990 </KeyWord>
991 <KeyWord name="SetMouseOffset" func="yes">
992 <Overload retVal="void" descr="Set mouse offset">
993 <Param name="int offsetX" />
994 <Param name="int offsetY" />
995 </Overload>
996 </KeyWord>
997 <KeyWord name="SetMouseScale" func="yes">
998 <Overload retVal="void" descr="Set mouse scaling">
999 <Param name="float scaleX" />
1000 <Param name="float scaleY" />
1001 </Overload>
1002 </KeyWord>
1003 <KeyWord name="GetMouseWheelMove" func="yes">
1004 <Overload retVal="float" descr="Get mouse wheel movement for X or Y, whichever is larger"></Overload>
1005 </KeyWord>
1006 <KeyWord name="GetMouseWheelMoveV" func="yes">
1007 <Overload retVal="Vector2" descr="Get mouse wheel movement for both X and Y"></Overload>
1008 </KeyWord>
1009 <KeyWord name="SetMouseCursor" func="yes">
1010 <Overload retVal="void" descr="Set mouse cursor">
1011 <Param name="int cursor" />
1012 </Overload>
1013 </KeyWord>
1014
1015 <!-- Input-related functions: touch -->
1016 <KeyWord name="GetTouchX" func="yes">
1017 <Overload retVal="int" descr="Get touch position X for touch point 0 (relative to screen size)"></Overload>
1018 </KeyWord>
1019 <KeyWord name="GetTouchY" func="yes">
1020 <Overload retVal="int" descr="Get touch position Y for touch point 0 (relative to screen size)"></Overload>
1021 </KeyWord>
1022 <KeyWord name="GetTouchPosition" func="yes">
1023 <Overload retVal="Vector2" descr="Get touch position XY for a touch point index (relative to screen size)">
1024 <Param name="int index" />
1025 </Overload>
1026 </KeyWord>
1027 <KeyWord name="GetTouchPointId" func="yes">
1028 <Overload retVal="int" descr="Get touch point identifier for given index">
1029 <Param name="int index" />
1030 </Overload>
1031 </KeyWord>
1032 <KeyWord name="GetTouchPointCount" func="yes">
1033 <Overload retVal="int" descr="Get number of touch points"></Overload>
1034 </KeyWord>
1035
1036 <!-------------------------------------------------------------------------------------- -->
1037 <!-- Gestures and Touch Handling Functions (Module: rgestures) -->
1038 <!-------------------------------------------------------------------------------------- -->
1039 <KeyWord name="SetGesturesEnabled" func="yes">
1040 <Overload retVal="void" descr="Enable a set of gestures using flags">
1041 <Param name="unsigned int flags" />
1042 </Overload>
1043 </KeyWord>
1044 <KeyWord name="IsGestureDetected" func="yes">
1045 <Overload retVal="bool" descr="Check if a gesture have been detected">
1046 <Param name="unsigned int gesture" />
1047 </Overload>
1048 </KeyWord>
1049 <KeyWord name="GetGestureDetected" func="yes">
1050 <Overload retVal="int" descr="Get latest detected gesture"></Overload>
1051 </KeyWord>
1052 <KeyWord name="GetGestureHoldDuration" func="yes">
1053 <Overload retVal="float" descr="Get gesture hold time in seconds"></Overload>
1054 </KeyWord>
1055 <KeyWord name="GetGestureDragVector" func="yes">
1056 <Overload retVal="Vector2" descr="Get gesture drag vector"></Overload>
1057 </KeyWord>
1058 <KeyWord name="GetGestureDragAngle" func="yes">
1059 <Overload retVal="float" descr="Get gesture drag angle"></Overload>
1060 </KeyWord>
1061 <KeyWord name="GetGesturePinchVector" func="yes">
1062 <Overload retVal="Vector2" descr="Get gesture pinch delta"></Overload>
1063 </KeyWord>
1064 <KeyWord name="GetGesturePinchAngle" func="yes">
1065 <Overload retVal="float" descr="Get gesture pinch angle"></Overload>
1066 </KeyWord>
1067
1068 <!-------------------------------------------------------------------------------------- -->
1069 <!-- Camera System Functions (Module: rcamera) -->
1070 <!-------------------------------------------------------------------------------------- -->
1071 <KeyWord name="UpdateCamera" func="yes">
1072 <Overload retVal="void" descr="Update camera position for selected mode">
1073 <Param name="Camera *camera" />
1074 <Param name="int mode" />
1075 </Overload>
1076 </KeyWord>
1077 <KeyWord name="UpdateCameraPro" func="yes">
1078 <Overload retVal="void" descr="Update camera movement/rotation">
1079 <Param name="Camera *camera" />
1080 <Param name="Vector3 movement" />
1081 <Param name="Vector3 rotation" />
1082 <Param name="float zoom" />
1083 </Overload>
1084 </KeyWord>
1085
1086 <!-------------------------------------------------------------------------------------- -->
1087 <!-- Basic Shapes Drawing Functions (Module: shapes) -->
1088 <!-------------------------------------------------------------------------------------- -->
1089 <!-- Set texture and rectangle to be used on shapes drawing -->
1090 <!-- NOTE: It can be useful when using basic shapes and one single font, -->
1091 <!-- defining a font char white rectangle would allow drawing everything in a single draw call -->
1092 <KeyWord name="SetShapesTexture" func="yes">
1093 <Overload retVal="void" descr="Set texture and rectangle to be used on shapes drawing">
1094 <Param name="Texture2D texture" />
1095 <Param name="Rectangle source" />
1096 </Overload>
1097 </KeyWord>
1098 <KeyWord name="GetShapesTexture" func="yes">
1099 <Overload retVal="Texture2D" descr="Get texture that is used for shapes drawing"></Overload>
1100 </KeyWord>
1101 <KeyWord name="GetShapesTextureRectangle" func="yes">
1102 <Overload retVal="Rectangle" descr="Get texture source rectangle that is used for shapes drawing"></Overload>
1103 </KeyWord>
1104
1105 <!-- Basic shapes drawing functions -->
1106 <KeyWord name="DrawPixel" func="yes">
1107 <Overload retVal="void" descr="Draw a pixel using geometry [Can be slow, use with care]">
1108 <Param name="int posX" />
1109 <Param name="int posY" />
1110 <Param name="Color color" />
1111 </Overload>
1112 </KeyWord>
1113 <KeyWord name="DrawPixelV" func="yes">
1114 <Overload retVal="void" descr="Draw a pixel using geometry (Vector version) [Can be slow, use with care]">
1115 <Param name="Vector2 position" />
1116 <Param name="Color color" />
1117 </Overload>
1118 </KeyWord>
1119 <KeyWord name="DrawLine" func="yes">
1120 <Overload retVal="void" descr="Draw a line">
1121 <Param name="int startPosX" />
1122 <Param name="int startPosY" />
1123 <Param name="int endPosX" />
1124 <Param name="int endPosY" />
1125 <Param name="Color color" />
1126 </Overload>
1127 </KeyWord>
1128 <KeyWord name="DrawLineV" func="yes">
1129 <Overload retVal="void" descr="Draw a line (using gl lines)">
1130 <Param name="Vector2 startPos" />
1131 <Param name="Vector2 endPos" />
1132 <Param name="Color color" />
1133 </Overload>
1134 </KeyWord>
1135 <KeyWord name="DrawLineEx" func="yes">
1136 <Overload retVal="void" descr="Draw a line (using triangles/quads)">
1137 <Param name="Vector2 startPos" />
1138 <Param name="Vector2 endPos" />
1139 <Param name="float thick" />
1140 <Param name="Color color" />
1141 </Overload>
1142 </KeyWord>
1143 <KeyWord name="DrawLineStrip" func="yes">
1144 <Overload retVal="void" descr="Draw lines sequence (using gl lines)">
1145 <Param name="const Vector2 *points" />
1146 <Param name="int pointCount" />
1147 <Param name="Color color" />
1148 </Overload>
1149 </KeyWord>
1150 <KeyWord name="DrawLineBezier" func="yes">
1151 <Overload retVal="void" descr="Draw line segment cubic-bezier in-out interpolation">
1152 <Param name="Vector2 startPos" />
1153 <Param name="Vector2 endPos" />
1154 <Param name="float thick" />
1155 <Param name="Color color" />
1156 </Overload>
1157 </KeyWord>
1158 <KeyWord name="DrawLineDashed" func="yes">
1159 <Overload retVal="void" descr="Draw a dashed line">
1160 <Param name="Vector2 startPos" />
1161 <Param name="Vector2 endPos" />
1162 <Param name="int dashSize" />
1163 <Param name="int spaceSize" />
1164 <Param name="Color color" />
1165 </Overload>
1166 </KeyWord>
1167 <KeyWord name="DrawCircle" func="yes">
1168 <Overload retVal="void" descr="Draw a color-filled circle">
1169 <Param name="int centerX" />
1170 <Param name="int centerY" />
1171 <Param name="float radius" />
1172 <Param name="Color color" />
1173 </Overload>
1174 </KeyWord>
1175 <KeyWord name="DrawCircleV" func="yes">
1176 <Overload retVal="void" descr="Draw a color-filled circle (Vector version)">
1177 <Param name="Vector2 center" />
1178 <Param name="float radius" />
1179 <Param name="Color color" />
1180 </Overload>
1181 </KeyWord>
1182 <KeyWord name="DrawCircleGradient" func="yes">
1183 <Overload retVal="void" descr="Draw a gradient-filled circle">
1184 <Param name="Vector2 center" />
1185 <Param name="float radius" />
1186 <Param name="Color inner" />
1187 <Param name="Color outer" />
1188 </Overload>
1189 </KeyWord>
1190 <KeyWord name="DrawCircleSector" func="yes">
1191 <Overload retVal="void" descr="Draw a piece of a circle">
1192 <Param name="Vector2 center" />
1193 <Param name="float radius" />
1194 <Param name="float startAngle" />
1195 <Param name="float endAngle" />
1196 <Param name="int segments" />
1197 <Param name="Color color" />
1198 </Overload>
1199 </KeyWord>
1200 <KeyWord name="DrawCircleSectorLines" func="yes">
1201 <Overload retVal="void" descr="Draw circle sector outline">
1202 <Param name="Vector2 center" />
1203 <Param name="float radius" />
1204 <Param name="float startAngle" />
1205 <Param name="float endAngle" />
1206 <Param name="int segments" />
1207 <Param name="Color color" />
1208 </Overload>
1209 </KeyWord>
1210 <KeyWord name="DrawCircleLines" func="yes">
1211 <Overload retVal="void" descr="Draw circle outline">
1212 <Param name="int centerX" />
1213 <Param name="int centerY" />
1214 <Param name="float radius" />
1215 <Param name="Color color" />
1216 </Overload>
1217 </KeyWord>
1218 <KeyWord name="DrawCircleLinesV" func="yes">
1219 <Overload retVal="void" descr="Draw circle outline (Vector version)">
1220 <Param name="Vector2 center" />
1221 <Param name="float radius" />
1222 <Param name="Color color" />
1223 </Overload>
1224 </KeyWord>
1225 <KeyWord name="DrawEllipse" func="yes">
1226 <Overload retVal="void" descr="Draw ellipse">
1227 <Param name="int centerX" />
1228 <Param name="int centerY" />
1229 <Param name="float radiusH" />
1230 <Param name="float radiusV" />
1231 <Param name="Color color" />
1232 </Overload>
1233 </KeyWord>
1234 <KeyWord name="DrawEllipseV" func="yes">
1235 <Overload retVal="void" descr="Draw ellipse (Vector version)">
1236 <Param name="Vector2 center" />
1237 <Param name="float radiusH" />
1238 <Param name="float radiusV" />
1239 <Param name="Color color" />
1240 </Overload>
1241 </KeyWord>
1242 <KeyWord name="DrawEllipseLines" func="yes">
1243 <Overload retVal="void" descr="Draw ellipse outline">
1244 <Param name="int centerX" />
1245 <Param name="int centerY" />
1246 <Param name="float radiusH" />
1247 <Param name="float radiusV" />
1248 <Param name="Color color" />
1249 </Overload>
1250 </KeyWord>
1251 <KeyWord name="DrawEllipseLinesV" func="yes">
1252 <Overload retVal="void" descr="Draw ellipse outline (Vector version)">
1253 <Param name="Vector2 center" />
1254 <Param name="float radiusH" />
1255 <Param name="float radiusV" />
1256 <Param name="Color color" />
1257 </Overload>
1258 </KeyWord>
1259 <KeyWord name="DrawRing" func="yes">
1260 <Overload retVal="void" descr="Draw ring">
1261 <Param name="Vector2 center" />
1262 <Param name="float innerRadius" />
1263 <Param name="float outerRadius" />
1264 <Param name="float startAngle" />
1265 <Param name="float endAngle" />
1266 <Param name="int segments" />
1267 <Param name="Color color" />
1268 </Overload>
1269 </KeyWord>
1270 <KeyWord name="DrawRingLines" func="yes">
1271 <Overload retVal="void" descr="Draw ring outline">
1272 <Param name="Vector2 center" />
1273 <Param name="float innerRadius" />
1274 <Param name="float outerRadius" />
1275 <Param name="float startAngle" />
1276 <Param name="float endAngle" />
1277 <Param name="int segments" />
1278 <Param name="Color color" />
1279 </Overload>
1280 </KeyWord>
1281 <KeyWord name="DrawRectangle" func="yes">
1282 <Overload retVal="void" descr="Draw a color-filled rectangle">
1283 <Param name="int posX" />
1284 <Param name="int posY" />
1285 <Param name="int width" />
1286 <Param name="int height" />
1287 <Param name="Color color" />
1288 </Overload>
1289 </KeyWord>
1290 <KeyWord name="DrawRectangleV" func="yes">
1291 <Overload retVal="void" descr="Draw a color-filled rectangle (Vector version)">
1292 <Param name="Vector2 position" />
1293 <Param name="Vector2 size" />
1294 <Param name="Color color" />
1295 </Overload>
1296 </KeyWord>
1297 <KeyWord name="DrawRectangleRec" func="yes">
1298 <Overload retVal="void" descr="Draw a color-filled rectangle">
1299 <Param name="Rectangle rec" />
1300 <Param name="Color color" />
1301 </Overload>
1302 </KeyWord>
1303 <KeyWord name="DrawRectanglePro" func="yes">
1304 <Overload retVal="void" descr="Draw a color-filled rectangle with pro parameters">
1305 <Param name="Rectangle rec" />
1306 <Param name="Vector2 origin" />
1307 <Param name="float rotation" />
1308 <Param name="Color color" />
1309 </Overload>
1310 </KeyWord>
1311 <KeyWord name="DrawRectangleGradientV" func="yes">
1312 <Overload retVal="void" descr="Draw a vertical-gradient-filled rectangle">
1313 <Param name="int posX" />
1314 <Param name="int posY" />
1315 <Param name="int width" />
1316 <Param name="int height" />
1317 <Param name="Color top" />
1318 <Param name="Color bottom" />
1319 </Overload>
1320 </KeyWord>
1321 <KeyWord name="DrawRectangleGradientH" func="yes">
1322 <Overload retVal="void" descr="Draw a horizontal-gradient-filled rectangle">
1323 <Param name="int posX" />
1324 <Param name="int posY" />
1325 <Param name="int width" />
1326 <Param name="int height" />
1327 <Param name="Color left" />
1328 <Param name="Color right" />
1329 </Overload>
1330 </KeyWord>
1331 <KeyWord name="DrawRectangleGradientEx" func="yes">
1332 <Overload retVal="void" descr="Draw a gradient-filled rectangle with custom vertex colors">
1333 <Param name="Rectangle rec" />
1334 <Param name="Color topLeft" />
1335 <Param name="Color bottomLeft" />
1336 <Param name="Color bottomRight" />
1337 <Param name="Color topRight" />
1338 </Overload>
1339 </KeyWord>
1340 <KeyWord name="DrawRectangleLines" func="yes">
1341 <Overload retVal="void" descr="Draw rectangle outline">
1342 <Param name="int posX" />
1343 <Param name="int posY" />
1344 <Param name="int width" />
1345 <Param name="int height" />
1346 <Param name="Color color" />
1347 </Overload>
1348 </KeyWord>
1349 <KeyWord name="DrawRectangleLinesEx" func="yes">
1350 <Overload retVal="void" descr="Draw rectangle outline with extended parameters">
1351 <Param name="Rectangle rec" />
1352 <Param name="float lineThick" />
1353 <Param name="Color color" />
1354 </Overload>
1355 </KeyWord>
1356 <KeyWord name="DrawRectangleRounded" func="yes">
1357 <Overload retVal="void" descr="Draw rectangle with rounded edges">
1358 <Param name="Rectangle rec" />
1359 <Param name="float roundness" />
1360 <Param name="int segments" />
1361 <Param name="Color color" />
1362 </Overload>
1363 </KeyWord>
1364 <KeyWord name="DrawRectangleRoundedLines" func="yes">
1365 <Overload retVal="void" descr="Draw rectangle lines with rounded edges">
1366 <Param name="Rectangle rec" />
1367 <Param name="float roundness" />
1368 <Param name="int segments" />
1369 <Param name="Color color" />
1370 </Overload>
1371 </KeyWord>
1372 <KeyWord name="DrawRectangleRoundedLinesEx" func="yes">
1373 <Overload retVal="void" descr="Draw rectangle with rounded edges outline">
1374 <Param name="Rectangle rec" />
1375 <Param name="float roundness" />
1376 <Param name="int segments" />
1377 <Param name="float lineThick" />
1378 <Param name="Color color" />
1379 </Overload>
1380 </KeyWord>
1381 <KeyWord name="DrawTriangle" func="yes">
1382 <Overload retVal="void" descr="Draw a color-filled triangle (vertex in counter-clockwise order!)">
1383 <Param name="Vector2 v1" />
1384 <Param name="Vector2 v2" />
1385 <Param name="Vector2 v3" />
1386 <Param name="Color color" />
1387 </Overload>
1388 </KeyWord>
1389 <KeyWord name="DrawTriangleLines" func="yes">
1390 <Overload retVal="void" descr="Draw triangle outline (vertex in counter-clockwise order!)">
1391 <Param name="Vector2 v1" />
1392 <Param name="Vector2 v2" />
1393 <Param name="Vector2 v3" />
1394 <Param name="Color color" />
1395 </Overload>
1396 </KeyWord>
1397 <KeyWord name="DrawTriangleFan" func="yes">
1398 <Overload retVal="void" descr="Draw a triangle fan defined by points (first vertex is the center)">
1399 <Param name="const Vector2 *points" />
1400 <Param name="int pointCount" />
1401 <Param name="Color color" />
1402 </Overload>
1403 </KeyWord>
1404 <KeyWord name="DrawTriangleStrip" func="yes">
1405 <Overload retVal="void" descr="Draw a triangle strip defined by points">
1406 <Param name="const Vector2 *points" />
1407 <Param name="int pointCount" />
1408 <Param name="Color color" />
1409 </Overload>
1410 </KeyWord>
1411 <KeyWord name="DrawPoly" func="yes">
1412 <Overload retVal="void" descr="Draw a regular polygon (Vector version)">
1413 <Param name="Vector2 center" />
1414 <Param name="int sides" />
1415 <Param name="float radius" />
1416 <Param name="float rotation" />
1417 <Param name="Color color" />
1418 </Overload>
1419 </KeyWord>
1420 <KeyWord name="DrawPolyLines" func="yes">
1421 <Overload retVal="void" descr="Draw a polygon outline of n sides">
1422 <Param name="Vector2 center" />
1423 <Param name="int sides" />
1424 <Param name="float radius" />
1425 <Param name="float rotation" />
1426 <Param name="Color color" />
1427 </Overload>
1428 </KeyWord>
1429 <KeyWord name="DrawPolyLinesEx" func="yes">
1430 <Overload retVal="void" descr="Draw a polygon outline of n sides with extended parameters">
1431 <Param name="Vector2 center" />
1432 <Param name="int sides" />
1433 <Param name="float radius" />
1434 <Param name="float rotation" />
1435 <Param name="float lineThick" />
1436 <Param name="Color color" />
1437 </Overload>
1438 </KeyWord>
1439
1440 <!-- Splines drawing functions -->
1441 <KeyWord name="DrawSplineLinear" func="yes">
1442 <Overload retVal="void" descr="Draw spline: Linear, minimum 2 points">
1443 <Param name="const Vector2 *points" />
1444 <Param name="int pointCount" />
1445 <Param name="float thick" />
1446 <Param name="Color color" />
1447 </Overload>
1448 </KeyWord>
1449 <KeyWord name="DrawSplineBasis" func="yes">
1450 <Overload retVal="void" descr="Draw spline: B-Spline, minimum 4 points">
1451 <Param name="const Vector2 *points" />
1452 <Param name="int pointCount" />
1453 <Param name="float thick" />
1454 <Param name="Color color" />
1455 </Overload>
1456 </KeyWord>
1457 <KeyWord name="DrawSplineCatmullRom" func="yes">
1458 <Overload retVal="void" descr="Draw spline: Catmull-Rom, minimum 4 points">
1459 <Param name="const Vector2 *points" />
1460 <Param name="int pointCount" />
1461 <Param name="float thick" />
1462 <Param name="Color color" />
1463 </Overload>
1464 </KeyWord>
1465 <KeyWord name="DrawSplineBezierQuadratic" func="yes">
1466 <Overload retVal="void" descr="Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]">
1467 <Param name="const Vector2 *points" />
1468 <Param name="int pointCount" />
1469 <Param name="float thick" />
1470 <Param name="Color color" />
1471 </Overload>
1472 </KeyWord>
1473 <KeyWord name="DrawSplineBezierCubic" func="yes">
1474 <Overload retVal="void" descr="Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]">
1475 <Param name="const Vector2 *points" />
1476 <Param name="int pointCount" />
1477 <Param name="float thick" />
1478 <Param name="Color color" />
1479 </Overload>
1480 </KeyWord>
1481 <KeyWord name="DrawSplineSegmentLinear" func="yes">
1482 <Overload retVal="void" descr="Draw spline segment: Linear, 2 points">
1483 <Param name="Vector2 p1" />
1484 <Param name="Vector2 p2" />
1485 <Param name="float thick" />
1486 <Param name="Color color" />
1487 </Overload>
1488 </KeyWord>
1489 <KeyWord name="DrawSplineSegmentBasis" func="yes">
1490 <Overload retVal="void" descr="Draw spline segment: B-Spline, 4 points">
1491 <Param name="Vector2 p1" />
1492 <Param name="Vector2 p2" />
1493 <Param name="Vector2 p3" />
1494 <Param name="Vector2 p4" />
1495 <Param name="float thick" />
1496 <Param name="Color color" />
1497 </Overload>
1498 </KeyWord>
1499 <KeyWord name="DrawSplineSegmentCatmullRom" func="yes">
1500 <Overload retVal="void" descr="Draw spline segment: Catmull-Rom, 4 points">
1501 <Param name="Vector2 p1" />
1502 <Param name="Vector2 p2" />
1503 <Param name="Vector2 p3" />
1504 <Param name="Vector2 p4" />
1505 <Param name="float thick" />
1506 <Param name="Color color" />
1507 </Overload>
1508 </KeyWord>
1509 <KeyWord name="DrawSplineSegmentBezierQuadratic" func="yes">
1510 <Overload retVal="void" descr="Draw spline segment: Quadratic Bezier, 2 points, 1 control point">
1511 <Param name="Vector2 p1" />
1512 <Param name="Vector2 c2" />
1513 <Param name="Vector2 p3" />
1514 <Param name="float thick" />
1515 <Param name="Color color" />
1516 </Overload>
1517 </KeyWord>
1518 <KeyWord name="DrawSplineSegmentBezierCubic" func="yes">
1519 <Overload retVal="void" descr="Draw spline segment: Cubic Bezier, 2 points, 2 control points">
1520 <Param name="Vector2 p1" />
1521 <Param name="Vector2 c2" />
1522 <Param name="Vector2 c3" />
1523 <Param name="Vector2 p4" />
1524 <Param name="float thick" />
1525 <Param name="Color color" />
1526 </Overload>
1527 </KeyWord>
1528
1529 <!-- Spline segment point evaluation functions, for a given t [0.0f .. 1.0f] -->
1530 <KeyWord name="GetSplinePointLinear" func="yes">
1531 <Overload retVal="Vector2" descr="Get (evaluate) spline point: Linear">
1532 <Param name="Vector2 startPos" />
1533 <Param name="Vector2 endPos" />
1534 <Param name="float t" />
1535 </Overload>
1536 </KeyWord>
1537 <KeyWord name="GetSplinePointBasis" func="yes">
1538 <Overload retVal="Vector2" descr="Get (evaluate) spline point: B-Spline">
1539 <Param name="Vector2 p1" />
1540 <Param name="Vector2 p2" />
1541 <Param name="Vector2 p3" />
1542 <Param name="Vector2 p4" />
1543 <Param name="float t" />
1544 </Overload>
1545 </KeyWord>
1546 <KeyWord name="GetSplinePointCatmullRom" func="yes">
1547 <Overload retVal="Vector2" descr="Get (evaluate) spline point: Catmull-Rom">
1548 <Param name="Vector2 p1" />
1549 <Param name="Vector2 p2" />
1550 <Param name="Vector2 p3" />
1551 <Param name="Vector2 p4" />
1552 <Param name="float t" />
1553 </Overload>
1554 </KeyWord>
1555 <KeyWord name="GetSplinePointBezierQuad" func="yes">
1556 <Overload retVal="Vector2" descr="Get (evaluate) spline point: Quadratic Bezier">
1557 <Param name="Vector2 p1" />
1558 <Param name="Vector2 c2" />
1559 <Param name="Vector2 p3" />
1560 <Param name="float t" />
1561 </Overload>
1562 </KeyWord>
1563 <KeyWord name="GetSplinePointBezierCubic" func="yes">
1564 <Overload retVal="Vector2" descr="Get (evaluate) spline point: Cubic Bezier">
1565 <Param name="Vector2 p1" />
1566 <Param name="Vector2 c2" />
1567 <Param name="Vector2 c3" />
1568 <Param name="Vector2 p4" />
1569 <Param name="float t" />
1570 </Overload>
1571 </KeyWord>
1572
1573 <!-- Basic shapes collision detection functions -->
1574 <KeyWord name="CheckCollisionRecs" func="yes">
1575 <Overload retVal="bool" descr="Check collision between two rectangles">
1576 <Param name="Rectangle rec1" />
1577 <Param name="Rectangle rec2" />
1578 </Overload>
1579 </KeyWord>
1580 <KeyWord name="CheckCollisionCircles" func="yes">
1581 <Overload retVal="bool" descr="Check collision between two circles">
1582 <Param name="Vector2 center1" />
1583 <Param name="float radius1" />
1584 <Param name="Vector2 center2" />
1585 <Param name="float radius2" />
1586 </Overload>
1587 </KeyWord>
1588 <KeyWord name="CheckCollisionCircleRec" func="yes">
1589 <Overload retVal="bool" descr="Check collision between circle and rectangle">
1590 <Param name="Vector2 center" />
1591 <Param name="float radius" />
1592 <Param name="Rectangle rec" />
1593 </Overload>
1594 </KeyWord>
1595 <KeyWord name="CheckCollisionCircleLine" func="yes">
1596 <Overload retVal="bool" descr="Check if circle collides with a line created betweeen two points [p1] and [p2]">
1597 <Param name="Vector2 center" />
1598 <Param name="float radius" />
1599 <Param name="Vector2 p1" />
1600 <Param name="Vector2 p2" />
1601 </Overload>
1602 </KeyWord>
1603 <KeyWord name="CheckCollisionPointRec" func="yes">
1604 <Overload retVal="bool" descr="Check if point is inside rectangle">
1605 <Param name="Vector2 point" />
1606 <Param name="Rectangle rec" />
1607 </Overload>
1608 </KeyWord>
1609 <KeyWord name="CheckCollisionPointCircle" func="yes">
1610 <Overload retVal="bool" descr="Check if point is inside circle">
1611 <Param name="Vector2 point" />
1612 <Param name="Vector2 center" />
1613 <Param name="float radius" />
1614 </Overload>
1615 </KeyWord>
1616 <KeyWord name="CheckCollisionPointTriangle" func="yes">
1617 <Overload retVal="bool" descr="Check if point is inside a triangle">
1618 <Param name="Vector2 point" />
1619 <Param name="Vector2 p1" />
1620 <Param name="Vector2 p2" />
1621 <Param name="Vector2 p3" />
1622 </Overload>
1623 </KeyWord>
1624 <KeyWord name="CheckCollisionPointLine" func="yes">
1625 <Overload retVal="bool" descr="Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]">
1626 <Param name="Vector2 point" />
1627 <Param name="Vector2 p1" />
1628 <Param name="Vector2 p2" />
1629 <Param name="int threshold" />
1630 </Overload>
1631 </KeyWord>
1632 <KeyWord name="CheckCollisionPointPoly" func="yes">
1633 <Overload retVal="bool" descr="Check if point is within a polygon described by array of vertices">
1634 <Param name="Vector2 point" />
1635 <Param name="const Vector2 *points" />
1636 <Param name="int pointCount" />
1637 </Overload>
1638 </KeyWord>
1639 <KeyWord name="CheckCollisionLines" func="yes">
1640 <Overload retVal="bool" descr="Check the collision between two lines defined by two points each, returns collision point by reference">
1641 <Param name="Vector2 startPos1" />
1642 <Param name="Vector2 endPos1" />
1643 <Param name="Vector2 startPos2" />
1644 <Param name="Vector2 endPos2" />
1645 <Param name="Vector2 *collisionPoint" />
1646 </Overload>
1647 </KeyWord>
1648 <KeyWord name="GetCollisionRec" func="yes">
1649 <Overload retVal="Rectangle" descr="Get collision rectangle for two rectangles collision">
1650 <Param name="Rectangle rec1" />
1651 <Param name="Rectangle rec2" />
1652 </Overload>
1653 </KeyWord>
1654
1655 <!-------------------------------------------------------------------------------------- -->
1656 <!-- Texture Loading and Drawing Functions (Module: textures) -->
1657 <!-------------------------------------------------------------------------------------- -->
1658
1659 <!-- Image loading functions -->
1660 <!-- NOTE: These functions do not require GPU access -->
1661 <KeyWord name="LoadImage" func="yes">
1662 <Overload retVal="Image" descr="Load image from file into CPU memory (RAM)">
1663 <Param name="const char *fileName" />
1664 </Overload>
1665 </KeyWord>
1666 <KeyWord name="LoadImageRaw" func="yes">
1667 <Overload retVal="Image" descr="Load image from RAW file data">
1668 <Param name="const char *fileName" />
1669 <Param name="int width" />
1670 <Param name="int height" />
1671 <Param name="int format" />
1672 <Param name="int headerSize" />
1673 </Overload>
1674 </KeyWord>
1675 <KeyWord name="LoadImageAnim" func="yes">
1676 <Overload retVal="Image" descr="Load image sequence from file (frames appended to image.data)">
1677 <Param name="const char *fileName" />
1678 <Param name="int *frames" />
1679 </Overload>
1680 </KeyWord>
1681 <KeyWord name="LoadImageAnimFromMemory" func="yes">
1682 <Overload retVal="Image" descr="Load image sequence from memory buffer">
1683 <Param name="const char *fileType" />
1684 <Param name="const unsigned char" />
1685 <Param name="int dataSize" />
1686 <Param name="int *frames" />
1687 </Overload>
1688 </KeyWord>
1689 <KeyWord name="LoadImageFromMemory" func="yes">
1690 <Overload retVal="Image" descr="Load image from memory buffer, fileType refers to extension: i.e. '.png'">
1691 <Param name="const char *fileType" />
1692 <Param name="const unsigned char" />
1693 <Param name="int dataSize" />
1694 </Overload>
1695 </KeyWord>
1696 <KeyWord name="LoadImageFromTexture" func="yes">
1697 <Overload retVal="Image" descr="Load image from GPU texture data">
1698 <Param name="Texture2D texture" />
1699 </Overload>
1700 </KeyWord>
1701 <KeyWord name="LoadImageFromScreen" func="yes">
1702 <Overload retVal="Image" descr="Load image from screen buffer and (screenshot)"></Overload>
1703 </KeyWord>
1704 <KeyWord name="IsImageValid" func="yes">
1705 <Overload retVal="bool" descr="Check if an image is valid (data and parameters)">
1706 <Param name="Image image" />
1707 </Overload>
1708 </KeyWord>
1709 <KeyWord name="UnloadImage" func="yes">
1710 <Overload retVal="void" descr="Unload image from CPU memory (RAM)">
1711 <Param name="Image image" />
1712 </Overload>
1713 </KeyWord>
1714 <KeyWord name="ExportImage" func="yes">
1715 <Overload retVal="bool" descr="Export image data to file, returns true on success">
1716 <Param name="Image image" />
1717 <Param name="const char *fileName" />
1718 </Overload>
1719 </KeyWord>
1720 <KeyWord name="char *ExportImageToMemory" func="yes">
1721 <Overload retVal="unsigned" descr="Export image to memory buffer, memory must be MemFree()">
1722 <Param name="Image image" />
1723 <Param name="const char *fileType" />
1724 <Param name="int *fileSize" />
1725 </Overload>
1726 </KeyWord>
1727 <KeyWord name="ExportImageAsCode" func="yes">
1728 <Overload retVal="bool" descr="Export image as code file defining an array of bytes, returns true on success">
1729 <Param name="Image image" />
1730 <Param name="const char *fileName" />
1731 </Overload>
1732 </KeyWord>
1733
1734 <!-- Image generation functions -->
1735 <KeyWord name="GenImageColor" func="yes">
1736 <Overload retVal="Image" descr="Generate image: plain color">
1737 <Param name="int width" />
1738 <Param name="int height" />
1739 <Param name="Color color" />
1740 </Overload>
1741 </KeyWord>
1742 <KeyWord name="GenImageGradientLinear" func="yes">
1743 <Overload retVal="Image" descr="Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient">
1744 <Param name="int width" />
1745 <Param name="int height" />
1746 <Param name="int direction" />
1747 <Param name="Color start" />
1748 <Param name="Color end" />
1749 </Overload>
1750 </KeyWord>
1751 <KeyWord name="GenImageGradientRadial" func="yes">
1752 <Overload retVal="Image" descr="Generate image: radial gradient">
1753 <Param name="int width" />
1754 <Param name="int height" />
1755 <Param name="float density" />
1756 <Param name="Color inner" />
1757 <Param name="Color outer" />
1758 </Overload>
1759 </KeyWord>
1760 <KeyWord name="GenImageGradientSquare" func="yes">
1761 <Overload retVal="Image" descr="Generate image: square gradient">
1762 <Param name="int width" />
1763 <Param name="int height" />
1764 <Param name="float density" />
1765 <Param name="Color inner" />
1766 <Param name="Color outer" />
1767 </Overload>
1768 </KeyWord>
1769 <KeyWord name="GenImageChecked" func="yes">
1770 <Overload retVal="Image" descr="Generate image: checked">
1771 <Param name="int width" />
1772 <Param name="int height" />
1773 <Param name="int checksX" />
1774 <Param name="int checksY" />
1775 <Param name="Color col1" />
1776 <Param name="Color col2" />
1777 </Overload>
1778 </KeyWord>
1779 <KeyWord name="GenImageWhiteNoise" func="yes">
1780 <Overload retVal="Image" descr="Generate image: white noise">
1781 <Param name="int width" />
1782 <Param name="int height" />
1783 <Param name="float factor" />
1784 </Overload>
1785 </KeyWord>
1786 <KeyWord name="GenImagePerlinNoise" func="yes">
1787 <Overload retVal="Image" descr="Generate image: perlin noise">
1788 <Param name="int width" />
1789 <Param name="int height" />
1790 <Param name="int offsetX" />
1791 <Param name="int offsetY" />
1792 <Param name="float scale" />
1793 </Overload>
1794 </KeyWord>
1795 <KeyWord name="GenImageCellular" func="yes">
1796 <Overload retVal="Image" descr="Generate image: cellular algorithm, bigger tileSize means bigger cells">
1797 <Param name="int width" />
1798 <Param name="int height" />
1799 <Param name="int tileSize" />
1800 </Overload>
1801 </KeyWord>
1802 <KeyWord name="GenImageText" func="yes">
1803 <Overload retVal="Image" descr="Generate image: grayscale image from text data">
1804 <Param name="int width" />
1805 <Param name="int height" />
1806 <Param name="const char *text" />
1807 </Overload>
1808 </KeyWord>
1809
1810 <!-- Image manipulation functions -->
1811 <KeyWord name="ImageCopy" func="yes">
1812 <Overload retVal="Image" descr="Create an image duplicate (useful for transformations)">
1813 <Param name="Image image" />
1814 </Overload>
1815 </KeyWord>
1816 <KeyWord name="ImageFromImage" func="yes">
1817 <Overload retVal="Image" descr="Create an image from another image piece">
1818 <Param name="Image image" />
1819 <Param name="Rectangle rec" />
1820 </Overload>
1821 </KeyWord>
1822 <KeyWord name="ImageFromChannel" func="yes">
1823 <Overload retVal="Image" descr="Create an image from a selected channel of another image (GRAYSCALE)">
1824 <Param name="Image image" />
1825 <Param name="int selectedChannel" />
1826 </Overload>
1827 </KeyWord>
1828 <KeyWord name="ImageText" func="yes">
1829 <Overload retVal="Image" descr="Create an image from text (default font)">
1830 <Param name="const char *text" />
1831 <Param name="int fontSize" />
1832 <Param name="Color color" />
1833 </Overload>
1834 </KeyWord>
1835 <KeyWord name="ImageTextEx" func="yes">
1836 <Overload retVal="Image" descr="Create an image from text (custom sprite font)">
1837 <Param name="Font font" />
1838 <Param name="const char *text" />
1839 <Param name="float fontSize" />
1840 <Param name="float spacing" />
1841 <Param name="Color tint" />
1842 </Overload>
1843 </KeyWord>
1844 <KeyWord name="ImageFormat" func="yes">
1845 <Overload retVal="void" descr="Convert image data to desired format">
1846 <Param name="Image *image" />
1847 <Param name="int newFormat" />
1848 </Overload>
1849 </KeyWord>
1850 <KeyWord name="ImageToPOT" func="yes">
1851 <Overload retVal="void" descr="Convert image to POT (power-of-two)">
1852 <Param name="Image *image" />
1853 <Param name="Color fill" />
1854 </Overload>
1855 </KeyWord>
1856 <KeyWord name="ImageCrop" func="yes">
1857 <Overload retVal="void" descr="Crop an image to a defined rectangle">
1858 <Param name="Image *image" />
1859 <Param name="Rectangle crop" />
1860 </Overload>
1861 </KeyWord>
1862 <KeyWord name="ImageAlphaCrop" func="yes">
1863 <Overload retVal="void" descr="Crop image depending on alpha value">
1864 <Param name="Image *image" />
1865 <Param name="float threshold" />
1866 </Overload>
1867 </KeyWord>
1868 <KeyWord name="ImageAlphaClear" func="yes">
1869 <Overload retVal="void" descr="Clear alpha channel to desired color">
1870 <Param name="Image *image" />
1871 <Param name="Color color" />
1872 <Param name="float threshold" />
1873 </Overload>
1874 </KeyWord>
1875 <KeyWord name="ImageAlphaMask" func="yes">
1876 <Overload retVal="void" descr="Apply alpha mask to image">
1877 <Param name="Image *image" />
1878 <Param name="Image alphaMask" />
1879 </Overload>
1880 </KeyWord>
1881 <KeyWord name="ImageAlphaPremultiply" func="yes">
1882 <Overload retVal="void" descr="Premultiply alpha channel">
1883 <Param name="Image *image" />
1884 </Overload>
1885 </KeyWord>
1886 <KeyWord name="ImageBlurGaussian" func="yes">
1887 <Overload retVal="void" descr="Apply Gaussian blur using a box blur approximation">
1888 <Param name="Image *image" />
1889 <Param name="int blurSize" />
1890 </Overload>
1891 </KeyWord>
1892 <KeyWord name="ImageKernelConvolution" func="yes">
1893 <Overload retVal="void" descr="Apply custom square convolution kernel to image">
1894 <Param name="Image *image" />
1895 <Param name="const float *kernel" />
1896 <Param name="int kernelSize" />
1897 </Overload>
1898 </KeyWord>
1899 <KeyWord name="ImageResize" func="yes">
1900 <Overload retVal="void" descr="Resize image (Bicubic scaling algorithm)">
1901 <Param name="Image *image" />
1902 <Param name="int newWidth" />
1903 <Param name="int newHeight" />
1904 </Overload>
1905 </KeyWord>
1906 <KeyWord name="ImageResizeNN" func="yes">
1907 <Overload retVal="void" descr="Resize image (Nearest-Neighbor scaling algorithm)">
1908 <Param name="Image *image" />
1909 <Param name="int newWidth" />
1910 <Param name="int newHeight" />
1911 </Overload>
1912 </KeyWord>
1913 <KeyWord name="ImageResizeCanvas" func="yes">
1914 <Overload retVal="void" descr="Resize canvas and fill with color">
1915 <Param name="Image *image" />
1916 <Param name="int newWidth" />
1917 <Param name="int newHeight" />
1918 <Param name="int offsetX" />
1919 <Param name="int offsetY" />
1920 <Param name="Color fill" />
1921 </Overload>
1922 </KeyWord>
1923 <KeyWord name="ImageMipmaps" func="yes">
1924 <Overload retVal="void" descr="Compute all mipmap levels for a provided image">
1925 <Param name="Image *image" />
1926 </Overload>
1927 </KeyWord>
1928 <KeyWord name="ImageDither" func="yes">
1929 <Overload retVal="void" descr="Dither image data to 16bpp or lower (Floyd-Steinberg dithering)">
1930 <Param name="Image *image" />
1931 <Param name="int rBpp" />
1932 <Param name="int gBpp" />
1933 <Param name="int bBpp" />
1934 <Param name="int aBpp" />
1935 </Overload>
1936 </KeyWord>
1937 <KeyWord name="ImageFlipVertical" func="yes">
1938 <Overload retVal="void" descr="Flip image vertically">
1939 <Param name="Image *image" />
1940 </Overload>
1941 </KeyWord>
1942 <KeyWord name="ImageFlipHorizontal" func="yes">
1943 <Overload retVal="void" descr="Flip image horizontally">
1944 <Param name="Image *image" />
1945 </Overload>
1946 </KeyWord>
1947 <KeyWord name="ImageRotate" func="yes">
1948 <Overload retVal="void" descr="Rotate image by input angle in degrees (-359 to 359)">
1949 <Param name="Image *image" />
1950 <Param name="int degrees" />
1951 </Overload>
1952 </KeyWord>
1953 <KeyWord name="ImageRotateCW" func="yes">
1954 <Overload retVal="void" descr="Rotate image clockwise 90deg">
1955 <Param name="Image *image" />
1956 </Overload>
1957 </KeyWord>
1958 <KeyWord name="ImageRotateCCW" func="yes">
1959 <Overload retVal="void" descr="Rotate image counter-clockwise 90deg">
1960 <Param name="Image *image" />
1961 </Overload>
1962 </KeyWord>
1963 <KeyWord name="ImageColorTint" func="yes">
1964 <Overload retVal="void" descr="Modify image color: tint">
1965 <Param name="Image *image" />
1966 <Param name="Color color" />
1967 </Overload>
1968 </KeyWord>
1969 <KeyWord name="ImageColorInvert" func="yes">
1970 <Overload retVal="void" descr="Modify image color: invert">
1971 <Param name="Image *image" />
1972 </Overload>
1973 </KeyWord>
1974 <KeyWord name="ImageColorGrayscale" func="yes">
1975 <Overload retVal="void" descr="Modify image color: grayscale">
1976 <Param name="Image *image" />
1977 </Overload>
1978 </KeyWord>
1979 <KeyWord name="ImageColorContrast" func="yes">
1980 <Overload retVal="void" descr="Modify image color: contrast (-100 to 100)">
1981 <Param name="Image *image" />
1982 <Param name="float contrast" />
1983 </Overload>
1984 </KeyWord>
1985 <KeyWord name="ImageColorBrightness" func="yes">
1986 <Overload retVal="void" descr="Modify image color: brightness (-255 to 255)">
1987 <Param name="Image *image" />
1988 <Param name="int brightness" />
1989 </Overload>
1990 </KeyWord>
1991 <KeyWord name="ImageColorReplace" func="yes">
1992 <Overload retVal="void" descr="Modify image color: replace color">
1993 <Param name="Image *image" />
1994 <Param name="Color color" />
1995 <Param name="Color replace" />
1996 </Overload>
1997 </KeyWord>
1998 <KeyWord name="LoadImageColors" func="yes">
1999 <Overload retVal="Color" descr="Load color data from image as a Color array (RGBA - 32bit)">
2000 <Param name="Image image" />
2001 </Overload>
2002 </KeyWord>
2003 <KeyWord name="LoadImagePalette" func="yes">
2004 <Overload retVal="Color" descr="Load colors palette from image as a Color array (RGBA - 32bit)">
2005 <Param name="Image image" />
2006 <Param name="int maxPaletteSize" />
2007 <Param name="int *colorCount" />
2008 </Overload>
2009 </KeyWord>
2010 <KeyWord name="UnloadImageColors" func="yes">
2011 <Overload retVal="void" descr="Unload color data loaded with LoadImageColors()">
2012 <Param name="Color *colors" />
2013 </Overload>
2014 </KeyWord>
2015 <KeyWord name="UnloadImagePalette" func="yes">
2016 <Overload retVal="void" descr="Unload colors palette loaded with LoadImagePalette()">
2017 <Param name="Color *colors" />
2018 </Overload>
2019 </KeyWord>
2020 <KeyWord name="GetImageAlphaBorder" func="yes">
2021 <Overload retVal="Rectangle" descr="Get image alpha border rectangle">
2022 <Param name="Image image" />
2023 <Param name="float threshold" />
2024 </Overload>
2025 </KeyWord>
2026 <KeyWord name="GetImageColor" func="yes">
2027 <Overload retVal="Color" descr="Get image pixel color at (x, y) position">
2028 <Param name="Image image" />
2029 <Param name="int x" />
2030 <Param name="int y" />
2031 </Overload>
2032 </KeyWord>
2033
2034 <!-- Image drawing functions -->
2035 <!-- NOTE: Image software-rendering functions (CPU) -->
2036 <KeyWord name="ImageClearBackground" func="yes">
2037 <Overload retVal="void" descr="Clear image background with given color">
2038 <Param name="Image *dst" />
2039 <Param name="Color color" />
2040 </Overload>
2041 </KeyWord>
2042 <KeyWord name="ImageDrawPixel" func="yes">
2043 <Overload retVal="void" descr="Draw pixel within an image">
2044 <Param name="Image *dst" />
2045 <Param name="int posX" />
2046 <Param name="int posY" />
2047 <Param name="Color color" />
2048 </Overload>
2049 </KeyWord>
2050 <KeyWord name="ImageDrawPixelV" func="yes">
2051 <Overload retVal="void" descr="Draw pixel within an image (Vector version)">
2052 <Param name="Image *dst" />
2053 <Param name="Vector2 position" />
2054 <Param name="Color color" />
2055 </Overload>
2056 </KeyWord>
2057 <KeyWord name="ImageDrawLine" func="yes">
2058 <Overload retVal="void" descr="Draw line within an image">
2059 <Param name="Image *dst" />
2060 <Param name="int startPosX" />
2061 <Param name="int startPosY" />
2062 <Param name="int endPosX" />
2063 <Param name="int endPosY" />
2064 <Param name="Color color" />
2065 </Overload>
2066 </KeyWord>
2067 <KeyWord name="ImageDrawLineV" func="yes">
2068 <Overload retVal="void" descr="Draw line within an image (Vector version)">
2069 <Param name="Image *dst" />
2070 <Param name="Vector2 start" />
2071 <Param name="Vector2 end" />
2072 <Param name="Color color" />
2073 </Overload>
2074 </KeyWord>
2075 <KeyWord name="ImageDrawLineEx" func="yes">
2076 <Overload retVal="void" descr="Draw a line defining thickness within an image">
2077 <Param name="Image *dst" />
2078 <Param name="Vector2 start" />
2079 <Param name="Vector2 end" />
2080 <Param name="int thick" />
2081 <Param name="Color color" />
2082 </Overload>
2083 </KeyWord>
2084 <KeyWord name="ImageDrawCircle" func="yes">
2085 <Overload retVal="void" descr="Draw a filled circle within an image">
2086 <Param name="Image *dst" />
2087 <Param name="int centerX" />
2088 <Param name="int centerY" />
2089 <Param name="int radius" />
2090 <Param name="Color color" />
2091 </Overload>
2092 </KeyWord>
2093 <KeyWord name="ImageDrawCircleV" func="yes">
2094 <Overload retVal="void" descr="Draw a filled circle within an image (Vector version)">
2095 <Param name="Image *dst" />
2096 <Param name="Vector2 center" />
2097 <Param name="int radius" />
2098 <Param name="Color color" />
2099 </Overload>
2100 </KeyWord>
2101 <KeyWord name="ImageDrawCircleLines" func="yes">
2102 <Overload retVal="void" descr="Draw circle outline within an image">
2103 <Param name="Image *dst" />
2104 <Param name="int centerX" />
2105 <Param name="int centerY" />
2106 <Param name="int radius" />
2107 <Param name="Color color" />
2108 </Overload>
2109 </KeyWord>
2110 <KeyWord name="ImageDrawCircleLinesV" func="yes">
2111 <Overload retVal="void" descr="Draw circle outline within an image (Vector version)">
2112 <Param name="Image *dst" />
2113 <Param name="Vector2 center" />
2114 <Param name="int radius" />
2115 <Param name="Color color" />
2116 </Overload>
2117 </KeyWord>
2118 <KeyWord name="ImageDrawRectangle" func="yes">
2119 <Overload retVal="void" descr="Draw rectangle within an image">
2120 <Param name="Image *dst" />
2121 <Param name="int posX" />
2122 <Param name="int posY" />
2123 <Param name="int width" />
2124 <Param name="int height" />
2125 <Param name="Color color" />
2126 </Overload>
2127 </KeyWord>
2128 <KeyWord name="ImageDrawRectangleV" func="yes">
2129 <Overload retVal="void" descr="Draw rectangle within an image (Vector version)">
2130 <Param name="Image *dst" />
2131 <Param name="Vector2 position" />
2132 <Param name="Vector2 size" />
2133 <Param name="Color color" />
2134 </Overload>
2135 </KeyWord>
2136 <KeyWord name="ImageDrawRectangleRec" func="yes">
2137 <Overload retVal="void" descr="Draw rectangle within an image">
2138 <Param name="Image *dst" />
2139 <Param name="Rectangle rec" />
2140 <Param name="Color color" />
2141 </Overload>
2142 </KeyWord>
2143 <KeyWord name="ImageDrawRectangleLines" func="yes">
2144 <Overload retVal="void" descr="Draw rectangle lines within an image">
2145 <Param name="Image *dst" />
2146 <Param name="Rectangle rec" />
2147 <Param name="int thick" />
2148 <Param name="Color color" />
2149 </Overload>
2150 </KeyWord>
2151 <KeyWord name="ImageDrawTriangle" func="yes">
2152 <Overload retVal="void" descr="Draw triangle within an image">
2153 <Param name="Image *dst" />
2154 <Param name="Vector2 v1" />
2155 <Param name="Vector2 v2" />
2156 <Param name="Vector2 v3" />
2157 <Param name="Color color" />
2158 </Overload>
2159 </KeyWord>
2160 <KeyWord name="ImageDrawTriangleEx" func="yes">
2161 <Overload retVal="void" descr="Draw triangle with interpolated colors within an image">
2162 <Param name="Image *dst" />
2163 <Param name="Vector2 v1" />
2164 <Param name="Vector2 v2" />
2165 <Param name="Vector2 v3" />
2166 <Param name="Color c1" />
2167 <Param name="Color c2" />
2168 <Param name="Color c3" />
2169 </Overload>
2170 </KeyWord>
2171 <KeyWord name="ImageDrawTriangleLines" func="yes">
2172 <Overload retVal="void" descr="Draw triangle outline within an image">
2173 <Param name="Image *dst" />
2174 <Param name="Vector2 v1" />
2175 <Param name="Vector2 v2" />
2176 <Param name="Vector2 v3" />
2177 <Param name="Color color" />
2178 </Overload>
2179 </KeyWord>
2180 <KeyWord name="ImageDrawTriangleFan" func="yes">
2181 <Overload retVal="void" descr="Draw a triangle fan defined by points within an image (first vertex is the center)">
2182 <Param name="Image *dst" />
2183 <Param name="const Vector2 *points" />
2184 <Param name="int pointCount" />
2185 <Param name="Color color" />
2186 </Overload>
2187 </KeyWord>
2188 <KeyWord name="ImageDrawTriangleStrip" func="yes">
2189 <Overload retVal="void" descr="Draw a triangle strip defined by points within an image">
2190 <Param name="Image *dst" />
2191 <Param name="const Vector2 *points" />
2192 <Param name="int pointCount" />
2193 <Param name="Color color" />
2194 </Overload>
2195 </KeyWord>
2196 <KeyWord name="ImageDraw" func="yes">
2197 <Overload retVal="void" descr="Draw a source image within a destination image (tint applied to source)">
2198 <Param name="Image *dst" />
2199 <Param name="Image src" />
2200 <Param name="Rectangle srcRec" />
2201 <Param name="Rectangle dstRec" />
2202 <Param name="Color tint" />
2203 </Overload>
2204 </KeyWord>
2205 <KeyWord name="ImageDrawText" func="yes">
2206 <Overload retVal="void" descr="Draw text (using default font) within an image (destination)">
2207 <Param name="Image *dst" />
2208 <Param name="const char *text" />
2209 <Param name="int posX" />
2210 <Param name="int posY" />
2211 <Param name="int fontSize" />
2212 <Param name="Color color" />
2213 </Overload>
2214 </KeyWord>
2215 <KeyWord name="ImageDrawTextEx" func="yes">
2216 <Overload retVal="void" descr="Draw text (custom sprite font) within an image (destination)">
2217 <Param name="Image *dst" />
2218 <Param name="Font font" />
2219 <Param name="const char *text" />
2220 <Param name="Vector2 position" />
2221 <Param name="float fontSize" />
2222 <Param name="float spacing" />
2223 <Param name="Color tint" />
2224 </Overload>
2225 </KeyWord>
2226
2227 <!-- Texture loading functions -->
2228 <!-- NOTE: These functions require GPU access -->
2229 <KeyWord name="LoadTexture" func="yes">
2230 <Overload retVal="Texture2D" descr="Load texture from file into GPU memory (VRAM)">
2231 <Param name="const char *fileName" />
2232 </Overload>
2233 </KeyWord>
2234 <KeyWord name="LoadTextureFromImage" func="yes">
2235 <Overload retVal="Texture2D" descr="Load texture from image data">
2236 <Param name="Image image" />
2237 </Overload>
2238 </KeyWord>
2239 <KeyWord name="LoadTextureCubemap" func="yes">
2240 <Overload retVal="TextureCubemap" descr="Load cubemap from image, multiple image cubemap layouts supported">
2241 <Param name="Image image" />
2242 <Param name="int layout" />
2243 </Overload>
2244 </KeyWord>
2245 <KeyWord name="LoadRenderTexture" func="yes">
2246 <Overload retVal="RenderTexture2D" descr="Load texture for rendering (framebuffer)">
2247 <Param name="int width" />
2248 <Param name="int height" />
2249 </Overload>
2250 </KeyWord>
2251 <KeyWord name="IsTextureValid" func="yes">
2252 <Overload retVal="bool" descr="Check if a texture is valid (loaded in GPU)">
2253 <Param name="Texture2D texture" />
2254 </Overload>
2255 </KeyWord>
2256 <KeyWord name="UnloadTexture" func="yes">
2257 <Overload retVal="void" descr="Unload texture from GPU memory (VRAM)">
2258 <Param name="Texture2D texture" />
2259 </Overload>
2260 </KeyWord>
2261 <KeyWord name="IsRenderTextureValid" func="yes">
2262 <Overload retVal="bool" descr="Check if a render texture is valid (loaded in GPU)">
2263 <Param name="RenderTexture2D target" />
2264 </Overload>
2265 </KeyWord>
2266 <KeyWord name="UnloadRenderTexture" func="yes">
2267 <Overload retVal="void" descr="Unload render texture from GPU memory (VRAM)">
2268 <Param name="RenderTexture2D target" />
2269 </Overload>
2270 </KeyWord>
2271 <KeyWord name="UpdateTexture" func="yes">
2272 <Overload retVal="void" descr="Update GPU texture with new data (pixels should be able to fill texture)">
2273 <Param name="Texture2D texture" />
2274 <Param name="const void *pixels" />
2275 </Overload>
2276 </KeyWord>
2277 <KeyWord name="UpdateTextureRec" func="yes">
2278 <Overload retVal="void" descr="Update GPU texture rectangle with new data (pixels and rec should fit in texture)">
2279 <Param name="Texture2D texture" />
2280 <Param name="Rectangle rec" />
2281 <Param name="const void *pixels" />
2282 </Overload>
2283 </KeyWord>
2284
2285 <!-- Texture configuration functions -->
2286 <KeyWord name="GenTextureMipmaps" func="yes">
2287 <Overload retVal="void" descr="Generate GPU mipmaps for a texture">
2288 <Param name="Texture2D *texture" />
2289 </Overload>
2290 </KeyWord>
2291 <KeyWord name="SetTextureFilter" func="yes">
2292 <Overload retVal="void" descr="Set texture scaling filter mode">
2293 <Param name="Texture2D texture" />
2294 <Param name="int filter" />
2295 </Overload>
2296 </KeyWord>
2297 <KeyWord name="SetTextureWrap" func="yes">
2298 <Overload retVal="void" descr="Set texture wrapping mode">
2299 <Param name="Texture2D texture" />
2300 <Param name="int wrap" />
2301 </Overload>
2302 </KeyWord>
2303
2304 <!-- Texture drawing functions -->
2305 <KeyWord name="DrawTexture" func="yes">
2306 <Overload retVal="void" descr="Draw a Texture2D">
2307 <Param name="Texture2D texture" />
2308 <Param name="int posX" />
2309 <Param name="int posY" />
2310 <Param name="Color tint" />
2311 </Overload>
2312 </KeyWord>
2313 <KeyWord name="DrawTextureV" func="yes">
2314 <Overload retVal="void" descr="Draw a Texture2D with position defined as Vector2">
2315 <Param name="Texture2D texture" />
2316 <Param name="Vector2 position" />
2317 <Param name="Color tint" />
2318 </Overload>
2319 </KeyWord>
2320 <KeyWord name="DrawTextureEx" func="yes">
2321 <Overload retVal="void" descr="Draw a Texture2D with extended parameters">
2322 <Param name="Texture2D texture" />
2323 <Param name="Vector2 position" />
2324 <Param name="float rotation" />
2325 <Param name="float scale" />
2326 <Param name="Color tint" />
2327 </Overload>
2328 </KeyWord>
2329 <KeyWord name="DrawTextureRec" func="yes">
2330 <Overload retVal="void" descr="Draw a part of a texture defined by a rectangle">
2331 <Param name="Texture2D texture" />
2332 <Param name="Rectangle source" />
2333 <Param name="Vector2 position" />
2334 <Param name="Color tint" />
2335 </Overload>
2336 </KeyWord>
2337 <KeyWord name="DrawTexturePro" func="yes">
2338 <Overload retVal="void" descr="Draw a part of a texture defined by a rectangle with 'pro' parameters">
2339 <Param name="Texture2D texture" />
2340 <Param name="Rectangle source" />
2341 <Param name="Rectangle dest" />
2342 <Param name="Vector2 origin" />
2343 <Param name="float rotation" />
2344 <Param name="Color tint" />
2345 </Overload>
2346 </KeyWord>
2347 <KeyWord name="DrawTextureNPatch" func="yes">
2348 <Overload retVal="void" descr="Draws a texture (or part of it) that stretches or shrinks nicely">
2349 <Param name="Texture2D texture" />
2350 <Param name="NPatchInfo nPatchInfo" />
2351 <Param name="Rectangle dest" />
2352 <Param name="Vector2 origin" />
2353 <Param name="float rotation" />
2354 <Param name="Color tint" />
2355 </Overload>
2356 </KeyWord>
2357
2358 <!-- Color/pixel related functions -->
2359 <KeyWord name="ColorIsEqual" func="yes">
2360 <Overload retVal="bool" descr="Check if two colors are equal">
2361 <Param name="Color col1" />
2362 <Param name="Color col2" />
2363 </Overload>
2364 </KeyWord>
2365 <KeyWord name="Fade" func="yes">
2366 <Overload retVal="Color" descr="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
2367 <Param name="Color color" />
2368 <Param name="float alpha" />
2369 </Overload>
2370 </KeyWord>
2371 <KeyWord name="ColorToInt" func="yes">
2372 <Overload retVal="int" descr="Get hexadecimal value for a Color (0xRRGGBBAA)">
2373 <Param name="Color color" />
2374 </Overload>
2375 </KeyWord>
2376 <KeyWord name="ColorNormalize" func="yes">
2377 <Overload retVal="Vector4" descr="Get Color normalized as float [0..1]">
2378 <Param name="Color color" />
2379 </Overload>
2380 </KeyWord>
2381 <KeyWord name="ColorFromNormalized" func="yes">
2382 <Overload retVal="Color" descr="Get Color from normalized values [0..1]">
2383 <Param name="Vector4 normalized" />
2384 </Overload>
2385 </KeyWord>
2386 <KeyWord name="ColorToHSV" func="yes">
2387 <Overload retVal="Vector3" descr="Get HSV values for a Color, hue [0..360], saturation/value [0..1]">
2388 <Param name="Color color" />
2389 </Overload>
2390 </KeyWord>
2391 <KeyWord name="ColorFromHSV" func="yes">
2392 <Overload retVal="Color" descr="Get a Color from HSV values, hue [0..360], saturation/value [0..1]">
2393 <Param name="float hue" />
2394 <Param name="float saturation" />
2395 <Param name="float value" />
2396 </Overload>
2397 </KeyWord>
2398 <KeyWord name="ColorTint" func="yes">
2399 <Overload retVal="Color" descr="Get color multiplied with another color">
2400 <Param name="Color color" />
2401 <Param name="Color tint" />
2402 </Overload>
2403 </KeyWord>
2404 <KeyWord name="ColorBrightness" func="yes">
2405 <Overload retVal="Color" descr="Get color with brightness correction, brightness factor goes from -1.0f to 1.0f">
2406 <Param name="Color color" />
2407 <Param name="float factor" />
2408 </Overload>
2409 </KeyWord>
2410 <KeyWord name="ColorContrast" func="yes">
2411 <Overload retVal="Color" descr="Get color with contrast correction, contrast values between -1.0f and 1.0f">
2412 <Param name="Color color" />
2413 <Param name="float contrast" />
2414 </Overload>
2415 </KeyWord>
2416 <KeyWord name="ColorAlpha" func="yes">
2417 <Overload retVal="Color" descr="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
2418 <Param name="Color color" />
2419 <Param name="float alpha" />
2420 </Overload>
2421 </KeyWord>
2422 <KeyWord name="ColorAlphaBlend" func="yes">
2423 <Overload retVal="Color" descr="Get src alpha-blended into dst color with tint">
2424 <Param name="Color dst" />
2425 <Param name="Color src" />
2426 <Param name="Color tint" />
2427 </Overload>
2428 </KeyWord>
2429 <KeyWord name="ColorLerp" func="yes">
2430 <Overload retVal="Color" descr="Get color lerp interpolation between two colors, factor [0.0f..1.0f]">
2431 <Param name="Color color1" />
2432 <Param name="Color color2" />
2433 <Param name="float factor" />
2434 </Overload>
2435 </KeyWord>
2436 <KeyWord name="GetColor" func="yes">
2437 <Overload retVal="Color" descr="Get Color structure from hexadecimal value">
2438 <Param name="unsigned int hexValue" />
2439 </Overload>
2440 </KeyWord>
2441 <KeyWord name="GetPixelColor" func="yes">
2442 <Overload retVal="Color" descr="Get Color from a source pixel pointer of certain format"></Overload>
2443 </KeyWord>
2444 <KeyWord name="SetPixelColor" func="yes">
2445 <Overload retVal="void" descr="Set color formatted into destination pixel pointer"></Overload>
2446 </KeyWord>
2447 <KeyWord name="GetPixelDataSize" func="yes">
2448 <Overload retVal="int" descr="Get pixel data size in bytes for certain format">
2449 <Param name="int width" />
2450 <Param name="int height" />
2451 <Param name="int format" />
2452 </Overload>
2453 </KeyWord>
2454
2455 <!-------------------------------------------------------------------------------------- -->
2456 <!-- Font Loading and Text Drawing Functions (Module: text) -->
2457 <!-------------------------------------------------------------------------------------- -->
2458
2459 <!-- Font loading/unloading functions -->
2460 <KeyWord name="GetFontDefault" func="yes">
2461 <Overload retVal="Font" descr="Get the default Font"></Overload>
2462 </KeyWord>
2463 <KeyWord name="LoadFont" func="yes">
2464 <Overload retVal="Font" descr="Load font from file into GPU memory (VRAM)">
2465 <Param name="const char *fileName" />
2466 </Overload>
2467 </KeyWord>
2468 <KeyWord name="LoadFontEx" func="yes">
2469 <Overload retVal="Font" descr="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">
2470 <Param name="const char *fileName" />
2471 <Param name="int fontSize" />
2472 <Param name="const int *codepoints" />
2473 <Param name="int codepointCount" />
2474 </Overload>
2475 </KeyWord>
2476 <KeyWord name="LoadFontFromImage" func="yes">
2477 <Overload retVal="Font" descr="Load font from Image (XNA style)">
2478 <Param name="Image image" />
2479 <Param name="Color key" />
2480 <Param name="int firstChar" />
2481 </Overload>
2482 </KeyWord>
2483 <KeyWord name="LoadFontFromMemory" func="yes">
2484 <Overload retVal="Font" descr="Load font from memory buffer, fileType refers to extension: i.e. '.ttf'">
2485 <Param name="const char *fileType" />
2486 <Param name="const unsigned char" />
2487 <Param name="int dataSize" />
2488 <Param name="int fontSize" />
2489 <Param name="const int *codepoints" />
2490 <Param name="int codepointCount" />
2491 </Overload>
2492 </KeyWord>
2493 <KeyWord name="IsFontValid" func="yes">
2494 <Overload retVal="bool" descr="Check if a font is valid (font data loaded, WARNING: GPU texture not checked)">
2495 <Param name="Font font" />
2496 </Overload>
2497 </KeyWord>
2498 <KeyWord name="LoadFontData" func="yes">
2499 <Overload retVal="GlyphInfo" descr="Load font data for further use">
2500 <Param name="const unsigned char" />
2501 <Param name="int dataSize" />
2502 <Param name="int fontSize" />
2503 <Param name="const int *codepoints" />
2504 <Param name="int codepointCount" />
2505 <Param name="int type" />
2506 <Param name="int *glyphCount" />
2507 </Overload>
2508 </KeyWord>
2509 <KeyWord name="GenImageFontAtlas" func="yes">
2510 <Overload retVal="Image" descr="Generate image font atlas using chars info">
2511 <Param name="const GlyphInfo *glyphs" />
2512 <Param name="Rectangle **glyphRecs" />
2513 <Param name="int glyphCount" />
2514 <Param name="int fontSize" />
2515 <Param name="int padding" />
2516 <Param name="int packMethod" />
2517 </Overload>
2518 </KeyWord>
2519 <KeyWord name="UnloadFontData" func="yes">
2520 <Overload retVal="void" descr="Unload font chars info data (RAM)">
2521 <Param name="GlyphInfo *glyphs" />
2522 <Param name="int glyphCount" />
2523 </Overload>
2524 </KeyWord>
2525 <KeyWord name="UnloadFont" func="yes">
2526 <Overload retVal="void" descr="Unload font from GPU memory (VRAM)">
2527 <Param name="Font font" />
2528 </Overload>
2529 </KeyWord>
2530 <KeyWord name="ExportFontAsCode" func="yes">
2531 <Overload retVal="bool" descr="Export font as code file, returns true on success">
2532 <Param name="Font font" />
2533 <Param name="const char *fileName" />
2534 </Overload>
2535 </KeyWord>
2536
2537 <!-- Text drawing functions -->
2538 <KeyWord name="DrawFPS" func="yes">
2539 <Overload retVal="void" descr="Draw current FPS">
2540 <Param name="int posX" />
2541 <Param name="int posY" />
2542 </Overload>
2543 </KeyWord>
2544 <KeyWord name="DrawText" func="yes">
2545 <Overload retVal="void" descr="Draw text (using default font)">
2546 <Param name="const char *text" />
2547 <Param name="int posX" />
2548 <Param name="int posY" />
2549 <Param name="int fontSize" />
2550 <Param name="Color color" />
2551 </Overload>
2552 </KeyWord>
2553 <KeyWord name="DrawTextEx" func="yes">
2554 <Overload retVal="void" descr="Draw text using font and additional parameters">
2555 <Param name="Font font" />
2556 <Param name="const char *text" />
2557 <Param name="Vector2 position" />
2558 <Param name="float fontSize" />
2559 <Param name="float spacing" />
2560 <Param name="Color tint" />
2561 </Overload>
2562 </KeyWord>
2563 <KeyWord name="DrawTextPro" func="yes">
2564 <Overload retVal="void" descr="Draw text using Font and pro parameters (rotation)">
2565 <Param name="Font font" />
2566 <Param name="const char *text" />
2567 <Param name="Vector2 position" />
2568 <Param name="Vector2 origin" />
2569 <Param name="float rotation" />
2570 <Param name="float fontSize" />
2571 <Param name="float spacing" />
2572 <Param name="Color tint" />
2573 </Overload>
2574 </KeyWord>
2575 <KeyWord name="DrawTextCodepoint" func="yes">
2576 <Overload retVal="void" descr="Draw one character (codepoint)">
2577 <Param name="Font font" />
2578 <Param name="int codepoint" />
2579 <Param name="Vector2 position" />
2580 <Param name="float fontSize" />
2581 <Param name="Color tint" />
2582 </Overload>
2583 </KeyWord>
2584 <KeyWord name="DrawTextCodepoints" func="yes">
2585 <Overload retVal="void" descr="Draw multiple character (codepoint)">
2586 <Param name="Font font" />
2587 <Param name="const int *codepoints" />
2588 <Param name="int codepointCount" />
2589 <Param name="Vector2 position" />
2590 <Param name="float fontSize" />
2591 <Param name="float spacing" />
2592 <Param name="Color tint" />
2593 </Overload>
2594 </KeyWord>
2595
2596 <!-- Text font info functions -->
2597 <KeyWord name="SetTextLineSpacing" func="yes">
2598 <Overload retVal="void" descr="Set vertical line spacing when drawing with line-breaks">
2599 <Param name="int spacing" />
2600 </Overload>
2601 </KeyWord>
2602 <KeyWord name="MeasureText" func="yes">
2603 <Overload retVal="int" descr="Measure string width for default font">
2604 <Param name="const char *text" />
2605 <Param name="int fontSize" />
2606 </Overload>
2607 </KeyWord>
2608 <KeyWord name="MeasureTextEx" func="yes">
2609 <Overload retVal="Vector2" descr="Measure string size for Font">
2610 <Param name="Font font" />
2611 <Param name="const char *text" />
2612 <Param name="float fontSize" />
2613 <Param name="float spacing" />
2614 </Overload>
2615 </KeyWord>
2616 <KeyWord name="MeasureTextCodepoints" func="yes">
2617 <Overload retVal="Vector2" descr="Measure string size for an existing array of codepoints for Font">
2618 <Param name="Font font" />
2619 <Param name="const int *codepoints" />
2620 <Param name="int length" />
2621 <Param name="float fontSize" />
2622 <Param name="float spacing" />
2623 </Overload>
2624 </KeyWord>
2625 <KeyWord name="GetGlyphIndex" func="yes">
2626 <Overload retVal="int" descr="Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found">
2627 <Param name="Font font" />
2628 <Param name="int codepoint" />
2629 </Overload>
2630 </KeyWord>
2631 <KeyWord name="GetGlyphInfo" func="yes">
2632 <Overload retVal="GlyphInfo" descr="Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found">
2633 <Param name="Font font" />
2634 <Param name="int codepoint" />
2635 </Overload>
2636 </KeyWord>
2637 <KeyWord name="GetGlyphAtlasRec" func="yes">
2638 <Overload retVal="Rectangle" descr="Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found">
2639 <Param name="Font font" />
2640 <Param name="int codepoint" />
2641 </Overload>
2642 </KeyWord>
2643
2644 <!-- Text codepoints management functions (unicode characters) -->
2645 <KeyWord name="LoadUTF8" func="yes">
2646 <Overload retVal="char" descr="Load UTF-8 text encoded from codepoints array">
2647 <Param name="const int *codepoints" />
2648 <Param name="int length" />
2649 </Overload>
2650 </KeyWord>
2651 <KeyWord name="UnloadUTF8" func="yes">
2652 <Overload retVal="void" descr="Unload UTF-8 text encoded from codepoints array">
2653 <Param name="char *text" />
2654 </Overload>
2655 </KeyWord>
2656 <KeyWord name="LoadCodepoints" func="yes">
2657 <Overload retVal="int" descr="Load all codepoints from a UTF-8 text string, codepoints count returned by parameter">
2658 <Param name="const char *text" />
2659 <Param name="int *count" />
2660 </Overload>
2661 </KeyWord>
2662 <KeyWord name="UnloadCodepoints" func="yes">
2663 <Overload retVal="void" descr="Unload codepoints data from memory">
2664 <Param name="int *codepoints" />
2665 </Overload>
2666 </KeyWord>
2667 <KeyWord name="GetCodepointCount" func="yes">
2668 <Overload retVal="int" descr="Get total number of codepoints in a UTF-8 encoded string">
2669 <Param name="const char *text" />
2670 </Overload>
2671 </KeyWord>
2672 <KeyWord name="GetCodepoint" func="yes">
2673 <Overload retVal="int" descr="Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure">
2674 <Param name="const char *text" />
2675 <Param name="int *codepointSize" />
2676 </Overload>
2677 </KeyWord>
2678 <KeyWord name="GetCodepointNext" func="yes">
2679 <Overload retVal="int" descr="Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure">
2680 <Param name="const char *text" />
2681 <Param name="int *codepointSize" />
2682 </Overload>
2683 </KeyWord>
2684 <KeyWord name="GetCodepointPrevious" func="yes">
2685 <Overload retVal="int" descr="Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure">
2686 <Param name="const char *text" />
2687 <Param name="int *codepointSize" />
2688 </Overload>
2689 </KeyWord>
2690 <KeyWord name="CodepointToUTF8" func="yes">
2691 <Overload retVal="const char" descr="Encode one codepoint into UTF-8 byte array (array length returned as parameter)">
2692 <Param name="int codepoint" />
2693 <Param name="int *utf8Size" />
2694 </Overload>
2695 </KeyWord>
2696
2697 <!-- Text strings management functions (no UTF-8 strings, only byte chars) -->
2698 <!-- WARNING 1: Most of these functions use internal static buffers[], it's recommended to store returned data on user-side for re-use -->
2699 <!-- WARNING 2: Some functions allocate memory internally for the returned strings, those strings must be freed by user using MemFree() -->
2700 <KeyWord name="LoadTextLines" func="yes">
2701 <Overload retVal="char" descr="Load text as separate lines ('\n')">
2702 <Param name="const char *text" />
2703 <Param name="int *count" />
2704 </Overload>
2705 </KeyWord>
2706 <KeyWord name="UnloadTextLines" func="yes">
2707 <Overload retVal="void" descr="Unload text lines">
2708 <Param name="char **text" />
2709 <Param name="int lineCount" />
2710 </Overload>
2711 </KeyWord>
2712 <KeyWord name="TextCopy" func="yes">
2713 <Overload retVal="int" descr="Copy one string to another, returns bytes copied">
2714 <Param name="char *dst" />
2715 <Param name="const char *src" />
2716 </Overload>
2717 </KeyWord>
2718 <KeyWord name="TextIsEqual" func="yes">
2719 <Overload retVal="bool" descr="Check if two text string are equal">
2720 <Param name="const char *text1" />
2721 <Param name="const char *text2" />
2722 </Overload>
2723 </KeyWord>
2724 <KeyWord name="int TextLength" func="yes">
2725 <Overload retVal="unsigned" descr="Get text length, checks for '\0' ending">
2726 <Param name="const char *text" />
2727 </Overload>
2728 </KeyWord>
2729 <KeyWord name="TextFormat" func="yes">
2730 <Overload retVal="const char" descr="Text formatting with variables (sprintf() style)">
2731 <Param name="const char *text" />
2732 <Param name="..." />
2733 </Overload>
2734 </KeyWord>
2735 <KeyWord name="TextSubtext" func="yes">
2736 <Overload retVal="const char" descr="Get a piece of a text string">
2737 <Param name="const char *text" />
2738 <Param name="int position" />
2739 <Param name="int length" />
2740 </Overload>
2741 </KeyWord>
2742 <KeyWord name="TextRemoveSpaces" func="yes">
2743 <Overload retVal="const char" descr="Remove text spaces, concat words">
2744 <Param name="const char *text" />
2745 </Overload>
2746 </KeyWord>
2747 <KeyWord name="GetTextBetween" func="yes">
2748 <Overload retVal="char" descr="Get text between two strings">
2749 <Param name="const char *text" />
2750 <Param name="const char *begin" />
2751 <Param name="const char *end" />
2752 </Overload>
2753 </KeyWord>
2754 <KeyWord name="TextReplace" func="yes">
2755 <Overload retVal="char" descr="Replace text string with new string">
2756 <Param name="const char *text" />
2757 <Param name="const char *search" />
2758 <Param name="const char *replacement" />
2759 </Overload>
2760 </KeyWord>
2761 <KeyWord name="TextReplaceAlloc" func="yes">
2762 <Overload retVal="char" descr="Replace text string with new string, memory must be MemFree()">
2763 <Param name="const char *text" />
2764 <Param name="const char *search" />
2765 <Param name="const char *replacement" />
2766 </Overload>
2767 </KeyWord>
2768 <KeyWord name="TextReplaceBetween" func="yes">
2769 <Overload retVal="char" descr="Replace text between two specific strings">
2770 <Param name="const char *text" />
2771 <Param name="const char *begin" />
2772 <Param name="const char *end" />
2773 <Param name="const char *replacement" />
2774 </Overload>
2775 </KeyWord>
2776 <KeyWord name="TextReplaceBetweenAlloc" func="yes">
2777 <Overload retVal="char" descr="Replace text between two specific strings, memory must be MemFree()">
2778 <Param name="const char *text" />
2779 <Param name="const char *begin" />
2780 <Param name="const char *end" />
2781 <Param name="const char *replacement" />
2782 </Overload>
2783 </KeyWord>
2784 <KeyWord name="TextInsert" func="yes">
2785 <Overload retVal="char" descr="Insert text in a defined byte position">
2786 <Param name="const char *text" />
2787 <Param name="const char *insert" />
2788 <Param name="int position" />
2789 </Overload>
2790 </KeyWord>
2791 <KeyWord name="TextInsertAlloc" func="yes">
2792 <Overload retVal="char" descr="Insert text in a defined byte position, memory must be MemFree()">
2793 <Param name="const char *text" />
2794 <Param name="const char *insert" />
2795 <Param name="int position" />
2796 </Overload>
2797 </KeyWord>
2798 <KeyWord name="TextJoin" func="yes">
2799 <Overload retVal="char" descr="Join text strings with delimiter">
2800 <Param name="char **textList" />
2801 <Param name="int count" />
2802 <Param name="const char *delimiter" />
2803 </Overload>
2804 </KeyWord>
2805 <KeyWord name="TextSplit" func="yes">
2806 <Overload retVal="char" descr="Split text into multiple strings, using MAX_TEXTSPLIT_COUNT static strings">
2807 <Param name="const char *text" />
2808 <Param name="char delimiter" />
2809 <Param name="int *count" />
2810 </Overload>
2811 </KeyWord>
2812 <KeyWord name="TextAppend" func="yes">
2813 <Overload retVal="void" descr="Append text at specific position and move cursor">
2814 <Param name="char *text" />
2815 <Param name="const char *append" />
2816 <Param name="int *position" />
2817 </Overload>
2818 </KeyWord>
2819 <KeyWord name="TextFindIndex" func="yes">
2820 <Overload retVal="int" descr="Find first text occurrence within a string, -1 if not found">
2821 <Param name="const char *text" />
2822 <Param name="const char *search" />
2823 </Overload>
2824 </KeyWord>
2825 <KeyWord name="TextToUpper" func="yes">
2826 <Overload retVal="char" descr="Get upper case version of provided string">
2827 <Param name="const char *text" />
2828 </Overload>
2829 </KeyWord>
2830 <KeyWord name="TextToLower" func="yes">
2831 <Overload retVal="char" descr="Get lower case version of provided string">
2832 <Param name="const char *text" />
2833 </Overload>
2834 </KeyWord>
2835 <KeyWord name="TextToPascal" func="yes">
2836 <Overload retVal="char" descr="Get Pascal case notation version of provided string">
2837 <Param name="const char *text" />
2838 </Overload>
2839 </KeyWord>
2840 <KeyWord name="TextToSnake" func="yes">
2841 <Overload retVal="char" descr="Get Snake case notation version of provided string">
2842 <Param name="const char *text" />
2843 </Overload>
2844 </KeyWord>
2845 <KeyWord name="TextToCamel" func="yes">
2846 <Overload retVal="char" descr="Get Camel case notation version of provided string">
2847 <Param name="const char *text" />
2848 </Overload>
2849 </KeyWord>
2850 <KeyWord name="TextToInteger" func="yes">
2851 <Overload retVal="int" descr="Get integer value from text">
2852 <Param name="const char *text" />
2853 </Overload>
2854 </KeyWord>
2855 <KeyWord name="TextToFloat" func="yes">
2856 <Overload retVal="float" descr="Get float value from text">
2857 <Param name="const char *text" />
2858 </Overload>
2859 </KeyWord>
2860
2861 <!-------------------------------------------------------------------------------------- -->
2862 <!-- Basic 3d Shapes Drawing Functions (Module: models) -->
2863 <!-------------------------------------------------------------------------------------- -->
2864
2865 <!-- Basic geometric 3D shapes drawing functions -->
2866 <KeyWord name="DrawLine3D" func="yes">
2867 <Overload retVal="void" descr="Draw a line in 3D world space">
2868 <Param name="Vector3 startPos" />
2869 <Param name="Vector3 endPos" />
2870 <Param name="Color color" />
2871 </Overload>
2872 </KeyWord>
2873 <KeyWord name="DrawPoint3D" func="yes">
2874 <Overload retVal="void" descr="Draw a point in 3D space, actually a small line">
2875 <Param name="Vector3 position" />
2876 <Param name="Color color" />
2877 </Overload>
2878 </KeyWord>
2879 <KeyWord name="DrawCircle3D" func="yes">
2880 <Overload retVal="void" descr="Draw a circle in 3D world space">
2881 <Param name="Vector3 center" />
2882 <Param name="float radius" />
2883 <Param name="Vector3 rotationAxis" />
2884 <Param name="float rotationAngle" />
2885 <Param name="Color color" />
2886 </Overload>
2887 </KeyWord>
2888 <KeyWord name="DrawTriangle3D" func="yes">
2889 <Overload retVal="void" descr="Draw a color-filled triangle (vertex in counter-clockwise order!)">
2890 <Param name="Vector3 v1" />
2891 <Param name="Vector3 v2" />
2892 <Param name="Vector3 v3" />
2893 <Param name="Color color" />
2894 </Overload>
2895 </KeyWord>
2896 <KeyWord name="DrawTriangleStrip3D" func="yes">
2897 <Overload retVal="void" descr="Draw a triangle strip defined by points">
2898 <Param name="const Vector3 *points" />
2899 <Param name="int pointCount" />
2900 <Param name="Color color" />
2901 </Overload>
2902 </KeyWord>
2903 <KeyWord name="DrawCube" func="yes">
2904 <Overload retVal="void" descr="Draw cube">
2905 <Param name="Vector3 position" />
2906 <Param name="float width" />
2907 <Param name="float height" />
2908 <Param name="float length" />
2909 <Param name="Color color" />
2910 </Overload>
2911 </KeyWord>
2912 <KeyWord name="DrawCubeV" func="yes">
2913 <Overload retVal="void" descr="Draw cube (Vector version)">
2914 <Param name="Vector3 position" />
2915 <Param name="Vector3 size" />
2916 <Param name="Color color" />
2917 </Overload>
2918 </KeyWord>
2919 <KeyWord name="DrawCubeWires" func="yes">
2920 <Overload retVal="void" descr="Draw cube wires">
2921 <Param name="Vector3 position" />
2922 <Param name="float width" />
2923 <Param name="float height" />
2924 <Param name="float length" />
2925 <Param name="Color color" />
2926 </Overload>
2927 </KeyWord>
2928 <KeyWord name="DrawCubeWiresV" func="yes">
2929 <Overload retVal="void" descr="Draw cube wires (Vector version)">
2930 <Param name="Vector3 position" />
2931 <Param name="Vector3 size" />
2932 <Param name="Color color" />
2933 </Overload>
2934 </KeyWord>
2935 <KeyWord name="DrawSphere" func="yes">
2936 <Overload retVal="void" descr="Draw sphere">
2937 <Param name="Vector3 centerPos" />
2938 <Param name="float radius" />
2939 <Param name="Color color" />
2940 </Overload>
2941 </KeyWord>
2942 <KeyWord name="DrawSphereEx" func="yes">
2943 <Overload retVal="void" descr="Draw sphere with extended parameters">
2944 <Param name="Vector3 centerPos" />
2945 <Param name="float radius" />
2946 <Param name="int rings" />
2947 <Param name="int slices" />
2948 <Param name="Color color" />
2949 </Overload>
2950 </KeyWord>
2951 <KeyWord name="DrawSphereWires" func="yes">
2952 <Overload retVal="void" descr="Draw sphere wires">
2953 <Param name="Vector3 centerPos" />
2954 <Param name="float radius" />
2955 <Param name="int rings" />
2956 <Param name="int slices" />
2957 <Param name="Color color" />
2958 </Overload>
2959 </KeyWord>
2960 <KeyWord name="DrawCylinder" func="yes">
2961 <Overload retVal="void" descr="Draw a cylinder/cone">
2962 <Param name="Vector3 position" />
2963 <Param name="float radiusTop" />
2964 <Param name="float radiusBottom" />
2965 <Param name="float height" />
2966 <Param name="int slices" />
2967 <Param name="Color color" />
2968 </Overload>
2969 </KeyWord>
2970 <KeyWord name="DrawCylinderEx" func="yes">
2971 <Overload retVal="void" descr="Draw a cylinder with base at startPos and top at endPos">
2972 <Param name="Vector3 startPos" />
2973 <Param name="Vector3 endPos" />
2974 <Param name="float startRadius" />
2975 <Param name="float endRadius" />
2976 <Param name="int sides" />
2977 <Param name="Color color" />
2978 </Overload>
2979 </KeyWord>
2980 <KeyWord name="DrawCylinderWires" func="yes">
2981 <Overload retVal="void" descr="Draw a cylinder/cone wires">
2982 <Param name="Vector3 position" />
2983 <Param name="float radiusTop" />
2984 <Param name="float radiusBottom" />
2985 <Param name="float height" />
2986 <Param name="int slices" />
2987 <Param name="Color color" />
2988 </Overload>
2989 </KeyWord>
2990 <KeyWord name="DrawCylinderWiresEx" func="yes">
2991 <Overload retVal="void" descr="Draw a cylinder wires with base at startPos and top at endPos">
2992 <Param name="Vector3 startPos" />
2993 <Param name="Vector3 endPos" />
2994 <Param name="float startRadius" />
2995 <Param name="float endRadius" />
2996 <Param name="int sides" />
2997 <Param name="Color color" />
2998 </Overload>
2999 </KeyWord>
3000 <KeyWord name="DrawCapsule" func="yes">
3001 <Overload retVal="void" descr="Draw a capsule with the center of its sphere caps at startPos and endPos">
3002 <Param name="Vector3 startPos" />
3003 <Param name="Vector3 endPos" />
3004 <Param name="float radius" />
3005 <Param name="int slices" />
3006 <Param name="int rings" />
3007 <Param name="Color color" />
3008 </Overload>
3009 </KeyWord>
3010 <KeyWord name="DrawCapsuleWires" func="yes">
3011 <Overload retVal="void" descr="Draw capsule wireframe with the center of its sphere caps at startPos and endPos">
3012 <Param name="Vector3 startPos" />
3013 <Param name="Vector3 endPos" />
3014 <Param name="float radius" />
3015 <Param name="int slices" />
3016 <Param name="int rings" />
3017 <Param name="Color color" />
3018 </Overload>
3019 </KeyWord>
3020 <KeyWord name="DrawPlane" func="yes">
3021 <Overload retVal="void" descr="Draw a plane XZ">
3022 <Param name="Vector3 centerPos" />
3023 <Param name="Vector2 size" />
3024 <Param name="Color color" />
3025 </Overload>
3026 </KeyWord>
3027 <KeyWord name="DrawRay" func="yes">
3028 <Overload retVal="void" descr="Draw a ray line">
3029 <Param name="Ray ray" />
3030 <Param name="Color color" />
3031 </Overload>
3032 </KeyWord>
3033 <KeyWord name="DrawGrid" func="yes">
3034 <Overload retVal="void" descr="Draw a grid (centered at (0, 0, 0))">
3035 <Param name="int slices" />
3036 <Param name="float spacing" />
3037 </Overload>
3038 </KeyWord>
3039
3040 <!-------------------------------------------------------------------------------------- -->
3041 <!-- Model 3d Loading and Drawing Functions (Module: models) -->
3042 <!-------------------------------------------------------------------------------------- -->
3043
3044 <!-- Model management functions -->
3045 <KeyWord name="LoadModel" func="yes">
3046 <Overload retVal="Model" descr="Load model from files (meshes and materials)">
3047 <Param name="const char *fileName" />
3048 </Overload>
3049 </KeyWord>
3050 <KeyWord name="LoadModelFromMesh" func="yes">
3051 <Overload retVal="Model" descr="Load model from generated mesh (default material)">
3052 <Param name="Mesh mesh" />
3053 </Overload>
3054 </KeyWord>
3055 <KeyWord name="IsModelValid" func="yes">
3056 <Overload retVal="bool" descr="Check if a model is valid (loaded in GPU, VAO/VBOs)">
3057 <Param name="Model model" />
3058 </Overload>
3059 </KeyWord>
3060 <KeyWord name="UnloadModel" func="yes">
3061 <Overload retVal="void" descr="Unload model (including meshes) from memory (RAM and/or VRAM)">
3062 <Param name="Model model" />
3063 </Overload>
3064 </KeyWord>
3065 <KeyWord name="GetModelBoundingBox" func="yes">
3066 <Overload retVal="BoundingBox" descr="Compute model bounding box limits (considers all meshes)">
3067 <Param name="Model model" />
3068 </Overload>
3069 </KeyWord>
3070
3071 <!-- Model drawing functions -->
3072 <KeyWord name="DrawModel" func="yes">
3073 <Overload retVal="void" descr="Draw a model (with texture if set)">
3074 <Param name="Model model" />
3075 <Param name="Vector3 position" />
3076 <Param name="float scale" />
3077 <Param name="Color tint" />
3078 </Overload>
3079 </KeyWord>
3080 <KeyWord name="DrawModelEx" func="yes">
3081 <Overload retVal="void" descr="Draw a model with extended parameters">
3082 <Param name="Model model" />
3083 <Param name="Vector3 position" />
3084 <Param name="Vector3 rotationAxis" />
3085 <Param name="float rotationAngle" />
3086 <Param name="Vector3 scale" />
3087 <Param name="Color tint" />
3088 </Overload>
3089 </KeyWord>
3090 <KeyWord name="DrawModelWires" func="yes">
3091 <Overload retVal="void" descr="Draw a model wires (with texture if set)">
3092 <Param name="Model model" />
3093 <Param name="Vector3 position" />
3094 <Param name="float scale" />
3095 <Param name="Color tint" />
3096 </Overload>
3097 </KeyWord>
3098 <KeyWord name="DrawModelWiresEx" func="yes">
3099 <Overload retVal="void" descr="Draw a model wires (with texture if set) with extended parameters">
3100 <Param name="Model model" />
3101 <Param name="Vector3 position" />
3102 <Param name="Vector3 rotationAxis" />
3103 <Param name="float rotationAngle" />
3104 <Param name="Vector3 scale" />
3105 <Param name="Color tint" />
3106 </Overload>
3107 </KeyWord>
3108 <KeyWord name="DrawBoundingBox" func="yes">
3109 <Overload retVal="void" descr="Draw bounding box (wires)">
3110 <Param name="BoundingBox box" />
3111 <Param name="Color color" />
3112 </Overload>
3113 </KeyWord>
3114 <KeyWord name="DrawBillboard" func="yes">
3115 <Overload retVal="void" descr="Draw a billboard texture">
3116 <Param name="Camera camera" />
3117 <Param name="Texture2D texture" />
3118 <Param name="Vector3 position" />
3119 <Param name="float scale" />
3120 <Param name="Color tint" />
3121 </Overload>
3122 </KeyWord>
3123 <KeyWord name="DrawBillboardRec" func="yes">
3124 <Overload retVal="void" descr="Draw a billboard texture defined by source">
3125 <Param name="Camera camera" />
3126 <Param name="Texture2D texture" />
3127 <Param name="Rectangle source" />
3128 <Param name="Vector3 position" />
3129 <Param name="Vector2 size" />
3130 <Param name="Color tint" />
3131 </Overload>
3132 </KeyWord>
3133 <KeyWord name="DrawBillboardPro" func="yes">
3134 <Overload retVal="void" descr="Draw a billboard texture defined by source and rotation">
3135 <Param name="Camera camera" />
3136 <Param name="Texture2D texture" />
3137 <Param name="Rectangle source" />
3138 <Param name="Vector3 position" />
3139 <Param name="Vector3 up" />
3140 <Param name="Vector2 size" />
3141 <Param name="Vector2 origin" />
3142 <Param name="float rotation" />
3143 <Param name="Color tint" />
3144 </Overload>
3145 </KeyWord>
3146
3147 <!-- Mesh management functions -->
3148 <KeyWord name="UploadMesh" func="yes">
3149 <Overload retVal="void" descr="Upload mesh vertex data in GPU and provide VAO/VBO ids">
3150 <Param name="Mesh *mesh" />
3151 <Param name="bool dynamic" />
3152 </Overload>
3153 </KeyWord>
3154 <KeyWord name="UpdateMeshBuffer" func="yes">
3155 <Overload retVal="void" descr="Update mesh vertex data in GPU for a specific buffer index">
3156 <Param name="Mesh mesh" />
3157 <Param name="int index" />
3158 <Param name="const void *data" />
3159 <Param name="int dataSize" />
3160 <Param name="int offset" />
3161 </Overload>
3162 </KeyWord>
3163 <KeyWord name="UnloadMesh" func="yes">
3164 <Overload retVal="void" descr="Unload mesh data from CPU and GPU">
3165 <Param name="Mesh mesh" />
3166 </Overload>
3167 </KeyWord>
3168 <KeyWord name="DrawMesh" func="yes">
3169 <Overload retVal="void" descr="Draw a 3d mesh with material and transform">
3170 <Param name="Mesh mesh" />
3171 <Param name="Material material" />
3172 <Param name="Matrix transform" />
3173 </Overload>
3174 </KeyWord>
3175 <KeyWord name="DrawMeshInstanced" func="yes">
3176 <Overload retVal="void" descr="Draw multiple mesh instances with material and different transforms">
3177 <Param name="Mesh mesh" />
3178 <Param name="Material material" />
3179 <Param name="const Matrix *transforms" />
3180 <Param name="int instances" />
3181 </Overload>
3182 </KeyWord>
3183 <KeyWord name="GetMeshBoundingBox" func="yes">
3184 <Overload retVal="BoundingBox" descr="Compute mesh bounding box limits">
3185 <Param name="Mesh mesh" />
3186 </Overload>
3187 </KeyWord>
3188 <KeyWord name="GenMeshTangents" func="yes">
3189 <Overload retVal="void" descr="Compute mesh tangents">
3190 <Param name="Mesh *mesh" />
3191 </Overload>
3192 </KeyWord>
3193 <KeyWord name="ExportMesh" func="yes">
3194 <Overload retVal="bool" descr="Export mesh data to file, returns true on success">
3195 <Param name="Mesh mesh" />
3196 <Param name="const char *fileName" />
3197 </Overload>
3198 </KeyWord>
3199 <KeyWord name="ExportMeshAsCode" func="yes">
3200 <Overload retVal="bool" descr="Export mesh as code file (.h) defining multiple arrays of vertex attributes">
3201 <Param name="Mesh mesh" />
3202 <Param name="const char *fileName" />
3203 </Overload>
3204 </KeyWord>
3205
3206 <!-- Mesh generation functions -->
3207 <KeyWord name="GenMeshPoly" func="yes">
3208 <Overload retVal="Mesh" descr="Generate polygonal mesh">
3209 <Param name="int sides" />
3210 <Param name="float radius" />
3211 </Overload>
3212 </KeyWord>
3213 <KeyWord name="GenMeshPlane" func="yes">
3214 <Overload retVal="Mesh" descr="Generate plane mesh (with subdivisions)">
3215 <Param name="float width" />
3216 <Param name="float length" />
3217 <Param name="int resX" />
3218 <Param name="int resZ" />
3219 </Overload>
3220 </KeyWord>
3221 <KeyWord name="GenMeshCube" func="yes">
3222 <Overload retVal="Mesh" descr="Generate cuboid mesh">
3223 <Param name="float width" />
3224 <Param name="float height" />
3225 <Param name="float length" />
3226 </Overload>
3227 </KeyWord>
3228 <KeyWord name="GenMeshSphere" func="yes">
3229 <Overload retVal="Mesh" descr="Generate sphere mesh (standard sphere)">
3230 <Param name="float radius" />
3231 <Param name="int rings" />
3232 <Param name="int slices" />
3233 </Overload>
3234 </KeyWord>
3235 <KeyWord name="GenMeshHemiSphere" func="yes">
3236 <Overload retVal="Mesh" descr="Generate half-sphere mesh (no bottom cap)">
3237 <Param name="float radius" />
3238 <Param name="int rings" />
3239 <Param name="int slices" />
3240 </Overload>
3241 </KeyWord>
3242 <KeyWord name="GenMeshCylinder" func="yes">
3243 <Overload retVal="Mesh" descr="Generate cylinder mesh">
3244 <Param name="float radius" />
3245 <Param name="float height" />
3246 <Param name="int slices" />
3247 </Overload>
3248 </KeyWord>
3249 <KeyWord name="GenMeshCone" func="yes">
3250 <Overload retVal="Mesh" descr="Generate cone/pyramid mesh">
3251 <Param name="float radius" />
3252 <Param name="float height" />
3253 <Param name="int slices" />
3254 </Overload>
3255 </KeyWord>
3256 <KeyWord name="GenMeshTorus" func="yes">
3257 <Overload retVal="Mesh" descr="Generate torus mesh">
3258 <Param name="float radius" />
3259 <Param name="float size" />
3260 <Param name="int radSeg" />
3261 <Param name="int sides" />
3262 </Overload>
3263 </KeyWord>
3264 <KeyWord name="GenMeshKnot" func="yes">
3265 <Overload retVal="Mesh" descr="Generate trefoil knot mesh">
3266 <Param name="float radius" />
3267 <Param name="float size" />
3268 <Param name="int radSeg" />
3269 <Param name="int sides" />
3270 </Overload>
3271 </KeyWord>
3272 <KeyWord name="GenMeshHeightmap" func="yes">
3273 <Overload retVal="Mesh" descr="Generate heightmap mesh from image data">
3274 <Param name="Image heightmap" />
3275 <Param name="Vector3 size" />
3276 </Overload>
3277 </KeyWord>
3278 <KeyWord name="GenMeshCubicmap" func="yes">
3279 <Overload retVal="Mesh" descr="Generate cubes-based map mesh from image data">
3280 <Param name="Image cubicmap" />
3281 <Param name="Vector3 cubeSize" />
3282 </Overload>
3283 </KeyWord>
3284
3285 <!-- Material loading/unloading functions -->
3286 <KeyWord name="LoadMaterials" func="yes">
3287 <Overload retVal="Material" descr="Load materials from model file">
3288 <Param name="const char *fileName" />
3289 <Param name="int *materialCount" />
3290 </Overload>
3291 </KeyWord>
3292 <KeyWord name="LoadMaterialDefault" func="yes">
3293 <Overload retVal="Material" descr="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"></Overload>
3294 </KeyWord>
3295 <KeyWord name="IsMaterialValid" func="yes">
3296 <Overload retVal="bool" descr="Check if a material is valid (shader assigned, map textures loaded in GPU)">
3297 <Param name="Material material" />
3298 </Overload>
3299 </KeyWord>
3300 <KeyWord name="UnloadMaterial" func="yes">
3301 <Overload retVal="void" descr="Unload material from GPU memory (VRAM)">
3302 <Param name="Material material" />
3303 </Overload>
3304 </KeyWord>
3305 <KeyWord name="SetMaterialTexture" func="yes">
3306 <Overload retVal="void" descr="Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)">
3307 <Param name="Material *material" />
3308 <Param name="int mapType" />
3309 <Param name="Texture2D texture" />
3310 </Overload>
3311 </KeyWord>
3312 <KeyWord name="SetModelMeshMaterial" func="yes">
3313 <Overload retVal="void" descr="Set material for a mesh">
3314 <Param name="Model *model" />
3315 <Param name="int meshId" />
3316 <Param name="int materialId" />
3317 </Overload>
3318 </KeyWord>
3319
3320 <!-- Model animations loading/unloading functions -->
3321 <KeyWord name="LoadModelAnimations" func="yes">
3322 <Overload retVal="ModelAnimation" descr="Load model animations from file">
3323 <Param name="const char *fileName" />
3324 <Param name="int *animCount" />
3325 </Overload>
3326 </KeyWord>
3327 <KeyWord name="UpdateModelAnimation" func="yes">
3328 <Overload retVal="void" descr="Update model animation pose (vertex buffers and bone matrices)">
3329 <Param name="Model model" />
3330 <Param name="ModelAnimation anim" />
3331 <Param name="float frame" />
3332 </Overload>
3333 </KeyWord>
3334 <KeyWord name="UpdateModelAnimationEx" func="yes">
3335 <Overload retVal="void" descr="Update model animation pose, blending two animations">
3336 <Param name="Model model" />
3337 <Param name="ModelAnimation animA" />
3338 <Param name="float frameA" />
3339 <Param name="ModelAnimation animB" />
3340 <Param name="float frameB" />
3341 <Param name="float blend" />
3342 </Overload>
3343 </KeyWord>
3344 <KeyWord name="UnloadModelAnimations" func="yes">
3345 <Overload retVal="void" descr="Unload animation array data">
3346 <Param name="ModelAnimation *animations" />
3347 <Param name="int animCount" />
3348 </Overload>
3349 </KeyWord>
3350 <KeyWord name="IsModelAnimationValid" func="yes">
3351 <Overload retVal="bool" descr="Check model animation skeleton match">
3352 <Param name="Model model" />
3353 <Param name="ModelAnimation anim" />
3354 </Overload>
3355 </KeyWord>
3356
3357 <!-- Collision detection functions -->
3358 <KeyWord name="CheckCollisionSpheres" func="yes">
3359 <Overload retVal="bool" descr="Check collision between two spheres">
3360 <Param name="Vector3 center1" />
3361 <Param name="float radius1" />
3362 <Param name="Vector3 center2" />
3363 <Param name="float radius2" />
3364 </Overload>
3365 </KeyWord>
3366 <KeyWord name="CheckCollisionBoxes" func="yes">
3367 <Overload retVal="bool" descr="Check collision between two bounding boxes">
3368 <Param name="BoundingBox box1" />
3369 <Param name="BoundingBox box2" />
3370 </Overload>
3371 </KeyWord>
3372 <KeyWord name="CheckCollisionBoxSphere" func="yes">
3373 <Overload retVal="bool" descr="Check collision between box and sphere">
3374 <Param name="BoundingBox box" />
3375 <Param name="Vector3 center" />
3376 <Param name="float radius" />
3377 </Overload>
3378 </KeyWord>
3379 <KeyWord name="GetRayCollisionSphere" func="yes">
3380 <Overload retVal="RayCollision" descr="Get collision info between ray and sphere">
3381 <Param name="Ray ray" />
3382 <Param name="Vector3 center" />
3383 <Param name="float radius" />
3384 </Overload>
3385 </KeyWord>
3386 <KeyWord name="GetRayCollisionBox" func="yes">
3387 <Overload retVal="RayCollision" descr="Get collision info between ray and box">
3388 <Param name="Ray ray" />
3389 <Param name="BoundingBox box" />
3390 </Overload>
3391 </KeyWord>
3392 <KeyWord name="GetRayCollisionMesh" func="yes">
3393 <Overload retVal="RayCollision" descr="Get collision info between ray and mesh">
3394 <Param name="Ray ray" />
3395 <Param name="Mesh mesh" />
3396 <Param name="Matrix transform" />
3397 </Overload>
3398 </KeyWord>
3399 <KeyWord name="GetRayCollisionTriangle" func="yes">
3400 <Overload retVal="RayCollision" descr="Get collision info between ray and triangle">
3401 <Param name="Ray ray" />
3402 <Param name="Vector3 p1" />
3403 <Param name="Vector3 p2" />
3404 <Param name="Vector3 p3" />
3405 </Overload>
3406 </KeyWord>
3407 <KeyWord name="GetRayCollisionQuad" func="yes">
3408 <Overload retVal="RayCollision" descr="Get collision info between ray and quad">
3409 <Param name="Ray ray" />
3410 <Param name="Vector3 p1" />
3411 <Param name="Vector3 p2" />
3412 <Param name="Vector3 p3" />
3413 <Param name="Vector3 p4" />
3414 </Overload>
3415 </KeyWord>
3416
3417 <!-------------------------------------------------------------------------------------- -->
3418 <!-- Audio Loading and Playing Functions (Module: audio) -->
3419 <!-------------------------------------------------------------------------------------- -->
3420
3421 <!-- Audio device management functions -->
3422 <KeyWord name="InitAudioDevice" func="yes">
3423 <Overload retVal="void" descr="Initialize audio device and context"></Overload>
3424 </KeyWord>
3425 <KeyWord name="CloseAudioDevice" func="yes">
3426 <Overload retVal="void" descr="Close the audio device and context"></Overload>
3427 </KeyWord>
3428 <KeyWord name="IsAudioDeviceReady" func="yes">
3429 <Overload retVal="bool" descr="Check if audio device has been initialized successfully"></Overload>
3430 </KeyWord>
3431 <KeyWord name="SetMasterVolume" func="yes">
3432 <Overload retVal="void" descr="Set master volume (listener)">
3433 <Param name="float volume" />
3434 </Overload>
3435 </KeyWord>
3436 <KeyWord name="GetMasterVolume" func="yes">
3437 <Overload retVal="float" descr="Get master volume (listener)"></Overload>
3438 </KeyWord>
3439
3440 <!-- Wave/Sound loading/unloading functions -->
3441 <KeyWord name="LoadWave" func="yes">
3442 <Overload retVal="Wave" descr="Load wave data from file">
3443 <Param name="const char *fileName" />
3444 </Overload>
3445 </KeyWord>
3446 <KeyWord name="LoadWaveFromMemory" func="yes">
3447 <Overload retVal="Wave" descr="Load wave from memory buffer, fileType refers to extension: i.e. '.wav'">
3448 <Param name="const char *fileType" />
3449 <Param name="const unsigned char" />
3450 <Param name="int dataSize" />
3451 </Overload>
3452 </KeyWord>
3453 <KeyWord name="IsWaveValid" func="yes">
3454 <Overload retVal="bool" descr="Checks if wave data is valid (data loaded and parameters)">
3455 <Param name="Wave wave" />
3456 </Overload>
3457 </KeyWord>
3458 <KeyWord name="LoadSound" func="yes">
3459 <Overload retVal="Sound" descr="Load sound from file">
3460 <Param name="const char *fileName" />
3461 </Overload>
3462 </KeyWord>
3463 <KeyWord name="LoadSoundFromWave" func="yes">
3464 <Overload retVal="Sound" descr="Load sound from wave data">
3465 <Param name="Wave wave" />
3466 </Overload>
3467 </KeyWord>
3468 <KeyWord name="LoadSoundAlias" func="yes">
3469 <Overload retVal="Sound" descr="Create a new sound that shares the same sample data as the source sound, does not own the sound data">
3470 <Param name="Sound source" />
3471 </Overload>
3472 </KeyWord>
3473 <KeyWord name="IsSoundValid" func="yes">
3474 <Overload retVal="bool" descr="Checks if a sound is valid (data loaded and buffers initialized)">
3475 <Param name="Sound sound" />
3476 </Overload>
3477 </KeyWord>
3478 <KeyWord name="UpdateSound" func="yes">
3479 <Overload retVal="void" descr="Update sound buffer with new data (default data format: 32 bit float, stereo)">
3480 <Param name="Sound sound" />
3481 <Param name="const void *data" />
3482 <Param name="int sampleCount" />
3483 </Overload>
3484 </KeyWord>
3485 <KeyWord name="UnloadWave" func="yes">
3486 <Overload retVal="void" descr="Unload wave data">
3487 <Param name="Wave wave" />
3488 </Overload>
3489 </KeyWord>
3490 <KeyWord name="UnloadSound" func="yes">
3491 <Overload retVal="void" descr="Unload sound">
3492 <Param name="Sound sound" />
3493 </Overload>
3494 </KeyWord>
3495 <KeyWord name="UnloadSoundAlias" func="yes">
3496 <Overload retVal="void" descr="Unload a sound alias (does not deallocate sample data)">
3497 <Param name="Sound alias" />
3498 </Overload>
3499 </KeyWord>
3500 <KeyWord name="ExportWave" func="yes">
3501 <Overload retVal="bool" descr="Export wave data to file, returns true on success">
3502 <Param name="Wave wave" />
3503 <Param name="const char *fileName" />
3504 </Overload>
3505 </KeyWord>
3506 <KeyWord name="ExportWaveAsCode" func="yes">
3507 <Overload retVal="bool" descr="Export wave sample data to code (.h), returns true on success">
3508 <Param name="Wave wave" />
3509 <Param name="const char *fileName" />
3510 </Overload>
3511 </KeyWord>
3512
3513 <!-- Wave/Sound management functions -->
3514 <KeyWord name="PlaySound" func="yes">
3515 <Overload retVal="void" descr="Play a sound">
3516 <Param name="Sound sound" />
3517 </Overload>
3518 </KeyWord>
3519 <KeyWord name="StopSound" func="yes">
3520 <Overload retVal="void" descr="Stop playing a sound">
3521 <Param name="Sound sound" />
3522 </Overload>
3523 </KeyWord>
3524 <KeyWord name="PauseSound" func="yes">
3525 <Overload retVal="void" descr="Pause a sound">
3526 <Param name="Sound sound" />
3527 </Overload>
3528 </KeyWord>
3529 <KeyWord name="ResumeSound" func="yes">
3530 <Overload retVal="void" descr="Resume a paused sound">
3531 <Param name="Sound sound" />
3532 </Overload>
3533 </KeyWord>
3534 <KeyWord name="IsSoundPlaying" func="yes">
3535 <Overload retVal="bool" descr="Check if a sound is currently playing">
3536 <Param name="Sound sound" />
3537 </Overload>
3538 </KeyWord>
3539 <KeyWord name="SetSoundVolume" func="yes">
3540 <Overload retVal="void" descr="Set volume for a sound (1.0 is max level)">
3541 <Param name="Sound sound" />
3542 <Param name="float volume" />
3543 </Overload>
3544 </KeyWord>
3545 <KeyWord name="SetSoundPitch" func="yes">
3546 <Overload retVal="void" descr="Set pitch for a sound (1.0 is base level)">
3547 <Param name="Sound sound" />
3548 <Param name="float pitch" />
3549 </Overload>
3550 </KeyWord>
3551 <KeyWord name="SetSoundPan" func="yes">
3552 <Overload retVal="void" descr="Set pan for a sound (-1.0 left, 0.0 center, 1.0 right)">
3553 <Param name="Sound sound" />
3554 <Param name="float pan" />
3555 </Overload>
3556 </KeyWord>
3557 <KeyWord name="WaveCopy" func="yes">
3558 <Overload retVal="Wave" descr="Copy a wave to a new wave">
3559 <Param name="Wave wave" />
3560 </Overload>
3561 </KeyWord>
3562 <KeyWord name="WaveCrop" func="yes">
3563 <Overload retVal="void" descr="Crop a wave to defined frames range">
3564 <Param name="Wave *wave" />
3565 <Param name="int initFrame" />
3566 <Param name="int finalFrame" />
3567 </Overload>
3568 </KeyWord>
3569 <KeyWord name="WaveFormat" func="yes">
3570 <Overload retVal="void" descr="Convert wave data to desired format">
3571 <Param name="Wave *wave" />
3572 <Param name="int sampleRate" />
3573 <Param name="int sampleSize" />
3574 <Param name="int channels" />
3575 </Overload>
3576 </KeyWord>
3577 <KeyWord name="LoadWaveSamples" func="yes">
3578 <Overload retVal="float" descr="Load samples data from wave as a 32bit float data array">
3579 <Param name="Wave wave" />
3580 </Overload>
3581 </KeyWord>
3582 <KeyWord name="UnloadWaveSamples" func="yes">
3583 <Overload retVal="void" descr="Unload samples data loaded with LoadWaveSamples()">
3584 <Param name="float *samples" />
3585 </Overload>
3586 </KeyWord>
3587
3588 <!-- Music management functions -->
3589 <KeyWord name="LoadMusicStream" func="yes">
3590 <Overload retVal="Music" descr="Load music stream from file">
3591 <Param name="const char *fileName" />
3592 </Overload>
3593 </KeyWord>
3594 <KeyWord name="LoadMusicStreamFromMemory" func="yes">
3595 <Overload retVal="Music" descr="Load music stream from data">
3596 <Param name="const char *fileType" />
3597 <Param name="const unsigned char" />
3598 <Param name="int dataSize" />
3599 </Overload>
3600 </KeyWord>
3601 <KeyWord name="IsMusicValid" func="yes">
3602 <Overload retVal="bool" descr="Checks if a music stream is valid (context and buffers initialized)">
3603 <Param name="Music music" />
3604 </Overload>
3605 </KeyWord>
3606 <KeyWord name="UnloadMusicStream" func="yes">
3607 <Overload retVal="void" descr="Unload music stream">
3608 <Param name="Music music" />
3609 </Overload>
3610 </KeyWord>
3611 <KeyWord name="PlayMusicStream" func="yes">
3612 <Overload retVal="void" descr="Start music playing">
3613 <Param name="Music music" />
3614 </Overload>
3615 </KeyWord>
3616 <KeyWord name="IsMusicStreamPlaying" func="yes">
3617 <Overload retVal="bool" descr="Check if music is playing">
3618 <Param name="Music music" />
3619 </Overload>
3620 </KeyWord>
3621 <KeyWord name="UpdateMusicStream" func="yes">
3622 <Overload retVal="void" descr="Updates buffers for music streaming">
3623 <Param name="Music music" />
3624 </Overload>
3625 </KeyWord>
3626 <KeyWord name="StopMusicStream" func="yes">
3627 <Overload retVal="void" descr="Stop music playing">
3628 <Param name="Music music" />
3629 </Overload>
3630 </KeyWord>
3631 <KeyWord name="PauseMusicStream" func="yes">
3632 <Overload retVal="void" descr="Pause music playing">
3633 <Param name="Music music" />
3634 </Overload>
3635 </KeyWord>
3636 <KeyWord name="ResumeMusicStream" func="yes">
3637 <Overload retVal="void" descr="Resume playing paused music">
3638 <Param name="Music music" />
3639 </Overload>
3640 </KeyWord>
3641 <KeyWord name="SeekMusicStream" func="yes">
3642 <Overload retVal="void" descr="Seek music to a position (in seconds)">
3643 <Param name="Music music" />
3644 <Param name="float position" />
3645 </Overload>
3646 </KeyWord>
3647 <KeyWord name="SetMusicVolume" func="yes">
3648 <Overload retVal="void" descr="Set volume for music (1.0 is max level)">
3649 <Param name="Music music" />
3650 <Param name="float volume" />
3651 </Overload>
3652 </KeyWord>
3653 <KeyWord name="SetMusicPitch" func="yes">
3654 <Overload retVal="void" descr="Set pitch for a music (1.0 is base level)">
3655 <Param name="Music music" />
3656 <Param name="float pitch" />
3657 </Overload>
3658 </KeyWord>
3659 <KeyWord name="SetMusicPan" func="yes">
3660 <Overload retVal="void" descr="Set pan for a music (-1.0 left, 0.0 center, 1.0 right)">
3661 <Param name="Music music" />
3662 <Param name="float pan" />
3663 </Overload>
3664 </KeyWord>
3665 <KeyWord name="GetMusicTimeLength" func="yes">
3666 <Overload retVal="float" descr="Get music time length (in seconds)">
3667 <Param name="Music music" />
3668 </Overload>
3669 </KeyWord>
3670 <KeyWord name="GetMusicTimePlayed" func="yes">
3671 <Overload retVal="float" descr="Get current music time played (in seconds)">
3672 <Param name="Music music" />
3673 </Overload>
3674 </KeyWord>
3675
3676 <!-- AudioStream management functions -->
3677 <KeyWord name="LoadAudioStream" func="yes">
3678 <Overload retVal="AudioStream" descr="Load audio stream (to stream raw audio pcm data)">
3679 <Param name="unsigned int sampleRate" />
3680 <Param name="unsigned int sampleSize" />
3681 <Param name="unsigned int channels" />
3682 </Overload>
3683 </KeyWord>
3684 <KeyWord name="IsAudioStreamValid" func="yes">
3685 <Overload retVal="bool" descr="Checks if an audio stream is valid (buffers initialized)">
3686 <Param name="AudioStream stream" />
3687 </Overload>
3688 </KeyWord>
3689 <KeyWord name="UnloadAudioStream" func="yes">
3690 <Overload retVal="void" descr="Unload audio stream and free memory">
3691 <Param name="AudioStream stream" />
3692 </Overload>
3693 </KeyWord>
3694 <KeyWord name="UpdateAudioStream" func="yes">
3695 <Overload retVal="void" descr="Update audio stream buffers with data">
3696 <Param name="AudioStream stream" />
3697 <Param name="const void *data" />
3698 <Param name="int frameCount" />
3699 </Overload>
3700 </KeyWord>
3701 <KeyWord name="IsAudioStreamProcessed" func="yes">
3702 <Overload retVal="bool" descr="Check if any audio stream buffers requires refill">
3703 <Param name="AudioStream stream" />
3704 </Overload>
3705 </KeyWord>
3706 <KeyWord name="PlayAudioStream" func="yes">
3707 <Overload retVal="void" descr="Play audio stream">
3708 <Param name="AudioStream stream" />
3709 </Overload>
3710 </KeyWord>
3711 <KeyWord name="PauseAudioStream" func="yes">
3712 <Overload retVal="void" descr="Pause audio stream">
3713 <Param name="AudioStream stream" />
3714 </Overload>
3715 </KeyWord>
3716 <KeyWord name="ResumeAudioStream" func="yes">
3717 <Overload retVal="void" descr="Resume audio stream">
3718 <Param name="AudioStream stream" />
3719 </Overload>
3720 </KeyWord>
3721 <KeyWord name="IsAudioStreamPlaying" func="yes">
3722 <Overload retVal="bool" descr="Check if audio stream is playing">
3723 <Param name="AudioStream stream" />
3724 </Overload>
3725 </KeyWord>
3726 <KeyWord name="StopAudioStream" func="yes">
3727 <Overload retVal="void" descr="Stop audio stream">
3728 <Param name="AudioStream stream" />
3729 </Overload>
3730 </KeyWord>
3731 <KeyWord name="SetAudioStreamVolume" func="yes">
3732 <Overload retVal="void" descr="Set volume for audio stream (1.0 is max level)">
3733 <Param name="AudioStream stream" />
3734 <Param name="float volume" />
3735 </Overload>
3736 </KeyWord>
3737 <KeyWord name="SetAudioStreamPitch" func="yes">
3738 <Overload retVal="void" descr="Set pitch for audio stream (1.0 is base level)">
3739 <Param name="AudioStream stream" />
3740 <Param name="float pitch" />
3741 </Overload>
3742 </KeyWord>
3743 <KeyWord name="SetAudioStreamPan" func="yes">
3744 <Overload retVal="void" descr="Set pan for audio stream (-1.0 to 1.0 range, 0.0 is centered)">
3745 <Param name="AudioStream stream" />
3746 <Param name="float pan" />
3747 </Overload>
3748 </KeyWord>
3749 <KeyWord name="SetAudioStreamBufferSizeDefault" func="yes">
3750 <Overload retVal="void" descr="Default size for new audio streams">
3751 <Param name="int size" />
3752 </Overload>
3753 </KeyWord>
3754 <KeyWord name="SetAudioStreamCallback" func="yes">
3755 <Overload retVal="void" descr="Audio thread callback to request new data">
3756 <Param name="AudioStream stream" />
3757 <Param name="AudioCallback callback" />
3758 </Overload>
3759 </KeyWord>
3760
3761 <KeyWord name="AttachAudioStreamProcessor" func="yes">
3762 <Overload retVal="void" descr="Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo)">
3763 <Param name="AudioStream stream" />
3764 <Param name="AudioCallback processor" />
3765 </Overload>
3766 </KeyWord>
3767 <KeyWord name="DetachAudioStreamProcessor" func="yes">
3768 <Overload retVal="void" descr="Detach audio stream processor from stream">
3769 <Param name="AudioStream stream" />
3770 <Param name="AudioCallback processor" />
3771 </Overload>
3772 </KeyWord>
3773
3774 <KeyWord name="AttachAudioMixedProcessor" func="yes">
3775 <Overload retVal="void" descr="Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo)">
3776 <Param name="AudioCallback processor" />
3777 </Overload>
3778 </KeyWord>
3779 <KeyWord name="DetachAudioMixedProcessor" func="yes">
3780 <Overload retVal="void" descr="Detach audio stream processor from the entire audio pipeline">
3781 <Param name="AudioCallback processor" />
3782 </Overload>
3783 </KeyWord>