raylib_api.lua 175 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816
  1. return {
  2. structs = {
  3. {
  4. name = "Vector2",
  5. description = "",
  6. fields = {
  7. {
  8. name = "x",
  9. type = "float",
  10. description = "Vector x component"
  11. },
  12. {
  13. name = "y",
  14. type = "float",
  15. description = "Vector y component"
  16. }
  17. }
  18. },
  19. {
  20. name = "Vector3",
  21. description = "",
  22. fields = {
  23. {
  24. name = "x",
  25. type = "float",
  26. description = "Vector x component"
  27. },
  28. {
  29. name = "y",
  30. type = "float",
  31. description = "Vector y component"
  32. },
  33. {
  34. name = "z",
  35. type = "float",
  36. description = "Vector z component"
  37. }
  38. }
  39. },
  40. {
  41. name = "Vector4",
  42. description = "",
  43. fields = {
  44. {
  45. name = "x",
  46. type = "float",
  47. description = "Vector x component"
  48. },
  49. {
  50. name = "y",
  51. type = "float",
  52. description = "Vector y component"
  53. },
  54. {
  55. name = "z",
  56. type = "float",
  57. description = "Vector z component"
  58. },
  59. {
  60. name = "w",
  61. type = "float",
  62. description = "Vector w component"
  63. }
  64. }
  65. },
  66. {
  67. name = "Matrix",
  68. description = "",
  69. fields = {
  70. {
  71. name = "m0, m4, m8, m12",
  72. type = "float",
  73. description = "Matrix first row (4 components)"
  74. },
  75. {
  76. name = "m1, m5, m9, m13",
  77. type = "float",
  78. description = "Matrix second row (4 components)"
  79. },
  80. {
  81. name = "m2, m6, m10, m14",
  82. type = "float",
  83. description = "Matrix third row (4 components)"
  84. },
  85. {
  86. name = "m3, m7, m11, m15",
  87. type = "float",
  88. description = "Matrix fourth row (4 components)"
  89. }
  90. }
  91. },
  92. {
  93. name = "Color",
  94. description = "",
  95. fields = {
  96. {
  97. name = "r",
  98. type = "unsigned char",
  99. description = "Color red value"
  100. },
  101. {
  102. name = "g",
  103. type = "unsigned char",
  104. description = "Color green value"
  105. },
  106. {
  107. name = "b",
  108. type = "unsigned char",
  109. description = "Color blue value"
  110. },
  111. {
  112. name = "a",
  113. type = "unsigned char",
  114. description = "Color alpha value"
  115. }
  116. }
  117. },
  118. {
  119. name = "Rectangle",
  120. description = "",
  121. fields = {
  122. {
  123. name = "x",
  124. type = "float",
  125. description = "Rectangle top-left corner position x"
  126. },
  127. {
  128. name = "y",
  129. type = "float",
  130. description = "Rectangle top-left corner position y"
  131. },
  132. {
  133. name = "width",
  134. type = "float",
  135. description = "Rectangle width"
  136. },
  137. {
  138. name = "height",
  139. type = "float",
  140. description = "Rectangle height"
  141. }
  142. }
  143. },
  144. {
  145. name = "Image",
  146. description = "",
  147. fields = {
  148. {
  149. name = "data",
  150. type = "void *",
  151. description = "Image raw data"
  152. },
  153. {
  154. name = "width",
  155. type = "int",
  156. description = "Image base width"
  157. },
  158. {
  159. name = "height",
  160. type = "int",
  161. description = "Image base height"
  162. },
  163. {
  164. name = "mipmaps",
  165. type = "int",
  166. description = "Mipmap levels, 1 by default"
  167. },
  168. {
  169. name = "format",
  170. type = "int",
  171. description = "Data format (PixelFormat type)"
  172. }
  173. }
  174. },
  175. {
  176. name = "Texture",
  177. description = "",
  178. fields = {
  179. {
  180. name = "id",
  181. type = "unsigned int",
  182. description = "OpenGL texture id"
  183. },
  184. {
  185. name = "width",
  186. type = "int",
  187. description = "Texture base width"
  188. },
  189. {
  190. name = "height",
  191. type = "int",
  192. description = "Texture base height"
  193. },
  194. {
  195. name = "mipmaps",
  196. type = "int",
  197. description = "Mipmap levels, 1 by default"
  198. },
  199. {
  200. name = "format",
  201. type = "int",
  202. description = "Data format (PixelFormat type)"
  203. }
  204. }
  205. },
  206. {
  207. name = "RenderTexture",
  208. description = "",
  209. fields = {
  210. {
  211. name = "id",
  212. type = "unsigned int",
  213. description = "OpenGL framebuffer object id"
  214. },
  215. {
  216. name = "texture",
  217. type = "Texture",
  218. description = "Color buffer attachment texture"
  219. },
  220. {
  221. name = "depth",
  222. type = "Texture",
  223. description = "Depth buffer attachment texture"
  224. }
  225. }
  226. },
  227. {
  228. name = "NPatchInfo",
  229. description = "",
  230. fields = {
  231. {
  232. name = "source",
  233. type = "Rectangle",
  234. description = "Texture source rectangle"
  235. },
  236. {
  237. name = "left",
  238. type = "int",
  239. description = "Left border offset"
  240. },
  241. {
  242. name = "top",
  243. type = "int",
  244. description = "Top border offset"
  245. },
  246. {
  247. name = "right",
  248. type = "int",
  249. description = "Right border offset"
  250. },
  251. {
  252. name = "bottom",
  253. type = "int",
  254. description = "Bottom border offset"
  255. },
  256. {
  257. name = "layout",
  258. type = "int",
  259. description = "Layout of the n-patch: 3x3, 1x3 or 3x1"
  260. }
  261. }
  262. },
  263. {
  264. name = "GlyphInfo",
  265. description = "",
  266. fields = {
  267. {
  268. name = "value",
  269. type = "int",
  270. description = "Character value (Unicode)"
  271. },
  272. {
  273. name = "offsetX",
  274. type = "int",
  275. description = "Character offset X when drawing"
  276. },
  277. {
  278. name = "offsetY",
  279. type = "int",
  280. description = "Character offset Y when drawing"
  281. },
  282. {
  283. name = "advanceX",
  284. type = "int",
  285. description = "Character advance position X"
  286. },
  287. {
  288. name = "image",
  289. type = "Image",
  290. description = "Character image data"
  291. }
  292. }
  293. },
  294. {
  295. name = "Font",
  296. description = "",
  297. fields = {
  298. {
  299. name = "baseSize",
  300. type = "int",
  301. description = "Base size (default chars height)"
  302. },
  303. {
  304. name = "glyphCount",
  305. type = "int",
  306. description = "Number of glyph characters"
  307. },
  308. {
  309. name = "glyphPadding",
  310. type = "int",
  311. description = "Padding around the glyph characters"
  312. },
  313. {
  314. name = "texture",
  315. type = "Texture2D",
  316. description = "Texture atlas containing the glyphs"
  317. },
  318. {
  319. name = "recs",
  320. type = "Rectangle *",
  321. description = "Rectangles in texture for the glyphs"
  322. },
  323. {
  324. name = "glyphs",
  325. type = "GlyphInfo *",
  326. description = "Glyphs info data"
  327. }
  328. }
  329. },
  330. {
  331. name = "Camera3D",
  332. description = "",
  333. fields = {
  334. {
  335. name = "position",
  336. type = "Vector3",
  337. description = "Camera position"
  338. },
  339. {
  340. name = "target",
  341. type = "Vector3",
  342. description = "Camera target it looks-at"
  343. },
  344. {
  345. name = "up",
  346. type = "Vector3",
  347. description = "Camera up vector (rotation over its axis)"
  348. },
  349. {
  350. name = "fovy",
  351. type = "float",
  352. description = "Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic"
  353. },
  354. {
  355. name = "projection",
  356. type = "int",
  357. description = "Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC"
  358. }
  359. }
  360. },
  361. {
  362. name = "Camera2D",
  363. description = "",
  364. fields = {
  365. {
  366. name = "offset",
  367. type = "Vector2",
  368. description = "Camera offset (displacement from target)"
  369. },
  370. {
  371. name = "target",
  372. type = "Vector2",
  373. description = "Camera target (rotation and zoom origin)"
  374. },
  375. {
  376. name = "rotation",
  377. type = "float",
  378. description = "Camera rotation in degrees"
  379. },
  380. {
  381. name = "zoom",
  382. type = "float",
  383. description = "Camera zoom (scaling), should be 1.0f by default"
  384. }
  385. }
  386. },
  387. {
  388. name = "Mesh",
  389. description = "",
  390. fields = {
  391. {
  392. name = "vertexCount",
  393. type = "int",
  394. description = "Number of vertices stored in arrays"
  395. },
  396. {
  397. name = "triangleCount",
  398. type = "int",
  399. description = "Number of triangles stored (indexed or not)"
  400. },
  401. {
  402. name = "vertices",
  403. type = "float *",
  404. description = "Vertex position (XYZ - 3 components per vertex) (shader-location = 0)"
  405. },
  406. {
  407. name = "texcoords",
  408. type = "float *",
  409. description = "Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)"
  410. },
  411. {
  412. name = "texcoords2",
  413. type = "float *",
  414. description = "Vertex second texture coordinates (useful for lightmaps) (shader-location = 5)"
  415. },
  416. {
  417. name = "normals",
  418. type = "float *",
  419. description = "Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)"
  420. },
  421. {
  422. name = "tangents",
  423. type = "float *",
  424. description = "Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)"
  425. },
  426. {
  427. name = "colors",
  428. type = "unsigned char *",
  429. description = "Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)"
  430. },
  431. {
  432. name = "indices",
  433. type = "unsigned short *",
  434. description = "Vertex indices (in case vertex data comes indexed)"
  435. },
  436. {
  437. name = "animVertices",
  438. type = "float *",
  439. description = "Animated vertex positions (after bones transformations)"
  440. },
  441. {
  442. name = "animNormals",
  443. type = "float *",
  444. description = "Animated normals (after bones transformations)"
  445. },
  446. {
  447. name = "boneIds",
  448. type = "unsigned char *",
  449. description = "Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)"
  450. },
  451. {
  452. name = "boneWeights",
  453. type = "float *",
  454. description = "Vertex bone weight, up to 4 bones influence by vertex (skinning)"
  455. },
  456. {
  457. name = "vaoId",
  458. type = "unsigned int",
  459. description = "OpenGL Vertex Array Object id"
  460. },
  461. {
  462. name = "vboId",
  463. type = "unsigned int *",
  464. description = "OpenGL Vertex Buffer Objects id (default vertex data)"
  465. }
  466. }
  467. },
  468. {
  469. name = "Shader",
  470. description = "",
  471. fields = {
  472. {
  473. name = "id",
  474. type = "unsigned int",
  475. description = "Shader program id"
  476. },
  477. {
  478. name = "locs",
  479. type = "int *",
  480. description = "Shader locations array (RL_MAX_SHADER_LOCATIONS)"
  481. }
  482. }
  483. },
  484. {
  485. name = "MaterialMap",
  486. description = "",
  487. fields = {
  488. {
  489. name = "texture",
  490. type = "Texture2D",
  491. description = "Material map texture"
  492. },
  493. {
  494. name = "color",
  495. type = "Color",
  496. description = "Material map color"
  497. },
  498. {
  499. name = "value",
  500. type = "float",
  501. description = "Material map value"
  502. }
  503. }
  504. },
  505. {
  506. name = "Material",
  507. description = "",
  508. fields = {
  509. {
  510. name = "shader",
  511. type = "Shader",
  512. description = "Material shader"
  513. },
  514. {
  515. name = "maps",
  516. type = "MaterialMap *",
  517. description = "Material maps array (MAX_MATERIAL_MAPS)"
  518. },
  519. {
  520. name = "params[4]",
  521. type = "float",
  522. description = "Material generic parameters (if required)"
  523. }
  524. }
  525. },
  526. {
  527. name = "Transform",
  528. description = "",
  529. fields = {
  530. {
  531. name = "translation",
  532. type = "Vector3",
  533. description = "Translation"
  534. },
  535. {
  536. name = "rotation",
  537. type = "Quaternion",
  538. description = "Rotation"
  539. },
  540. {
  541. name = "scale",
  542. type = "Vector3",
  543. description = "Scale"
  544. }
  545. }
  546. },
  547. {
  548. name = "BoneInfo",
  549. description = "",
  550. fields = {
  551. {
  552. name = "name[32]",
  553. type = "char",
  554. description = "Bone name"
  555. },
  556. {
  557. name = "parent",
  558. type = "int",
  559. description = "Bone parent"
  560. }
  561. }
  562. },
  563. {
  564. name = "Model",
  565. description = "",
  566. fields = {
  567. {
  568. name = "transform",
  569. type = "Matrix",
  570. description = "Local transform matrix"
  571. },
  572. {
  573. name = "meshCount",
  574. type = "int",
  575. description = "Number of meshes"
  576. },
  577. {
  578. name = "materialCount",
  579. type = "int",
  580. description = "Number of materials"
  581. },
  582. {
  583. name = "meshes",
  584. type = "Mesh *",
  585. description = "Meshes array"
  586. },
  587. {
  588. name = "materials",
  589. type = "Material *",
  590. description = "Materials array"
  591. },
  592. {
  593. name = "meshMaterial",
  594. type = "int *",
  595. description = "Mesh material number"
  596. },
  597. {
  598. name = "boneCount",
  599. type = "int",
  600. description = "Number of bones"
  601. },
  602. {
  603. name = "bones",
  604. type = "BoneInfo *",
  605. description = "Bones information (skeleton)"
  606. },
  607. {
  608. name = "bindPose",
  609. type = "Transform *",
  610. description = "Bones base transformation (pose)"
  611. }
  612. }
  613. },
  614. {
  615. name = "ModelAnimation",
  616. description = "",
  617. fields = {
  618. {
  619. name = "boneCount",
  620. type = "int",
  621. description = "Number of bones"
  622. },
  623. {
  624. name = "frameCount",
  625. type = "int",
  626. description = "Number of animation frames"
  627. },
  628. {
  629. name = "bones",
  630. type = "BoneInfo *",
  631. description = "Bones information (skeleton)"
  632. },
  633. {
  634. name = "framePoses",
  635. type = "Transform **",
  636. description = "Poses array by frame"
  637. }
  638. }
  639. },
  640. {
  641. name = "Ray",
  642. description = "",
  643. fields = {
  644. {
  645. name = "position",
  646. type = "Vector3",
  647. description = "Ray position (origin)"
  648. },
  649. {
  650. name = "direction",
  651. type = "Vector3",
  652. description = "Ray direction"
  653. }
  654. }
  655. },
  656. {
  657. name = "RayCollision",
  658. description = "",
  659. fields = {
  660. {
  661. name = "hit",
  662. type = "bool",
  663. description = "Did the ray hit something?"
  664. },
  665. {
  666. name = "distance",
  667. type = "float",
  668. description = "Distance to nearest hit"
  669. },
  670. {
  671. name = "point",
  672. type = "Vector3",
  673. description = "Point of nearest hit"
  674. },
  675. {
  676. name = "normal",
  677. type = "Vector3",
  678. description = "Surface normal of hit"
  679. }
  680. }
  681. },
  682. {
  683. name = "BoundingBox",
  684. description = "",
  685. fields = {
  686. {
  687. name = "min",
  688. type = "Vector3",
  689. description = "Minimum vertex box-corner"
  690. },
  691. {
  692. name = "max",
  693. type = "Vector3",
  694. description = "Maximum vertex box-corner"
  695. }
  696. }
  697. },
  698. {
  699. name = "Wave",
  700. description = "",
  701. fields = {
  702. {
  703. name = "frameCount",
  704. type = "unsigned int",
  705. description = "Total number of frames (considering channels)"
  706. },
  707. {
  708. name = "sampleRate",
  709. type = "unsigned int",
  710. description = "Frequency (samples per second)"
  711. },
  712. {
  713. name = "sampleSize",
  714. type = "unsigned int",
  715. description = "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
  716. },
  717. {
  718. name = "channels",
  719. type = "unsigned int",
  720. description = "Number of channels (1-mono, 2-stereo, ...)"
  721. },
  722. {
  723. name = "data",
  724. type = "void *",
  725. description = "Buffer data pointer"
  726. }
  727. }
  728. },
  729. {
  730. name = "AudioStream",
  731. description = "",
  732. fields = {
  733. {
  734. name = "buffer",
  735. type = "rAudioBuffer *",
  736. description = "Pointer to internal data used by the audio system"
  737. },
  738. {
  739. name = "sampleRate",
  740. type = "unsigned int",
  741. description = "Frequency (samples per second)"
  742. },
  743. {
  744. name = "sampleSize",
  745. type = "unsigned int",
  746. description = "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
  747. },
  748. {
  749. name = "channels",
  750. type = "unsigned int",
  751. description = "Number of channels (1-mono, 2-stereo, ...)"
  752. }
  753. }
  754. },
  755. {
  756. name = "Sound",
  757. description = "",
  758. fields = {
  759. {
  760. name = "stream",
  761. type = "AudioStream",
  762. description = "Audio stream"
  763. },
  764. {
  765. name = "frameCount",
  766. type = "unsigned int",
  767. description = "Total number of frames (considering channels)"
  768. }
  769. }
  770. },
  771. {
  772. name = "Music",
  773. description = "",
  774. fields = {
  775. {
  776. name = "stream",
  777. type = "AudioStream",
  778. description = "Audio stream"
  779. },
  780. {
  781. name = "frameCount",
  782. type = "unsigned int",
  783. description = "Total number of frames (considering channels)"
  784. },
  785. {
  786. name = "looping",
  787. type = "bool",
  788. description = "Music looping enable"
  789. },
  790. {
  791. name = "ctxType",
  792. type = "int",
  793. description = "Type of music context (audio filetype)"
  794. },
  795. {
  796. name = "ctxData",
  797. type = "void *",
  798. description = "Audio context data, depends on type"
  799. }
  800. }
  801. },
  802. {
  803. name = "VrDeviceInfo",
  804. description = "",
  805. fields = {
  806. {
  807. name = "hResolution",
  808. type = "int",
  809. description = "Horizontal resolution in pixels"
  810. },
  811. {
  812. name = "vResolution",
  813. type = "int",
  814. description = "Vertical resolution in pixels"
  815. },
  816. {
  817. name = "hScreenSize",
  818. type = "float",
  819. description = "Horizontal size in meters"
  820. },
  821. {
  822. name = "vScreenSize",
  823. type = "float",
  824. description = "Vertical size in meters"
  825. },
  826. {
  827. name = "vScreenCenter",
  828. type = "float",
  829. description = "Screen center in meters"
  830. },
  831. {
  832. name = "eyeToScreenDistance",
  833. type = "float",
  834. description = "Distance between eye and display in meters"
  835. },
  836. {
  837. name = "lensSeparationDistance",
  838. type = "float",
  839. description = "Lens separation distance in meters"
  840. },
  841. {
  842. name = "interpupillaryDistance",
  843. type = "float",
  844. description = "IPD (distance between pupils) in meters"
  845. },
  846. {
  847. name = "lensDistortionValues[4]",
  848. type = "float",
  849. description = "Lens distortion constant parameters"
  850. },
  851. {
  852. name = "chromaAbCorrection[4]",
  853. type = "float",
  854. description = "Chromatic aberration correction parameters"
  855. }
  856. }
  857. },
  858. {
  859. name = "VrStereoConfig",
  860. description = "",
  861. fields = {
  862. {
  863. name = "projection[2]",
  864. type = "Matrix",
  865. description = "VR projection matrices (per eye)"
  866. },
  867. {
  868. name = "viewOffset[2]",
  869. type = "Matrix",
  870. description = "VR view offset matrices (per eye)"
  871. },
  872. {
  873. name = "leftLensCenter[2]",
  874. type = "float",
  875. description = "VR left lens center"
  876. },
  877. {
  878. name = "rightLensCenter[2]",
  879. type = "float",
  880. description = "VR right lens center"
  881. },
  882. {
  883. name = "leftScreenCenter[2]",
  884. type = "float",
  885. description = "VR left screen center"
  886. },
  887. {
  888. name = "rightScreenCenter[2]",
  889. type = "float",
  890. description = "VR right screen center"
  891. },
  892. {
  893. name = "scale[2]",
  894. type = "float",
  895. description = "VR distortion scale"
  896. },
  897. {
  898. name = "scaleIn[2]",
  899. type = "float",
  900. description = "VR distortion scale in"
  901. }
  902. }
  903. }
  904. },
  905. enums = {
  906. {
  907. name = "ConfigFlags",
  908. description = "",
  909. values = {
  910. {
  911. name = "FLAG_VSYNC_HINT",
  912. value = 64,
  913. description = ""
  914. },
  915. {
  916. name = "FLAG_FULLSCREEN_MODE",
  917. value = 2,
  918. description = ""
  919. },
  920. {
  921. name = "FLAG_WINDOW_RESIZABLE",
  922. value = 4,
  923. description = ""
  924. },
  925. {
  926. name = "FLAG_WINDOW_UNDECORATED",
  927. value = 8,
  928. description = ""
  929. },
  930. {
  931. name = "FLAG_WINDOW_HIDDEN",
  932. value = 128,
  933. description = ""
  934. },
  935. {
  936. name = "FLAG_WINDOW_MINIMIZED",
  937. value = 512,
  938. description = ""
  939. },
  940. {
  941. name = "FLAG_WINDOW_MAXIMIZED",
  942. value = 1024,
  943. description = ""
  944. },
  945. {
  946. name = "FLAG_WINDOW_UNFOCUSED",
  947. value = 2048,
  948. description = ""
  949. },
  950. {
  951. name = "FLAG_WINDOW_TOPMOST",
  952. value = 4096,
  953. description = ""
  954. },
  955. {
  956. name = "FLAG_WINDOW_ALWAYS_RUN",
  957. value = 256,
  958. description = ""
  959. },
  960. {
  961. name = "FLAG_WINDOW_TRANSPARENT",
  962. value = 16,
  963. description = ""
  964. },
  965. {
  966. name = "FLAG_WINDOW_HIGHDPI",
  967. value = 8192,
  968. description = ""
  969. },
  970. {
  971. name = "FLAG_MSAA_4X_HINT",
  972. value = 32,
  973. description = ""
  974. },
  975. {
  976. name = "FLAG_INTERLACED_HINT",
  977. value = 65536,
  978. description = ""
  979. }
  980. }
  981. },
  982. {
  983. name = "TraceLogLevel",
  984. description = "",
  985. values = {
  986. {
  987. name = "LOG_ALL",
  988. value = 0,
  989. description = ""
  990. },
  991. {
  992. name = "LOG_TRACE",
  993. value = 1,
  994. description = ""
  995. },
  996. {
  997. name = "LOG_DEBUG",
  998. value = 2,
  999. description = ""
  1000. },
  1001. {
  1002. name = "LOG_INFO",
  1003. value = 3,
  1004. description = ""
  1005. },
  1006. {
  1007. name = "LOG_WARNING",
  1008. value = 4,
  1009. description = ""
  1010. },
  1011. {
  1012. name = "LOG_ERROR",
  1013. value = 5,
  1014. description = ""
  1015. },
  1016. {
  1017. name = "LOG_FATAL",
  1018. value = 6,
  1019. description = ""
  1020. },
  1021. {
  1022. name = "LOG_NONE",
  1023. value = 7,
  1024. description = ""
  1025. }
  1026. }
  1027. },
  1028. {
  1029. name = "KeyboardKey",
  1030. description = "",
  1031. values = {
  1032. {
  1033. name = "KEY_NULL",
  1034. value = 0,
  1035. description = ""
  1036. },
  1037. {
  1038. name = "KEY_APOSTROPHE",
  1039. value = 39,
  1040. description = ""
  1041. },
  1042. {
  1043. name = "KEY_COMMA",
  1044. value = 44,
  1045. description = ""
  1046. },
  1047. {
  1048. name = "KEY_MINUS",
  1049. value = 45,
  1050. description = ""
  1051. },
  1052. {
  1053. name = "KEY_PERIOD",
  1054. value = 46,
  1055. description = ""
  1056. },
  1057. {
  1058. name = "KEY_SLASH",
  1059. value = 47,
  1060. description = ""
  1061. },
  1062. {
  1063. name = "KEY_ZERO",
  1064. value = 48,
  1065. description = ""
  1066. },
  1067. {
  1068. name = "KEY_ONE",
  1069. value = 49,
  1070. description = ""
  1071. },
  1072. {
  1073. name = "KEY_TWO",
  1074. value = 50,
  1075. description = ""
  1076. },
  1077. {
  1078. name = "KEY_THREE",
  1079. value = 51,
  1080. description = ""
  1081. },
  1082. {
  1083. name = "KEY_FOUR",
  1084. value = 52,
  1085. description = ""
  1086. },
  1087. {
  1088. name = "KEY_FIVE",
  1089. value = 53,
  1090. description = ""
  1091. },
  1092. {
  1093. name = "KEY_SIX",
  1094. value = 54,
  1095. description = ""
  1096. },
  1097. {
  1098. name = "KEY_SEVEN",
  1099. value = 55,
  1100. description = ""
  1101. },
  1102. {
  1103. name = "KEY_EIGHT",
  1104. value = 56,
  1105. description = ""
  1106. },
  1107. {
  1108. name = "KEY_NINE",
  1109. value = 57,
  1110. description = ""
  1111. },
  1112. {
  1113. name = "KEY_SEMICOLON",
  1114. value = 59,
  1115. description = ""
  1116. },
  1117. {
  1118. name = "KEY_EQUAL",
  1119. value = 61,
  1120. description = ""
  1121. },
  1122. {
  1123. name = "KEY_A",
  1124. value = 65,
  1125. description = ""
  1126. },
  1127. {
  1128. name = "KEY_B",
  1129. value = 66,
  1130. description = ""
  1131. },
  1132. {
  1133. name = "KEY_C",
  1134. value = 67,
  1135. description = ""
  1136. },
  1137. {
  1138. name = "KEY_D",
  1139. value = 68,
  1140. description = ""
  1141. },
  1142. {
  1143. name = "KEY_E",
  1144. value = 69,
  1145. description = ""
  1146. },
  1147. {
  1148. name = "KEY_F",
  1149. value = 70,
  1150. description = ""
  1151. },
  1152. {
  1153. name = "KEY_G",
  1154. value = 71,
  1155. description = ""
  1156. },
  1157. {
  1158. name = "KEY_H",
  1159. value = 72,
  1160. description = ""
  1161. },
  1162. {
  1163. name = "KEY_I",
  1164. value = 73,
  1165. description = ""
  1166. },
  1167. {
  1168. name = "KEY_J",
  1169. value = 74,
  1170. description = ""
  1171. },
  1172. {
  1173. name = "KEY_K",
  1174. value = 75,
  1175. description = ""
  1176. },
  1177. {
  1178. name = "KEY_L",
  1179. value = 76,
  1180. description = ""
  1181. },
  1182. {
  1183. name = "KEY_M",
  1184. value = 77,
  1185. description = ""
  1186. },
  1187. {
  1188. name = "KEY_N",
  1189. value = 78,
  1190. description = ""
  1191. },
  1192. {
  1193. name = "KEY_O",
  1194. value = 79,
  1195. description = ""
  1196. },
  1197. {
  1198. name = "KEY_P",
  1199. value = 80,
  1200. description = ""
  1201. },
  1202. {
  1203. name = "KEY_Q",
  1204. value = 81,
  1205. description = ""
  1206. },
  1207. {
  1208. name = "KEY_R",
  1209. value = 82,
  1210. description = ""
  1211. },
  1212. {
  1213. name = "KEY_S",
  1214. value = 83,
  1215. description = ""
  1216. },
  1217. {
  1218. name = "KEY_T",
  1219. value = 84,
  1220. description = ""
  1221. },
  1222. {
  1223. name = "KEY_U",
  1224. value = 85,
  1225. description = ""
  1226. },
  1227. {
  1228. name = "KEY_V",
  1229. value = 86,
  1230. description = ""
  1231. },
  1232. {
  1233. name = "KEY_W",
  1234. value = 87,
  1235. description = ""
  1236. },
  1237. {
  1238. name = "KEY_X",
  1239. value = 88,
  1240. description = ""
  1241. },
  1242. {
  1243. name = "KEY_Y",
  1244. value = 89,
  1245. description = ""
  1246. },
  1247. {
  1248. name = "KEY_Z",
  1249. value = 90,
  1250. description = ""
  1251. },
  1252. {
  1253. name = "KEY_LEFT_BRACKET",
  1254. value = 91,
  1255. description = ""
  1256. },
  1257. {
  1258. name = "KEY_BACKSLASH",
  1259. value = 92,
  1260. description = ""
  1261. },
  1262. {
  1263. name = "KEY_RIGHT_BRACKET",
  1264. value = 93,
  1265. description = ""
  1266. },
  1267. {
  1268. name = "KEY_GRAVE",
  1269. value = 96,
  1270. description = ""
  1271. },
  1272. {
  1273. name = "KEY_SPACE",
  1274. value = 32,
  1275. description = ""
  1276. },
  1277. {
  1278. name = "KEY_ESCAPE",
  1279. value = 256,
  1280. description = ""
  1281. },
  1282. {
  1283. name = "KEY_ENTER",
  1284. value = 257,
  1285. description = ""
  1286. },
  1287. {
  1288. name = "KEY_TAB",
  1289. value = 258,
  1290. description = ""
  1291. },
  1292. {
  1293. name = "KEY_BACKSPACE",
  1294. value = 259,
  1295. description = ""
  1296. },
  1297. {
  1298. name = "KEY_INSERT",
  1299. value = 260,
  1300. description = ""
  1301. },
  1302. {
  1303. name = "KEY_DELETE",
  1304. value = 261,
  1305. description = ""
  1306. },
  1307. {
  1308. name = "KEY_RIGHT",
  1309. value = 262,
  1310. description = ""
  1311. },
  1312. {
  1313. name = "KEY_LEFT",
  1314. value = 263,
  1315. description = ""
  1316. },
  1317. {
  1318. name = "KEY_DOWN",
  1319. value = 264,
  1320. description = ""
  1321. },
  1322. {
  1323. name = "KEY_UP",
  1324. value = 265,
  1325. description = ""
  1326. },
  1327. {
  1328. name = "KEY_PAGE_UP",
  1329. value = 266,
  1330. description = ""
  1331. },
  1332. {
  1333. name = "KEY_PAGE_DOWN",
  1334. value = 267,
  1335. description = ""
  1336. },
  1337. {
  1338. name = "KEY_HOME",
  1339. value = 268,
  1340. description = ""
  1341. },
  1342. {
  1343. name = "KEY_END",
  1344. value = 269,
  1345. description = ""
  1346. },
  1347. {
  1348. name = "KEY_CAPS_LOCK",
  1349. value = 280,
  1350. description = ""
  1351. },
  1352. {
  1353. name = "KEY_SCROLL_LOCK",
  1354. value = 281,
  1355. description = ""
  1356. },
  1357. {
  1358. name = "KEY_NUM_LOCK",
  1359. value = 282,
  1360. description = ""
  1361. },
  1362. {
  1363. name = "KEY_PRINT_SCREEN",
  1364. value = 283,
  1365. description = ""
  1366. },
  1367. {
  1368. name = "KEY_PAUSE",
  1369. value = 284,
  1370. description = ""
  1371. },
  1372. {
  1373. name = "KEY_F1",
  1374. value = 290,
  1375. description = ""
  1376. },
  1377. {
  1378. name = "KEY_F2",
  1379. value = 291,
  1380. description = ""
  1381. },
  1382. {
  1383. name = "KEY_F3",
  1384. value = 292,
  1385. description = ""
  1386. },
  1387. {
  1388. name = "KEY_F4",
  1389. value = 293,
  1390. description = ""
  1391. },
  1392. {
  1393. name = "KEY_F5",
  1394. value = 294,
  1395. description = ""
  1396. },
  1397. {
  1398. name = "KEY_F6",
  1399. value = 295,
  1400. description = ""
  1401. },
  1402. {
  1403. name = "KEY_F7",
  1404. value = 296,
  1405. description = ""
  1406. },
  1407. {
  1408. name = "KEY_F8",
  1409. value = 297,
  1410. description = ""
  1411. },
  1412. {
  1413. name = "KEY_F9",
  1414. value = 298,
  1415. description = ""
  1416. },
  1417. {
  1418. name = "KEY_F10",
  1419. value = 299,
  1420. description = ""
  1421. },
  1422. {
  1423. name = "KEY_F11",
  1424. value = 300,
  1425. description = ""
  1426. },
  1427. {
  1428. name = "KEY_F12",
  1429. value = 301,
  1430. description = ""
  1431. },
  1432. {
  1433. name = "KEY_LEFT_SHIFT",
  1434. value = 340,
  1435. description = ""
  1436. },
  1437. {
  1438. name = "KEY_LEFT_CONTROL",
  1439. value = 341,
  1440. description = ""
  1441. },
  1442. {
  1443. name = "KEY_LEFT_ALT",
  1444. value = 342,
  1445. description = ""
  1446. },
  1447. {
  1448. name = "KEY_LEFT_SUPER",
  1449. value = 343,
  1450. description = ""
  1451. },
  1452. {
  1453. name = "KEY_RIGHT_SHIFT",
  1454. value = 344,
  1455. description = ""
  1456. },
  1457. {
  1458. name = "KEY_RIGHT_CONTROL",
  1459. value = 345,
  1460. description = ""
  1461. },
  1462. {
  1463. name = "KEY_RIGHT_ALT",
  1464. value = 346,
  1465. description = ""
  1466. },
  1467. {
  1468. name = "KEY_RIGHT_SUPER",
  1469. value = 347,
  1470. description = ""
  1471. },
  1472. {
  1473. name = "KEY_KB_MENU",
  1474. value = 348,
  1475. description = ""
  1476. },
  1477. {
  1478. name = "KEY_KP_0",
  1479. value = 320,
  1480. description = ""
  1481. },
  1482. {
  1483. name = "KEY_KP_1",
  1484. value = 321,
  1485. description = ""
  1486. },
  1487. {
  1488. name = "KEY_KP_2",
  1489. value = 322,
  1490. description = ""
  1491. },
  1492. {
  1493. name = "KEY_KP_3",
  1494. value = 323,
  1495. description = ""
  1496. },
  1497. {
  1498. name = "KEY_KP_4",
  1499. value = 324,
  1500. description = ""
  1501. },
  1502. {
  1503. name = "KEY_KP_5",
  1504. value = 325,
  1505. description = ""
  1506. },
  1507. {
  1508. name = "KEY_KP_6",
  1509. value = 326,
  1510. description = ""
  1511. },
  1512. {
  1513. name = "KEY_KP_7",
  1514. value = 327,
  1515. description = ""
  1516. },
  1517. {
  1518. name = "KEY_KP_8",
  1519. value = 328,
  1520. description = ""
  1521. },
  1522. {
  1523. name = "KEY_KP_9",
  1524. value = 329,
  1525. description = ""
  1526. },
  1527. {
  1528. name = "KEY_KP_DECIMAL",
  1529. value = 330,
  1530. description = ""
  1531. },
  1532. {
  1533. name = "KEY_KP_DIVIDE",
  1534. value = 331,
  1535. description = ""
  1536. },
  1537. {
  1538. name = "KEY_KP_MULTIPLY",
  1539. value = 332,
  1540. description = ""
  1541. },
  1542. {
  1543. name = "KEY_KP_SUBTRACT",
  1544. value = 333,
  1545. description = ""
  1546. },
  1547. {
  1548. name = "KEY_KP_ADD",
  1549. value = 334,
  1550. description = ""
  1551. },
  1552. {
  1553. name = "KEY_KP_ENTER",
  1554. value = 335,
  1555. description = ""
  1556. },
  1557. {
  1558. name = "KEY_KP_EQUAL",
  1559. value = 336,
  1560. description = ""
  1561. },
  1562. {
  1563. name = "KEY_BACK",
  1564. value = 4,
  1565. description = ""
  1566. },
  1567. {
  1568. name = "KEY_MENU",
  1569. value = 82,
  1570. description = ""
  1571. },
  1572. {
  1573. name = "KEY_VOLUME_UP",
  1574. value = 24,
  1575. description = ""
  1576. },
  1577. {
  1578. name = "KEY_VOLUME_DOWN",
  1579. value = 25,
  1580. description = ""
  1581. }
  1582. }
  1583. },
  1584. {
  1585. name = "MouseButton",
  1586. description = "",
  1587. values = {
  1588. {
  1589. name = "MOUSE_BUTTON_LEFT",
  1590. value = 0,
  1591. description = ""
  1592. },
  1593. {
  1594. name = "MOUSE_BUTTON_RIGHT",
  1595. value = 1,
  1596. description = ""
  1597. },
  1598. {
  1599. name = "MOUSE_BUTTON_MIDDLE",
  1600. value = 2,
  1601. description = ""
  1602. },
  1603. {
  1604. name = "MOUSE_BUTTON_SIDE",
  1605. value = 3,
  1606. description = ""
  1607. },
  1608. {
  1609. name = "MOUSE_BUTTON_EXTRA",
  1610. value = 4,
  1611. description = ""
  1612. },
  1613. {
  1614. name = "MOUSE_BUTTON_FORWARD",
  1615. value = 5,
  1616. description = ""
  1617. },
  1618. {
  1619. name = "MOUSE_BUTTON_BACK",
  1620. value = 6,
  1621. description = ""
  1622. }
  1623. }
  1624. },
  1625. {
  1626. name = "MouseCursor",
  1627. description = "",
  1628. values = {
  1629. {
  1630. name = "MOUSE_CURSOR_DEFAULT",
  1631. value = 0,
  1632. description = ""
  1633. },
  1634. {
  1635. name = "MOUSE_CURSOR_ARROW",
  1636. value = 1,
  1637. description = ""
  1638. },
  1639. {
  1640. name = "MOUSE_CURSOR_IBEAM",
  1641. value = 2,
  1642. description = ""
  1643. },
  1644. {
  1645. name = "MOUSE_CURSOR_CROSSHAIR",
  1646. value = 3,
  1647. description = ""
  1648. },
  1649. {
  1650. name = "MOUSE_CURSOR_POINTING_HAND",
  1651. value = 4,
  1652. description = ""
  1653. },
  1654. {
  1655. name = "MOUSE_CURSOR_RESIZE_EW",
  1656. value = 5,
  1657. description = ""
  1658. },
  1659. {
  1660. name = "MOUSE_CURSOR_RESIZE_NS",
  1661. value = 6,
  1662. description = ""
  1663. },
  1664. {
  1665. name = "MOUSE_CURSOR_RESIZE_NWSE",
  1666. value = 7,
  1667. description = ""
  1668. },
  1669. {
  1670. name = "MOUSE_CURSOR_RESIZE_NESW",
  1671. value = 8,
  1672. description = ""
  1673. },
  1674. {
  1675. name = "MOUSE_CURSOR_RESIZE_ALL",
  1676. value = 9,
  1677. description = ""
  1678. },
  1679. {
  1680. name = "MOUSE_CURSOR_NOT_ALLOWED",
  1681. value = 10,
  1682. description = ""
  1683. }
  1684. }
  1685. },
  1686. {
  1687. name = "GamepadButton",
  1688. description = "",
  1689. values = {
  1690. {
  1691. name = "GAMEPAD_BUTTON_UNKNOWN",
  1692. value = 0,
  1693. description = ""
  1694. },
  1695. {
  1696. name = "GAMEPAD_BUTTON_LEFT_FACE_UP",
  1697. value = 1,
  1698. description = ""
  1699. },
  1700. {
  1701. name = "GAMEPAD_BUTTON_LEFT_FACE_RIGHT",
  1702. value = 2,
  1703. description = ""
  1704. },
  1705. {
  1706. name = "GAMEPAD_BUTTON_LEFT_FACE_DOWN",
  1707. value = 3,
  1708. description = ""
  1709. },
  1710. {
  1711. name = "GAMEPAD_BUTTON_LEFT_FACE_LEFT",
  1712. value = 4,
  1713. description = ""
  1714. },
  1715. {
  1716. name = "GAMEPAD_BUTTON_RIGHT_FACE_UP",
  1717. value = 5,
  1718. description = ""
  1719. },
  1720. {
  1721. name = "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT",
  1722. value = 6,
  1723. description = ""
  1724. },
  1725. {
  1726. name = "GAMEPAD_BUTTON_RIGHT_FACE_DOWN",
  1727. value = 7,
  1728. description = ""
  1729. },
  1730. {
  1731. name = "GAMEPAD_BUTTON_RIGHT_FACE_LEFT",
  1732. value = 8,
  1733. description = ""
  1734. },
  1735. {
  1736. name = "GAMEPAD_BUTTON_LEFT_TRIGGER_1",
  1737. value = 9,
  1738. description = ""
  1739. },
  1740. {
  1741. name = "GAMEPAD_BUTTON_LEFT_TRIGGER_2",
  1742. value = 10,
  1743. description = ""
  1744. },
  1745. {
  1746. name = "GAMEPAD_BUTTON_RIGHT_TRIGGER_1",
  1747. value = 11,
  1748. description = ""
  1749. },
  1750. {
  1751. name = "GAMEPAD_BUTTON_RIGHT_TRIGGER_2",
  1752. value = 12,
  1753. description = ""
  1754. },
  1755. {
  1756. name = "GAMEPAD_BUTTON_MIDDLE_LEFT",
  1757. value = 13,
  1758. description = ""
  1759. },
  1760. {
  1761. name = "GAMEPAD_BUTTON_MIDDLE",
  1762. value = 14,
  1763. description = ""
  1764. },
  1765. {
  1766. name = "GAMEPAD_BUTTON_MIDDLE_RIGHT",
  1767. value = 15,
  1768. description = ""
  1769. },
  1770. {
  1771. name = "GAMEPAD_BUTTON_LEFT_THUMB",
  1772. value = 16,
  1773. description = ""
  1774. },
  1775. {
  1776. name = "GAMEPAD_BUTTON_RIGHT_THUMB",
  1777. value = 17,
  1778. description = ""
  1779. }
  1780. }
  1781. },
  1782. {
  1783. name = "GamepadAxis",
  1784. description = "",
  1785. values = {
  1786. {
  1787. name = "GAMEPAD_AXIS_LEFT_X",
  1788. value = 0,
  1789. description = ""
  1790. },
  1791. {
  1792. name = "GAMEPAD_AXIS_LEFT_Y",
  1793. value = 1,
  1794. description = ""
  1795. },
  1796. {
  1797. name = "GAMEPAD_AXIS_RIGHT_X",
  1798. value = 2,
  1799. description = ""
  1800. },
  1801. {
  1802. name = "GAMEPAD_AXIS_RIGHT_Y",
  1803. value = 3,
  1804. description = ""
  1805. },
  1806. {
  1807. name = "GAMEPAD_AXIS_LEFT_TRIGGER",
  1808. value = 4,
  1809. description = ""
  1810. },
  1811. {
  1812. name = "GAMEPAD_AXIS_RIGHT_TRIGGER",
  1813. value = 5,
  1814. description = ""
  1815. }
  1816. }
  1817. },
  1818. {
  1819. name = "MaterialMapIndex",
  1820. description = "",
  1821. values = {
  1822. {
  1823. name = "MATERIAL_MAP_ALBEDO",
  1824. value = 0,
  1825. description = ""
  1826. },
  1827. {
  1828. name = "MATERIAL_MAP_METALNESS",
  1829. value = 1,
  1830. description = ""
  1831. },
  1832. {
  1833. name = "MATERIAL_MAP_NORMAL",
  1834. value = 2,
  1835. description = ""
  1836. },
  1837. {
  1838. name = "MATERIAL_MAP_ROUGHNESS",
  1839. value = 3,
  1840. description = ""
  1841. },
  1842. {
  1843. name = "MATERIAL_MAP_OCCLUSION",
  1844. value = 4,
  1845. description = ""
  1846. },
  1847. {
  1848. name = "MATERIAL_MAP_EMISSION",
  1849. value = 5,
  1850. description = ""
  1851. },
  1852. {
  1853. name = "MATERIAL_MAP_HEIGHT",
  1854. value = 6,
  1855. description = ""
  1856. },
  1857. {
  1858. name = "MATERIAL_MAP_CUBEMAP",
  1859. value = 7,
  1860. description = ""
  1861. },
  1862. {
  1863. name = "MATERIAL_MAP_IRRADIANCE",
  1864. value = 8,
  1865. description = ""
  1866. },
  1867. {
  1868. name = "MATERIAL_MAP_PREFILTER",
  1869. value = 9,
  1870. description = ""
  1871. },
  1872. {
  1873. name = "MATERIAL_MAP_BRDF",
  1874. value = 10,
  1875. description = ""
  1876. }
  1877. }
  1878. },
  1879. {
  1880. name = "ShaderLocationIndex",
  1881. description = "",
  1882. values = {
  1883. {
  1884. name = "SHADER_LOC_VERTEX_POSITION",
  1885. value = 0,
  1886. description = ""
  1887. },
  1888. {
  1889. name = "SHADER_LOC_VERTEX_TEXCOORD01",
  1890. value = 1,
  1891. description = ""
  1892. },
  1893. {
  1894. name = "SHADER_LOC_VERTEX_TEXCOORD02",
  1895. value = 2,
  1896. description = ""
  1897. },
  1898. {
  1899. name = "SHADER_LOC_VERTEX_NORMAL",
  1900. value = 3,
  1901. description = ""
  1902. },
  1903. {
  1904. name = "SHADER_LOC_VERTEX_TANGENT",
  1905. value = 4,
  1906. description = ""
  1907. },
  1908. {
  1909. name = "SHADER_LOC_VERTEX_COLOR",
  1910. value = 5,
  1911. description = ""
  1912. },
  1913. {
  1914. name = "SHADER_LOC_MATRIX_MVP",
  1915. value = 6,
  1916. description = ""
  1917. },
  1918. {
  1919. name = "SHADER_LOC_MATRIX_VIEW",
  1920. value = 7,
  1921. description = ""
  1922. },
  1923. {
  1924. name = "SHADER_LOC_MATRIX_PROJECTION",
  1925. value = 8,
  1926. description = ""
  1927. },
  1928. {
  1929. name = "SHADER_LOC_MATRIX_MODEL",
  1930. value = 9,
  1931. description = ""
  1932. },
  1933. {
  1934. name = "SHADER_LOC_MATRIX_NORMAL",
  1935. value = 10,
  1936. description = ""
  1937. },
  1938. {
  1939. name = "SHADER_LOC_VECTOR_VIEW",
  1940. value = 11,
  1941. description = ""
  1942. },
  1943. {
  1944. name = "SHADER_LOC_COLOR_DIFFUSE",
  1945. value = 12,
  1946. description = ""
  1947. },
  1948. {
  1949. name = "SHADER_LOC_COLOR_SPECULAR",
  1950. value = 13,
  1951. description = ""
  1952. },
  1953. {
  1954. name = "SHADER_LOC_COLOR_AMBIENT",
  1955. value = 14,
  1956. description = ""
  1957. },
  1958. {
  1959. name = "SHADER_LOC_MAP_ALBEDO",
  1960. value = 15,
  1961. description = ""
  1962. },
  1963. {
  1964. name = "SHADER_LOC_MAP_METALNESS",
  1965. value = 16,
  1966. description = ""
  1967. },
  1968. {
  1969. name = "SHADER_LOC_MAP_NORMAL",
  1970. value = 17,
  1971. description = ""
  1972. },
  1973. {
  1974. name = "SHADER_LOC_MAP_ROUGHNESS",
  1975. value = 18,
  1976. description = ""
  1977. },
  1978. {
  1979. name = "SHADER_LOC_MAP_OCCLUSION",
  1980. value = 19,
  1981. description = ""
  1982. },
  1983. {
  1984. name = "SHADER_LOC_MAP_EMISSION",
  1985. value = 20,
  1986. description = ""
  1987. },
  1988. {
  1989. name = "SHADER_LOC_MAP_HEIGHT",
  1990. value = 21,
  1991. description = ""
  1992. },
  1993. {
  1994. name = "SHADER_LOC_MAP_CUBEMAP",
  1995. value = 22,
  1996. description = ""
  1997. },
  1998. {
  1999. name = "SHADER_LOC_MAP_IRRADIANCE",
  2000. value = 23,
  2001. description = ""
  2002. },
  2003. {
  2004. name = "SHADER_LOC_MAP_PREFILTER",
  2005. value = 24,
  2006. description = ""
  2007. },
  2008. {
  2009. name = "SHADER_LOC_MAP_BRDF",
  2010. value = 25,
  2011. description = ""
  2012. }
  2013. }
  2014. },
  2015. {
  2016. name = "ShaderUniformDataType",
  2017. description = "",
  2018. values = {
  2019. {
  2020. name = "SHADER_UNIFORM_FLOAT",
  2021. value = 0,
  2022. description = ""
  2023. },
  2024. {
  2025. name = "SHADER_UNIFORM_VEC2",
  2026. value = 1,
  2027. description = ""
  2028. },
  2029. {
  2030. name = "SHADER_UNIFORM_VEC3",
  2031. value = 2,
  2032. description = ""
  2033. },
  2034. {
  2035. name = "SHADER_UNIFORM_VEC4",
  2036. value = 3,
  2037. description = ""
  2038. },
  2039. {
  2040. name = "SHADER_UNIFORM_INT",
  2041. value = 4,
  2042. description = ""
  2043. },
  2044. {
  2045. name = "SHADER_UNIFORM_IVEC2",
  2046. value = 5,
  2047. description = ""
  2048. },
  2049. {
  2050. name = "SHADER_UNIFORM_IVEC3",
  2051. value = 6,
  2052. description = ""
  2053. },
  2054. {
  2055. name = "SHADER_UNIFORM_IVEC4",
  2056. value = 7,
  2057. description = ""
  2058. },
  2059. {
  2060. name = "SHADER_UNIFORM_SAMPLER2D",
  2061. value = 8,
  2062. description = ""
  2063. }
  2064. }
  2065. },
  2066. {
  2067. name = "ShaderAttributeDataType",
  2068. description = "",
  2069. values = {
  2070. {
  2071. name = "SHADER_ATTRIB_FLOAT",
  2072. value = 0,
  2073. description = ""
  2074. },
  2075. {
  2076. name = "SHADER_ATTRIB_VEC2",
  2077. value = 1,
  2078. description = ""
  2079. },
  2080. {
  2081. name = "SHADER_ATTRIB_VEC3",
  2082. value = 2,
  2083. description = ""
  2084. },
  2085. {
  2086. name = "SHADER_ATTRIB_VEC4",
  2087. value = 3,
  2088. description = ""
  2089. }
  2090. }
  2091. },
  2092. {
  2093. name = "PixelFormat",
  2094. description = "",
  2095. values = {
  2096. {
  2097. name = "PIXELFORMAT_UNCOMPRESSED_GRAYSCALE",
  2098. value = 1,
  2099. description = ""
  2100. },
  2101. {
  2102. name = "PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA",
  2103. value = 2,
  2104. description = ""
  2105. },
  2106. {
  2107. name = "PIXELFORMAT_UNCOMPRESSED_R5G6B5",
  2108. value = 3,
  2109. description = ""
  2110. },
  2111. {
  2112. name = "PIXELFORMAT_UNCOMPRESSED_R8G8B8",
  2113. value = 4,
  2114. description = ""
  2115. },
  2116. {
  2117. name = "PIXELFORMAT_UNCOMPRESSED_R5G5B5A1",
  2118. value = 5,
  2119. description = ""
  2120. },
  2121. {
  2122. name = "PIXELFORMAT_UNCOMPRESSED_R4G4B4A4",
  2123. value = 6,
  2124. description = ""
  2125. },
  2126. {
  2127. name = "PIXELFORMAT_UNCOMPRESSED_R8G8B8A8",
  2128. value = 7,
  2129. description = ""
  2130. },
  2131. {
  2132. name = "PIXELFORMAT_UNCOMPRESSED_R32",
  2133. value = 8,
  2134. description = ""
  2135. },
  2136. {
  2137. name = "PIXELFORMAT_UNCOMPRESSED_R32G32B32",
  2138. value = 9,
  2139. description = ""
  2140. },
  2141. {
  2142. name = "PIXELFORMAT_UNCOMPRESSED_R32G32B32A32",
  2143. value = 10,
  2144. description = ""
  2145. },
  2146. {
  2147. name = "PIXELFORMAT_COMPRESSED_DXT1_RGB",
  2148. value = 11,
  2149. description = ""
  2150. },
  2151. {
  2152. name = "PIXELFORMAT_COMPRESSED_DXT1_RGBA",
  2153. value = 12,
  2154. description = ""
  2155. },
  2156. {
  2157. name = "PIXELFORMAT_COMPRESSED_DXT3_RGBA",
  2158. value = 13,
  2159. description = ""
  2160. },
  2161. {
  2162. name = "PIXELFORMAT_COMPRESSED_DXT5_RGBA",
  2163. value = 14,
  2164. description = ""
  2165. },
  2166. {
  2167. name = "PIXELFORMAT_COMPRESSED_ETC1_RGB",
  2168. value = 15,
  2169. description = ""
  2170. },
  2171. {
  2172. name = "PIXELFORMAT_COMPRESSED_ETC2_RGB",
  2173. value = 16,
  2174. description = ""
  2175. },
  2176. {
  2177. name = "PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA",
  2178. value = 17,
  2179. description = ""
  2180. },
  2181. {
  2182. name = "PIXELFORMAT_COMPRESSED_PVRT_RGB",
  2183. value = 18,
  2184. description = ""
  2185. },
  2186. {
  2187. name = "PIXELFORMAT_COMPRESSED_PVRT_RGBA",
  2188. value = 19,
  2189. description = ""
  2190. },
  2191. {
  2192. name = "PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA",
  2193. value = 20,
  2194. description = ""
  2195. },
  2196. {
  2197. name = "PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA",
  2198. value = 21,
  2199. description = ""
  2200. }
  2201. }
  2202. },
  2203. {
  2204. name = "TextureFilter",
  2205. description = "",
  2206. values = {
  2207. {
  2208. name = "TEXTURE_FILTER_POINT",
  2209. value = 0,
  2210. description = ""
  2211. },
  2212. {
  2213. name = "TEXTURE_FILTER_BILINEAR",
  2214. value = 1,
  2215. description = ""
  2216. },
  2217. {
  2218. name = "TEXTURE_FILTER_TRILINEAR",
  2219. value = 2,
  2220. description = ""
  2221. },
  2222. {
  2223. name = "TEXTURE_FILTER_ANISOTROPIC_4X",
  2224. value = 3,
  2225. description = ""
  2226. },
  2227. {
  2228. name = "TEXTURE_FILTER_ANISOTROPIC_8X",
  2229. value = 4,
  2230. description = ""
  2231. },
  2232. {
  2233. name = "TEXTURE_FILTER_ANISOTROPIC_16X",
  2234. value = 5,
  2235. description = ""
  2236. }
  2237. }
  2238. },
  2239. {
  2240. name = "TextureWrap",
  2241. description = "",
  2242. values = {
  2243. {
  2244. name = "TEXTURE_WRAP_REPEAT",
  2245. value = 0,
  2246. description = ""
  2247. },
  2248. {
  2249. name = "TEXTURE_WRAP_CLAMP",
  2250. value = 1,
  2251. description = ""
  2252. },
  2253. {
  2254. name = "TEXTURE_WRAP_MIRROR_REPEAT",
  2255. value = 2,
  2256. description = ""
  2257. },
  2258. {
  2259. name = "TEXTURE_WRAP_MIRROR_CLAMP",
  2260. value = 3,
  2261. description = ""
  2262. }
  2263. }
  2264. },
  2265. {
  2266. name = "CubemapLayout",
  2267. description = "",
  2268. values = {
  2269. {
  2270. name = "CUBEMAP_LAYOUT_AUTO_DETECT",
  2271. value = 0,
  2272. description = ""
  2273. },
  2274. {
  2275. name = "CUBEMAP_LAYOUT_LINE_VERTICAL",
  2276. value = 1,
  2277. description = ""
  2278. },
  2279. {
  2280. name = "CUBEMAP_LAYOUT_LINE_HORIZONTAL",
  2281. value = 2,
  2282. description = ""
  2283. },
  2284. {
  2285. name = "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR",
  2286. value = 3,
  2287. description = ""
  2288. },
  2289. {
  2290. name = "CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE",
  2291. value = 4,
  2292. description = ""
  2293. },
  2294. {
  2295. name = "CUBEMAP_LAYOUT_PANORAMA",
  2296. value = 5,
  2297. description = ""
  2298. }
  2299. }
  2300. },
  2301. {
  2302. name = "FontType",
  2303. description = "",
  2304. values = {
  2305. {
  2306. name = "FONT_DEFAULT",
  2307. value = 0,
  2308. description = ""
  2309. },
  2310. {
  2311. name = "FONT_BITMAP",
  2312. value = 1,
  2313. description = ""
  2314. },
  2315. {
  2316. name = "FONT_SDF",
  2317. value = 2,
  2318. description = ""
  2319. }
  2320. }
  2321. },
  2322. {
  2323. name = "BlendMode",
  2324. description = "",
  2325. values = {
  2326. {
  2327. name = "BLEND_ALPHA",
  2328. value = 0,
  2329. description = ""
  2330. },
  2331. {
  2332. name = "BLEND_ADDITIVE",
  2333. value = 1,
  2334. description = ""
  2335. },
  2336. {
  2337. name = "BLEND_MULTIPLIED",
  2338. value = 2,
  2339. description = ""
  2340. },
  2341. {
  2342. name = "BLEND_ADD_COLORS",
  2343. value = 3,
  2344. description = ""
  2345. },
  2346. {
  2347. name = "BLEND_SUBTRACT_COLORS",
  2348. value = 4,
  2349. description = ""
  2350. },
  2351. {
  2352. name = "BLEND_CUSTOM",
  2353. value = 5,
  2354. description = ""
  2355. }
  2356. }
  2357. },
  2358. {
  2359. name = "Gesture",
  2360. description = "",
  2361. values = {
  2362. {
  2363. name = "GESTURE_NONE",
  2364. value = 0,
  2365. description = ""
  2366. },
  2367. {
  2368. name = "GESTURE_TAP",
  2369. value = 1,
  2370. description = ""
  2371. },
  2372. {
  2373. name = "GESTURE_DOUBLETAP",
  2374. value = 2,
  2375. description = ""
  2376. },
  2377. {
  2378. name = "GESTURE_HOLD",
  2379. value = 4,
  2380. description = ""
  2381. },
  2382. {
  2383. name = "GESTURE_DRAG",
  2384. value = 8,
  2385. description = ""
  2386. },
  2387. {
  2388. name = "GESTURE_SWIPE_RIGHT",
  2389. value = 16,
  2390. description = ""
  2391. },
  2392. {
  2393. name = "GESTURE_SWIPE_LEFT",
  2394. value = 32,
  2395. description = ""
  2396. },
  2397. {
  2398. name = "GESTURE_SWIPE_UP",
  2399. value = 64,
  2400. description = ""
  2401. },
  2402. {
  2403. name = "GESTURE_SWIPE_DOWN",
  2404. value = 128,
  2405. description = ""
  2406. },
  2407. {
  2408. name = "GESTURE_PINCH_IN",
  2409. value = 256,
  2410. description = ""
  2411. },
  2412. {
  2413. name = "GESTURE_PINCH_OUT",
  2414. value = 512,
  2415. description = ""
  2416. }
  2417. }
  2418. },
  2419. {
  2420. name = "CameraMode",
  2421. description = "",
  2422. values = {
  2423. {
  2424. name = "CAMERA_CUSTOM",
  2425. value = 0,
  2426. description = ""
  2427. },
  2428. {
  2429. name = "CAMERA_FREE",
  2430. value = 1,
  2431. description = ""
  2432. },
  2433. {
  2434. name = "CAMERA_ORBITAL",
  2435. value = 2,
  2436. description = ""
  2437. },
  2438. {
  2439. name = "CAMERA_FIRST_PERSON",
  2440. value = 3,
  2441. description = ""
  2442. },
  2443. {
  2444. name = "CAMERA_THIRD_PERSON",
  2445. value = 4,
  2446. description = ""
  2447. }
  2448. }
  2449. },
  2450. {
  2451. name = "CameraProjection",
  2452. description = "",
  2453. values = {
  2454. {
  2455. name = "CAMERA_PERSPECTIVE",
  2456. value = 0,
  2457. description = ""
  2458. },
  2459. {
  2460. name = "CAMERA_ORTHOGRAPHIC",
  2461. value = 1,
  2462. description = ""
  2463. }
  2464. }
  2465. },
  2466. {
  2467. name = "NPatchLayout",
  2468. description = "",
  2469. values = {
  2470. {
  2471. name = "NPATCH_NINE_PATCH",
  2472. value = 0,
  2473. description = ""
  2474. },
  2475. {
  2476. name = "NPATCH_THREE_PATCH_VERTICAL",
  2477. value = 1,
  2478. description = ""
  2479. },
  2480. {
  2481. name = "NPATCH_THREE_PATCH_HORIZONTAL",
  2482. value = 2,
  2483. description = ""
  2484. }
  2485. }
  2486. }
  2487. },
  2488. functions = {
  2489. {
  2490. name = "InitWindow",
  2491. description = "Initialize window and OpenGL context",
  2492. returnType = "void",
  2493. params = {
  2494. {name = "width", type = "int"},
  2495. {name = "height", type = "int"},
  2496. {name = "title", type = "const char *"}
  2497. }
  2498. },
  2499. {
  2500. name = "WindowShouldClose",
  2501. description = "Check if KEY_ESCAPE pressed or Close icon pressed",
  2502. returnType = "bool"
  2503. },
  2504. {
  2505. name = "CloseWindow",
  2506. description = "Close window and unload OpenGL context",
  2507. returnType = "void"
  2508. },
  2509. {
  2510. name = "IsWindowReady",
  2511. description = "Check if window has been initialized successfully",
  2512. returnType = "bool"
  2513. },
  2514. {
  2515. name = "IsWindowFullscreen",
  2516. description = "Check if window is currently fullscreen",
  2517. returnType = "bool"
  2518. },
  2519. {
  2520. name = "IsWindowHidden",
  2521. description = "Check if window is currently hidden (only PLATFORM_DESKTOP)",
  2522. returnType = "bool"
  2523. },
  2524. {
  2525. name = "IsWindowMinimized",
  2526. description = "Check if window is currently minimized (only PLATFORM_DESKTOP)",
  2527. returnType = "bool"
  2528. },
  2529. {
  2530. name = "IsWindowMaximized",
  2531. description = "Check if window is currently maximized (only PLATFORM_DESKTOP)",
  2532. returnType = "bool"
  2533. },
  2534. {
  2535. name = "IsWindowFocused",
  2536. description = "Check if window is currently focused (only PLATFORM_DESKTOP)",
  2537. returnType = "bool"
  2538. },
  2539. {
  2540. name = "IsWindowResized",
  2541. description = "Check if window has been resized last frame",
  2542. returnType = "bool"
  2543. },
  2544. {
  2545. name = "IsWindowState",
  2546. description = "Check if one specific window flag is enabled",
  2547. returnType = "bool",
  2548. params = {
  2549. {name = "flag", type = "unsigned int"}
  2550. }
  2551. },
  2552. {
  2553. name = "SetWindowState",
  2554. description = "Set window configuration state using flags",
  2555. returnType = "void",
  2556. params = {
  2557. {name = "flags", type = "unsigned int"}
  2558. }
  2559. },
  2560. {
  2561. name = "ClearWindowState",
  2562. description = "Clear window configuration state flags",
  2563. returnType = "void",
  2564. params = {
  2565. {name = "flags", type = "unsigned int"}
  2566. }
  2567. },
  2568. {
  2569. name = "ToggleFullscreen",
  2570. description = "Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)",
  2571. returnType = "void"
  2572. },
  2573. {
  2574. name = "MaximizeWindow",
  2575. description = "Set window state: maximized, if resizable (only PLATFORM_DESKTOP)",
  2576. returnType = "void"
  2577. },
  2578. {
  2579. name = "MinimizeWindow",
  2580. description = "Set window state: minimized, if resizable (only PLATFORM_DESKTOP)",
  2581. returnType = "void"
  2582. },
  2583. {
  2584. name = "RestoreWindow",
  2585. description = "Set window state: not minimized/maximized (only PLATFORM_DESKTOP)",
  2586. returnType = "void"
  2587. },
  2588. {
  2589. name = "SetWindowIcon",
  2590. description = "Set icon for window (only PLATFORM_DESKTOP)",
  2591. returnType = "void",
  2592. params = {
  2593. {name = "image", type = "Image"}
  2594. }
  2595. },
  2596. {
  2597. name = "SetWindowTitle",
  2598. description = "Set title for window (only PLATFORM_DESKTOP)",
  2599. returnType = "void",
  2600. params = {
  2601. {name = "title", type = "const char *"}
  2602. }
  2603. },
  2604. {
  2605. name = "SetWindowPosition",
  2606. description = "Set window position on screen (only PLATFORM_DESKTOP)",
  2607. returnType = "void",
  2608. params = {
  2609. {name = "x", type = "int"},
  2610. {name = "y", type = "int"}
  2611. }
  2612. },
  2613. {
  2614. name = "SetWindowMonitor",
  2615. description = "Set monitor for the current window (fullscreen mode)",
  2616. returnType = "void",
  2617. params = {
  2618. {name = "monitor", type = "int"}
  2619. }
  2620. },
  2621. {
  2622. name = "SetWindowMinSize",
  2623. description = "Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)",
  2624. returnType = "void",
  2625. params = {
  2626. {name = "width", type = "int"},
  2627. {name = "height", type = "int"}
  2628. }
  2629. },
  2630. {
  2631. name = "SetWindowSize",
  2632. description = "Set window dimensions",
  2633. returnType = "void",
  2634. params = {
  2635. {name = "width", type = "int"},
  2636. {name = "height", type = "int"}
  2637. }
  2638. },
  2639. {
  2640. name = "GetWindowHandle",
  2641. description = "Get native window handle",
  2642. returnType = "void *"
  2643. },
  2644. {
  2645. name = "GetScreenWidth",
  2646. description = "Get current screen width",
  2647. returnType = "int"
  2648. },
  2649. {
  2650. name = "GetScreenHeight",
  2651. description = "Get current screen height",
  2652. returnType = "int"
  2653. },
  2654. {
  2655. name = "GetMonitorCount",
  2656. description = "Get number of connected monitors",
  2657. returnType = "int"
  2658. },
  2659. {
  2660. name = "GetCurrentMonitor",
  2661. description = "Get current connected monitor",
  2662. returnType = "int"
  2663. },
  2664. {
  2665. name = "GetMonitorPosition",
  2666. description = "Get specified monitor position",
  2667. returnType = "Vector2",
  2668. params = {
  2669. {name = "monitor", type = "int"}
  2670. }
  2671. },
  2672. {
  2673. name = "GetMonitorWidth",
  2674. description = "Get specified monitor width (max available by monitor)",
  2675. returnType = "int",
  2676. params = {
  2677. {name = "monitor", type = "int"}
  2678. }
  2679. },
  2680. {
  2681. name = "GetMonitorHeight",
  2682. description = "Get specified monitor height (max available by monitor)",
  2683. returnType = "int",
  2684. params = {
  2685. {name = "monitor", type = "int"}
  2686. }
  2687. },
  2688. {
  2689. name = "GetMonitorPhysicalWidth",
  2690. description = "Get specified monitor physical width in millimetres",
  2691. returnType = "int",
  2692. params = {
  2693. {name = "monitor", type = "int"}
  2694. }
  2695. },
  2696. {
  2697. name = "GetMonitorPhysicalHeight",
  2698. description = "Get specified monitor physical height in millimetres",
  2699. returnType = "int",
  2700. params = {
  2701. {name = "monitor", type = "int"}
  2702. }
  2703. },
  2704. {
  2705. name = "GetMonitorRefreshRate",
  2706. description = "Get specified monitor refresh rate",
  2707. returnType = "int",
  2708. params = {
  2709. {name = "monitor", type = "int"}
  2710. }
  2711. },
  2712. {
  2713. name = "GetWindowPosition",
  2714. description = "Get window position XY on monitor",
  2715. returnType = "Vector2"
  2716. },
  2717. {
  2718. name = "GetWindowScaleDPI",
  2719. description = "Get window scale DPI factor",
  2720. returnType = "Vector2"
  2721. },
  2722. {
  2723. name = "GetMonitorName",
  2724. description = "Get the human-readable, UTF-8 encoded name of the primary monitor",
  2725. returnType = "const char *",
  2726. params = {
  2727. {name = "monitor", type = "int"}
  2728. }
  2729. },
  2730. {
  2731. name = "SetClipboardText",
  2732. description = "Set clipboard text content",
  2733. returnType = "void",
  2734. params = {
  2735. {name = "text", type = "const char *"}
  2736. }
  2737. },
  2738. {
  2739. name = "GetClipboardText",
  2740. description = "Get clipboard text content",
  2741. returnType = "const char *"
  2742. },
  2743. {
  2744. name = "SwapScreenBuffer",
  2745. description = "Swap back buffer with front buffer (screen drawing)",
  2746. returnType = "void"
  2747. },
  2748. {
  2749. name = "PollInputEvents",
  2750. description = "Register all input events",
  2751. returnType = "void"
  2752. },
  2753. {
  2754. name = "WaitTime",
  2755. description = "Wait for some milliseconds (halt program execution)",
  2756. returnType = "void",
  2757. params = {
  2758. {name = "ms", type = "float"}
  2759. }
  2760. },
  2761. {
  2762. name = "ShowCursor",
  2763. description = "Shows cursor",
  2764. returnType = "void"
  2765. },
  2766. {
  2767. name = "HideCursor",
  2768. description = "Hides cursor",
  2769. returnType = "void"
  2770. },
  2771. {
  2772. name = "IsCursorHidden",
  2773. description = "Check if cursor is not visible",
  2774. returnType = "bool"
  2775. },
  2776. {
  2777. name = "EnableCursor",
  2778. description = "Enables cursor (unlock cursor)",
  2779. returnType = "void"
  2780. },
  2781. {
  2782. name = "DisableCursor",
  2783. description = "Disables cursor (lock cursor)",
  2784. returnType = "void"
  2785. },
  2786. {
  2787. name = "IsCursorOnScreen",
  2788. description = "Check if cursor is on the screen",
  2789. returnType = "bool"
  2790. },
  2791. {
  2792. name = "ClearBackground",
  2793. description = "Set background color (framebuffer clear color)",
  2794. returnType = "void",
  2795. params = {
  2796. {name = "color", type = "Color"}
  2797. }
  2798. },
  2799. {
  2800. name = "BeginDrawing",
  2801. description = "Setup canvas (framebuffer) to start drawing",
  2802. returnType = "void"
  2803. },
  2804. {
  2805. name = "EndDrawing",
  2806. description = "End canvas drawing and swap buffers (double buffering)",
  2807. returnType = "void"
  2808. },
  2809. {
  2810. name = "BeginMode2D",
  2811. description = "Begin 2D mode with custom camera (2D)",
  2812. returnType = "void",
  2813. params = {
  2814. {name = "camera", type = "Camera2D"}
  2815. }
  2816. },
  2817. {
  2818. name = "EndMode2D",
  2819. description = "Ends 2D mode with custom camera",
  2820. returnType = "void"
  2821. },
  2822. {
  2823. name = "BeginMode3D",
  2824. description = "Begin 3D mode with custom camera (3D)",
  2825. returnType = "void",
  2826. params = {
  2827. {name = "camera", type = "Camera3D"}
  2828. }
  2829. },
  2830. {
  2831. name = "EndMode3D",
  2832. description = "Ends 3D mode and returns to default 2D orthographic mode",
  2833. returnType = "void"
  2834. },
  2835. {
  2836. name = "BeginTextureMode",
  2837. description = "Begin drawing to render texture",
  2838. returnType = "void",
  2839. params = {
  2840. {name = "target", type = "RenderTexture2D"}
  2841. }
  2842. },
  2843. {
  2844. name = "EndTextureMode",
  2845. description = "Ends drawing to render texture",
  2846. returnType = "void"
  2847. },
  2848. {
  2849. name = "BeginShaderMode",
  2850. description = "Begin custom shader drawing",
  2851. returnType = "void",
  2852. params = {
  2853. {name = "shader", type = "Shader"}
  2854. }
  2855. },
  2856. {
  2857. name = "EndShaderMode",
  2858. description = "End custom shader drawing (use default shader)",
  2859. returnType = "void"
  2860. },
  2861. {
  2862. name = "BeginBlendMode",
  2863. description = "Begin blending mode (alpha, additive, multiplied, subtract, custom)",
  2864. returnType = "void",
  2865. params = {
  2866. {name = "mode", type = "int"}
  2867. }
  2868. },
  2869. {
  2870. name = "EndBlendMode",
  2871. description = "End blending mode (reset to default: alpha blending)",
  2872. returnType = "void"
  2873. },
  2874. {
  2875. name = "BeginScissorMode",
  2876. description = "Begin scissor mode (define screen area for following drawing)",
  2877. returnType = "void",
  2878. params = {
  2879. {name = "x", type = "int"},
  2880. {name = "y", type = "int"},
  2881. {name = "width", type = "int"},
  2882. {name = "height", type = "int"}
  2883. }
  2884. },
  2885. {
  2886. name = "EndScissorMode",
  2887. description = "End scissor mode",
  2888. returnType = "void"
  2889. },
  2890. {
  2891. name = "BeginVrStereoMode",
  2892. description = "Begin stereo rendering (requires VR simulator)",
  2893. returnType = "void",
  2894. params = {
  2895. {name = "config", type = "VrStereoConfig"}
  2896. }
  2897. },
  2898. {
  2899. name = "EndVrStereoMode",
  2900. description = "End stereo rendering (requires VR simulator)",
  2901. returnType = "void"
  2902. },
  2903. {
  2904. name = "LoadVrStereoConfig",
  2905. description = "Load VR stereo config for VR simulator device parameters",
  2906. returnType = "VrStereoConfig",
  2907. params = {
  2908. {name = "device", type = "VrDeviceInfo"}
  2909. }
  2910. },
  2911. {
  2912. name = "UnloadVrStereoConfig",
  2913. description = "Unload VR stereo config",
  2914. returnType = "void",
  2915. params = {
  2916. {name = "config", type = "VrStereoConfig"}
  2917. }
  2918. },
  2919. {
  2920. name = "LoadShader",
  2921. description = "Load shader from files and bind default locations",
  2922. returnType = "Shader",
  2923. params = {
  2924. {name = "vsFileName", type = "const char *"},
  2925. {name = "fsFileName", type = "const char *"}
  2926. }
  2927. },
  2928. {
  2929. name = "LoadShaderFromMemory",
  2930. description = "Load shader from code strings and bind default locations",
  2931. returnType = "Shader",
  2932. params = {
  2933. {name = "vsCode", type = "const char *"},
  2934. {name = "fsCode", type = "const char *"}
  2935. }
  2936. },
  2937. {
  2938. name = "GetShaderLocation",
  2939. description = "Get shader uniform location",
  2940. returnType = "int",
  2941. params = {
  2942. {name = "shader", type = "Shader"},
  2943. {name = "uniformName", type = "const char *"}
  2944. }
  2945. },
  2946. {
  2947. name = "GetShaderLocationAttrib",
  2948. description = "Get shader attribute location",
  2949. returnType = "int",
  2950. params = {
  2951. {name = "shader", type = "Shader"},
  2952. {name = "attribName", type = "const char *"}
  2953. }
  2954. },
  2955. {
  2956. name = "SetShaderValue",
  2957. description = "Set shader uniform value",
  2958. returnType = "void",
  2959. params = {
  2960. {name = "shader", type = "Shader"},
  2961. {name = "locIndex", type = "int"},
  2962. {name = "value", type = "const void *"},
  2963. {name = "uniformType", type = "int"}
  2964. }
  2965. },
  2966. {
  2967. name = "SetShaderValueV",
  2968. description = "Set shader uniform value vector",
  2969. returnType = "void",
  2970. params = {
  2971. {name = "shader", type = "Shader"},
  2972. {name = "locIndex", type = "int"},
  2973. {name = "value", type = "const void *"},
  2974. {name = "uniformType", type = "int"},
  2975. {name = "count", type = "int"}
  2976. }
  2977. },
  2978. {
  2979. name = "SetShaderValueMatrix",
  2980. description = "Set shader uniform value (matrix 4x4)",
  2981. returnType = "void",
  2982. params = {
  2983. {name = "shader", type = "Shader"},
  2984. {name = "locIndex", type = "int"},
  2985. {name = "mat", type = "Matrix"}
  2986. }
  2987. },
  2988. {
  2989. name = "SetShaderValueTexture",
  2990. description = "Set shader uniform value for texture (sampler2d)",
  2991. returnType = "void",
  2992. params = {
  2993. {name = "shader", type = "Shader"},
  2994. {name = "locIndex", type = "int"},
  2995. {name = "texture", type = "Texture2D"}
  2996. }
  2997. },
  2998. {
  2999. name = "UnloadShader",
  3000. description = "Unload shader from GPU memory (VRAM)",
  3001. returnType = "void",
  3002. params = {
  3003. {name = "shader", type = "Shader"}
  3004. }
  3005. },
  3006. {
  3007. name = "GetMouseRay",
  3008. description = "Get a ray trace from mouse position",
  3009. returnType = "Ray",
  3010. params = {
  3011. {name = "mousePosition", type = "Vector2"},
  3012. {name = "camera", type = "Camera"}
  3013. }
  3014. },
  3015. {
  3016. name = "GetCameraMatrix",
  3017. description = "Get camera transform matrix (view matrix)",
  3018. returnType = "Matrix",
  3019. params = {
  3020. {name = "camera", type = "Camera"}
  3021. }
  3022. },
  3023. {
  3024. name = "GetCameraMatrix2D",
  3025. description = "Get camera 2d transform matrix",
  3026. returnType = "Matrix",
  3027. params = {
  3028. {name = "camera", type = "Camera2D"}
  3029. }
  3030. },
  3031. {
  3032. name = "GetWorldToScreen",
  3033. description = "Get the screen space position for a 3d world space position",
  3034. returnType = "Vector2",
  3035. params = {
  3036. {name = "position", type = "Vector3"},
  3037. {name = "camera", type = "Camera"}
  3038. }
  3039. },
  3040. {
  3041. name = "GetWorldToScreenEx",
  3042. description = "Get size position for a 3d world space position",
  3043. returnType = "Vector2",
  3044. params = {
  3045. {name = "position", type = "Vector3"},
  3046. {name = "camera", type = "Camera"},
  3047. {name = "width", type = "int"},
  3048. {name = "height", type = "int"}
  3049. }
  3050. },
  3051. {
  3052. name = "GetWorldToScreen2D",
  3053. description = "Get the screen space position for a 2d camera world space position",
  3054. returnType = "Vector2",
  3055. params = {
  3056. {name = "position", type = "Vector2"},
  3057. {name = "camera", type = "Camera2D"}
  3058. }
  3059. },
  3060. {
  3061. name = "GetScreenToWorld2D",
  3062. description = "Get the world space position for a 2d camera screen space position",
  3063. returnType = "Vector2",
  3064. params = {
  3065. {name = "position", type = "Vector2"},
  3066. {name = "camera", type = "Camera2D"}
  3067. }
  3068. },
  3069. {
  3070. name = "SetTargetFPS",
  3071. description = "Set target FPS (maximum)",
  3072. returnType = "void",
  3073. params = {
  3074. {name = "fps", type = "int"}
  3075. }
  3076. },
  3077. {
  3078. name = "GetFPS",
  3079. description = "Get current FPS",
  3080. returnType = "int"
  3081. },
  3082. {
  3083. name = "GetFrameTime",
  3084. description = "Get time in seconds for last frame drawn (delta time)",
  3085. returnType = "float"
  3086. },
  3087. {
  3088. name = "GetTime",
  3089. description = "Get elapsed time in seconds since InitWindow()",
  3090. returnType = "double"
  3091. },
  3092. {
  3093. name = "GetRandomValue",
  3094. description = "Get a random value between min and max (both included)",
  3095. returnType = "int",
  3096. params = {
  3097. {name = "min", type = "int"},
  3098. {name = "max", type = "int"}
  3099. }
  3100. },
  3101. {
  3102. name = "SetRandomSeed",
  3103. description = "Set the seed for the random number generator",
  3104. returnType = "void",
  3105. params = {
  3106. {name = "seed", type = "unsigned int"}
  3107. }
  3108. },
  3109. {
  3110. name = "TakeScreenshot",
  3111. description = "Takes a screenshot of current screen (filename extension defines format)",
  3112. returnType = "void",
  3113. params = {
  3114. {name = "fileName", type = "const char *"}
  3115. }
  3116. },
  3117. {
  3118. name = "SetConfigFlags",
  3119. description = "Setup init configuration flags (view FLAGS)",
  3120. returnType = "void",
  3121. params = {
  3122. {name = "flags", type = "unsigned int"}
  3123. }
  3124. },
  3125. {
  3126. name = "TraceLog",
  3127. description = "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)",
  3128. returnType = "void",
  3129. params = {
  3130. {name = "logLevel", type = "int"},
  3131. {name = "text", type = "const char *"},
  3132. {name = "", type = ""}
  3133. }
  3134. },
  3135. {
  3136. name = "SetTraceLogLevel",
  3137. description = "Set the current threshold (minimum) log level",
  3138. returnType = "void",
  3139. params = {
  3140. {name = "logLevel", type = "int"}
  3141. }
  3142. },
  3143. {
  3144. name = "MemAlloc",
  3145. description = "Internal memory allocator",
  3146. returnType = "void *",
  3147. params = {
  3148. {name = "size", type = "int"}
  3149. }
  3150. },
  3151. {
  3152. name = "MemRealloc",
  3153. description = "Internal memory reallocator",
  3154. returnType = "void *",
  3155. params = {
  3156. {name = "ptr", type = "void *"},
  3157. {name = "size", type = "int"}
  3158. }
  3159. },
  3160. {
  3161. name = "MemFree",
  3162. description = "Internal memory free",
  3163. returnType = "void",
  3164. params = {
  3165. {name = "ptr", type = "void *"}
  3166. }
  3167. },
  3168. {
  3169. name = "SetTraceLogCallback",
  3170. description = "Set custom trace log",
  3171. returnType = "void",
  3172. params = {
  3173. {name = "callback", type = "TraceLogCallback"}
  3174. }
  3175. },
  3176. {
  3177. name = "SetLoadFileDataCallback",
  3178. description = "Set custom file binary data loader",
  3179. returnType = "void",
  3180. params = {
  3181. {name = "callback", type = "LoadFileDataCallback"}
  3182. }
  3183. },
  3184. {
  3185. name = "SetSaveFileDataCallback",
  3186. description = "Set custom file binary data saver",
  3187. returnType = "void",
  3188. params = {
  3189. {name = "callback", type = "SaveFileDataCallback"}
  3190. }
  3191. },
  3192. {
  3193. name = "SetLoadFileTextCallback",
  3194. description = "Set custom file text data loader",
  3195. returnType = "void",
  3196. params = {
  3197. {name = "callback", type = "LoadFileTextCallback"}
  3198. }
  3199. },
  3200. {
  3201. name = "SetSaveFileTextCallback",
  3202. description = "Set custom file text data saver",
  3203. returnType = "void",
  3204. params = {
  3205. {name = "callback", type = "SaveFileTextCallback"}
  3206. }
  3207. },
  3208. {
  3209. name = "LoadFileData",
  3210. description = "Load file data as byte array (read)",
  3211. returnType = "unsigned char *",
  3212. params = {
  3213. {name = "fileName", type = "const char *"},
  3214. {name = "bytesRead", type = "unsigned int *"}
  3215. }
  3216. },
  3217. {
  3218. name = "UnloadFileData",
  3219. description = "Unload file data allocated by LoadFileData()",
  3220. returnType = "void",
  3221. params = {
  3222. {name = "data", type = "unsigned char *"}
  3223. }
  3224. },
  3225. {
  3226. name = "SaveFileData",
  3227. description = "Save data to file from byte array (write), returns true on success",
  3228. returnType = "bool",
  3229. params = {
  3230. {name = "fileName", type = "const char *"},
  3231. {name = "data", type = "void *"},
  3232. {name = "bytesToWrite", type = "unsigned int"}
  3233. }
  3234. },
  3235. {
  3236. name = "LoadFileText",
  3237. description = "Load text data from file (read), returns a ' 0' terminated string",
  3238. returnType = "char *",
  3239. params = {
  3240. {name = "fileName", type = "const char *"}
  3241. }
  3242. },
  3243. {
  3244. name = "UnloadFileText",
  3245. description = "Unload file text data allocated by LoadFileText()",
  3246. returnType = "void",
  3247. params = {
  3248. {name = "text", type = "char *"}
  3249. }
  3250. },
  3251. {
  3252. name = "SaveFileText",
  3253. description = "Save text data to file (write), string must be ' 0' terminated, returns true on success",
  3254. returnType = "bool",
  3255. params = {
  3256. {name = "fileName", type = "const char *"},
  3257. {name = "text", type = "char *"}
  3258. }
  3259. },
  3260. {
  3261. name = "FileExists",
  3262. description = "Check if file exists",
  3263. returnType = "bool",
  3264. params = {
  3265. {name = "fileName", type = "const char *"}
  3266. }
  3267. },
  3268. {
  3269. name = "DirectoryExists",
  3270. description = "Check if a directory path exists",
  3271. returnType = "bool",
  3272. params = {
  3273. {name = "dirPath", type = "const char *"}
  3274. }
  3275. },
  3276. {
  3277. name = "IsFileExtension",
  3278. description = "Check file extension (including point: .png, .wav)",
  3279. returnType = "bool",
  3280. params = {
  3281. {name = "fileName", type = "const char *"},
  3282. {name = "ext", type = "const char *"}
  3283. }
  3284. },
  3285. {
  3286. name = "GetFileExtension",
  3287. description = "Get pointer to extension for a filename string (includes dot: '.png')",
  3288. returnType = "const char *",
  3289. params = {
  3290. {name = "fileName", type = "const char *"}
  3291. }
  3292. },
  3293. {
  3294. name = "GetFileName",
  3295. description = "Get pointer to filename for a path string",
  3296. returnType = "const char *",
  3297. params = {
  3298. {name = "filePath", type = "const char *"}
  3299. }
  3300. },
  3301. {
  3302. name = "GetFileNameWithoutExt",
  3303. description = "Get filename string without extension (uses static string)",
  3304. returnType = "const char *",
  3305. params = {
  3306. {name = "filePath", type = "const char *"}
  3307. }
  3308. },
  3309. {
  3310. name = "GetDirectoryPath",
  3311. description = "Get full path for a given fileName with path (uses static string)",
  3312. returnType = "const char *",
  3313. params = {
  3314. {name = "filePath", type = "const char *"}
  3315. }
  3316. },
  3317. {
  3318. name = "GetPrevDirectoryPath",
  3319. description = "Get previous directory path for a given path (uses static string)",
  3320. returnType = "const char *",
  3321. params = {
  3322. {name = "dirPath", type = "const char *"}
  3323. }
  3324. },
  3325. {
  3326. name = "GetWorkingDirectory",
  3327. description = "Get current working directory (uses static string)",
  3328. returnType = "const char *"
  3329. },
  3330. {
  3331. name = "GetDirectoryFiles",
  3332. description = "Get filenames in a directory path (memory should be freed)",
  3333. returnType = "char **",
  3334. params = {
  3335. {name = "dirPath", type = "const char *"},
  3336. {name = "count", type = "int *"}
  3337. }
  3338. },
  3339. {
  3340. name = "ClearDirectoryFiles",
  3341. description = "Clear directory files paths buffers (free memory)",
  3342. returnType = "void"
  3343. },
  3344. {
  3345. name = "ChangeDirectory",
  3346. description = "Change working directory, return true on success",
  3347. returnType = "bool",
  3348. params = {
  3349. {name = "dir", type = "const char *"}
  3350. }
  3351. },
  3352. {
  3353. name = "IsFileDropped",
  3354. description = "Check if a file has been dropped into window",
  3355. returnType = "bool"
  3356. },
  3357. {
  3358. name = "GetDroppedFiles",
  3359. description = "Get dropped files names (memory should be freed)",
  3360. returnType = "char **",
  3361. params = {
  3362. {name = "count", type = "int *"}
  3363. }
  3364. },
  3365. {
  3366. name = "ClearDroppedFiles",
  3367. description = "Clear dropped files paths buffer (free memory)",
  3368. returnType = "void"
  3369. },
  3370. {
  3371. name = "GetFileModTime",
  3372. description = "Get file modification time (last write time)",
  3373. returnType = "long",
  3374. params = {
  3375. {name = "fileName", type = "const char *"}
  3376. }
  3377. },
  3378. {
  3379. name = "CompressData",
  3380. description = "Compress data (DEFLATE algorithm)",
  3381. returnType = "unsigned char *",
  3382. params = {
  3383. {name = "data", type = "unsigned char *"},
  3384. {name = "dataLength", type = "int"},
  3385. {name = "compDataLength", type = "int *"}
  3386. }
  3387. },
  3388. {
  3389. name = "DecompressData",
  3390. description = "Decompress data (DEFLATE algorithm)",
  3391. returnType = "unsigned char *",
  3392. params = {
  3393. {name = "compData", type = "unsigned char *"},
  3394. {name = "compDataLength", type = "int"},
  3395. {name = "dataLength", type = "int *"}
  3396. }
  3397. },
  3398. {
  3399. name = "EncodeDataBase64",
  3400. description = "Encode data to Base64 string",
  3401. returnType = "char *",
  3402. params = {
  3403. {name = "data", type = "const unsigned char *"},
  3404. {name = "dataLength", type = "int"},
  3405. {name = "outputLength", type = "int *"}
  3406. }
  3407. },
  3408. {
  3409. name = "DecodeDataBase64",
  3410. description = "Decode Base64 string data",
  3411. returnType = "unsigned char *",
  3412. params = {
  3413. {name = "data", type = "unsigned char *"},
  3414. {name = "outputLength", type = "int *"}
  3415. }
  3416. },
  3417. {
  3418. name = "SaveStorageValue",
  3419. description = "Save integer value to storage file (to defined position), returns true on success",
  3420. returnType = "bool",
  3421. params = {
  3422. {name = "position", type = "unsigned int"},
  3423. {name = "value", type = "int"}
  3424. }
  3425. },
  3426. {
  3427. name = "LoadStorageValue",
  3428. description = "Load integer value from storage file (from defined position)",
  3429. returnType = "int",
  3430. params = {
  3431. {name = "position", type = "unsigned int"}
  3432. }
  3433. },
  3434. {
  3435. name = "OpenURL",
  3436. description = "Open URL with default system browser (if available)",
  3437. returnType = "void",
  3438. params = {
  3439. {name = "url", type = "const char *"}
  3440. }
  3441. },
  3442. {
  3443. name = "IsKeyPressed",
  3444. description = "Check if a key has been pressed once",
  3445. returnType = "bool",
  3446. params = {
  3447. {name = "key", type = "int"}
  3448. }
  3449. },
  3450. {
  3451. name = "IsKeyDown",
  3452. description = "Check if a key is being pressed",
  3453. returnType = "bool",
  3454. params = {
  3455. {name = "key", type = "int"}
  3456. }
  3457. },
  3458. {
  3459. name = "IsKeyReleased",
  3460. description = "Check if a key has been released once",
  3461. returnType = "bool",
  3462. params = {
  3463. {name = "key", type = "int"}
  3464. }
  3465. },
  3466. {
  3467. name = "IsKeyUp",
  3468. description = "Check if a key is NOT being pressed",
  3469. returnType = "bool",
  3470. params = {
  3471. {name = "key", type = "int"}
  3472. }
  3473. },
  3474. {
  3475. name = "SetExitKey",
  3476. description = "Set a custom key to exit program (default is ESC)",
  3477. returnType = "void",
  3478. params = {
  3479. {name = "key", type = "int"}
  3480. }
  3481. },
  3482. {
  3483. name = "GetKeyPressed",
  3484. description = "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty",
  3485. returnType = "int"
  3486. },
  3487. {
  3488. name = "GetCharPressed",
  3489. description = "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty",
  3490. returnType = "int"
  3491. },
  3492. {
  3493. name = "IsGamepadAvailable",
  3494. description = "Check if a gamepad is available",
  3495. returnType = "bool",
  3496. params = {
  3497. {name = "gamepad", type = "int"}
  3498. }
  3499. },
  3500. {
  3501. name = "GetGamepadName",
  3502. description = "Get gamepad internal name id",
  3503. returnType = "const char *",
  3504. params = {
  3505. {name = "gamepad", type = "int"}
  3506. }
  3507. },
  3508. {
  3509. name = "IsGamepadButtonPressed",
  3510. description = "Check if a gamepad button has been pressed once",
  3511. returnType = "bool",
  3512. params = {
  3513. {name = "gamepad", type = "int"},
  3514. {name = "button", type = "int"}
  3515. }
  3516. },
  3517. {
  3518. name = "IsGamepadButtonDown",
  3519. description = "Check if a gamepad button is being pressed",
  3520. returnType = "bool",
  3521. params = {
  3522. {name = "gamepad", type = "int"},
  3523. {name = "button", type = "int"}
  3524. }
  3525. },
  3526. {
  3527. name = "IsGamepadButtonReleased",
  3528. description = "Check if a gamepad button has been released once",
  3529. returnType = "bool",
  3530. params = {
  3531. {name = "gamepad", type = "int"},
  3532. {name = "button", type = "int"}
  3533. }
  3534. },
  3535. {
  3536. name = "IsGamepadButtonUp",
  3537. description = "Check if a gamepad button is NOT being pressed",
  3538. returnType = "bool",
  3539. params = {
  3540. {name = "gamepad", type = "int"},
  3541. {name = "button", type = "int"}
  3542. }
  3543. },
  3544. {
  3545. name = "GetGamepadButtonPressed",
  3546. description = "Get the last gamepad button pressed",
  3547. returnType = "int"
  3548. },
  3549. {
  3550. name = "GetGamepadAxisCount",
  3551. description = "Get gamepad axis count for a gamepad",
  3552. returnType = "int",
  3553. params = {
  3554. {name = "gamepad", type = "int"}
  3555. }
  3556. },
  3557. {
  3558. name = "GetGamepadAxisMovement",
  3559. description = "Get axis movement value for a gamepad axis",
  3560. returnType = "float",
  3561. params = {
  3562. {name = "gamepad", type = "int"},
  3563. {name = "axis", type = "int"}
  3564. }
  3565. },
  3566. {
  3567. name = "SetGamepadMappings",
  3568. description = "Set internal gamepad mappings (SDL_GameControllerDB)",
  3569. returnType = "int",
  3570. params = {
  3571. {name = "mappings", type = "const char *"}
  3572. }
  3573. },
  3574. {
  3575. name = "IsMouseButtonPressed",
  3576. description = "Check if a mouse button has been pressed once",
  3577. returnType = "bool",
  3578. params = {
  3579. {name = "button", type = "int"}
  3580. }
  3581. },
  3582. {
  3583. name = "IsMouseButtonDown",
  3584. description = "Check if a mouse button is being pressed",
  3585. returnType = "bool",
  3586. params = {
  3587. {name = "button", type = "int"}
  3588. }
  3589. },
  3590. {
  3591. name = "IsMouseButtonReleased",
  3592. description = "Check if a mouse button has been released once",
  3593. returnType = "bool",
  3594. params = {
  3595. {name = "button", type = "int"}
  3596. }
  3597. },
  3598. {
  3599. name = "IsMouseButtonUp",
  3600. description = "Check if a mouse button is NOT being pressed",
  3601. returnType = "bool",
  3602. params = {
  3603. {name = "button", type = "int"}
  3604. }
  3605. },
  3606. {
  3607. name = "GetMouseX",
  3608. description = "Get mouse position X",
  3609. returnType = "int"
  3610. },
  3611. {
  3612. name = "GetMouseY",
  3613. description = "Get mouse position Y",
  3614. returnType = "int"
  3615. },
  3616. {
  3617. name = "GetMousePosition",
  3618. description = "Get mouse position XY",
  3619. returnType = "Vector2"
  3620. },
  3621. {
  3622. name = "GetMouseDelta",
  3623. description = "Get mouse delta between frames",
  3624. returnType = "Vector2"
  3625. },
  3626. {
  3627. name = "SetMousePosition",
  3628. description = "Set mouse position XY",
  3629. returnType = "void",
  3630. params = {
  3631. {name = "x", type = "int"},
  3632. {name = "y", type = "int"}
  3633. }
  3634. },
  3635. {
  3636. name = "SetMouseOffset",
  3637. description = "Set mouse offset",
  3638. returnType = "void",
  3639. params = {
  3640. {name = "offsetX", type = "int"},
  3641. {name = "offsetY", type = "int"}
  3642. }
  3643. },
  3644. {
  3645. name = "SetMouseScale",
  3646. description = "Set mouse scaling",
  3647. returnType = "void",
  3648. params = {
  3649. {name = "scaleX", type = "float"},
  3650. {name = "scaleY", type = "float"}
  3651. }
  3652. },
  3653. {
  3654. name = "GetMouseWheelMove",
  3655. description = "Get mouse wheel movement Y",
  3656. returnType = "float"
  3657. },
  3658. {
  3659. name = "SetMouseCursor",
  3660. description = "Set mouse cursor",
  3661. returnType = "void",
  3662. params = {
  3663. {name = "cursor", type = "int"}
  3664. }
  3665. },
  3666. {
  3667. name = "GetTouchX",
  3668. description = "Get touch position X for touch point 0 (relative to screen size)",
  3669. returnType = "int"
  3670. },
  3671. {
  3672. name = "GetTouchY",
  3673. description = "Get touch position Y for touch point 0 (relative to screen size)",
  3674. returnType = "int"
  3675. },
  3676. {
  3677. name = "GetTouchPosition",
  3678. description = "Get touch position XY for a touch point index (relative to screen size)",
  3679. returnType = "Vector2",
  3680. params = {
  3681. {name = "index", type = "int"}
  3682. }
  3683. },
  3684. {
  3685. name = "GetTouchPointId",
  3686. description = "Get touch point identifier for given index",
  3687. returnType = "int",
  3688. params = {
  3689. {name = "index", type = "int"}
  3690. }
  3691. },
  3692. {
  3693. name = "GetTouchPointCount",
  3694. description = "Get number of touch points",
  3695. returnType = "int"
  3696. },
  3697. {
  3698. name = "SetGesturesEnabled",
  3699. description = "Enable a set of gestures using flags",
  3700. returnType = "void",
  3701. params = {
  3702. {name = "flags", type = "unsigned int"}
  3703. }
  3704. },
  3705. {
  3706. name = "IsGestureDetected",
  3707. description = "Check if a gesture have been detected",
  3708. returnType = "bool",
  3709. params = {
  3710. {name = "gesture", type = "int"}
  3711. }
  3712. },
  3713. {
  3714. name = "GetGestureDetected",
  3715. description = "Get latest detected gesture",
  3716. returnType = "int"
  3717. },
  3718. {
  3719. name = "GetGestureHoldDuration",
  3720. description = "Get gesture hold time in milliseconds",
  3721. returnType = "float"
  3722. },
  3723. {
  3724. name = "GetGestureDragVector",
  3725. description = "Get gesture drag vector",
  3726. returnType = "Vector2"
  3727. },
  3728. {
  3729. name = "GetGestureDragAngle",
  3730. description = "Get gesture drag angle",
  3731. returnType = "float"
  3732. },
  3733. {
  3734. name = "GetGesturePinchVector",
  3735. description = "Get gesture pinch delta",
  3736. returnType = "Vector2"
  3737. },
  3738. {
  3739. name = "GetGesturePinchAngle",
  3740. description = "Get gesture pinch angle",
  3741. returnType = "float"
  3742. },
  3743. {
  3744. name = "SetCameraMode",
  3745. description = "Set camera mode (multiple camera modes available)",
  3746. returnType = "void",
  3747. params = {
  3748. {name = "camera", type = "Camera"},
  3749. {name = "mode", type = "int"}
  3750. }
  3751. },
  3752. {
  3753. name = "UpdateCamera",
  3754. description = "Update camera position for selected mode",
  3755. returnType = "void",
  3756. params = {
  3757. {name = "camera", type = "Camera *"}
  3758. }
  3759. },
  3760. {
  3761. name = "SetCameraPanControl",
  3762. description = "Set camera pan key to combine with mouse movement (free camera)",
  3763. returnType = "void",
  3764. params = {
  3765. {name = "keyPan", type = "int"}
  3766. }
  3767. },
  3768. {
  3769. name = "SetCameraAltControl",
  3770. description = "Set camera alt key to combine with mouse movement (free camera)",
  3771. returnType = "void",
  3772. params = {
  3773. {name = "keyAlt", type = "int"}
  3774. }
  3775. },
  3776. {
  3777. name = "SetCameraSmoothZoomControl",
  3778. description = "Set camera smooth zoom key to combine with mouse (free camera)",
  3779. returnType = "void",
  3780. params = {
  3781. {name = "keySmoothZoom", type = "int"}
  3782. }
  3783. },
  3784. {
  3785. name = "SetCameraMoveControls",
  3786. description = "Set camera move controls (1st person and 3rd person cameras)",
  3787. returnType = "void",
  3788. params = {
  3789. {name = "keyFront", type = "int"},
  3790. {name = "keyBack", type = "int"},
  3791. {name = "keyRight", type = "int"},
  3792. {name = "keyLeft", type = "int"},
  3793. {name = "keyUp", type = "int"},
  3794. {name = "keyDown", type = "int"}
  3795. }
  3796. },
  3797. {
  3798. name = "SetShapesTexture",
  3799. description = "Set texture and rectangle to be used on shapes drawing",
  3800. returnType = "void",
  3801. params = {
  3802. {name = "texture", type = "Texture2D"},
  3803. {name = "source", type = "Rectangle"}
  3804. }
  3805. },
  3806. {
  3807. name = "DrawPixel",
  3808. description = "Draw a pixel",
  3809. returnType = "void",
  3810. params = {
  3811. {name = "posX", type = "int"},
  3812. {name = "posY", type = "int"},
  3813. {name = "color", type = "Color"}
  3814. }
  3815. },
  3816. {
  3817. name = "DrawPixelV",
  3818. description = "Draw a pixel (Vector version)",
  3819. returnType = "void",
  3820. params = {
  3821. {name = "position", type = "Vector2"},
  3822. {name = "color", type = "Color"}
  3823. }
  3824. },
  3825. {
  3826. name = "DrawLine",
  3827. description = "Draw a line",
  3828. returnType = "void",
  3829. params = {
  3830. {name = "startPosX", type = "int"},
  3831. {name = "startPosY", type = "int"},
  3832. {name = "endPosX", type = "int"},
  3833. {name = "endPosY", type = "int"},
  3834. {name = "color", type = "Color"}
  3835. }
  3836. },
  3837. {
  3838. name = "DrawLineV",
  3839. description = "Draw a line (Vector version)",
  3840. returnType = "void",
  3841. params = {
  3842. {name = "startPos", type = "Vector2"},
  3843. {name = "endPos", type = "Vector2"},
  3844. {name = "color", type = "Color"}
  3845. }
  3846. },
  3847. {
  3848. name = "DrawLineEx",
  3849. description = "Draw a line defining thickness",
  3850. returnType = "void",
  3851. params = {
  3852. {name = "startPos", type = "Vector2"},
  3853. {name = "endPos", type = "Vector2"},
  3854. {name = "thick", type = "float"},
  3855. {name = "color", type = "Color"}
  3856. }
  3857. },
  3858. {
  3859. name = "DrawLineBezier",
  3860. description = "Draw a line using cubic-bezier curves in-out",
  3861. returnType = "void",
  3862. params = {
  3863. {name = "startPos", type = "Vector2"},
  3864. {name = "endPos", type = "Vector2"},
  3865. {name = "thick", type = "float"},
  3866. {name = "color", type = "Color"}
  3867. }
  3868. },
  3869. {
  3870. name = "DrawLineBezierQuad",
  3871. description = "Draw line using quadratic bezier curves with a control point",
  3872. returnType = "void",
  3873. params = {
  3874. {name = "startPos", type = "Vector2"},
  3875. {name = "endPos", type = "Vector2"},
  3876. {name = "controlPos", type = "Vector2"},
  3877. {name = "thick", type = "float"},
  3878. {name = "color", type = "Color"}
  3879. }
  3880. },
  3881. {
  3882. name = "DrawLineBezierCubic",
  3883. description = "Draw line using cubic bezier curves with 2 control points",
  3884. returnType = "void",
  3885. params = {
  3886. {name = "startPos", type = "Vector2"},
  3887. {name = "endPos", type = "Vector2"},
  3888. {name = "startControlPos", type = "Vector2"},
  3889. {name = "endControlPos", type = "Vector2"},
  3890. {name = "thick", type = "float"},
  3891. {name = "color", type = "Color"}
  3892. }
  3893. },
  3894. {
  3895. name = "DrawLineStrip",
  3896. description = "Draw lines sequence",
  3897. returnType = "void",
  3898. params = {
  3899. {name = "points", type = "Vector2 *"},
  3900. {name = "pointCount", type = "int"},
  3901. {name = "color", type = "Color"}
  3902. }
  3903. },
  3904. {
  3905. name = "DrawCircle",
  3906. description = "Draw a color-filled circle",
  3907. returnType = "void",
  3908. params = {
  3909. {name = "centerX", type = "int"},
  3910. {name = "centerY", type = "int"},
  3911. {name = "radius", type = "float"},
  3912. {name = "color", type = "Color"}
  3913. }
  3914. },
  3915. {
  3916. name = "DrawCircleSector",
  3917. description = "Draw a piece of a circle",
  3918. returnType = "void",
  3919. params = {
  3920. {name = "center", type = "Vector2"},
  3921. {name = "radius", type = "float"},
  3922. {name = "startAngle", type = "float"},
  3923. {name = "endAngle", type = "float"},
  3924. {name = "segments", type = "int"},
  3925. {name = "color", type = "Color"}
  3926. }
  3927. },
  3928. {
  3929. name = "DrawCircleSectorLines",
  3930. description = "Draw circle sector outline",
  3931. returnType = "void",
  3932. params = {
  3933. {name = "center", type = "Vector2"},
  3934. {name = "radius", type = "float"},
  3935. {name = "startAngle", type = "float"},
  3936. {name = "endAngle", type = "float"},
  3937. {name = "segments", type = "int"},
  3938. {name = "color", type = "Color"}
  3939. }
  3940. },
  3941. {
  3942. name = "DrawCircleGradient",
  3943. description = "Draw a gradient-filled circle",
  3944. returnType = "void",
  3945. params = {
  3946. {name = "centerX", type = "int"},
  3947. {name = "centerY", type = "int"},
  3948. {name = "radius", type = "float"},
  3949. {name = "color1", type = "Color"},
  3950. {name = "color2", type = "Color"}
  3951. }
  3952. },
  3953. {
  3954. name = "DrawCircleV",
  3955. description = "Draw a color-filled circle (Vector version)",
  3956. returnType = "void",
  3957. params = {
  3958. {name = "center", type = "Vector2"},
  3959. {name = "radius", type = "float"},
  3960. {name = "color", type = "Color"}
  3961. }
  3962. },
  3963. {
  3964. name = "DrawCircleLines",
  3965. description = "Draw circle outline",
  3966. returnType = "void",
  3967. params = {
  3968. {name = "centerX", type = "int"},
  3969. {name = "centerY", type = "int"},
  3970. {name = "radius", type = "float"},
  3971. {name = "color", type = "Color"}
  3972. }
  3973. },
  3974. {
  3975. name = "DrawEllipse",
  3976. description = "Draw ellipse",
  3977. returnType = "void",
  3978. params = {
  3979. {name = "centerX", type = "int"},
  3980. {name = "centerY", type = "int"},
  3981. {name = "radiusH", type = "float"},
  3982. {name = "radiusV", type = "float"},
  3983. {name = "color", type = "Color"}
  3984. }
  3985. },
  3986. {
  3987. name = "DrawEllipseLines",
  3988. description = "Draw ellipse outline",
  3989. returnType = "void",
  3990. params = {
  3991. {name = "centerX", type = "int"},
  3992. {name = "centerY", type = "int"},
  3993. {name = "radiusH", type = "float"},
  3994. {name = "radiusV", type = "float"},
  3995. {name = "color", type = "Color"}
  3996. }
  3997. },
  3998. {
  3999. name = "DrawRing",
  4000. description = "Draw ring",
  4001. returnType = "void",
  4002. params = {
  4003. {name = "center", type = "Vector2"},
  4004. {name = "innerRadius", type = "float"},
  4005. {name = "outerRadius", type = "float"},
  4006. {name = "startAngle", type = "float"},
  4007. {name = "endAngle", type = "float"},
  4008. {name = "segments", type = "int"},
  4009. {name = "color", type = "Color"}
  4010. }
  4011. },
  4012. {
  4013. name = "DrawRingLines",
  4014. description = "Draw ring outline",
  4015. returnType = "void",
  4016. params = {
  4017. {name = "center", type = "Vector2"},
  4018. {name = "innerRadius", type = "float"},
  4019. {name = "outerRadius", type = "float"},
  4020. {name = "startAngle", type = "float"},
  4021. {name = "endAngle", type = "float"},
  4022. {name = "segments", type = "int"},
  4023. {name = "color", type = "Color"}
  4024. }
  4025. },
  4026. {
  4027. name = "DrawRectangle",
  4028. description = "Draw a color-filled rectangle",
  4029. returnType = "void",
  4030. params = {
  4031. {name = "posX", type = "int"},
  4032. {name = "posY", type = "int"},
  4033. {name = "width", type = "int"},
  4034. {name = "height", type = "int"},
  4035. {name = "color", type = "Color"}
  4036. }
  4037. },
  4038. {
  4039. name = "DrawRectangleV",
  4040. description = "Draw a color-filled rectangle (Vector version)",
  4041. returnType = "void",
  4042. params = {
  4043. {name = "position", type = "Vector2"},
  4044. {name = "size", type = "Vector2"},
  4045. {name = "color", type = "Color"}
  4046. }
  4047. },
  4048. {
  4049. name = "DrawRectangleRec",
  4050. description = "Draw a color-filled rectangle",
  4051. returnType = "void",
  4052. params = {
  4053. {name = "rec", type = "Rectangle"},
  4054. {name = "color", type = "Color"}
  4055. }
  4056. },
  4057. {
  4058. name = "DrawRectanglePro",
  4059. description = "Draw a color-filled rectangle with pro parameters",
  4060. returnType = "void",
  4061. params = {
  4062. {name = "rec", type = "Rectangle"},
  4063. {name = "origin", type = "Vector2"},
  4064. {name = "rotation", type = "float"},
  4065. {name = "color", type = "Color"}
  4066. }
  4067. },
  4068. {
  4069. name = "DrawRectangleGradientV",
  4070. description = "Draw a vertical-gradient-filled rectangle",
  4071. returnType = "void",
  4072. params = {
  4073. {name = "posX", type = "int"},
  4074. {name = "posY", type = "int"},
  4075. {name = "width", type = "int"},
  4076. {name = "height", type = "int"},
  4077. {name = "color1", type = "Color"},
  4078. {name = "color2", type = "Color"}
  4079. }
  4080. },
  4081. {
  4082. name = "DrawRectangleGradientH",
  4083. description = "Draw a horizontal-gradient-filled rectangle",
  4084. returnType = "void",
  4085. params = {
  4086. {name = "posX", type = "int"},
  4087. {name = "posY", type = "int"},
  4088. {name = "width", type = "int"},
  4089. {name = "height", type = "int"},
  4090. {name = "color1", type = "Color"},
  4091. {name = "color2", type = "Color"}
  4092. }
  4093. },
  4094. {
  4095. name = "DrawRectangleGradientEx",
  4096. description = "Draw a gradient-filled rectangle with custom vertex colors",
  4097. returnType = "void",
  4098. params = {
  4099. {name = "rec", type = "Rectangle"},
  4100. {name = "col1", type = "Color"},
  4101. {name = "col2", type = "Color"},
  4102. {name = "col3", type = "Color"},
  4103. {name = "col4", type = "Color"}
  4104. }
  4105. },
  4106. {
  4107. name = "DrawRectangleLines",
  4108. description = "Draw rectangle outline",
  4109. returnType = "void",
  4110. params = {
  4111. {name = "posX", type = "int"},
  4112. {name = "posY", type = "int"},
  4113. {name = "width", type = "int"},
  4114. {name = "height", type = "int"},
  4115. {name = "color", type = "Color"}
  4116. }
  4117. },
  4118. {
  4119. name = "DrawRectangleLinesEx",
  4120. description = "Draw rectangle outline with extended parameters",
  4121. returnType = "void",
  4122. params = {
  4123. {name = "rec", type = "Rectangle"},
  4124. {name = "lineThick", type = "float"},
  4125. {name = "color", type = "Color"}
  4126. }
  4127. },
  4128. {
  4129. name = "DrawRectangleRounded",
  4130. description = "Draw rectangle with rounded edges",
  4131. returnType = "void",
  4132. params = {
  4133. {name = "rec", type = "Rectangle"},
  4134. {name = "roundness", type = "float"},
  4135. {name = "segments", type = "int"},
  4136. {name = "color", type = "Color"}
  4137. }
  4138. },
  4139. {
  4140. name = "DrawRectangleRoundedLines",
  4141. description = "Draw rectangle with rounded edges outline",
  4142. returnType = "void",
  4143. params = {
  4144. {name = "rec", type = "Rectangle"},
  4145. {name = "roundness", type = "float"},
  4146. {name = "segments", type = "int"},
  4147. {name = "lineThick", type = "float"},
  4148. {name = "color", type = "Color"}
  4149. }
  4150. },
  4151. {
  4152. name = "DrawTriangle",
  4153. description = "Draw a color-filled triangle (vertex in counter-clockwise order!)",
  4154. returnType = "void",
  4155. params = {
  4156. {name = "v1", type = "Vector2"},
  4157. {name = "v2", type = "Vector2"},
  4158. {name = "v3", type = "Vector2"},
  4159. {name = "color", type = "Color"}
  4160. }
  4161. },
  4162. {
  4163. name = "DrawTriangleLines",
  4164. description = "Draw triangle outline (vertex in counter-clockwise order!)",
  4165. returnType = "void",
  4166. params = {
  4167. {name = "v1", type = "Vector2"},
  4168. {name = "v2", type = "Vector2"},
  4169. {name = "v3", type = "Vector2"},
  4170. {name = "color", type = "Color"}
  4171. }
  4172. },
  4173. {
  4174. name = "DrawTriangleFan",
  4175. description = "Draw a triangle fan defined by points (first vertex is the center)",
  4176. returnType = "void",
  4177. params = {
  4178. {name = "points", type = "Vector2 *"},
  4179. {name = "pointCount", type = "int"},
  4180. {name = "color", type = "Color"}
  4181. }
  4182. },
  4183. {
  4184. name = "DrawTriangleStrip",
  4185. description = "Draw a triangle strip defined by points",
  4186. returnType = "void",
  4187. params = {
  4188. {name = "points", type = "Vector2 *"},
  4189. {name = "pointCount", type = "int"},
  4190. {name = "color", type = "Color"}
  4191. }
  4192. },
  4193. {
  4194. name = "DrawPoly",
  4195. description = "Draw a regular polygon (Vector version)",
  4196. returnType = "void",
  4197. params = {
  4198. {name = "center", type = "Vector2"},
  4199. {name = "sides", type = "int"},
  4200. {name = "radius", type = "float"},
  4201. {name = "rotation", type = "float"},
  4202. {name = "color", type = "Color"}
  4203. }
  4204. },
  4205. {
  4206. name = "DrawPolyLines",
  4207. description = "Draw a polygon outline of n sides",
  4208. returnType = "void",
  4209. params = {
  4210. {name = "center", type = "Vector2"},
  4211. {name = "sides", type = "int"},
  4212. {name = "radius", type = "float"},
  4213. {name = "rotation", type = "float"},
  4214. {name = "color", type = "Color"}
  4215. }
  4216. },
  4217. {
  4218. name = "DrawPolyLinesEx",
  4219. description = "Draw a polygon outline of n sides with extended parameters",
  4220. returnType = "void",
  4221. params = {
  4222. {name = "center", type = "Vector2"},
  4223. {name = "sides", type = "int"},
  4224. {name = "radius", type = "float"},
  4225. {name = "rotation", type = "float"},
  4226. {name = "lineThick", type = "float"},
  4227. {name = "color", type = "Color"}
  4228. }
  4229. },
  4230. {
  4231. name = "CheckCollisionRecs",
  4232. description = "Check collision between two rectangles",
  4233. returnType = "bool",
  4234. params = {
  4235. {name = "rec1", type = "Rectangle"},
  4236. {name = "rec2", type = "Rectangle"}
  4237. }
  4238. },
  4239. {
  4240. name = "CheckCollisionCircles",
  4241. description = "Check collision between two circles",
  4242. returnType = "bool",
  4243. params = {
  4244. {name = "center1", type = "Vector2"},
  4245. {name = "radius1", type = "float"},
  4246. {name = "center2", type = "Vector2"},
  4247. {name = "radius2", type = "float"}
  4248. }
  4249. },
  4250. {
  4251. name = "CheckCollisionCircleRec",
  4252. description = "Check collision between circle and rectangle",
  4253. returnType = "bool",
  4254. params = {
  4255. {name = "center", type = "Vector2"},
  4256. {name = "radius", type = "float"},
  4257. {name = "rec", type = "Rectangle"}
  4258. }
  4259. },
  4260. {
  4261. name = "CheckCollisionPointRec",
  4262. description = "Check if point is inside rectangle",
  4263. returnType = "bool",
  4264. params = {
  4265. {name = "point", type = "Vector2"},
  4266. {name = "rec", type = "Rectangle"}
  4267. }
  4268. },
  4269. {
  4270. name = "CheckCollisionPointCircle",
  4271. description = "Check if point is inside circle",
  4272. returnType = "bool",
  4273. params = {
  4274. {name = "point", type = "Vector2"},
  4275. {name = "center", type = "Vector2"},
  4276. {name = "radius", type = "float"}
  4277. }
  4278. },
  4279. {
  4280. name = "CheckCollisionPointTriangle",
  4281. description = "Check if point is inside a triangle",
  4282. returnType = "bool",
  4283. params = {
  4284. {name = "point", type = "Vector2"},
  4285. {name = "p1", type = "Vector2"},
  4286. {name = "p2", type = "Vector2"},
  4287. {name = "p3", type = "Vector2"}
  4288. }
  4289. },
  4290. {
  4291. name = "CheckCollisionLines",
  4292. description = "Check the collision between two lines defined by two points each, returns collision point by reference",
  4293. returnType = "bool",
  4294. params = {
  4295. {name = "startPos1", type = "Vector2"},
  4296. {name = "endPos1", type = "Vector2"},
  4297. {name = "startPos2", type = "Vector2"},
  4298. {name = "endPos2", type = "Vector2"},
  4299. {name = "collisionPoint", type = "Vector2 *"}
  4300. }
  4301. },
  4302. {
  4303. name = "CheckCollisionPointLine",
  4304. description = "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]",
  4305. returnType = "bool",
  4306. params = {
  4307. {name = "point", type = "Vector2"},
  4308. {name = "p1", type = "Vector2"},
  4309. {name = "p2", type = "Vector2"},
  4310. {name = "threshold", type = "int"}
  4311. }
  4312. },
  4313. {
  4314. name = "GetCollisionRec",
  4315. description = "Get collision rectangle for two rectangles collision",
  4316. returnType = "Rectangle",
  4317. params = {
  4318. {name = "rec1", type = "Rectangle"},
  4319. {name = "rec2", type = "Rectangle"}
  4320. }
  4321. },
  4322. {
  4323. name = "LoadImage",
  4324. description = "Load image from file into CPU memory (RAM)",
  4325. returnType = "Image",
  4326. params = {
  4327. {name = "fileName", type = "const char *"}
  4328. }
  4329. },
  4330. {
  4331. name = "LoadImageRaw",
  4332. description = "Load image from RAW file data",
  4333. returnType = "Image",
  4334. params = {
  4335. {name = "fileName", type = "const char *"},
  4336. {name = "width", type = "int"},
  4337. {name = "height", type = "int"},
  4338. {name = "format", type = "int"},
  4339. {name = "headerSize", type = "int"}
  4340. }
  4341. },
  4342. {
  4343. name = "LoadImageAnim",
  4344. description = "Load image sequence from file (frames appended to image.data)",
  4345. returnType = "Image",
  4346. params = {
  4347. {name = "fileName", type = "const char *"},
  4348. {name = "frames", type = "int *"}
  4349. }
  4350. },
  4351. {
  4352. name = "LoadImageFromMemory",
  4353. description = "Load image from memory buffer, fileType refers to extension: i.e. '.png'",
  4354. returnType = "Image",
  4355. params = {
  4356. {name = "fileType", type = "const char *"},
  4357. {name = "fileData", type = "const unsigned char *"},
  4358. {name = "dataSize", type = "int"}
  4359. }
  4360. },
  4361. {
  4362. name = "LoadImageFromTexture",
  4363. description = "Load image from GPU texture data",
  4364. returnType = "Image",
  4365. params = {
  4366. {name = "texture", type = "Texture2D"}
  4367. }
  4368. },
  4369. {
  4370. name = "LoadImageFromScreen",
  4371. description = "Load image from screen buffer and (screenshot)",
  4372. returnType = "Image"
  4373. },
  4374. {
  4375. name = "UnloadImage",
  4376. description = "Unload image from CPU memory (RAM)",
  4377. returnType = "void",
  4378. params = {
  4379. {name = "image", type = "Image"}
  4380. }
  4381. },
  4382. {
  4383. name = "ExportImage",
  4384. description = "Export image data to file, returns true on success",
  4385. returnType = "bool",
  4386. params = {
  4387. {name = "image", type = "Image"},
  4388. {name = "fileName", type = "const char *"}
  4389. }
  4390. },
  4391. {
  4392. name = "ExportImageAsCode",
  4393. description = "Export image as code file defining an array of bytes, returns true on success",
  4394. returnType = "bool",
  4395. params = {
  4396. {name = "image", type = "Image"},
  4397. {name = "fileName", type = "const char *"}
  4398. }
  4399. },
  4400. {
  4401. name = "GenImageColor",
  4402. description = "Generate image: plain color",
  4403. returnType = "Image",
  4404. params = {
  4405. {name = "width", type = "int"},
  4406. {name = "height", type = "int"},
  4407. {name = "color", type = "Color"}
  4408. }
  4409. },
  4410. {
  4411. name = "GenImageGradientV",
  4412. description = "Generate image: vertical gradient",
  4413. returnType = "Image",
  4414. params = {
  4415. {name = "width", type = "int"},
  4416. {name = "height", type = "int"},
  4417. {name = "top", type = "Color"},
  4418. {name = "bottom", type = "Color"}
  4419. }
  4420. },
  4421. {
  4422. name = "GenImageGradientH",
  4423. description = "Generate image: horizontal gradient",
  4424. returnType = "Image",
  4425. params = {
  4426. {name = "width", type = "int"},
  4427. {name = "height", type = "int"},
  4428. {name = "left", type = "Color"},
  4429. {name = "right", type = "Color"}
  4430. }
  4431. },
  4432. {
  4433. name = "GenImageGradientRadial",
  4434. description = "Generate image: radial gradient",
  4435. returnType = "Image",
  4436. params = {
  4437. {name = "width", type = "int"},
  4438. {name = "height", type = "int"},
  4439. {name = "density", type = "float"},
  4440. {name = "inner", type = "Color"},
  4441. {name = "outer", type = "Color"}
  4442. }
  4443. },
  4444. {
  4445. name = "GenImageChecked",
  4446. description = "Generate image: checked",
  4447. returnType = "Image",
  4448. params = {
  4449. {name = "width", type = "int"},
  4450. {name = "height", type = "int"},
  4451. {name = "checksX", type = "int"},
  4452. {name = "checksY", type = "int"},
  4453. {name = "col1", type = "Color"},
  4454. {name = "col2", type = "Color"}
  4455. }
  4456. },
  4457. {
  4458. name = "GenImageWhiteNoise",
  4459. description = "Generate image: white noise",
  4460. returnType = "Image",
  4461. params = {
  4462. {name = "width", type = "int"},
  4463. {name = "height", type = "int"},
  4464. {name = "factor", type = "float"}
  4465. }
  4466. },
  4467. {
  4468. name = "GenImageCellular",
  4469. description = "Generate image: cellular algorithm, bigger tileSize means bigger cells",
  4470. returnType = "Image",
  4471. params = {
  4472. {name = "width", type = "int"},
  4473. {name = "height", type = "int"},
  4474. {name = "tileSize", type = "int"}
  4475. }
  4476. },
  4477. {
  4478. name = "ImageCopy",
  4479. description = "Create an image duplicate (useful for transformations)",
  4480. returnType = "Image",
  4481. params = {
  4482. {name = "image", type = "Image"}
  4483. }
  4484. },
  4485. {
  4486. name = "ImageFromImage",
  4487. description = "Create an image from another image piece",
  4488. returnType = "Image",
  4489. params = {
  4490. {name = "image", type = "Image"},
  4491. {name = "rec", type = "Rectangle"}
  4492. }
  4493. },
  4494. {
  4495. name = "ImageText",
  4496. description = "Create an image from text (default font)",
  4497. returnType = "Image",
  4498. params = {
  4499. {name = "text", type = "const char *"},
  4500. {name = "fontSize", type = "int"},
  4501. {name = "color", type = "Color"}
  4502. }
  4503. },
  4504. {
  4505. name = "ImageTextEx",
  4506. description = "Create an image from text (custom sprite font)",
  4507. returnType = "Image",
  4508. params = {
  4509. {name = "font", type = "Font"},
  4510. {name = "text", type = "const char *"},
  4511. {name = "fontSize", type = "float"},
  4512. {name = "spacing", type = "float"},
  4513. {name = "tint", type = "Color"}
  4514. }
  4515. },
  4516. {
  4517. name = "ImageFormat",
  4518. description = "Convert image data to desired format",
  4519. returnType = "void",
  4520. params = {
  4521. {name = "image", type = "Image *"},
  4522. {name = "newFormat", type = "int"}
  4523. }
  4524. },
  4525. {
  4526. name = "ImageToPOT",
  4527. description = "Convert image to POT (power-of-two)",
  4528. returnType = "void",
  4529. params = {
  4530. {name = "image", type = "Image *"},
  4531. {name = "fill", type = "Color"}
  4532. }
  4533. },
  4534. {
  4535. name = "ImageCrop",
  4536. description = "Crop an image to a defined rectangle",
  4537. returnType = "void",
  4538. params = {
  4539. {name = "image", type = "Image *"},
  4540. {name = "crop", type = "Rectangle"}
  4541. }
  4542. },
  4543. {
  4544. name = "ImageAlphaCrop",
  4545. description = "Crop image depending on alpha value",
  4546. returnType = "void",
  4547. params = {
  4548. {name = "image", type = "Image *"},
  4549. {name = "threshold", type = "float"}
  4550. }
  4551. },
  4552. {
  4553. name = "ImageAlphaClear",
  4554. description = "Clear alpha channel to desired color",
  4555. returnType = "void",
  4556. params = {
  4557. {name = "image", type = "Image *"},
  4558. {name = "color", type = "Color"},
  4559. {name = "threshold", type = "float"}
  4560. }
  4561. },
  4562. {
  4563. name = "ImageAlphaMask",
  4564. description = "Apply alpha mask to image",
  4565. returnType = "void",
  4566. params = {
  4567. {name = "image", type = "Image *"},
  4568. {name = "alphaMask", type = "Image"}
  4569. }
  4570. },
  4571. {
  4572. name = "ImageAlphaPremultiply",
  4573. description = "Premultiply alpha channel",
  4574. returnType = "void",
  4575. params = {
  4576. {name = "image", type = "Image *"}
  4577. }
  4578. },
  4579. {
  4580. name = "ImageResize",
  4581. description = "Resize image (Bicubic scaling algorithm)",
  4582. returnType = "void",
  4583. params = {
  4584. {name = "image", type = "Image *"},
  4585. {name = "newWidth", type = "int"},
  4586. {name = "newHeight", type = "int"}
  4587. }
  4588. },
  4589. {
  4590. name = "ImageResizeNN",
  4591. description = "Resize image (Nearest-Neighbor scaling algorithm)",
  4592. returnType = "void",
  4593. params = {
  4594. {name = "image", type = "Image *"},
  4595. {name = "newWidth", type = "int"},
  4596. {name = "newHeight", type = "int"}
  4597. }
  4598. },
  4599. {
  4600. name = "ImageResizeCanvas",
  4601. description = "Resize canvas and fill with color",
  4602. returnType = "void",
  4603. params = {
  4604. {name = "image", type = "Image *"},
  4605. {name = "newWidth", type = "int"},
  4606. {name = "newHeight", type = "int"},
  4607. {name = "offsetX", type = "int"},
  4608. {name = "offsetY", type = "int"},
  4609. {name = "fill", type = "Color"}
  4610. }
  4611. },
  4612. {
  4613. name = "ImageMipmaps",
  4614. description = "Compute all mipmap levels for a provided image",
  4615. returnType = "void",
  4616. params = {
  4617. {name = "image", type = "Image *"}
  4618. }
  4619. },
  4620. {
  4621. name = "ImageDither",
  4622. description = "Dither image data to 16bpp or lower (Floyd-Steinberg dithering)",
  4623. returnType = "void",
  4624. params = {
  4625. {name = "image", type = "Image *"},
  4626. {name = "rBpp", type = "int"},
  4627. {name = "gBpp", type = "int"},
  4628. {name = "bBpp", type = "int"},
  4629. {name = "aBpp", type = "int"}
  4630. }
  4631. },
  4632. {
  4633. name = "ImageFlipVertical",
  4634. description = "Flip image vertically",
  4635. returnType = "void",
  4636. params = {
  4637. {name = "image", type = "Image *"}
  4638. }
  4639. },
  4640. {
  4641. name = "ImageFlipHorizontal",
  4642. description = "Flip image horizontally",
  4643. returnType = "void",
  4644. params = {
  4645. {name = "image", type = "Image *"}
  4646. }
  4647. },
  4648. {
  4649. name = "ImageRotateCW",
  4650. description = "Rotate image clockwise 90deg",
  4651. returnType = "void",
  4652. params = {
  4653. {name = "image", type = "Image *"}
  4654. }
  4655. },
  4656. {
  4657. name = "ImageRotateCCW",
  4658. description = "Rotate image counter-clockwise 90deg",
  4659. returnType = "void",
  4660. params = {
  4661. {name = "image", type = "Image *"}
  4662. }
  4663. },
  4664. {
  4665. name = "ImageColorTint",
  4666. description = "Modify image color: tint",
  4667. returnType = "void",
  4668. params = {
  4669. {name = "image", type = "Image *"},
  4670. {name = "color", type = "Color"}
  4671. }
  4672. },
  4673. {
  4674. name = "ImageColorInvert",
  4675. description = "Modify image color: invert",
  4676. returnType = "void",
  4677. params = {
  4678. {name = "image", type = "Image *"}
  4679. }
  4680. },
  4681. {
  4682. name = "ImageColorGrayscale",
  4683. description = "Modify image color: grayscale",
  4684. returnType = "void",
  4685. params = {
  4686. {name = "image", type = "Image *"}
  4687. }
  4688. },
  4689. {
  4690. name = "ImageColorContrast",
  4691. description = "Modify image color: contrast (-100 to 100)",
  4692. returnType = "void",
  4693. params = {
  4694. {name = "image", type = "Image *"},
  4695. {name = "contrast", type = "float"}
  4696. }
  4697. },
  4698. {
  4699. name = "ImageColorBrightness",
  4700. description = "Modify image color: brightness (-255 to 255)",
  4701. returnType = "void",
  4702. params = {
  4703. {name = "image", type = "Image *"},
  4704. {name = "brightness", type = "int"}
  4705. }
  4706. },
  4707. {
  4708. name = "ImageColorReplace",
  4709. description = "Modify image color: replace color",
  4710. returnType = "void",
  4711. params = {
  4712. {name = "image", type = "Image *"},
  4713. {name = "color", type = "Color"},
  4714. {name = "replace", type = "Color"}
  4715. }
  4716. },
  4717. {
  4718. name = "LoadImageColors",
  4719. description = "Load color data from image as a Color array (RGBA - 32bit)",
  4720. returnType = "Color *",
  4721. params = {
  4722. {name = "image", type = "Image"}
  4723. }
  4724. },
  4725. {
  4726. name = "LoadImagePalette",
  4727. description = "Load colors palette from image as a Color array (RGBA - 32bit)",
  4728. returnType = "Color *",
  4729. params = {
  4730. {name = "image", type = "Image"},
  4731. {name = "maxPaletteSize", type = "int"},
  4732. {name = "colorCount", type = "int *"}
  4733. }
  4734. },
  4735. {
  4736. name = "UnloadImageColors",
  4737. description = "Unload color data loaded with LoadImageColors()",
  4738. returnType = "void",
  4739. params = {
  4740. {name = "colors", type = "Color *"}
  4741. }
  4742. },
  4743. {
  4744. name = "UnloadImagePalette",
  4745. description = "Unload colors palette loaded with LoadImagePalette()",
  4746. returnType = "void",
  4747. params = {
  4748. {name = "colors", type = "Color *"}
  4749. }
  4750. },
  4751. {
  4752. name = "GetImageAlphaBorder",
  4753. description = "Get image alpha border rectangle",
  4754. returnType = "Rectangle",
  4755. params = {
  4756. {name = "image", type = "Image"},
  4757. {name = "threshold", type = "float"}
  4758. }
  4759. },
  4760. {
  4761. name = "GetImageColor",
  4762. description = "Get image pixel color at (x, y) position",
  4763. returnType = "Color",
  4764. params = {
  4765. {name = "image", type = "Image"},
  4766. {name = "x", type = "int"},
  4767. {name = "y", type = "int"}
  4768. }
  4769. },
  4770. {
  4771. name = "ImageClearBackground",
  4772. description = "Clear image background with given color",
  4773. returnType = "void",
  4774. params = {
  4775. {name = "dst", type = "Image *"},
  4776. {name = "color", type = "Color"}
  4777. }
  4778. },
  4779. {
  4780. name = "ImageDrawPixel",
  4781. description = "Draw pixel within an image",
  4782. returnType = "void",
  4783. params = {
  4784. {name = "dst", type = "Image *"},
  4785. {name = "posX", type = "int"},
  4786. {name = "posY", type = "int"},
  4787. {name = "color", type = "Color"}
  4788. }
  4789. },
  4790. {
  4791. name = "ImageDrawPixelV",
  4792. description = "Draw pixel within an image (Vector version)",
  4793. returnType = "void",
  4794. params = {
  4795. {name = "dst", type = "Image *"},
  4796. {name = "position", type = "Vector2"},
  4797. {name = "color", type = "Color"}
  4798. }
  4799. },
  4800. {
  4801. name = "ImageDrawLine",
  4802. description = "Draw line within an image",
  4803. returnType = "void",
  4804. params = {
  4805. {name = "dst", type = "Image *"},
  4806. {name = "startPosX", type = "int"},
  4807. {name = "startPosY", type = "int"},
  4808. {name = "endPosX", type = "int"},
  4809. {name = "endPosY", type = "int"},
  4810. {name = "color", type = "Color"}
  4811. }
  4812. },
  4813. {
  4814. name = "ImageDrawLineV",
  4815. description = "Draw line within an image (Vector version)",
  4816. returnType = "void",
  4817. params = {
  4818. {name = "dst", type = "Image *"},
  4819. {name = "start", type = "Vector2"},
  4820. {name = "end", type = "Vector2"},
  4821. {name = "color", type = "Color"}
  4822. }
  4823. },
  4824. {
  4825. name = "ImageDrawCircle",
  4826. description = "Draw circle within an image",
  4827. returnType = "void",
  4828. params = {
  4829. {name = "dst", type = "Image *"},
  4830. {name = "centerX", type = "int"},
  4831. {name = "centerY", type = "int"},
  4832. {name = "radius", type = "int"},
  4833. {name = "color", type = "Color"}
  4834. }
  4835. },
  4836. {
  4837. name = "ImageDrawCircleV",
  4838. description = "Draw circle within an image (Vector version)",
  4839. returnType = "void",
  4840. params = {
  4841. {name = "dst", type = "Image *"},
  4842. {name = "center", type = "Vector2"},
  4843. {name = "radius", type = "int"},
  4844. {name = "color", type = "Color"}
  4845. }
  4846. },
  4847. {
  4848. name = "ImageDrawRectangle",
  4849. description = "Draw rectangle within an image",
  4850. returnType = "void",
  4851. params = {
  4852. {name = "dst", type = "Image *"},
  4853. {name = "posX", type = "int"},
  4854. {name = "posY", type = "int"},
  4855. {name = "width", type = "int"},
  4856. {name = "height", type = "int"},
  4857. {name = "color", type = "Color"}
  4858. }
  4859. },
  4860. {
  4861. name = "ImageDrawRectangleV",
  4862. description = "Draw rectangle within an image (Vector version)",
  4863. returnType = "void",
  4864. params = {
  4865. {name = "dst", type = "Image *"},
  4866. {name = "position", type = "Vector2"},
  4867. {name = "size", type = "Vector2"},
  4868. {name = "color", type = "Color"}
  4869. }
  4870. },
  4871. {
  4872. name = "ImageDrawRectangleRec",
  4873. description = "Draw rectangle within an image",
  4874. returnType = "void",
  4875. params = {
  4876. {name = "dst", type = "Image *"},
  4877. {name = "rec", type = "Rectangle"},
  4878. {name = "color", type = "Color"}
  4879. }
  4880. },
  4881. {
  4882. name = "ImageDrawRectangleLines",
  4883. description = "Draw rectangle lines within an image",
  4884. returnType = "void",
  4885. params = {
  4886. {name = "dst", type = "Image *"},
  4887. {name = "rec", type = "Rectangle"},
  4888. {name = "thick", type = "int"},
  4889. {name = "color", type = "Color"}
  4890. }
  4891. },
  4892. {
  4893. name = "ImageDraw",
  4894. description = "Draw a source image within a destination image (tint applied to source)",
  4895. returnType = "void",
  4896. params = {
  4897. {name = "dst", type = "Image *"},
  4898. {name = "src", type = "Image"},
  4899. {name = "srcRec", type = "Rectangle"},
  4900. {name = "dstRec", type = "Rectangle"},
  4901. {name = "tint", type = "Color"}
  4902. }
  4903. },
  4904. {
  4905. name = "ImageDrawText",
  4906. description = "Draw text (using default font) within an image (destination)",
  4907. returnType = "void",
  4908. params = {
  4909. {name = "dst", type = "Image *"},
  4910. {name = "text", type = "const char *"},
  4911. {name = "posX", type = "int"},
  4912. {name = "posY", type = "int"},
  4913. {name = "fontSize", type = "int"},
  4914. {name = "color", type = "Color"}
  4915. }
  4916. },
  4917. {
  4918. name = "ImageDrawTextEx",
  4919. description = "Draw text (custom sprite font) within an image (destination)",
  4920. returnType = "void",
  4921. params = {
  4922. {name = "dst", type = "Image *"},
  4923. {name = "font", type = "Font"},
  4924. {name = "text", type = "const char *"},
  4925. {name = "position", type = "Vector2"},
  4926. {name = "fontSize", type = "float"},
  4927. {name = "spacing", type = "float"},
  4928. {name = "tint", type = "Color"}
  4929. }
  4930. },
  4931. {
  4932. name = "LoadTexture",
  4933. description = "Load texture from file into GPU memory (VRAM)",
  4934. returnType = "Texture2D",
  4935. params = {
  4936. {name = "fileName", type = "const char *"}
  4937. }
  4938. },
  4939. {
  4940. name = "LoadTextureFromImage",
  4941. description = "Load texture from image data",
  4942. returnType = "Texture2D",
  4943. params = {
  4944. {name = "image", type = "Image"}
  4945. }
  4946. },
  4947. {
  4948. name = "LoadTextureCubemap",
  4949. description = "Load cubemap from image, multiple image cubemap layouts supported",
  4950. returnType = "TextureCubemap",
  4951. params = {
  4952. {name = "image", type = "Image"},
  4953. {name = "layout", type = "int"}
  4954. }
  4955. },
  4956. {
  4957. name = "LoadRenderTexture",
  4958. description = "Load texture for rendering (framebuffer)",
  4959. returnType = "RenderTexture2D",
  4960. params = {
  4961. {name = "width", type = "int"},
  4962. {name = "height", type = "int"}
  4963. }
  4964. },
  4965. {
  4966. name = "UnloadTexture",
  4967. description = "Unload texture from GPU memory (VRAM)",
  4968. returnType = "void",
  4969. params = {
  4970. {name = "texture", type = "Texture2D"}
  4971. }
  4972. },
  4973. {
  4974. name = "UnloadRenderTexture",
  4975. description = "Unload render texture from GPU memory (VRAM)",
  4976. returnType = "void",
  4977. params = {
  4978. {name = "target", type = "RenderTexture2D"}
  4979. }
  4980. },
  4981. {
  4982. name = "UpdateTexture",
  4983. description = "Update GPU texture with new data",
  4984. returnType = "void",
  4985. params = {
  4986. {name = "texture", type = "Texture2D"},
  4987. {name = "pixels", type = "const void *"}
  4988. }
  4989. },
  4990. {
  4991. name = "UpdateTextureRec",
  4992. description = "Update GPU texture rectangle with new data",
  4993. returnType = "void",
  4994. params = {
  4995. {name = "texture", type = "Texture2D"},
  4996. {name = "rec", type = "Rectangle"},
  4997. {name = "pixels", type = "const void *"}
  4998. }
  4999. },
  5000. {
  5001. name = "GenTextureMipmaps",
  5002. description = "Generate GPU mipmaps for a texture",
  5003. returnType = "void",
  5004. params = {
  5005. {name = "texture", type = "Texture2D *"}
  5006. }
  5007. },
  5008. {
  5009. name = "SetTextureFilter",
  5010. description = "Set texture scaling filter mode",
  5011. returnType = "void",
  5012. params = {
  5013. {name = "texture", type = "Texture2D"},
  5014. {name = "filter", type = "int"}
  5015. }
  5016. },
  5017. {
  5018. name = "SetTextureWrap",
  5019. description = "Set texture wrapping mode",
  5020. returnType = "void",
  5021. params = {
  5022. {name = "texture", type = "Texture2D"},
  5023. {name = "wrap", type = "int"}
  5024. }
  5025. },
  5026. {
  5027. name = "DrawTexture",
  5028. description = "Draw a Texture2D",
  5029. returnType = "void",
  5030. params = {
  5031. {name = "texture", type = "Texture2D"},
  5032. {name = "posX", type = "int"},
  5033. {name = "posY", type = "int"},
  5034. {name = "tint", type = "Color"}
  5035. }
  5036. },
  5037. {
  5038. name = "DrawTextureV",
  5039. description = "Draw a Texture2D with position defined as Vector2",
  5040. returnType = "void",
  5041. params = {
  5042. {name = "texture", type = "Texture2D"},
  5043. {name = "position", type = "Vector2"},
  5044. {name = "tint", type = "Color"}
  5045. }
  5046. },
  5047. {
  5048. name = "DrawTextureEx",
  5049. description = "Draw a Texture2D with extended parameters",
  5050. returnType = "void",
  5051. params = {
  5052. {name = "texture", type = "Texture2D"},
  5053. {name = "position", type = "Vector2"},
  5054. {name = "rotation", type = "float"},
  5055. {name = "scale", type = "float"},
  5056. {name = "tint", type = "Color"}
  5057. }
  5058. },
  5059. {
  5060. name = "DrawTextureRec",
  5061. description = "Draw a part of a texture defined by a rectangle",
  5062. returnType = "void",
  5063. params = {
  5064. {name = "texture", type = "Texture2D"},
  5065. {name = "source", type = "Rectangle"},
  5066. {name = "position", type = "Vector2"},
  5067. {name = "tint", type = "Color"}
  5068. }
  5069. },
  5070. {
  5071. name = "DrawTextureQuad",
  5072. description = "Draw texture quad with tiling and offset parameters",
  5073. returnType = "void",
  5074. params = {
  5075. {name = "texture", type = "Texture2D"},
  5076. {name = "tiling", type = "Vector2"},
  5077. {name = "offset", type = "Vector2"},
  5078. {name = "quad", type = "Rectangle"},
  5079. {name = "tint", type = "Color"}
  5080. }
  5081. },
  5082. {
  5083. name = "DrawTextureTiled",
  5084. description = "Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.",
  5085. returnType = "void",
  5086. params = {
  5087. {name = "texture", type = "Texture2D"},
  5088. {name = "source", type = "Rectangle"},
  5089. {name = "dest", type = "Rectangle"},
  5090. {name = "origin", type = "Vector2"},
  5091. {name = "rotation", type = "float"},
  5092. {name = "scale", type = "float"},
  5093. {name = "tint", type = "Color"}
  5094. }
  5095. },
  5096. {
  5097. name = "DrawTexturePro",
  5098. description = "Draw a part of a texture defined by a rectangle with 'pro' parameters",
  5099. returnType = "void",
  5100. params = {
  5101. {name = "texture", type = "Texture2D"},
  5102. {name = "source", type = "Rectangle"},
  5103. {name = "dest", type = "Rectangle"},
  5104. {name = "origin", type = "Vector2"},
  5105. {name = "rotation", type = "float"},
  5106. {name = "tint", type = "Color"}
  5107. }
  5108. },
  5109. {
  5110. name = "DrawTextureNPatch",
  5111. description = "Draws a texture (or part of it) that stretches or shrinks nicely",
  5112. returnType = "void",
  5113. params = {
  5114. {name = "texture", type = "Texture2D"},
  5115. {name = "nPatchInfo", type = "NPatchInfo"},
  5116. {name = "dest", type = "Rectangle"},
  5117. {name = "origin", type = "Vector2"},
  5118. {name = "rotation", type = "float"},
  5119. {name = "tint", type = "Color"}
  5120. }
  5121. },
  5122. {
  5123. name = "DrawTexturePoly",
  5124. description = "Draw a textured polygon",
  5125. returnType = "void",
  5126. params = {
  5127. {name = "texture", type = "Texture2D"},
  5128. {name = "center", type = "Vector2"},
  5129. {name = "points", type = "Vector2 *"},
  5130. {name = "texcoords", type = "Vector2 *"},
  5131. {name = "pointCount", type = "int"},
  5132. {name = "tint", type = "Color"}
  5133. }
  5134. },
  5135. {
  5136. name = "Fade",
  5137. description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
  5138. returnType = "Color",
  5139. params = {
  5140. {name = "color", type = "Color"},
  5141. {name = "alpha", type = "float"}
  5142. }
  5143. },
  5144. {
  5145. name = "ColorToInt",
  5146. description = "Get hexadecimal value for a Color",
  5147. returnType = "int",
  5148. params = {
  5149. {name = "color", type = "Color"}
  5150. }
  5151. },
  5152. {
  5153. name = "ColorNormalize",
  5154. description = "Get Color normalized as float [0..1]",
  5155. returnType = "Vector4",
  5156. params = {
  5157. {name = "color", type = "Color"}
  5158. }
  5159. },
  5160. {
  5161. name = "ColorFromNormalized",
  5162. description = "Get Color from normalized values [0..1]",
  5163. returnType = "Color",
  5164. params = {
  5165. {name = "normalized", type = "Vector4"}
  5166. }
  5167. },
  5168. {
  5169. name = "ColorToHSV",
  5170. description = "Get HSV values for a Color, hue [0..360], saturation/value [0..1]",
  5171. returnType = "Vector3",
  5172. params = {
  5173. {name = "color", type = "Color"}
  5174. }
  5175. },
  5176. {
  5177. name = "ColorFromHSV",
  5178. description = "Get a Color from HSV values, hue [0..360], saturation/value [0..1]",
  5179. returnType = "Color",
  5180. params = {
  5181. {name = "hue", type = "float"},
  5182. {name = "saturation", type = "float"},
  5183. {name = "value", type = "float"}
  5184. }
  5185. },
  5186. {
  5187. name = "ColorAlpha",
  5188. description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
  5189. returnType = "Color",
  5190. params = {
  5191. {name = "color", type = "Color"},
  5192. {name = "alpha", type = "float"}
  5193. }
  5194. },
  5195. {
  5196. name = "ColorAlphaBlend",
  5197. description = "Get src alpha-blended into dst color with tint",
  5198. returnType = "Color",
  5199. params = {
  5200. {name = "dst", type = "Color"},
  5201. {name = "src", type = "Color"},
  5202. {name = "tint", type = "Color"}
  5203. }
  5204. },
  5205. {
  5206. name = "GetColor",
  5207. description = "Get Color structure from hexadecimal value",
  5208. returnType = "Color",
  5209. params = {
  5210. {name = "hexValue", type = "unsigned int"}
  5211. }
  5212. },
  5213. {
  5214. name = "GetPixelColor",
  5215. description = "Get Color from a source pixel pointer of certain format",
  5216. returnType = "Color",
  5217. params = {
  5218. {name = "srcPtr", type = "void *"},
  5219. {name = "format", type = "int"}
  5220. }
  5221. },
  5222. {
  5223. name = "SetPixelColor",
  5224. description = "Set color formatted into destination pixel pointer",
  5225. returnType = "void",
  5226. params = {
  5227. {name = "dstPtr", type = "void *"},
  5228. {name = "color", type = "Color"},
  5229. {name = "format", type = "int"}
  5230. }
  5231. },
  5232. {
  5233. name = "GetPixelDataSize",
  5234. description = "Get pixel data size in bytes for certain format",
  5235. returnType = "int",
  5236. params = {
  5237. {name = "width", type = "int"},
  5238. {name = "height", type = "int"},
  5239. {name = "format", type = "int"}
  5240. }
  5241. },
  5242. {
  5243. name = "GetFontDefault",
  5244. description = "Get the default Font",
  5245. returnType = "Font"
  5246. },
  5247. {
  5248. name = "LoadFont",
  5249. description = "Load font from file into GPU memory (VRAM)",
  5250. returnType = "Font",
  5251. params = {
  5252. {name = "fileName", type = "const char *"}
  5253. }
  5254. },
  5255. {
  5256. name = "LoadFontEx",
  5257. description = "Load font from file with extended parameters",
  5258. returnType = "Font",
  5259. params = {
  5260. {name = "fileName", type = "const char *"},
  5261. {name = "fontSize", type = "int"},
  5262. {name = "fontChars", type = "int *"},
  5263. {name = "glyphCount", type = "int"}
  5264. }
  5265. },
  5266. {
  5267. name = "LoadFontFromImage",
  5268. description = "Load font from Image (XNA style)",
  5269. returnType = "Font",
  5270. params = {
  5271. {name = "image", type = "Image"},
  5272. {name = "key", type = "Color"},
  5273. {name = "firstChar", type = "int"}
  5274. }
  5275. },
  5276. {
  5277. name = "LoadFontFromMemory",
  5278. description = "Load font from memory buffer, fileType refers to extension: i.e. '.ttf'",
  5279. returnType = "Font",
  5280. params = {
  5281. {name = "fileType", type = "const char *"},
  5282. {name = "fileData", type = "const unsigned char *"},
  5283. {name = "dataSize", type = "int"},
  5284. {name = "fontSize", type = "int"},
  5285. {name = "fontChars", type = "int *"},
  5286. {name = "glyphCount", type = "int"}
  5287. }
  5288. },
  5289. {
  5290. name = "LoadFontData",
  5291. description = "Load font data for further use",
  5292. returnType = "GlyphInfo *",
  5293. params = {
  5294. {name = "fileData", type = "const unsigned char *"},
  5295. {name = "dataSize", type = "int"},
  5296. {name = "fontSize", type = "int"},
  5297. {name = "fontChars", type = "int *"},
  5298. {name = "glyphCount", type = "int"},
  5299. {name = "type", type = "int"}
  5300. }
  5301. },
  5302. {
  5303. name = "GenImageFontAtlas",
  5304. description = "Generate image font atlas using chars info",
  5305. returnType = "Image",
  5306. params = {
  5307. {name = "chars", type = "const GlyphInfo *"},
  5308. {name = "recs", type = "Rectangle **"},
  5309. {name = "glyphCount", type = "int"},
  5310. {name = "fontSize", type = "int"},
  5311. {name = "padding", type = "int"},
  5312. {name = "packMethod", type = "int"}
  5313. }
  5314. },
  5315. {
  5316. name = "UnloadFontData",
  5317. description = "Unload font chars info data (RAM)",
  5318. returnType = "void",
  5319. params = {
  5320. {name = "chars", type = "GlyphInfo *"},
  5321. {name = "glyphCount", type = "int"}
  5322. }
  5323. },
  5324. {
  5325. name = "UnloadFont",
  5326. description = "Unload Font from GPU memory (VRAM)",
  5327. returnType = "void",
  5328. params = {
  5329. {name = "font", type = "Font"}
  5330. }
  5331. },
  5332. {
  5333. name = "DrawFPS",
  5334. description = "Draw current FPS",
  5335. returnType = "void",
  5336. params = {
  5337. {name = "posX", type = "int"},
  5338. {name = "posY", type = "int"}
  5339. }
  5340. },
  5341. {
  5342. name = "DrawText",
  5343. description = "Draw text (using default font)",
  5344. returnType = "void",
  5345. params = {
  5346. {name = "text", type = "const char *"},
  5347. {name = "posX", type = "int"},
  5348. {name = "posY", type = "int"},
  5349. {name = "fontSize", type = "int"},
  5350. {name = "color", type = "Color"}
  5351. }
  5352. },
  5353. {
  5354. name = "DrawTextEx",
  5355. description = "Draw text using font and additional parameters",
  5356. returnType = "void",
  5357. params = {
  5358. {name = "font", type = "Font"},
  5359. {name = "text", type = "const char *"},
  5360. {name = "position", type = "Vector2"},
  5361. {name = "fontSize", type = "float"},
  5362. {name = "spacing", type = "float"},
  5363. {name = "tint", type = "Color"}
  5364. }
  5365. },
  5366. {
  5367. name = "DrawTextPro",
  5368. description = "Draw text using Font and pro parameters (rotation)",
  5369. returnType = "void",
  5370. params = {
  5371. {name = "font", type = "Font"},
  5372. {name = "text", type = "const char *"},
  5373. {name = "position", type = "Vector2"},
  5374. {name = "origin", type = "Vector2"},
  5375. {name = "rotation", type = "float"},
  5376. {name = "fontSize", type = "float"},
  5377. {name = "spacing", type = "float"},
  5378. {name = "tint", type = "Color"}
  5379. }
  5380. },
  5381. {
  5382. name = "DrawTextCodepoint",
  5383. description = "Draw one character (codepoint)",
  5384. returnType = "void",
  5385. params = {
  5386. {name = "font", type = "Font"},
  5387. {name = "codepoint", type = "int"},
  5388. {name = "position", type = "Vector2"},
  5389. {name = "fontSize", type = "float"},
  5390. {name = "tint", type = "Color"}
  5391. }
  5392. },
  5393. {
  5394. name = "MeasureText",
  5395. description = "Measure string width for default font",
  5396. returnType = "int",
  5397. params = {
  5398. {name = "text", type = "const char *"},
  5399. {name = "fontSize", type = "int"}
  5400. }
  5401. },
  5402. {
  5403. name = "MeasureTextEx",
  5404. description = "Measure string size for Font",
  5405. returnType = "Vector2",
  5406. params = {
  5407. {name = "font", type = "Font"},
  5408. {name = "text", type = "const char *"},
  5409. {name = "fontSize", type = "float"},
  5410. {name = "spacing", type = "float"}
  5411. }
  5412. },
  5413. {
  5414. name = "GetGlyphIndex",
  5415. description = "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
  5416. returnType = "int",
  5417. params = {
  5418. {name = "font", type = "Font"},
  5419. {name = "codepoint", type = "int"}
  5420. }
  5421. },
  5422. {
  5423. name = "GetGlyphInfo",
  5424. description = "Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found",
  5425. returnType = "GlyphInfo",
  5426. params = {
  5427. {name = "font", type = "Font"},
  5428. {name = "codepoint", type = "int"}
  5429. }
  5430. },
  5431. {
  5432. name = "GetGlyphAtlasRec",
  5433. description = "Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found",
  5434. returnType = "Rectangle",
  5435. params = {
  5436. {name = "font", type = "Font"},
  5437. {name = "codepoint", type = "int"}
  5438. }
  5439. },
  5440. {
  5441. name = "LoadCodepoints",
  5442. description = "Load all codepoints from a UTF-8 text string, codepoints count returned by parameter",
  5443. returnType = "int *",
  5444. params = {
  5445. {name = "text", type = "const char *"},
  5446. {name = "count", type = "int *"}
  5447. }
  5448. },
  5449. {
  5450. name = "UnloadCodepoints",
  5451. description = "Unload codepoints data from memory",
  5452. returnType = "void",
  5453. params = {
  5454. {name = "codepoints", type = "int *"}
  5455. }
  5456. },
  5457. {
  5458. name = "GetCodepointCount",
  5459. description = "Get total number of codepoints in a UTF-8 encoded string",
  5460. returnType = "int",
  5461. params = {
  5462. {name = "text", type = "const char *"}
  5463. }
  5464. },
  5465. {
  5466. name = "GetCodepoint",
  5467. description = "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
  5468. returnType = "int",
  5469. params = {
  5470. {name = "text", type = "const char *"},
  5471. {name = "bytesProcessed", type = "int *"}
  5472. }
  5473. },
  5474. {
  5475. name = "CodepointToUTF8",
  5476. description = "Encode one codepoint into UTF-8 byte array (array length returned as parameter)",
  5477. returnType = "const char *",
  5478. params = {
  5479. {name = "codepoint", type = "int"},
  5480. {name = "byteSize", type = "int *"}
  5481. }
  5482. },
  5483. {
  5484. name = "TextCodepointsToUTF8",
  5485. description = "Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)",
  5486. returnType = "char *",
  5487. params = {
  5488. {name = "codepoints", type = "int *"},
  5489. {name = "length", type = "int"}
  5490. }
  5491. },
  5492. {
  5493. name = "TextCopy",
  5494. description = "Copy one string to another, returns bytes copied",
  5495. returnType = "int",
  5496. params = {
  5497. {name = "dst", type = "char *"},
  5498. {name = "src", type = "const char *"}
  5499. }
  5500. },
  5501. {
  5502. name = "TextIsEqual",
  5503. description = "Check if two text string are equal",
  5504. returnType = "bool",
  5505. params = {
  5506. {name = "text1", type = "const char *"},
  5507. {name = "text2", type = "const char *"}
  5508. }
  5509. },
  5510. {
  5511. name = "TextLength",
  5512. description = "Get text length, checks for ' 0' ending",
  5513. returnType = "unsigned int",
  5514. params = {
  5515. {name = "text", type = "const char *"}
  5516. }
  5517. },
  5518. {
  5519. name = "TextFormat",
  5520. description = "Text formatting with variables (sprintf() style)",
  5521. returnType = "const char *",
  5522. params = {
  5523. {name = "text", type = "const char *"},
  5524. {name = "", type = ""}
  5525. }
  5526. },
  5527. {
  5528. name = "TextSubtext",
  5529. description = "Get a piece of a text string",
  5530. returnType = "const char *",
  5531. params = {
  5532. {name = "text", type = "const char *"},
  5533. {name = "position", type = "int"},
  5534. {name = "length", type = "int"}
  5535. }
  5536. },
  5537. {
  5538. name = "TextReplace",
  5539. description = "Replace text string (WARNING: memory must be freed!)",
  5540. returnType = "char *",
  5541. params = {
  5542. {name = "text", type = "char *"},
  5543. {name = "replace", type = "const char *"},
  5544. {name = "by", type = "const char *"}
  5545. }
  5546. },
  5547. {
  5548. name = "TextInsert",
  5549. description = "Insert text in a position (WARNING: memory must be freed!)",
  5550. returnType = "char *",
  5551. params = {
  5552. {name = "text", type = "const char *"},
  5553. {name = "insert", type = "const char *"},
  5554. {name = "position", type = "int"}
  5555. }
  5556. },
  5557. {
  5558. name = "TextJoin",
  5559. description = "Join text strings with delimiter",
  5560. returnType = "const char *",
  5561. params = {
  5562. {name = "textList", type = "const char **"},
  5563. {name = "count", type = "int"},
  5564. {name = "delimiter", type = "const char *"}
  5565. }
  5566. },
  5567. {
  5568. name = "TextSplit",
  5569. description = "Split text into multiple strings",
  5570. returnType = "const char **",
  5571. params = {
  5572. {name = "text", type = "const char *"},
  5573. {name = "delimiter", type = "char"},
  5574. {name = "count", type = "int *"}
  5575. }
  5576. },
  5577. {
  5578. name = "TextAppend",
  5579. description = "Append text at specific position and move cursor!",
  5580. returnType = "void",
  5581. params = {
  5582. {name = "text", type = "char *"},
  5583. {name = "append", type = "const char *"},
  5584. {name = "position", type = "int *"}
  5585. }
  5586. },
  5587. {
  5588. name = "TextFindIndex",
  5589. description = "Find first text occurrence within a string",
  5590. returnType = "int",
  5591. params = {
  5592. {name = "text", type = "const char *"},
  5593. {name = "find", type = "const char *"}
  5594. }
  5595. },
  5596. {
  5597. name = "TextToUpper",
  5598. description = "Get upper case version of provided string",
  5599. returnType = "const char *",
  5600. params = {
  5601. {name = "text", type = "const char *"}
  5602. }
  5603. },
  5604. {
  5605. name = "TextToLower",
  5606. description = "Get lower case version of provided string",
  5607. returnType = "const char *",
  5608. params = {
  5609. {name = "text", type = "const char *"}
  5610. }
  5611. },
  5612. {
  5613. name = "TextToPascal",
  5614. description = "Get Pascal case notation version of provided string",
  5615. returnType = "const char *",
  5616. params = {
  5617. {name = "text", type = "const char *"}
  5618. }
  5619. },
  5620. {
  5621. name = "TextToInteger",
  5622. description = "Get integer value from text (negative values not supported)",
  5623. returnType = "int",
  5624. params = {
  5625. {name = "text", type = "const char *"}
  5626. }
  5627. },
  5628. {
  5629. name = "DrawLine3D",
  5630. description = "Draw a line in 3D world space",
  5631. returnType = "void",
  5632. params = {
  5633. {name = "startPos", type = "Vector3"},
  5634. {name = "endPos", type = "Vector3"},
  5635. {name = "color", type = "Color"}
  5636. }
  5637. },
  5638. {
  5639. name = "DrawPoint3D",
  5640. description = "Draw a point in 3D space, actually a small line",
  5641. returnType = "void",
  5642. params = {
  5643. {name = "position", type = "Vector3"},
  5644. {name = "color", type = "Color"}
  5645. }
  5646. },
  5647. {
  5648. name = "DrawCircle3D",
  5649. description = "Draw a circle in 3D world space",
  5650. returnType = "void",
  5651. params = {
  5652. {name = "center", type = "Vector3"},
  5653. {name = "radius", type = "float"},
  5654. {name = "rotationAxis", type = "Vector3"},
  5655. {name = "rotationAngle", type = "float"},
  5656. {name = "color", type = "Color"}
  5657. }
  5658. },
  5659. {
  5660. name = "DrawTriangle3D",
  5661. description = "Draw a color-filled triangle (vertex in counter-clockwise order!)",
  5662. returnType = "void",
  5663. params = {
  5664. {name = "v1", type = "Vector3"},
  5665. {name = "v2", type = "Vector3"},
  5666. {name = "v3", type = "Vector3"},
  5667. {name = "color", type = "Color"}
  5668. }
  5669. },
  5670. {
  5671. name = "DrawTriangleStrip3D",
  5672. description = "Draw a triangle strip defined by points",
  5673. returnType = "void",
  5674. params = {
  5675. {name = "points", type = "Vector3 *"},
  5676. {name = "pointCount", type = "int"},
  5677. {name = "color", type = "Color"}
  5678. }
  5679. },
  5680. {
  5681. name = "DrawCube",
  5682. description = "Draw cube",
  5683. returnType = "void",
  5684. params = {
  5685. {name = "position", type = "Vector3"},
  5686. {name = "width", type = "float"},
  5687. {name = "height", type = "float"},
  5688. {name = "length", type = "float"},
  5689. {name = "color", type = "Color"}
  5690. }
  5691. },
  5692. {
  5693. name = "DrawCubeV",
  5694. description = "Draw cube (Vector version)",
  5695. returnType = "void",
  5696. params = {
  5697. {name = "position", type = "Vector3"},
  5698. {name = "size", type = "Vector3"},
  5699. {name = "color", type = "Color"}
  5700. }
  5701. },
  5702. {
  5703. name = "DrawCubeWires",
  5704. description = "Draw cube wires",
  5705. returnType = "void",
  5706. params = {
  5707. {name = "position", type = "Vector3"},
  5708. {name = "width", type = "float"},
  5709. {name = "height", type = "float"},
  5710. {name = "length", type = "float"},
  5711. {name = "color", type = "Color"}
  5712. }
  5713. },
  5714. {
  5715. name = "DrawCubeWiresV",
  5716. description = "Draw cube wires (Vector version)",
  5717. returnType = "void",
  5718. params = {
  5719. {name = "position", type = "Vector3"},
  5720. {name = "size", type = "Vector3"},
  5721. {name = "color", type = "Color"}
  5722. }
  5723. },
  5724. {
  5725. name = "DrawCubeTexture",
  5726. description = "Draw cube textured",
  5727. returnType = "void",
  5728. params = {
  5729. {name = "texture", type = "Texture2D"},
  5730. {name = "position", type = "Vector3"},
  5731. {name = "width", type = "float"},
  5732. {name = "height", type = "float"},
  5733. {name = "length", type = "float"},
  5734. {name = "color", type = "Color"}
  5735. }
  5736. },
  5737. {
  5738. name = "DrawCubeTextureRec",
  5739. description = "Draw cube with a region of a texture",
  5740. returnType = "void",
  5741. params = {
  5742. {name = "texture", type = "Texture2D"},
  5743. {name = "source", type = "Rectangle"},
  5744. {name = "position", type = "Vector3"},
  5745. {name = "width", type = "float"},
  5746. {name = "height", type = "float"},
  5747. {name = "length", type = "float"},
  5748. {name = "color", type = "Color"}
  5749. }
  5750. },
  5751. {
  5752. name = "DrawSphere",
  5753. description = "Draw sphere",
  5754. returnType = "void",
  5755. params = {
  5756. {name = "centerPos", type = "Vector3"},
  5757. {name = "radius", type = "float"},
  5758. {name = "color", type = "Color"}
  5759. }
  5760. },
  5761. {
  5762. name = "DrawSphereEx",
  5763. description = "Draw sphere with extended parameters",
  5764. returnType = "void",
  5765. params = {
  5766. {name = "centerPos", type = "Vector3"},
  5767. {name = "radius", type = "float"},
  5768. {name = "rings", type = "int"},
  5769. {name = "slices", type = "int"},
  5770. {name = "color", type = "Color"}
  5771. }
  5772. },
  5773. {
  5774. name = "DrawSphereWires",
  5775. description = "Draw sphere wires",
  5776. returnType = "void",
  5777. params = {
  5778. {name = "centerPos", type = "Vector3"},
  5779. {name = "radius", type = "float"},
  5780. {name = "rings", type = "int"},
  5781. {name = "slices", type = "int"},
  5782. {name = "color", type = "Color"}
  5783. }
  5784. },
  5785. {
  5786. name = "DrawCylinder",
  5787. description = "Draw a cylinder/cone",
  5788. returnType = "void",
  5789. params = {
  5790. {name = "position", type = "Vector3"},
  5791. {name = "radiusTop", type = "float"},
  5792. {name = "radiusBottom", type = "float"},
  5793. {name = "height", type = "float"},
  5794. {name = "slices", type = "int"},
  5795. {name = "color", type = "Color"}
  5796. }
  5797. },
  5798. {
  5799. name = "DrawCylinderEx",
  5800. description = "Draw a cylinder with base at startPos and top at endPos",
  5801. returnType = "void",
  5802. params = {
  5803. {name = "startPos", type = "Vector3"},
  5804. {name = "endPos", type = "Vector3"},
  5805. {name = "startRadius", type = "float"},
  5806. {name = "endRadius", type = "float"},
  5807. {name = "sides", type = "int"},
  5808. {name = "color", type = "Color"}
  5809. }
  5810. },
  5811. {
  5812. name = "DrawCylinderWires",
  5813. description = "Draw a cylinder/cone wires",
  5814. returnType = "void",
  5815. params = {
  5816. {name = "position", type = "Vector3"},
  5817. {name = "radiusTop", type = "float"},
  5818. {name = "radiusBottom", type = "float"},
  5819. {name = "height", type = "float"},
  5820. {name = "slices", type = "int"},
  5821. {name = "color", type = "Color"}
  5822. }
  5823. },
  5824. {
  5825. name = "DrawCylinderWiresEx",
  5826. description = "Draw a cylinder wires with base at startPos and top at endPos",
  5827. returnType = "void",
  5828. params = {
  5829. {name = "startPos", type = "Vector3"},
  5830. {name = "endPos", type = "Vector3"},
  5831. {name = "startRadius", type = "float"},
  5832. {name = "endRadius", type = "float"},
  5833. {name = "sides", type = "int"},
  5834. {name = "color", type = "Color"}
  5835. }
  5836. },
  5837. {
  5838. name = "DrawPlane",
  5839. description = "Draw a plane XZ",
  5840. returnType = "void",
  5841. params = {
  5842. {name = "centerPos", type = "Vector3"},
  5843. {name = "size", type = "Vector2"},
  5844. {name = "color", type = "Color"}
  5845. }
  5846. },
  5847. {
  5848. name = "DrawRay",
  5849. description = "Draw a ray line",
  5850. returnType = "void",
  5851. params = {
  5852. {name = "ray", type = "Ray"},
  5853. {name = "color", type = "Color"}
  5854. }
  5855. },
  5856. {
  5857. name = "DrawGrid",
  5858. description = "Draw a grid (centered at (0, 0, 0))",
  5859. returnType = "void",
  5860. params = {
  5861. {name = "slices", type = "int"},
  5862. {name = "spacing", type = "float"}
  5863. }
  5864. },
  5865. {
  5866. name = "LoadModel",
  5867. description = "Load model from files (meshes and materials)",
  5868. returnType = "Model",
  5869. params = {
  5870. {name = "fileName", type = "const char *"}
  5871. }
  5872. },
  5873. {
  5874. name = "LoadModelFromMesh",
  5875. description = "Load model from generated mesh (default material)",
  5876. returnType = "Model",
  5877. params = {
  5878. {name = "mesh", type = "Mesh"}
  5879. }
  5880. },
  5881. {
  5882. name = "UnloadModel",
  5883. description = "Unload model (including meshes) from memory (RAM and/or VRAM)",
  5884. returnType = "void",
  5885. params = {
  5886. {name = "model", type = "Model"}
  5887. }
  5888. },
  5889. {
  5890. name = "UnloadModelKeepMeshes",
  5891. description = "Unload model (but not meshes) from memory (RAM and/or VRAM)",
  5892. returnType = "void",
  5893. params = {
  5894. {name = "model", type = "Model"}
  5895. }
  5896. },
  5897. {
  5898. name = "GetModelBoundingBox",
  5899. description = "Compute model bounding box limits (considers all meshes)",
  5900. returnType = "BoundingBox",
  5901. params = {
  5902. {name = "model", type = "Model"}
  5903. }
  5904. },
  5905. {
  5906. name = "DrawModel",
  5907. description = "Draw a model (with texture if set)",
  5908. returnType = "void",
  5909. params = {
  5910. {name = "model", type = "Model"},
  5911. {name = "position", type = "Vector3"},
  5912. {name = "scale", type = "float"},
  5913. {name = "tint", type = "Color"}
  5914. }
  5915. },
  5916. {
  5917. name = "DrawModelEx",
  5918. description = "Draw a model with extended parameters",
  5919. returnType = "void",
  5920. params = {
  5921. {name = "model", type = "Model"},
  5922. {name = "position", type = "Vector3"},
  5923. {name = "rotationAxis", type = "Vector3"},
  5924. {name = "rotationAngle", type = "float"},
  5925. {name = "scale", type = "Vector3"},
  5926. {name = "tint", type = "Color"}
  5927. }
  5928. },
  5929. {
  5930. name = "DrawModelWires",
  5931. description = "Draw a model wires (with texture if set)",
  5932. returnType = "void",
  5933. params = {
  5934. {name = "model", type = "Model"},
  5935. {name = "position", type = "Vector3"},
  5936. {name = "scale", type = "float"},
  5937. {name = "tint", type = "Color"}
  5938. }
  5939. },
  5940. {
  5941. name = "DrawModelWiresEx",
  5942. description = "Draw a model wires (with texture if set) with extended parameters",
  5943. returnType = "void",
  5944. params = {
  5945. {name = "model", type = "Model"},
  5946. {name = "position", type = "Vector3"},
  5947. {name = "rotationAxis", type = "Vector3"},
  5948. {name = "rotationAngle", type = "float"},
  5949. {name = "scale", type = "Vector3"},
  5950. {name = "tint", type = "Color"}
  5951. }
  5952. },
  5953. {
  5954. name = "DrawBoundingBox",
  5955. description = "Draw bounding box (wires)",
  5956. returnType = "void",
  5957. params = {
  5958. {name = "box", type = "BoundingBox"},
  5959. {name = "color", type = "Color"}
  5960. }
  5961. },
  5962. {
  5963. name = "DrawBillboard",
  5964. description = "Draw a billboard texture",
  5965. returnType = "void",
  5966. params = {
  5967. {name = "camera", type = "Camera"},
  5968. {name = "texture", type = "Texture2D"},
  5969. {name = "position", type = "Vector3"},
  5970. {name = "size", type = "float"},
  5971. {name = "tint", type = "Color"}
  5972. }
  5973. },
  5974. {
  5975. name = "DrawBillboardRec",
  5976. description = "Draw a billboard texture defined by source",
  5977. returnType = "void",
  5978. params = {
  5979. {name = "camera", type = "Camera"},
  5980. {name = "texture", type = "Texture2D"},
  5981. {name = "source", type = "Rectangle"},
  5982. {name = "position", type = "Vector3"},
  5983. {name = "size", type = "Vector2"},
  5984. {name = "tint", type = "Color"}
  5985. }
  5986. },
  5987. {
  5988. name = "DrawBillboardPro",
  5989. description = "Draw a billboard texture defined by source and rotation",
  5990. returnType = "void",
  5991. params = {
  5992. {name = "camera", type = "Camera"},
  5993. {name = "texture", type = "Texture2D"},
  5994. {name = "source", type = "Rectangle"},
  5995. {name = "position", type = "Vector3"},
  5996. {name = "up", type = "Vector3"},
  5997. {name = "size", type = "Vector2"},
  5998. {name = "origin", type = "Vector2"},
  5999. {name = "rotation", type = "float"},
  6000. {name = "tint", type = "Color"}
  6001. }
  6002. },
  6003. {
  6004. name = "UploadMesh",
  6005. description = "Upload mesh vertex data in GPU and provide VAO/VBO ids",
  6006. returnType = "void",
  6007. params = {
  6008. {name = "mesh", type = "Mesh *"},
  6009. {name = "dynamic", type = "bool"}
  6010. }
  6011. },
  6012. {
  6013. name = "UpdateMeshBuffer",
  6014. description = "Update mesh vertex data in GPU for a specific buffer index",
  6015. returnType = "void",
  6016. params = {
  6017. {name = "mesh", type = "Mesh"},
  6018. {name = "index", type = "int"},
  6019. {name = "data", type = "void *"},
  6020. {name = "dataSize", type = "int"},
  6021. {name = "offset", type = "int"}
  6022. }
  6023. },
  6024. {
  6025. name = "UnloadMesh",
  6026. description = "Unload mesh data from CPU and GPU",
  6027. returnType = "void",
  6028. params = {
  6029. {name = "mesh", type = "Mesh"}
  6030. }
  6031. },
  6032. {
  6033. name = "DrawMesh",
  6034. description = "Draw a 3d mesh with material and transform",
  6035. returnType = "void",
  6036. params = {
  6037. {name = "mesh", type = "Mesh"},
  6038. {name = "material", type = "Material"},
  6039. {name = "transform", type = "Matrix"}
  6040. }
  6041. },
  6042. {
  6043. name = "DrawMeshInstanced",
  6044. description = "Draw multiple mesh instances with material and different transforms",
  6045. returnType = "void",
  6046. params = {
  6047. {name = "mesh", type = "Mesh"},
  6048. {name = "material", type = "Material"},
  6049. {name = "transforms", type = "Matrix *"},
  6050. {name = "instances", type = "int"}
  6051. }
  6052. },
  6053. {
  6054. name = "ExportMesh",
  6055. description = "Export mesh data to file, returns true on success",
  6056. returnType = "bool",
  6057. params = {
  6058. {name = "mesh", type = "Mesh"},
  6059. {name = "fileName", type = "const char *"}
  6060. }
  6061. },
  6062. {
  6063. name = "GetMeshBoundingBox",
  6064. description = "Compute mesh bounding box limits",
  6065. returnType = "BoundingBox",
  6066. params = {
  6067. {name = "mesh", type = "Mesh"}
  6068. }
  6069. },
  6070. {
  6071. name = "GenMeshTangents",
  6072. description = "Compute mesh tangents",
  6073. returnType = "void",
  6074. params = {
  6075. {name = "mesh", type = "Mesh *"}
  6076. }
  6077. },
  6078. {
  6079. name = "GenMeshBinormals",
  6080. description = "Compute mesh binormals",
  6081. returnType = "void",
  6082. params = {
  6083. {name = "mesh", type = "Mesh *"}
  6084. }
  6085. },
  6086. {
  6087. name = "GenMeshPoly",
  6088. description = "Generate polygonal mesh",
  6089. returnType = "Mesh",
  6090. params = {
  6091. {name = "sides", type = "int"},
  6092. {name = "radius", type = "float"}
  6093. }
  6094. },
  6095. {
  6096. name = "GenMeshPlane",
  6097. description = "Generate plane mesh (with subdivisions)",
  6098. returnType = "Mesh",
  6099. params = {
  6100. {name = "width", type = "float"},
  6101. {name = "length", type = "float"},
  6102. {name = "resX", type = "int"},
  6103. {name = "resZ", type = "int"}
  6104. }
  6105. },
  6106. {
  6107. name = "GenMeshCube",
  6108. description = "Generate cuboid mesh",
  6109. returnType = "Mesh",
  6110. params = {
  6111. {name = "width", type = "float"},
  6112. {name = "height", type = "float"},
  6113. {name = "length", type = "float"}
  6114. }
  6115. },
  6116. {
  6117. name = "GenMeshSphere",
  6118. description = "Generate sphere mesh (standard sphere)",
  6119. returnType = "Mesh",
  6120. params = {
  6121. {name = "radius", type = "float"},
  6122. {name = "rings", type = "int"},
  6123. {name = "slices", type = "int"}
  6124. }
  6125. },
  6126. {
  6127. name = "GenMeshHemiSphere",
  6128. description = "Generate half-sphere mesh (no bottom cap)",
  6129. returnType = "Mesh",
  6130. params = {
  6131. {name = "radius", type = "float"},
  6132. {name = "rings", type = "int"},
  6133. {name = "slices", type = "int"}
  6134. }
  6135. },
  6136. {
  6137. name = "GenMeshCylinder",
  6138. description = "Generate cylinder mesh",
  6139. returnType = "Mesh",
  6140. params = {
  6141. {name = "radius", type = "float"},
  6142. {name = "height", type = "float"},
  6143. {name = "slices", type = "int"}
  6144. }
  6145. },
  6146. {
  6147. name = "GenMeshCone",
  6148. description = "Generate cone/pyramid mesh",
  6149. returnType = "Mesh",
  6150. params = {
  6151. {name = "radius", type = "float"},
  6152. {name = "height", type = "float"},
  6153. {name = "slices", type = "int"}
  6154. }
  6155. },
  6156. {
  6157. name = "GenMeshTorus",
  6158. description = "Generate torus mesh",
  6159. returnType = "Mesh",
  6160. params = {
  6161. {name = "radius", type = "float"},
  6162. {name = "size", type = "float"},
  6163. {name = "radSeg", type = "int"},
  6164. {name = "sides", type = "int"}
  6165. }
  6166. },
  6167. {
  6168. name = "GenMeshKnot",
  6169. description = "Generate trefoil knot mesh",
  6170. returnType = "Mesh",
  6171. params = {
  6172. {name = "radius", type = "float"},
  6173. {name = "size", type = "float"},
  6174. {name = "radSeg", type = "int"},
  6175. {name = "sides", type = "int"}
  6176. }
  6177. },
  6178. {
  6179. name = "GenMeshHeightmap",
  6180. description = "Generate heightmap mesh from image data",
  6181. returnType = "Mesh",
  6182. params = {
  6183. {name = "heightmap", type = "Image"},
  6184. {name = "size", type = "Vector3"}
  6185. }
  6186. },
  6187. {
  6188. name = "GenMeshCubicmap",
  6189. description = "Generate cubes-based map mesh from image data",
  6190. returnType = "Mesh",
  6191. params = {
  6192. {name = "cubicmap", type = "Image"},
  6193. {name = "cubeSize", type = "Vector3"}
  6194. }
  6195. },
  6196. {
  6197. name = "LoadMaterials",
  6198. description = "Load materials from model file",
  6199. returnType = "Material *",
  6200. params = {
  6201. {name = "fileName", type = "const char *"},
  6202. {name = "materialCount", type = "int *"}
  6203. }
  6204. },
  6205. {
  6206. name = "LoadMaterialDefault",
  6207. description = "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)",
  6208. returnType = "Material"
  6209. },
  6210. {
  6211. name = "UnloadMaterial",
  6212. description = "Unload material from GPU memory (VRAM)",
  6213. returnType = "void",
  6214. params = {
  6215. {name = "material", type = "Material"}
  6216. }
  6217. },
  6218. {
  6219. name = "SetMaterialTexture",
  6220. description = "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)",
  6221. returnType = "void",
  6222. params = {
  6223. {name = "material", type = "Material *"},
  6224. {name = "mapType", type = "int"},
  6225. {name = "texture", type = "Texture2D"}
  6226. }
  6227. },
  6228. {
  6229. name = "SetModelMeshMaterial",
  6230. description = "Set material for a mesh",
  6231. returnType = "void",
  6232. params = {
  6233. {name = "model", type = "Model *"},
  6234. {name = "meshId", type = "int"},
  6235. {name = "materialId", type = "int"}
  6236. }
  6237. },
  6238. {
  6239. name = "LoadModelAnimations",
  6240. description = "Load model animations from file",
  6241. returnType = "ModelAnimation *",
  6242. params = {
  6243. {name = "fileName", type = "const char *"},
  6244. {name = "animCount", type = "unsigned int *"}
  6245. }
  6246. },
  6247. {
  6248. name = "UpdateModelAnimation",
  6249. description = "Update model animation pose",
  6250. returnType = "void",
  6251. params = {
  6252. {name = "model", type = "Model"},
  6253. {name = "anim", type = "ModelAnimation"},
  6254. {name = "frame", type = "int"}
  6255. }
  6256. },
  6257. {
  6258. name = "UnloadModelAnimation",
  6259. description = "Unload animation data",
  6260. returnType = "void",
  6261. params = {
  6262. {name = "anim", type = "ModelAnimation"}
  6263. }
  6264. },
  6265. {
  6266. name = "UnloadModelAnimations",
  6267. description = "Unload animation array data",
  6268. returnType = "void",
  6269. params = {
  6270. {name = "animations", type = "ModelAnimation*"},
  6271. {name = "count", type = "unsigned int"}
  6272. }
  6273. },
  6274. {
  6275. name = "IsModelAnimationValid",
  6276. description = "Check model animation skeleton match",
  6277. returnType = "bool",
  6278. params = {
  6279. {name = "model", type = "Model"},
  6280. {name = "anim", type = "ModelAnimation"}
  6281. }
  6282. },
  6283. {
  6284. name = "CheckCollisionSpheres",
  6285. description = "Check collision between two spheres",
  6286. returnType = "bool",
  6287. params = {
  6288. {name = "center1", type = "Vector3"},
  6289. {name = "radius1", type = "float"},
  6290. {name = "center2", type = "Vector3"},
  6291. {name = "radius2", type = "float"}
  6292. }
  6293. },
  6294. {
  6295. name = "CheckCollisionBoxes",
  6296. description = "Check collision between two bounding boxes",
  6297. returnType = "bool",
  6298. params = {
  6299. {name = "box1", type = "BoundingBox"},
  6300. {name = "box2", type = "BoundingBox"}
  6301. }
  6302. },
  6303. {
  6304. name = "CheckCollisionBoxSphere",
  6305. description = "Check collision between box and sphere",
  6306. returnType = "bool",
  6307. params = {
  6308. {name = "box", type = "BoundingBox"},
  6309. {name = "center", type = "Vector3"},
  6310. {name = "radius", type = "float"}
  6311. }
  6312. },
  6313. {
  6314. name = "GetRayCollisionSphere",
  6315. description = "Get collision info between ray and sphere",
  6316. returnType = "RayCollision",
  6317. params = {
  6318. {name = "ray", type = "Ray"},
  6319. {name = "center", type = "Vector3"},
  6320. {name = "radius", type = "float"}
  6321. }
  6322. },
  6323. {
  6324. name = "GetRayCollisionBox",
  6325. description = "Get collision info between ray and box",
  6326. returnType = "RayCollision",
  6327. params = {
  6328. {name = "ray", type = "Ray"},
  6329. {name = "box", type = "BoundingBox"}
  6330. }
  6331. },
  6332. {
  6333. name = "GetRayCollisionModel",
  6334. description = "Get collision info between ray and model",
  6335. returnType = "RayCollision",
  6336. params = {
  6337. {name = "ray", type = "Ray"},
  6338. {name = "model", type = "Model"}
  6339. }
  6340. },
  6341. {
  6342. name = "GetRayCollisionMesh",
  6343. description = "Get collision info between ray and mesh",
  6344. returnType = "RayCollision",
  6345. params = {
  6346. {name = "ray", type = "Ray"},
  6347. {name = "mesh", type = "Mesh"},
  6348. {name = "transform", type = "Matrix"}
  6349. }
  6350. },
  6351. {
  6352. name = "GetRayCollisionTriangle",
  6353. description = "Get collision info between ray and triangle",
  6354. returnType = "RayCollision",
  6355. params = {
  6356. {name = "ray", type = "Ray"},
  6357. {name = "p1", type = "Vector3"},
  6358. {name = "p2", type = "Vector3"},
  6359. {name = "p3", type = "Vector3"}
  6360. }
  6361. },
  6362. {
  6363. name = "GetRayCollisionQuad",
  6364. description = "Get collision info between ray and quad",
  6365. returnType = "RayCollision",
  6366. params = {
  6367. {name = "ray", type = "Ray"},
  6368. {name = "p1", type = "Vector3"},
  6369. {name = "p2", type = "Vector3"},
  6370. {name = "p3", type = "Vector3"},
  6371. {name = "p4", type = "Vector3"}
  6372. }
  6373. },
  6374. {
  6375. name = "InitAudioDevice",
  6376. description = "Initialize audio device and context",
  6377. returnType = "void"
  6378. },
  6379. {
  6380. name = "CloseAudioDevice",
  6381. description = "Close the audio device and context",
  6382. returnType = "void"
  6383. },
  6384. {
  6385. name = "IsAudioDeviceReady",
  6386. description = "Check if audio device has been initialized successfully",
  6387. returnType = "bool"
  6388. },
  6389. {
  6390. name = "SetMasterVolume",
  6391. description = "Set master volume (listener)",
  6392. returnType = "void",
  6393. params = {
  6394. {name = "volume", type = "float"}
  6395. }
  6396. },
  6397. {
  6398. name = "LoadWave",
  6399. description = "Load wave data from file",
  6400. returnType = "Wave",
  6401. params = {
  6402. {name = "fileName", type = "const char *"}
  6403. }
  6404. },
  6405. {
  6406. name = "LoadWaveFromMemory",
  6407. description = "Load wave from memory buffer, fileType refers to extension: i.e. '.wav'",
  6408. returnType = "Wave",
  6409. params = {
  6410. {name = "fileType", type = "const char *"},
  6411. {name = "fileData", type = "const unsigned char *"},
  6412. {name = "dataSize", type = "int"}
  6413. }
  6414. },
  6415. {
  6416. name = "LoadSound",
  6417. description = "Load sound from file",
  6418. returnType = "Sound",
  6419. params = {
  6420. {name = "fileName", type = "const char *"}
  6421. }
  6422. },
  6423. {
  6424. name = "LoadSoundFromWave",
  6425. description = "Load sound from wave data",
  6426. returnType = "Sound",
  6427. params = {
  6428. {name = "wave", type = "Wave"}
  6429. }
  6430. },
  6431. {
  6432. name = "UpdateSound",
  6433. description = "Update sound buffer with new data",
  6434. returnType = "void",
  6435. params = {
  6436. {name = "sound", type = "Sound"},
  6437. {name = "data", type = "const void *"},
  6438. {name = "sampleCount", type = "int"}
  6439. }
  6440. },
  6441. {
  6442. name = "UnloadWave",
  6443. description = "Unload wave data",
  6444. returnType = "void",
  6445. params = {
  6446. {name = "wave", type = "Wave"}
  6447. }
  6448. },
  6449. {
  6450. name = "UnloadSound",
  6451. description = "Unload sound",
  6452. returnType = "void",
  6453. params = {
  6454. {name = "sound", type = "Sound"}
  6455. }
  6456. },
  6457. {
  6458. name = "ExportWave",
  6459. description = "Export wave data to file, returns true on success",
  6460. returnType = "bool",
  6461. params = {
  6462. {name = "wave", type = "Wave"},
  6463. {name = "fileName", type = "const char *"}
  6464. }
  6465. },
  6466. {
  6467. name = "ExportWaveAsCode",
  6468. description = "Export wave sample data to code (.h), returns true on success",
  6469. returnType = "bool",
  6470. params = {
  6471. {name = "wave", type = "Wave"},
  6472. {name = "fileName", type = "const char *"}
  6473. }
  6474. },
  6475. {
  6476. name = "PlaySound",
  6477. description = "Play a sound",
  6478. returnType = "void",
  6479. params = {
  6480. {name = "sound", type = "Sound"}
  6481. }
  6482. },
  6483. {
  6484. name = "StopSound",
  6485. description = "Stop playing a sound",
  6486. returnType = "void",
  6487. params = {
  6488. {name = "sound", type = "Sound"}
  6489. }
  6490. },
  6491. {
  6492. name = "PauseSound",
  6493. description = "Pause a sound",
  6494. returnType = "void",
  6495. params = {
  6496. {name = "sound", type = "Sound"}
  6497. }
  6498. },
  6499. {
  6500. name = "ResumeSound",
  6501. description = "Resume a paused sound",
  6502. returnType = "void",
  6503. params = {
  6504. {name = "sound", type = "Sound"}
  6505. }
  6506. },
  6507. {
  6508. name = "PlaySoundMulti",
  6509. description = "Play a sound (using multichannel buffer pool)",
  6510. returnType = "void",
  6511. params = {
  6512. {name = "sound", type = "Sound"}
  6513. }
  6514. },
  6515. {
  6516. name = "StopSoundMulti",
  6517. description = "Stop any sound playing (using multichannel buffer pool)",
  6518. returnType = "void"
  6519. },
  6520. {
  6521. name = "GetSoundsPlaying",
  6522. description = "Get number of sounds playing in the multichannel",
  6523. returnType = "int"
  6524. },
  6525. {
  6526. name = "IsSoundPlaying",
  6527. description = "Check if a sound is currently playing",
  6528. returnType = "bool",
  6529. params = {
  6530. {name = "sound", type = "Sound"}
  6531. }
  6532. },
  6533. {
  6534. name = "SetSoundVolume",
  6535. description = "Set volume for a sound (1.0 is max level)",
  6536. returnType = "void",
  6537. params = {
  6538. {name = "sound", type = "Sound"},
  6539. {name = "volume", type = "float"}
  6540. }
  6541. },
  6542. {
  6543. name = "SetSoundPitch",
  6544. description = "Set pitch for a sound (1.0 is base level)",
  6545. returnType = "void",
  6546. params = {
  6547. {name = "sound", type = "Sound"},
  6548. {name = "pitch", type = "float"}
  6549. }
  6550. },
  6551. {
  6552. name = "WaveFormat",
  6553. description = "Convert wave data to desired format",
  6554. returnType = "void",
  6555. params = {
  6556. {name = "wave", type = "Wave *"},
  6557. {name = "sampleRate", type = "int"},
  6558. {name = "sampleSize", type = "int"},
  6559. {name = "channels", type = "int"}
  6560. }
  6561. },
  6562. {
  6563. name = "WaveCopy",
  6564. description = "Copy a wave to a new wave",
  6565. returnType = "Wave",
  6566. params = {
  6567. {name = "wave", type = "Wave"}
  6568. }
  6569. },
  6570. {
  6571. name = "WaveCrop",
  6572. description = "Crop a wave to defined samples range",
  6573. returnType = "void",
  6574. params = {
  6575. {name = "wave", type = "Wave *"},
  6576. {name = "initSample", type = "int"},
  6577. {name = "finalSample", type = "int"}
  6578. }
  6579. },
  6580. {
  6581. name = "LoadWaveSamples",
  6582. description = "Load samples data from wave as a floats array",
  6583. returnType = "float *",
  6584. params = {
  6585. {name = "wave", type = "Wave"}
  6586. }
  6587. },
  6588. {
  6589. name = "UnloadWaveSamples",
  6590. description = "Unload samples data loaded with LoadWaveSamples()",
  6591. returnType = "void",
  6592. params = {
  6593. {name = "samples", type = "float *"}
  6594. }
  6595. },
  6596. {
  6597. name = "LoadMusicStream",
  6598. description = "Load music stream from file",
  6599. returnType = "Music",
  6600. params = {
  6601. {name = "fileName", type = "const char *"}
  6602. }
  6603. },
  6604. {
  6605. name = "LoadMusicStreamFromMemory",
  6606. description = "Load music stream from data",
  6607. returnType = "Music",
  6608. params = {
  6609. {name = "fileType", type = "const char *"},
  6610. {name = "data", type = "unsigned char *"},
  6611. {name = "dataSize", type = "int"}
  6612. }
  6613. },
  6614. {
  6615. name = "UnloadMusicStream",
  6616. description = "Unload music stream",
  6617. returnType = "void",
  6618. params = {
  6619. {name = "music", type = "Music"}
  6620. }
  6621. },
  6622. {
  6623. name = "PlayMusicStream",
  6624. description = "Start music playing",
  6625. returnType = "void",
  6626. params = {
  6627. {name = "music", type = "Music"}
  6628. }
  6629. },
  6630. {
  6631. name = "IsMusicStreamPlaying",
  6632. description = "Check if music is playing",
  6633. returnType = "bool",
  6634. params = {
  6635. {name = "music", type = "Music"}
  6636. }
  6637. },
  6638. {
  6639. name = "UpdateMusicStream",
  6640. description = "Updates buffers for music streaming",
  6641. returnType = "void",
  6642. params = {
  6643. {name = "music", type = "Music"}
  6644. }
  6645. },
  6646. {
  6647. name = "StopMusicStream",
  6648. description = "Stop music playing",
  6649. returnType = "void",
  6650. params = {
  6651. {name = "music", type = "Music"}
  6652. }
  6653. },
  6654. {
  6655. name = "PauseMusicStream",
  6656. description = "Pause music playing",
  6657. returnType = "void",
  6658. params = {
  6659. {name = "music", type = "Music"}
  6660. }
  6661. },
  6662. {
  6663. name = "ResumeMusicStream",
  6664. description = "Resume playing paused music",
  6665. returnType = "void",
  6666. params = {
  6667. {name = "music", type = "Music"}
  6668. }
  6669. },
  6670. {
  6671. name = "SeekMusicStream",
  6672. description = "Seek music to a position (in seconds)",
  6673. returnType = "void",
  6674. params = {
  6675. {name = "music", type = "Music"},
  6676. {name = "position", type = "float"}
  6677. }
  6678. },
  6679. {
  6680. name = "SetMusicVolume",
  6681. description = "Set volume for music (1.0 is max level)",
  6682. returnType = "void",
  6683. params = {
  6684. {name = "music", type = "Music"},
  6685. {name = "volume", type = "float"}
  6686. }
  6687. },
  6688. {
  6689. name = "SetMusicPitch",
  6690. description = "Set pitch for a music (1.0 is base level)",
  6691. returnType = "void",
  6692. params = {
  6693. {name = "music", type = "Music"},
  6694. {name = "pitch", type = "float"}
  6695. }
  6696. },
  6697. {
  6698. name = "GetMusicTimeLength",
  6699. description = "Get music time length (in seconds)",
  6700. returnType = "float",
  6701. params = {
  6702. {name = "music", type = "Music"}
  6703. }
  6704. },
  6705. {
  6706. name = "GetMusicTimePlayed",
  6707. description = "Get current music time played (in seconds)",
  6708. returnType = "float",
  6709. params = {
  6710. {name = "music", type = "Music"}
  6711. }
  6712. },
  6713. {
  6714. name = "LoadAudioStream",
  6715. description = "Load audio stream (to stream raw audio pcm data)",
  6716. returnType = "AudioStream",
  6717. params = {
  6718. {name = "sampleRate", type = "unsigned int"},
  6719. {name = "sampleSize", type = "unsigned int"},
  6720. {name = "channels", type = "unsigned int"}
  6721. }
  6722. },
  6723. {
  6724. name = "UnloadAudioStream",
  6725. description = "Unload audio stream and free memory",
  6726. returnType = "void",
  6727. params = {
  6728. {name = "stream", type = "AudioStream"}
  6729. }
  6730. },
  6731. {
  6732. name = "UpdateAudioStream",
  6733. description = "Update audio stream buffers with data",
  6734. returnType = "void",
  6735. params = {
  6736. {name = "stream", type = "AudioStream"},
  6737. {name = "data", type = "const void *"},
  6738. {name = "frameCount", type = "int"}
  6739. }
  6740. },
  6741. {
  6742. name = "IsAudioStreamProcessed",
  6743. description = "Check if any audio stream buffers requires refill",
  6744. returnType = "bool",
  6745. params = {
  6746. {name = "stream", type = "AudioStream"}
  6747. }
  6748. },
  6749. {
  6750. name = "PlayAudioStream",
  6751. description = "Play audio stream",
  6752. returnType = "void",
  6753. params = {
  6754. {name = "stream", type = "AudioStream"}
  6755. }
  6756. },
  6757. {
  6758. name = "PauseAudioStream",
  6759. description = "Pause audio stream",
  6760. returnType = "void",
  6761. params = {
  6762. {name = "stream", type = "AudioStream"}
  6763. }
  6764. },
  6765. {
  6766. name = "ResumeAudioStream",
  6767. description = "Resume audio stream",
  6768. returnType = "void",
  6769. params = {
  6770. {name = "stream", type = "AudioStream"}
  6771. }
  6772. },
  6773. {
  6774. name = "IsAudioStreamPlaying",
  6775. description = "Check if audio stream is playing",
  6776. returnType = "bool",
  6777. params = {
  6778. {name = "stream", type = "AudioStream"}
  6779. }
  6780. },
  6781. {
  6782. name = "StopAudioStream",
  6783. description = "Stop audio stream",
  6784. returnType = "void",
  6785. params = {
  6786. {name = "stream", type = "AudioStream"}
  6787. }
  6788. },
  6789. {
  6790. name = "SetAudioStreamVolume",
  6791. description = "Set volume for audio stream (1.0 is max level)",
  6792. returnType = "void",
  6793. params = {
  6794. {name = "stream", type = "AudioStream"},
  6795. {name = "volume", type = "float"}
  6796. }
  6797. },
  6798. {
  6799. name = "SetAudioStreamPitch",
  6800. description = "Set pitch for audio stream (1.0 is base level)",
  6801. returnType = "void",
  6802. params = {
  6803. {name = "stream", type = "AudioStream"},
  6804. {name = "pitch", type = "float"}
  6805. }
  6806. },
  6807. {
  6808. name = "SetAudioStreamBufferSizeDefault",
  6809. description = "Default size for new audio streams",
  6810. returnType = "void",
  6811. params = {
  6812. {name = "size", type = "int"}
  6813. }
  6814. }
  6815. }
  6816. }