c_raylib.xml 141 KB

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