raylib_npp.xml 140 KB

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