You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3235 lines
148 KiB

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