raylib_api.json 241 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933
  1. {
  2. "defines": [
  3. {
  4. "name": "RAYLIB_H",
  5. "type": "GUARD",
  6. "value": "",
  7. "description": ""
  8. },
  9. {
  10. "name": "RAYLIB_VERSION_MAJOR",
  11. "type": "INT",
  12. "value": 4,
  13. "description": ""
  14. },
  15. {
  16. "name": "RAYLIB_VERSION_MINOR",
  17. "type": "INT",
  18. "value": 5,
  19. "description": ""
  20. },
  21. {
  22. "name": "RAYLIB_VERSION_PATCH",
  23. "type": "INT",
  24. "value": 0,
  25. "description": ""
  26. },
  27. {
  28. "name": "RAYLIB_VERSION",
  29. "type": "STRING",
  30. "value": "4.5",
  31. "description": ""
  32. },
  33. {
  34. "name": "__declspec(x)",
  35. "type": "MACRO",
  36. "value": "__attribute__((x))",
  37. "description": ""
  38. },
  39. {
  40. "name": "RLAPI",
  41. "type": "UNKNOWN",
  42. "value": "__declspec(dllexport)",
  43. "description": "We are building the library as a Win32 shared library (.dll)"
  44. },
  45. {
  46. "name": "PI",
  47. "type": "FLOAT",
  48. "value": 3.14159265358979323846,
  49. "description": ""
  50. },
  51. {
  52. "name": "DEG2RAD",
  53. "type": "FLOAT_MATH",
  54. "value": "(PI/180.0f)",
  55. "description": ""
  56. },
  57. {
  58. "name": "RAD2DEG",
  59. "type": "FLOAT_MATH",
  60. "value": "(180.0f/PI)",
  61. "description": ""
  62. },
  63. {
  64. "name": "RL_MALLOC(sz)",
  65. "type": "MACRO",
  66. "value": "malloc(sz)",
  67. "description": ""
  68. },
  69. {
  70. "name": "RL_CALLOC(n,sz)",
  71. "type": "MACRO",
  72. "value": "calloc(n,sz)",
  73. "description": ""
  74. },
  75. {
  76. "name": "RL_REALLOC(ptr,sz)",
  77. "type": "MACRO",
  78. "value": "realloc(ptr,sz)",
  79. "description": ""
  80. },
  81. {
  82. "name": "RL_FREE(ptr)",
  83. "type": "MACRO",
  84. "value": "free(ptr)",
  85. "description": ""
  86. },
  87. {
  88. "name": "CLITERAL(type)",
  89. "type": "MACRO",
  90. "value": "type",
  91. "description": ""
  92. },
  93. {
  94. "name": "RL_COLOR_TYPE",
  95. "type": "GUARD",
  96. "value": "",
  97. "description": ""
  98. },
  99. {
  100. "name": "RL_RECTANGLE_TYPE",
  101. "type": "GUARD",
  102. "value": "",
  103. "description": ""
  104. },
  105. {
  106. "name": "RL_VECTOR2_TYPE",
  107. "type": "GUARD",
  108. "value": "",
  109. "description": ""
  110. },
  111. {
  112. "name": "RL_VECTOR3_TYPE",
  113. "type": "GUARD",
  114. "value": "",
  115. "description": ""
  116. },
  117. {
  118. "name": "RL_VECTOR4_TYPE",
  119. "type": "GUARD",
  120. "value": "",
  121. "description": ""
  122. },
  123. {
  124. "name": "RL_QUATERNION_TYPE",
  125. "type": "GUARD",
  126. "value": "",
  127. "description": ""
  128. },
  129. {
  130. "name": "RL_MATRIX_TYPE",
  131. "type": "GUARD",
  132. "value": "",
  133. "description": ""
  134. },
  135. {
  136. "name": "LIGHTGRAY",
  137. "type": "COLOR",
  138. "value": "CLITERAL(Color){ 200, 200, 200, 255 }",
  139. "description": "Light Gray"
  140. },
  141. {
  142. "name": "GRAY",
  143. "type": "COLOR",
  144. "value": "CLITERAL(Color){ 130, 130, 130, 255 }",
  145. "description": "Gray"
  146. },
  147. {
  148. "name": "DARKGRAY",
  149. "type": "COLOR",
  150. "value": "CLITERAL(Color){ 80, 80, 80, 255 }",
  151. "description": "Dark Gray"
  152. },
  153. {
  154. "name": "YELLOW",
  155. "type": "COLOR",
  156. "value": "CLITERAL(Color){ 253, 249, 0, 255 }",
  157. "description": "Yellow"
  158. },
  159. {
  160. "name": "GOLD",
  161. "type": "COLOR",
  162. "value": "CLITERAL(Color){ 255, 203, 0, 255 }",
  163. "description": "Gold"
  164. },
  165. {
  166. "name": "ORANGE",
  167. "type": "COLOR",
  168. "value": "CLITERAL(Color){ 255, 161, 0, 255 }",
  169. "description": "Orange"
  170. },
  171. {
  172. "name": "PINK",
  173. "type": "COLOR",
  174. "value": "CLITERAL(Color){ 255, 109, 194, 255 }",
  175. "description": "Pink"
  176. },
  177. {
  178. "name": "RED",
  179. "type": "COLOR",
  180. "value": "CLITERAL(Color){ 230, 41, 55, 255 }",
  181. "description": "Red"
  182. },
  183. {
  184. "name": "MAROON",
  185. "type": "COLOR",
  186. "value": "CLITERAL(Color){ 190, 33, 55, 255 }",
  187. "description": "Maroon"
  188. },
  189. {
  190. "name": "GREEN",
  191. "type": "COLOR",
  192. "value": "CLITERAL(Color){ 0, 228, 48, 255 }",
  193. "description": "Green"
  194. },
  195. {
  196. "name": "LIME",
  197. "type": "COLOR",
  198. "value": "CLITERAL(Color){ 0, 158, 47, 255 }",
  199. "description": "Lime"
  200. },
  201. {
  202. "name": "DARKGREEN",
  203. "type": "COLOR",
  204. "value": "CLITERAL(Color){ 0, 117, 44, 255 }",
  205. "description": "Dark Green"
  206. },
  207. {
  208. "name": "SKYBLUE",
  209. "type": "COLOR",
  210. "value": "CLITERAL(Color){ 102, 191, 255, 255 }",
  211. "description": "Sky Blue"
  212. },
  213. {
  214. "name": "BLUE",
  215. "type": "COLOR",
  216. "value": "CLITERAL(Color){ 0, 121, 241, 255 }",
  217. "description": "Blue"
  218. },
  219. {
  220. "name": "DARKBLUE",
  221. "type": "COLOR",
  222. "value": "CLITERAL(Color){ 0, 82, 172, 255 }",
  223. "description": "Dark Blue"
  224. },
  225. {
  226. "name": "PURPLE",
  227. "type": "COLOR",
  228. "value": "CLITERAL(Color){ 200, 122, 255, 255 }",
  229. "description": "Purple"
  230. },
  231. {
  232. "name": "VIOLET",
  233. "type": "COLOR",
  234. "value": "CLITERAL(Color){ 135, 60, 190, 255 }",
  235. "description": "Violet"
  236. },
  237. {
  238. "name": "DARKPURPLE",
  239. "type": "COLOR",
  240. "value": "CLITERAL(Color){ 112, 31, 126, 255 }",
  241. "description": "Dark Purple"
  242. },
  243. {
  244. "name": "BEIGE",
  245. "type": "COLOR",
  246. "value": "CLITERAL(Color){ 211, 176, 131, 255 }",
  247. "description": "Beige"
  248. },
  249. {
  250. "name": "BROWN",
  251. "type": "COLOR",
  252. "value": "CLITERAL(Color){ 127, 106, 79, 255 }",
  253. "description": "Brown"
  254. },
  255. {
  256. "name": "DARKBROWN",
  257. "type": "COLOR",
  258. "value": "CLITERAL(Color){ 76, 63, 47, 255 }",
  259. "description": "Dark Brown"
  260. },
  261. {
  262. "name": "WHITE",
  263. "type": "COLOR",
  264. "value": "CLITERAL(Color){ 255, 255, 255, 255 }",
  265. "description": "White"
  266. },
  267. {
  268. "name": "BLACK",
  269. "type": "COLOR",
  270. "value": "CLITERAL(Color){ 0, 0, 0, 255 }",
  271. "description": "Black"
  272. },
  273. {
  274. "name": "BLANK",
  275. "type": "COLOR",
  276. "value": "CLITERAL(Color){ 0, 0, 0, 0 }",
  277. "description": "Blank (Transparent)"
  278. },
  279. {
  280. "name": "MAGENTA",
  281. "type": "COLOR",
  282. "value": "CLITERAL(Color){ 255, 0, 255, 255 }",
  283. "description": "Magenta"
  284. },
  285. {
  286. "name": "RAYWHITE",
  287. "type": "COLOR",
  288. "value": "CLITERAL(Color){ 245, 245, 245, 255 }",
  289. "description": "My own White (raylib logo)"
  290. },
  291. {
  292. "name": "RL_BOOL_TYPE",
  293. "type": "GUARD",
  294. "value": "",
  295. "description": ""
  296. },
  297. {
  298. "name": "MOUSE_LEFT_BUTTON",
  299. "type": "UNKNOWN",
  300. "value": "MOUSE_BUTTON_LEFT",
  301. "description": ""
  302. },
  303. {
  304. "name": "MOUSE_RIGHT_BUTTON",
  305. "type": "UNKNOWN",
  306. "value": "MOUSE_BUTTON_RIGHT",
  307. "description": ""
  308. },
  309. {
  310. "name": "MOUSE_MIDDLE_BUTTON",
  311. "type": "UNKNOWN",
  312. "value": "MOUSE_BUTTON_MIDDLE",
  313. "description": ""
  314. },
  315. {
  316. "name": "MATERIAL_MAP_DIFFUSE",
  317. "type": "UNKNOWN",
  318. "value": "MATERIAL_MAP_ALBEDO",
  319. "description": ""
  320. },
  321. {
  322. "name": "MATERIAL_MAP_SPECULAR",
  323. "type": "UNKNOWN",
  324. "value": "MATERIAL_MAP_METALNESS",
  325. "description": ""
  326. },
  327. {
  328. "name": "SHADER_LOC_MAP_DIFFUSE",
  329. "type": "UNKNOWN",
  330. "value": "SHADER_LOC_MAP_ALBEDO",
  331. "description": ""
  332. },
  333. {
  334. "name": "SHADER_LOC_MAP_SPECULAR",
  335. "type": "UNKNOWN",
  336. "value": "SHADER_LOC_MAP_METALNESS",
  337. "description": ""
  338. }
  339. ],
  340. "structs": [
  341. {
  342. "name": "Vector2",
  343. "description": "Vector2, 2 components",
  344. "fields": [
  345. {
  346. "type": "float",
  347. "name": "x",
  348. "description": "Vector x component"
  349. },
  350. {
  351. "type": "float",
  352. "name": "y",
  353. "description": "Vector y component"
  354. }
  355. ]
  356. },
  357. {
  358. "name": "Vector3",
  359. "description": "Vector3, 3 components",
  360. "fields": [
  361. {
  362. "type": "float",
  363. "name": "x",
  364. "description": "Vector x component"
  365. },
  366. {
  367. "type": "float",
  368. "name": "y",
  369. "description": "Vector y component"
  370. },
  371. {
  372. "type": "float",
  373. "name": "z",
  374. "description": "Vector z component"
  375. }
  376. ]
  377. },
  378. {
  379. "name": "Vector4",
  380. "description": "Vector4, 4 components",
  381. "fields": [
  382. {
  383. "type": "float",
  384. "name": "x",
  385. "description": "Vector x component"
  386. },
  387. {
  388. "type": "float",
  389. "name": "y",
  390. "description": "Vector y component"
  391. },
  392. {
  393. "type": "float",
  394. "name": "z",
  395. "description": "Vector z component"
  396. },
  397. {
  398. "type": "float",
  399. "name": "w",
  400. "description": "Vector w component"
  401. }
  402. ]
  403. },
  404. {
  405. "name": "Matrix",
  406. "description": "Matrix, 4x4 components, column major, OpenGL style, right-handed",
  407. "fields": [
  408. {
  409. "type": "float",
  410. "name": "m0",
  411. "description": "Matrix first row (4 components)"
  412. },
  413. {
  414. "type": "float",
  415. "name": "m4",
  416. "description": "Matrix first row (4 components)"
  417. },
  418. {
  419. "type": "float",
  420. "name": "m8",
  421. "description": "Matrix first row (4 components)"
  422. },
  423. {
  424. "type": "float",
  425. "name": "m12",
  426. "description": "Matrix first row (4 components)"
  427. },
  428. {
  429. "type": "float",
  430. "name": "m1",
  431. "description": "Matrix second row (4 components)"
  432. },
  433. {
  434. "type": "float",
  435. "name": "m5",
  436. "description": "Matrix second row (4 components)"
  437. },
  438. {
  439. "type": "float",
  440. "name": "m9",
  441. "description": "Matrix second row (4 components)"
  442. },
  443. {
  444. "type": "float",
  445. "name": "m13",
  446. "description": "Matrix second row (4 components)"
  447. },
  448. {
  449. "type": "float",
  450. "name": "m2",
  451. "description": "Matrix third row (4 components)"
  452. },
  453. {
  454. "type": "float",
  455. "name": "m6",
  456. "description": "Matrix third row (4 components)"
  457. },
  458. {
  459. "type": "float",
  460. "name": "m10",
  461. "description": "Matrix third row (4 components)"
  462. },
  463. {
  464. "type": "float",
  465. "name": "m14",
  466. "description": "Matrix third row (4 components)"
  467. },
  468. {
  469. "type": "float",
  470. "name": "m3",
  471. "description": "Matrix fourth row (4 components)"
  472. },
  473. {
  474. "type": "float",
  475. "name": "m7",
  476. "description": "Matrix fourth row (4 components)"
  477. },
  478. {
  479. "type": "float",
  480. "name": "m11",
  481. "description": "Matrix fourth row (4 components)"
  482. },
  483. {
  484. "type": "float",
  485. "name": "m15",
  486. "description": "Matrix fourth row (4 components)"
  487. }
  488. ]
  489. },
  490. {
  491. "name": "Color",
  492. "description": "Color, 4 components, R8G8B8A8 (32bit)",
  493. "fields": [
  494. {
  495. "type": "unsigned char",
  496. "name": "r",
  497. "description": "Color red value"
  498. },
  499. {
  500. "type": "unsigned char",
  501. "name": "g",
  502. "description": "Color green value"
  503. },
  504. {
  505. "type": "unsigned char",
  506. "name": "b",
  507. "description": "Color blue value"
  508. },
  509. {
  510. "type": "unsigned char",
  511. "name": "a",
  512. "description": "Color alpha value"
  513. }
  514. ]
  515. },
  516. {
  517. "name": "Rectangle",
  518. "description": "Rectangle, 4 components",
  519. "fields": [
  520. {
  521. "type": "float",
  522. "name": "x",
  523. "description": "Rectangle top-left corner position x"
  524. },
  525. {
  526. "type": "float",
  527. "name": "y",
  528. "description": "Rectangle top-left corner position y"
  529. },
  530. {
  531. "type": "float",
  532. "name": "width",
  533. "description": "Rectangle width"
  534. },
  535. {
  536. "type": "float",
  537. "name": "height",
  538. "description": "Rectangle height"
  539. }
  540. ]
  541. },
  542. {
  543. "name": "Image",
  544. "description": "Image, pixel data stored in CPU memory (RAM)",
  545. "fields": [
  546. {
  547. "type": "void *",
  548. "name": "data",
  549. "description": "Image raw data"
  550. },
  551. {
  552. "type": "int",
  553. "name": "width",
  554. "description": "Image base width"
  555. },
  556. {
  557. "type": "int",
  558. "name": "height",
  559. "description": "Image base height"
  560. },
  561. {
  562. "type": "int",
  563. "name": "mipmaps",
  564. "description": "Mipmap levels, 1 by default"
  565. },
  566. {
  567. "type": "int",
  568. "name": "format",
  569. "description": "Data format (PixelFormat type)"
  570. }
  571. ]
  572. },
  573. {
  574. "name": "Texture",
  575. "description": "Texture, tex data stored in GPU memory (VRAM)",
  576. "fields": [
  577. {
  578. "type": "unsigned int",
  579. "name": "id",
  580. "description": "OpenGL texture id"
  581. },
  582. {
  583. "type": "int",
  584. "name": "width",
  585. "description": "Texture base width"
  586. },
  587. {
  588. "type": "int",
  589. "name": "height",
  590. "description": "Texture base height"
  591. },
  592. {
  593. "type": "int",
  594. "name": "mipmaps",
  595. "description": "Mipmap levels, 1 by default"
  596. },
  597. {
  598. "type": "int",
  599. "name": "format",
  600. "description": "Data format (PixelFormat type)"
  601. }
  602. ]
  603. },
  604. {
  605. "name": "RenderTexture",
  606. "description": "RenderTexture, fbo for texture rendering",
  607. "fields": [
  608. {
  609. "type": "unsigned int",
  610. "name": "id",
  611. "description": "OpenGL framebuffer object id"
  612. },
  613. {
  614. "type": "Texture",
  615. "name": "texture",
  616. "description": "Color buffer attachment texture"
  617. },
  618. {
  619. "type": "Texture",
  620. "name": "depth",
  621. "description": "Depth buffer attachment texture"
  622. }
  623. ]
  624. },
  625. {
  626. "name": "NPatchInfo",
  627. "description": "NPatchInfo, n-patch layout info",
  628. "fields": [
  629. {
  630. "type": "Rectangle",
  631. "name": "source",
  632. "description": "Texture source rectangle"
  633. },
  634. {
  635. "type": "int",
  636. "name": "left",
  637. "description": "Left border offset"
  638. },
  639. {
  640. "type": "int",
  641. "name": "top",
  642. "description": "Top border offset"
  643. },
  644. {
  645. "type": "int",
  646. "name": "right",
  647. "description": "Right border offset"
  648. },
  649. {
  650. "type": "int",
  651. "name": "bottom",
  652. "description": "Bottom border offset"
  653. },
  654. {
  655. "type": "int",
  656. "name": "layout",
  657. "description": "Layout of the n-patch: 3x3, 1x3 or 3x1"
  658. }
  659. ]
  660. },
  661. {
  662. "name": "GlyphInfo",
  663. "description": "GlyphInfo, font characters glyphs info",
  664. "fields": [
  665. {
  666. "type": "int",
  667. "name": "value",
  668. "description": "Character value (Unicode)"
  669. },
  670. {
  671. "type": "int",
  672. "name": "offsetX",
  673. "description": "Character offset X when drawing"
  674. },
  675. {
  676. "type": "int",
  677. "name": "offsetY",
  678. "description": "Character offset Y when drawing"
  679. },
  680. {
  681. "type": "int",
  682. "name": "advanceX",
  683. "description": "Character advance position X"
  684. },
  685. {
  686. "type": "Image",
  687. "name": "image",
  688. "description": "Character image data"
  689. }
  690. ]
  691. },
  692. {
  693. "name": "Font",
  694. "description": "Font, font texture and GlyphInfo array data",
  695. "fields": [
  696. {
  697. "type": "int",
  698. "name": "baseSize",
  699. "description": "Base size (default chars height)"
  700. },
  701. {
  702. "type": "int",
  703. "name": "glyphCount",
  704. "description": "Number of glyph characters"
  705. },
  706. {
  707. "type": "int",
  708. "name": "glyphPadding",
  709. "description": "Padding around the glyph characters"
  710. },
  711. {
  712. "type": "Texture2D",
  713. "name": "texture",
  714. "description": "Texture atlas containing the glyphs"
  715. },
  716. {
  717. "type": "Rectangle *",
  718. "name": "recs",
  719. "description": "Rectangles in texture for the glyphs"
  720. },
  721. {
  722. "type": "GlyphInfo *",
  723. "name": "glyphs",
  724. "description": "Glyphs info data"
  725. }
  726. ]
  727. },
  728. {
  729. "name": "Camera3D",
  730. "description": "Camera, defines position/orientation in 3d space",
  731. "fields": [
  732. {
  733. "type": "Vector3",
  734. "name": "position",
  735. "description": "Camera position"
  736. },
  737. {
  738. "type": "Vector3",
  739. "name": "target",
  740. "description": "Camera target it looks-at"
  741. },
  742. {
  743. "type": "Vector3",
  744. "name": "up",
  745. "description": "Camera up vector (rotation over its axis)"
  746. },
  747. {
  748. "type": "float",
  749. "name": "fovy",
  750. "description": "Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic"
  751. },
  752. {
  753. "type": "int",
  754. "name": "projection",
  755. "description": "Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC"
  756. }
  757. ]
  758. },
  759. {
  760. "name": "Camera2D",
  761. "description": "Camera2D, defines position/orientation in 2d space",
  762. "fields": [
  763. {
  764. "type": "Vector2",
  765. "name": "offset",
  766. "description": "Camera offset (displacement from target)"
  767. },
  768. {
  769. "type": "Vector2",
  770. "name": "target",
  771. "description": "Camera target (rotation and zoom origin)"
  772. },
  773. {
  774. "type": "float",
  775. "name": "rotation",
  776. "description": "Camera rotation in degrees"
  777. },
  778. {
  779. "type": "float",
  780. "name": "zoom",
  781. "description": "Camera zoom (scaling), should be 1.0f by default"
  782. }
  783. ]
  784. },
  785. {
  786. "name": "Mesh",
  787. "description": "Mesh, vertex data and vao/vbo",
  788. "fields": [
  789. {
  790. "type": "int",
  791. "name": "vertexCount",
  792. "description": "Number of vertices stored in arrays"
  793. },
  794. {
  795. "type": "int",
  796. "name": "triangleCount",
  797. "description": "Number of triangles stored (indexed or not)"
  798. },
  799. {
  800. "type": "float *",
  801. "name": "vertices",
  802. "description": "Vertex position (XYZ - 3 components per vertex) (shader-location = 0)"
  803. },
  804. {
  805. "type": "float *",
  806. "name": "texcoords",
  807. "description": "Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)"
  808. },
  809. {
  810. "type": "float *",
  811. "name": "texcoords2",
  812. "description": "Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)"
  813. },
  814. {
  815. "type": "float *",
  816. "name": "normals",
  817. "description": "Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)"
  818. },
  819. {
  820. "type": "float *",
  821. "name": "tangents",
  822. "description": "Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)"
  823. },
  824. {
  825. "type": "unsigned char *",
  826. "name": "colors",
  827. "description": "Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)"
  828. },
  829. {
  830. "type": "unsigned short *",
  831. "name": "indices",
  832. "description": "Vertex indices (in case vertex data comes indexed)"
  833. },
  834. {
  835. "type": "float *",
  836. "name": "animVertices",
  837. "description": "Animated vertex positions (after bones transformations)"
  838. },
  839. {
  840. "type": "float *",
  841. "name": "animNormals",
  842. "description": "Animated normals (after bones transformations)"
  843. },
  844. {
  845. "type": "unsigned char *",
  846. "name": "boneIds",
  847. "description": "Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)"
  848. },
  849. {
  850. "type": "float *",
  851. "name": "boneWeights",
  852. "description": "Vertex bone weight, up to 4 bones influence by vertex (skinning)"
  853. },
  854. {
  855. "type": "unsigned int",
  856. "name": "vaoId",
  857. "description": "OpenGL Vertex Array Object id"
  858. },
  859. {
  860. "type": "unsigned int *",
  861. "name": "vboId",
  862. "description": "OpenGL Vertex Buffer Objects id (default vertex data)"
  863. }
  864. ]
  865. },
  866. {
  867. "name": "Shader",
  868. "description": "Shader",
  869. "fields": [
  870. {
  871. "type": "unsigned int",
  872. "name": "id",
  873. "description": "Shader program id"
  874. },
  875. {
  876. "type": "int *",
  877. "name": "locs",
  878. "description": "Shader locations array (RL_MAX_SHADER_LOCATIONS)"
  879. }
  880. ]
  881. },
  882. {
  883. "name": "MaterialMap",
  884. "description": "MaterialMap",
  885. "fields": [
  886. {
  887. "type": "Texture2D",
  888. "name": "texture",
  889. "description": "Material map texture"
  890. },
  891. {
  892. "type": "Color",
  893. "name": "color",
  894. "description": "Material map color"
  895. },
  896. {
  897. "type": "float",
  898. "name": "value",
  899. "description": "Material map value"
  900. }
  901. ]
  902. },
  903. {
  904. "name": "Material",
  905. "description": "Material, includes shader and maps",
  906. "fields": [
  907. {
  908. "type": "Shader",
  909. "name": "shader",
  910. "description": "Material shader"
  911. },
  912. {
  913. "type": "MaterialMap *",
  914. "name": "maps",
  915. "description": "Material maps array (MAX_MATERIAL_MAPS)"
  916. },
  917. {
  918. "type": "float[4]",
  919. "name": "params",
  920. "description": "Material generic parameters (if required)"
  921. }
  922. ]
  923. },
  924. {
  925. "name": "Transform",
  926. "description": "Transform, vertex transformation data",
  927. "fields": [
  928. {
  929. "type": "Vector3",
  930. "name": "translation",
  931. "description": "Translation"
  932. },
  933. {
  934. "type": "Quaternion",
  935. "name": "rotation",
  936. "description": "Rotation"
  937. },
  938. {
  939. "type": "Vector3",
  940. "name": "scale",
  941. "description": "Scale"
  942. }
  943. ]
  944. },
  945. {
  946. "name": "BoneInfo",
  947. "description": "Bone, skeletal animation bone",
  948. "fields": [
  949. {
  950. "type": "char[32]",
  951. "name": "name",
  952. "description": "Bone name"
  953. },
  954. {
  955. "type": "int",
  956. "name": "parent",
  957. "description": "Bone parent"
  958. }
  959. ]
  960. },
  961. {
  962. "name": "Model",
  963. "description": "Model, meshes, materials and animation data",
  964. "fields": [
  965. {
  966. "type": "Matrix",
  967. "name": "transform",
  968. "description": "Local transform matrix"
  969. },
  970. {
  971. "type": "int",
  972. "name": "meshCount",
  973. "description": "Number of meshes"
  974. },
  975. {
  976. "type": "int",
  977. "name": "materialCount",
  978. "description": "Number of materials"
  979. },
  980. {
  981. "type": "Mesh *",
  982. "name": "meshes",
  983. "description": "Meshes array"
  984. },
  985. {
  986. "type": "Material *",
  987. "name": "materials",
  988. "description": "Materials array"
  989. },
  990. {
  991. "type": "int *",
  992. "name": "meshMaterial",
  993. "description": "Mesh material number"
  994. },
  995. {
  996. "type": "int",
  997. "name": "boneCount",
  998. "description": "Number of bones"
  999. },
  1000. {
  1001. "type": "BoneInfo *",
  1002. "name": "bones",
  1003. "description": "Bones information (skeleton)"
  1004. },
  1005. {
  1006. "type": "Transform *",
  1007. "name": "bindPose",
  1008. "description": "Bones base transformation (pose)"
  1009. }
  1010. ]
  1011. },
  1012. {
  1013. "name": "ModelAnimation",
  1014. "description": "ModelAnimation",
  1015. "fields": [
  1016. {
  1017. "type": "int",
  1018. "name": "boneCount",
  1019. "description": "Number of bones"
  1020. },
  1021. {
  1022. "type": "int",
  1023. "name": "frameCount",
  1024. "description": "Number of animation frames"
  1025. },
  1026. {
  1027. "type": "BoneInfo *",
  1028. "name": "bones",
  1029. "description": "Bones information (skeleton)"
  1030. },
  1031. {
  1032. "type": "Transform **",
  1033. "name": "framePoses",
  1034. "description": "Poses array by frame"
  1035. }
  1036. ]
  1037. },
  1038. {
  1039. "name": "Ray",
  1040. "description": "Ray, ray for raycasting",
  1041. "fields": [
  1042. {
  1043. "type": "Vector3",
  1044. "name": "position",
  1045. "description": "Ray position (origin)"
  1046. },
  1047. {
  1048. "type": "Vector3",
  1049. "name": "direction",
  1050. "description": "Ray direction"
  1051. }
  1052. ]
  1053. },
  1054. {
  1055. "name": "RayCollision",
  1056. "description": "RayCollision, ray hit information",
  1057. "fields": [
  1058. {
  1059. "type": "bool",
  1060. "name": "hit",
  1061. "description": "Did the ray hit something?"
  1062. },
  1063. {
  1064. "type": "float",
  1065. "name": "distance",
  1066. "description": "Distance to the nearest hit"
  1067. },
  1068. {
  1069. "type": "Vector3",
  1070. "name": "point",
  1071. "description": "Point of the nearest hit"
  1072. },
  1073. {
  1074. "type": "Vector3",
  1075. "name": "normal",
  1076. "description": "Surface normal of hit"
  1077. }
  1078. ]
  1079. },
  1080. {
  1081. "name": "BoundingBox",
  1082. "description": "BoundingBox",
  1083. "fields": [
  1084. {
  1085. "type": "Vector3",
  1086. "name": "min",
  1087. "description": "Minimum vertex box-corner"
  1088. },
  1089. {
  1090. "type": "Vector3",
  1091. "name": "max",
  1092. "description": "Maximum vertex box-corner"
  1093. }
  1094. ]
  1095. },
  1096. {
  1097. "name": "Wave",
  1098. "description": "Wave, audio wave data",
  1099. "fields": [
  1100. {
  1101. "type": "unsigned int",
  1102. "name": "frameCount",
  1103. "description": "Total number of frames (considering channels)"
  1104. },
  1105. {
  1106. "type": "unsigned int",
  1107. "name": "sampleRate",
  1108. "description": "Frequency (samples per second)"
  1109. },
  1110. {
  1111. "type": "unsigned int",
  1112. "name": "sampleSize",
  1113. "description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
  1114. },
  1115. {
  1116. "type": "unsigned int",
  1117. "name": "channels",
  1118. "description": "Number of channels (1-mono, 2-stereo, ...)"
  1119. },
  1120. {
  1121. "type": "void *",
  1122. "name": "data",
  1123. "description": "Buffer data pointer"
  1124. }
  1125. ]
  1126. },
  1127. {
  1128. "name": "AudioStream",
  1129. "description": "AudioStream, custom audio stream",
  1130. "fields": [
  1131. {
  1132. "type": "rAudioBuffer *",
  1133. "name": "buffer",
  1134. "description": "Pointer to internal data used by the audio system"
  1135. },
  1136. {
  1137. "type": "rAudioProcessor *",
  1138. "name": "processor",
  1139. "description": "Pointer to internal data processor, useful for audio effects"
  1140. },
  1141. {
  1142. "type": "unsigned int",
  1143. "name": "sampleRate",
  1144. "description": "Frequency (samples per second)"
  1145. },
  1146. {
  1147. "type": "unsigned int",
  1148. "name": "sampleSize",
  1149. "description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
  1150. },
  1151. {
  1152. "type": "unsigned int",
  1153. "name": "channels",
  1154. "description": "Number of channels (1-mono, 2-stereo, ...)"
  1155. }
  1156. ]
  1157. },
  1158. {
  1159. "name": "Sound",
  1160. "description": "Sound",
  1161. "fields": [
  1162. {
  1163. "type": "AudioStream",
  1164. "name": "stream",
  1165. "description": "Audio stream"
  1166. },
  1167. {
  1168. "type": "unsigned int",
  1169. "name": "frameCount",
  1170. "description": "Total number of frames (considering channels)"
  1171. }
  1172. ]
  1173. },
  1174. {
  1175. "name": "Music",
  1176. "description": "Music, audio stream, anything longer than ~10 seconds should be streamed",
  1177. "fields": [
  1178. {
  1179. "type": "AudioStream",
  1180. "name": "stream",
  1181. "description": "Audio stream"
  1182. },
  1183. {
  1184. "type": "unsigned int",
  1185. "name": "frameCount",
  1186. "description": "Total number of frames (considering channels)"
  1187. },
  1188. {
  1189. "type": "bool",
  1190. "name": "looping",
  1191. "description": "Music looping enable"
  1192. },
  1193. {
  1194. "type": "int",
  1195. "name": "ctxType",
  1196. "description": "Type of music context (audio filetype)"
  1197. },
  1198. {
  1199. "type": "void *",
  1200. "name": "ctxData",
  1201. "description": "Audio context data, depends on type"
  1202. }
  1203. ]
  1204. },
  1205. {
  1206. "name": "VrDeviceInfo",
  1207. "description": "VrDeviceInfo, Head-Mounted-Display device parameters",
  1208. "fields": [
  1209. {
  1210. "type": "int",
  1211. "name": "hResolution",
  1212. "description": "Horizontal resolution in pixels"
  1213. },
  1214. {
  1215. "type": "int",
  1216. "name": "vResolution",
  1217. "description": "Vertical resolution in pixels"
  1218. },
  1219. {
  1220. "type": "float",
  1221. "name": "hScreenSize",
  1222. "description": "Horizontal size in meters"
  1223. },
  1224. {
  1225. "type": "float",
  1226. "name": "vScreenSize",
  1227. "description": "Vertical size in meters"
  1228. },
  1229. {
  1230. "type": "float",
  1231. "name": "vScreenCenter",
  1232. "description": "Screen center in meters"
  1233. },
  1234. {
  1235. "type": "float",
  1236. "name": "eyeToScreenDistance",
  1237. "description": "Distance between eye and display in meters"
  1238. },
  1239. {
  1240. "type": "float",
  1241. "name": "lensSeparationDistance",
  1242. "description": "Lens separation distance in meters"
  1243. },
  1244. {
  1245. "type": "float",
  1246. "name": "interpupillaryDistance",
  1247. "description": "IPD (distance between pupils) in meters"
  1248. },
  1249. {
  1250. "type": "float[4]",
  1251. "name": "lensDistortionValues",
  1252. "description": "Lens distortion constant parameters"
  1253. },
  1254. {
  1255. "type": "float[4]",
  1256. "name": "chromaAbCorrection",
  1257. "description": "Chromatic aberration correction parameters"
  1258. }
  1259. ]
  1260. },
  1261. {
  1262. "name": "VrStereoConfig",
  1263. "description": "VrStereoConfig, VR stereo rendering configuration for simulator",
  1264. "fields": [
  1265. {
  1266. "type": "Matrix[2]",
  1267. "name": "projection",
  1268. "description": "VR projection matrices (per eye)"
  1269. },
  1270. {
  1271. "type": "Matrix[2]",
  1272. "name": "viewOffset",
  1273. "description": "VR view offset matrices (per eye)"
  1274. },
  1275. {
  1276. "type": "float[2]",
  1277. "name": "leftLensCenter",
  1278. "description": "VR left lens center"
  1279. },
  1280. {
  1281. "type": "float[2]",
  1282. "name": "rightLensCenter",
  1283. "description": "VR right lens center"
  1284. },
  1285. {
  1286. "type": "float[2]",
  1287. "name": "leftScreenCenter",
  1288. "description": "VR left screen center"
  1289. },
  1290. {
  1291. "type": "float[2]",
  1292. "name": "rightScreenCenter",
  1293. "description": "VR right screen center"
  1294. },
  1295. {
  1296. "type": "float[2]",
  1297. "name": "scale",
  1298. "description": "VR distortion scale"
  1299. },
  1300. {
  1301. "type": "float[2]",
  1302. "name": "scaleIn",
  1303. "description": "VR distortion scale in"
  1304. }
  1305. ]
  1306. },
  1307. {
  1308. "name": "FilePathList",
  1309. "description": "File path list",
  1310. "fields": [
  1311. {
  1312. "type": "unsigned int",
  1313. "name": "capacity",
  1314. "description": "Filepaths max entries"
  1315. },
  1316. {
  1317. "type": "unsigned int",
  1318. "name": "count",
  1319. "description": "Filepaths entries count"
  1320. },
  1321. {
  1322. "type": "char **",
  1323. "name": "paths",
  1324. "description": "Filepaths entries"
  1325. }
  1326. ]
  1327. }
  1328. ],
  1329. "aliases": [
  1330. {
  1331. "type": "Vector4",
  1332. "name": "Quaternion",
  1333. "description": "Quaternion, 4 components (Vector4 alias)"
  1334. },
  1335. {
  1336. "type": "Texture",
  1337. "name": "Texture2D",
  1338. "description": "Texture2D, same as Texture"
  1339. },
  1340. {
  1341. "type": "Texture",
  1342. "name": "TextureCubemap",
  1343. "description": "TextureCubemap, same as Texture"
  1344. },
  1345. {
  1346. "type": "RenderTexture",
  1347. "name": "RenderTexture2D",
  1348. "description": "RenderTexture2D, same as RenderTexture"
  1349. },
  1350. {
  1351. "type": "Camera3D",
  1352. "name": "Camera",
  1353. "description": "Camera type fallback, defaults to Camera3D"
  1354. }
  1355. ],
  1356. "enums": [
  1357. {
  1358. "name": "ConfigFlags",
  1359. "description": "System/Window config flags",
  1360. "values": [
  1361. {
  1362. "name": "FLAG_VSYNC_HINT",
  1363. "value": 64,
  1364. "description": "Set to try enabling V-Sync on GPU"
  1365. },
  1366. {
  1367. "name": "FLAG_FULLSCREEN_MODE",
  1368. "value": 2,
  1369. "description": "Set to run program in fullscreen"
  1370. },
  1371. {
  1372. "name": "FLAG_WINDOW_RESIZABLE",
  1373. "value": 4,
  1374. "description": "Set to allow resizable window"
  1375. },
  1376. {
  1377. "name": "FLAG_WINDOW_UNDECORATED",
  1378. "value": 8,
  1379. "description": "Set to disable window decoration (frame and buttons)"
  1380. },
  1381. {
  1382. "name": "FLAG_WINDOW_HIDDEN",
  1383. "value": 128,
  1384. "description": "Set to hide window"
  1385. },
  1386. {
  1387. "name": "FLAG_WINDOW_MINIMIZED",
  1388. "value": 512,
  1389. "description": "Set to minimize window (iconify)"
  1390. },
  1391. {
  1392. "name": "FLAG_WINDOW_MAXIMIZED",
  1393. "value": 1024,
  1394. "description": "Set to maximize window (expanded to monitor)"
  1395. },
  1396. {
  1397. "name": "FLAG_WINDOW_UNFOCUSED",
  1398. "value": 2048,
  1399. "description": "Set to window non focused"
  1400. },
  1401. {
  1402. "name": "FLAG_WINDOW_TOPMOST",
  1403. "value": 4096,
  1404. "description": "Set to window always on top"
  1405. },
  1406. {
  1407. "name": "FLAG_WINDOW_ALWAYS_RUN",
  1408. "value": 256,
  1409. "description": "Set to allow windows running while minimized"
  1410. },
  1411. {
  1412. "name": "FLAG_WINDOW_TRANSPARENT",
  1413. "value": 16,
  1414. "description": "Set to allow transparent framebuffer"
  1415. },
  1416. {
  1417. "name": "FLAG_WINDOW_HIGHDPI",
  1418. "value": 8192,
  1419. "description": "Set to support HighDPI"
  1420. },
  1421. {
  1422. "name": "FLAG_WINDOW_MOUSE_PASSTHROUGH",
  1423. "value": 16384,
  1424. "description": "Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED"
  1425. },
  1426. {
  1427. "name": "FLAG_MSAA_4X_HINT",
  1428. "value": 32,
  1429. "description": "Set to try enabling MSAA 4X"
  1430. },
  1431. {
  1432. "name": "FLAG_INTERLACED_HINT",
  1433. "value": 65536,
  1434. "description": "Set to try enabling interlaced video format (for V3D)"
  1435. }
  1436. ]
  1437. },
  1438. {
  1439. "name": "TraceLogLevel",
  1440. "description": "Trace log level",
  1441. "values": [
  1442. {
  1443. "name": "LOG_ALL",
  1444. "value": 0,
  1445. "description": "Display all logs"
  1446. },
  1447. {
  1448. "name": "LOG_TRACE",
  1449. "value": 1,
  1450. "description": "Trace logging, intended for internal use only"
  1451. },
  1452. {
  1453. "name": "LOG_DEBUG",
  1454. "value": 2,
  1455. "description": "Debug logging, used for internal debugging, it should be disabled on release builds"
  1456. },
  1457. {
  1458. "name": "LOG_INFO",
  1459. "value": 3,
  1460. "description": "Info logging, used for program execution info"
  1461. },
  1462. {
  1463. "name": "LOG_WARNING",
  1464. "value": 4,
  1465. "description": "Warning logging, used on recoverable failures"
  1466. },
  1467. {
  1468. "name": "LOG_ERROR",
  1469. "value": 5,
  1470. "description": "Error logging, used on unrecoverable failures"
  1471. },
  1472. {
  1473. "name": "LOG_FATAL",
  1474. "value": 6,
  1475. "description": "Fatal logging, used to abort program: exit(EXIT_FAILURE)"
  1476. },
  1477. {
  1478. "name": "LOG_NONE",
  1479. "value": 7,
  1480. "description": "Disable logging"
  1481. }
  1482. ]
  1483. },
  1484. {
  1485. "name": "KeyboardKey",
  1486. "description": "Keyboard keys (US keyboard layout)",
  1487. "values": [
  1488. {
  1489. "name": "KEY_NULL",
  1490. "value": 0,
  1491. "description": "Key: NULL, used for no key pressed"
  1492. },
  1493. {
  1494. "name": "KEY_APOSTROPHE",
  1495. "value": 39,
  1496. "description": "Key: '"
  1497. },
  1498. {
  1499. "name": "KEY_COMMA",
  1500. "value": 44,
  1501. "description": "Key: ,"
  1502. },
  1503. {
  1504. "name": "KEY_MINUS",
  1505. "value": 45,
  1506. "description": "Key: -"
  1507. },
  1508. {
  1509. "name": "KEY_PERIOD",
  1510. "value": 46,
  1511. "description": "Key: ."
  1512. },
  1513. {
  1514. "name": "KEY_SLASH",
  1515. "value": 47,
  1516. "description": "Key: /"
  1517. },
  1518. {
  1519. "name": "KEY_ZERO",
  1520. "value": 48,
  1521. "description": "Key: 0"
  1522. },
  1523. {
  1524. "name": "KEY_ONE",
  1525. "value": 49,
  1526. "description": "Key: 1"
  1527. },
  1528. {
  1529. "name": "KEY_TWO",
  1530. "value": 50,
  1531. "description": "Key: 2"
  1532. },
  1533. {
  1534. "name": "KEY_THREE",
  1535. "value": 51,
  1536. "description": "Key: 3"
  1537. },
  1538. {
  1539. "name": "KEY_FOUR",
  1540. "value": 52,
  1541. "description": "Key: 4"
  1542. },
  1543. {
  1544. "name": "KEY_FIVE",
  1545. "value": 53,
  1546. "description": "Key: 5"
  1547. },
  1548. {
  1549. "name": "KEY_SIX",
  1550. "value": 54,
  1551. "description": "Key: 6"
  1552. },
  1553. {
  1554. "name": "KEY_SEVEN",
  1555. "value": 55,
  1556. "description": "Key: 7"
  1557. },
  1558. {
  1559. "name": "KEY_EIGHT",
  1560. "value": 56,
  1561. "description": "Key: 8"
  1562. },
  1563. {
  1564. "name": "KEY_NINE",
  1565. "value": 57,
  1566. "description": "Key: 9"
  1567. },
  1568. {
  1569. "name": "KEY_SEMICOLON",
  1570. "value": 59,
  1571. "description": "Key: ;"
  1572. },
  1573. {
  1574. "name": "KEY_EQUAL",
  1575. "value": 61,
  1576. "description": "Key: ="
  1577. },
  1578. {
  1579. "name": "KEY_A",
  1580. "value": 65,
  1581. "description": "Key: A | a"
  1582. },
  1583. {
  1584. "name": "KEY_B",
  1585. "value": 66,
  1586. "description": "Key: B | b"
  1587. },
  1588. {
  1589. "name": "KEY_C",
  1590. "value": 67,
  1591. "description": "Key: C | c"
  1592. },
  1593. {
  1594. "name": "KEY_D",
  1595. "value": 68,
  1596. "description": "Key: D | d"
  1597. },
  1598. {
  1599. "name": "KEY_E",
  1600. "value": 69,
  1601. "description": "Key: E | e"
  1602. },
  1603. {
  1604. "name": "KEY_F",
  1605. "value": 70,
  1606. "description": "Key: F | f"
  1607. },
  1608. {
  1609. "name": "KEY_G",
  1610. "value": 71,
  1611. "description": "Key: G | g"
  1612. },
  1613. {
  1614. "name": "KEY_H",
  1615. "value": 72,
  1616. "description": "Key: H | h"
  1617. },
  1618. {
  1619. "name": "KEY_I",
  1620. "value": 73,
  1621. "description": "Key: I | i"
  1622. },
  1623. {
  1624. "name": "KEY_J",
  1625. "value": 74,
  1626. "description": "Key: J | j"
  1627. },
  1628. {
  1629. "name": "KEY_K",
  1630. "value": 75,
  1631. "description": "Key: K | k"
  1632. },
  1633. {
  1634. "name": "KEY_L",
  1635. "value": 76,
  1636. "description": "Key: L | l"
  1637. },
  1638. {
  1639. "name": "KEY_M",
  1640. "value": 77,
  1641. "description": "Key: M | m"
  1642. },
  1643. {
  1644. "name": "KEY_N",
  1645. "value": 78,
  1646. "description": "Key: N | n"
  1647. },
  1648. {
  1649. "name": "KEY_O",
  1650. "value": 79,
  1651. "description": "Key: O | o"
  1652. },
  1653. {
  1654. "name": "KEY_P",
  1655. "value": 80,
  1656. "description": "Key: P | p"
  1657. },
  1658. {
  1659. "name": "KEY_Q",
  1660. "value": 81,
  1661. "description": "Key: Q | q"
  1662. },
  1663. {
  1664. "name": "KEY_R",
  1665. "value": 82,
  1666. "description": "Key: R | r"
  1667. },
  1668. {
  1669. "name": "KEY_S",
  1670. "value": 83,
  1671. "description": "Key: S | s"
  1672. },
  1673. {
  1674. "name": "KEY_T",
  1675. "value": 84,
  1676. "description": "Key: T | t"
  1677. },
  1678. {
  1679. "name": "KEY_U",
  1680. "value": 85,
  1681. "description": "Key: U | u"
  1682. },
  1683. {
  1684. "name": "KEY_V",
  1685. "value": 86,
  1686. "description": "Key: V | v"
  1687. },
  1688. {
  1689. "name": "KEY_W",
  1690. "value": 87,
  1691. "description": "Key: W | w"
  1692. },
  1693. {
  1694. "name": "KEY_X",
  1695. "value": 88,
  1696. "description": "Key: X | x"
  1697. },
  1698. {
  1699. "name": "KEY_Y",
  1700. "value": 89,
  1701. "description": "Key: Y | y"
  1702. },
  1703. {
  1704. "name": "KEY_Z",
  1705. "value": 90,
  1706. "description": "Key: Z | z"
  1707. },
  1708. {
  1709. "name": "KEY_LEFT_BRACKET",
  1710. "value": 91,
  1711. "description": "Key: ["
  1712. },
  1713. {
  1714. "name": "KEY_BACKSLASH",
  1715. "value": 92,
  1716. "description": "Key: '\\'"
  1717. },
  1718. {
  1719. "name": "KEY_RIGHT_BRACKET",
  1720. "value": 93,
  1721. "description": "Key: ]"
  1722. },
  1723. {
  1724. "name": "KEY_GRAVE",
  1725. "value": 96,
  1726. "description": "Key: `"
  1727. },
  1728. {
  1729. "name": "KEY_SPACE",
  1730. "value": 32,
  1731. "description": "Key: Space"
  1732. },
  1733. {
  1734. "name": "KEY_ESCAPE",
  1735. "value": 256,
  1736. "description": "Key: Esc"
  1737. },
  1738. {
  1739. "name": "KEY_ENTER",
  1740. "value": 257,
  1741. "description": "Key: Enter"
  1742. },
  1743. {
  1744. "name": "KEY_TAB",
  1745. "value": 258,
  1746. "description": "Key: Tab"
  1747. },
  1748. {
  1749. "name": "KEY_BACKSPACE",
  1750. "value": 259,
  1751. "description": "Key: Backspace"
  1752. },
  1753. {
  1754. "name": "KEY_INSERT",
  1755. "value": 260,
  1756. "description": "Key: Ins"
  1757. },
  1758. {
  1759. "name": "KEY_DELETE",
  1760. "value": 261,
  1761. "description": "Key: Del"
  1762. },
  1763. {
  1764. "name": "KEY_RIGHT",
  1765. "value": 262,
  1766. "description": "Key: Cursor right"
  1767. },
  1768. {
  1769. "name": "KEY_LEFT",
  1770. "value": 263,
  1771. "description": "Key: Cursor left"
  1772. },
  1773. {
  1774. "name": "KEY_DOWN",
  1775. "value": 264,
  1776. "description": "Key: Cursor down"
  1777. },
  1778. {
  1779. "name": "KEY_UP",
  1780. "value": 265,
  1781. "description": "Key: Cursor up"
  1782. },
  1783. {
  1784. "name": "KEY_PAGE_UP",
  1785. "value": 266,
  1786. "description": "Key: Page up"
  1787. },
  1788. {
  1789. "name": "KEY_PAGE_DOWN",
  1790. "value": 267,
  1791. "description": "Key: Page down"
  1792. },
  1793. {
  1794. "name": "KEY_HOME",
  1795. "value": 268,
  1796. "description": "Key: Home"
  1797. },
  1798. {
  1799. "name": "KEY_END",
  1800. "value": 269,
  1801. "description": "Key: End"
  1802. },
  1803. {
  1804. "name": "KEY_CAPS_LOCK",
  1805. "value": 280,
  1806. "description": "Key: Caps lock"
  1807. },
  1808. {
  1809. "name": "KEY_SCROLL_LOCK",
  1810. "value": 281,
  1811. "description": "Key: Scroll down"
  1812. },
  1813. {
  1814. "name": "KEY_NUM_LOCK",
  1815. "value": 282,
  1816. "description": "Key: Num lock"
  1817. },
  1818. {
  1819. "name": "KEY_PRINT_SCREEN",
  1820. "value": 283,
  1821. "description": "Key: Print screen"
  1822. },
  1823. {
  1824. "name": "KEY_PAUSE",
  1825. "value": 284,
  1826. "description": "Key: Pause"
  1827. },
  1828. {
  1829. "name": "KEY_F1",
  1830. "value": 290,
  1831. "description": "Key: F1"
  1832. },
  1833. {
  1834. "name": "KEY_F2",
  1835. "value": 291,
  1836. "description": "Key: F2"
  1837. },
  1838. {
  1839. "name": "KEY_F3",
  1840. "value": 292,
  1841. "description": "Key: F3"
  1842. },
  1843. {
  1844. "name": "KEY_F4",
  1845. "value": 293,
  1846. "description": "Key: F4"
  1847. },
  1848. {
  1849. "name": "KEY_F5",
  1850. "value": 294,
  1851. "description": "Key: F5"
  1852. },
  1853. {
  1854. "name": "KEY_F6",
  1855. "value": 295,
  1856. "description": "Key: F6"
  1857. },
  1858. {
  1859. "name": "KEY_F7",
  1860. "value": 296,
  1861. "description": "Key: F7"
  1862. },
  1863. {
  1864. "name": "KEY_F8",
  1865. "value": 297,
  1866. "description": "Key: F8"
  1867. },
  1868. {
  1869. "name": "KEY_F9",
  1870. "value": 298,
  1871. "description": "Key: F9"
  1872. },
  1873. {
  1874. "name": "KEY_F10",
  1875. "value": 299,
  1876. "description": "Key: F10"
  1877. },
  1878. {
  1879. "name": "KEY_F11",
  1880. "value": 300,
  1881. "description": "Key: F11"
  1882. },
  1883. {
  1884. "name": "KEY_F12",
  1885. "value": 301,
  1886. "description": "Key: F12"
  1887. },
  1888. {
  1889. "name": "KEY_LEFT_SHIFT",
  1890. "value": 340,
  1891. "description": "Key: Shift left"
  1892. },
  1893. {
  1894. "name": "KEY_LEFT_CONTROL",
  1895. "value": 341,
  1896. "description": "Key: Control left"
  1897. },
  1898. {
  1899. "name": "KEY_LEFT_ALT",
  1900. "value": 342,
  1901. "description": "Key: Alt left"
  1902. },
  1903. {
  1904. "name": "KEY_LEFT_SUPER",
  1905. "value": 343,
  1906. "description": "Key: Super left"
  1907. },
  1908. {
  1909. "name": "KEY_RIGHT_SHIFT",
  1910. "value": 344,
  1911. "description": "Key: Shift right"
  1912. },
  1913. {
  1914. "name": "KEY_RIGHT_CONTROL",
  1915. "value": 345,
  1916. "description": "Key: Control right"
  1917. },
  1918. {
  1919. "name": "KEY_RIGHT_ALT",
  1920. "value": 346,
  1921. "description": "Key: Alt right"
  1922. },
  1923. {
  1924. "name": "KEY_RIGHT_SUPER",
  1925. "value": 347,
  1926. "description": "Key: Super right"
  1927. },
  1928. {
  1929. "name": "KEY_KB_MENU",
  1930. "value": 348,
  1931. "description": "Key: KB menu"
  1932. },
  1933. {
  1934. "name": "KEY_KP_0",
  1935. "value": 320,
  1936. "description": "Key: Keypad 0"
  1937. },
  1938. {
  1939. "name": "KEY_KP_1",
  1940. "value": 321,
  1941. "description": "Key: Keypad 1"
  1942. },
  1943. {
  1944. "name": "KEY_KP_2",
  1945. "value": 322,
  1946. "description": "Key: Keypad 2"
  1947. },
  1948. {
  1949. "name": "KEY_KP_3",
  1950. "value": 323,
  1951. "description": "Key: Keypad 3"
  1952. },
  1953. {
  1954. "name": "KEY_KP_4",
  1955. "value": 324,
  1956. "description": "Key: Keypad 4"
  1957. },
  1958. {
  1959. "name": "KEY_KP_5",
  1960. "value": 325,
  1961. "description": "Key: Keypad 5"
  1962. },
  1963. {
  1964. "name": "KEY_KP_6",
  1965. "value": 326,
  1966. "description": "Key: Keypad 6"
  1967. },
  1968. {
  1969. "name": "KEY_KP_7",
  1970. "value": 327,
  1971. "description": "Key: Keypad 7"
  1972. },
  1973. {
  1974. "name": "KEY_KP_8",
  1975. "value": 328,
  1976. "description": "Key: Keypad 8"
  1977. },
  1978. {
  1979. "name": "KEY_KP_9",
  1980. "value": 329,
  1981. "description": "Key: Keypad 9"
  1982. },
  1983. {
  1984. "name": "KEY_KP_DECIMAL",
  1985. "value": 330,
  1986. "description": "Key: Keypad ."
  1987. },
  1988. {
  1989. "name": "KEY_KP_DIVIDE",
  1990. "value": 331,
  1991. "description": "Key: Keypad /"
  1992. },
  1993. {
  1994. "name": "KEY_KP_MULTIPLY",
  1995. "value": 332,
  1996. "description": "Key: Keypad *"
  1997. },
  1998. {
  1999. "name": "KEY_KP_SUBTRACT",
  2000. "value": 333,
  2001. "description": "Key: Keypad -"
  2002. },
  2003. {
  2004. "name": "KEY_KP_ADD",
  2005. "value": 334,
  2006. "description": "Key: Keypad +"
  2007. },
  2008. {
  2009. "name": "KEY_KP_ENTER",
  2010. "value": 335,
  2011. "description": "Key: Keypad Enter"
  2012. },
  2013. {
  2014. "name": "KEY_KP_EQUAL",
  2015. "value": 336,
  2016. "description": "Key: Keypad ="
  2017. },
  2018. {
  2019. "name": "KEY_BACK",
  2020. "value": 4,
  2021. "description": "Key: Android back button"
  2022. },
  2023. {
  2024. "name": "KEY_MENU",
  2025. "value": 82,
  2026. "description": "Key: Android menu button"
  2027. },
  2028. {
  2029. "name": "KEY_VOLUME_UP",
  2030. "value": 24,
  2031. "description": "Key: Android volume up button"
  2032. },
  2033. {
  2034. "name": "KEY_VOLUME_DOWN",
  2035. "value": 25,
  2036. "description": "Key: Android volume down button"
  2037. }
  2038. ]
  2039. },
  2040. {
  2041. "name": "MouseButton",
  2042. "description": "Mouse buttons",
  2043. "values": [
  2044. {
  2045. "name": "MOUSE_BUTTON_LEFT",
  2046. "value": 0,
  2047. "description": "Mouse button left"
  2048. },
  2049. {
  2050. "name": "MOUSE_BUTTON_RIGHT",
  2051. "value": 1,
  2052. "description": "Mouse button right"
  2053. },
  2054. {
  2055. "name": "MOUSE_BUTTON_MIDDLE",
  2056. "value": 2,
  2057. "description": "Mouse button middle (pressed wheel)"
  2058. },
  2059. {
  2060. "name": "MOUSE_BUTTON_SIDE",
  2061. "value": 3,
  2062. "description": "Mouse button side (advanced mouse device)"
  2063. },
  2064. {
  2065. "name": "MOUSE_BUTTON_EXTRA",
  2066. "value": 4,
  2067. "description": "Mouse button extra (advanced mouse device)"
  2068. },
  2069. {
  2070. "name": "MOUSE_BUTTON_FORWARD",
  2071. "value": 5,
  2072. "description": "Mouse button forward (advanced mouse device)"
  2073. },
  2074. {
  2075. "name": "MOUSE_BUTTON_BACK",
  2076. "value": 6,
  2077. "description": "Mouse button back (advanced mouse device)"
  2078. }
  2079. ]
  2080. },
  2081. {
  2082. "name": "MouseCursor",
  2083. "description": "Mouse cursor",
  2084. "values": [
  2085. {
  2086. "name": "MOUSE_CURSOR_DEFAULT",
  2087. "value": 0,
  2088. "description": "Default pointer shape"
  2089. },
  2090. {
  2091. "name": "MOUSE_CURSOR_ARROW",
  2092. "value": 1,
  2093. "description": "Arrow shape"
  2094. },
  2095. {
  2096. "name": "MOUSE_CURSOR_IBEAM",
  2097. "value": 2,
  2098. "description": "Text writing cursor shape"
  2099. },
  2100. {
  2101. "name": "MOUSE_CURSOR_CROSSHAIR",
  2102. "value": 3,
  2103. "description": "Cross shape"
  2104. },
  2105. {
  2106. "name": "MOUSE_CURSOR_POINTING_HAND",
  2107. "value": 4,
  2108. "description": "Pointing hand cursor"
  2109. },
  2110. {
  2111. "name": "MOUSE_CURSOR_RESIZE_EW",
  2112. "value": 5,
  2113. "description": "Horizontal resize/move arrow shape"
  2114. },
  2115. {
  2116. "name": "MOUSE_CURSOR_RESIZE_NS",
  2117. "value": 6,
  2118. "description": "Vertical resize/move arrow shape"
  2119. },
  2120. {
  2121. "name": "MOUSE_CURSOR_RESIZE_NWSE",
  2122. "value": 7,
  2123. "description": "Top-left to bottom-right diagonal resize/move arrow shape"
  2124. },
  2125. {
  2126. "name": "MOUSE_CURSOR_RESIZE_NESW",
  2127. "value": 8,
  2128. "description": "The top-right to bottom-left diagonal resize/move arrow shape"
  2129. },
  2130. {
  2131. "name": "MOUSE_CURSOR_RESIZE_ALL",
  2132. "value": 9,
  2133. "description": "The omnidirectional resize/move cursor shape"
  2134. },
  2135. {
  2136. "name": "MOUSE_CURSOR_NOT_ALLOWED",
  2137. "value": 10,
  2138. "description": "The operation-not-allowed shape"
  2139. }
  2140. ]
  2141. },
  2142. {
  2143. "name": "GamepadButton",
  2144. "description": "Gamepad buttons",
  2145. "values": [
  2146. {
  2147. "name": "GAMEPAD_BUTTON_UNKNOWN",
  2148. "value": 0,
  2149. "description": "Unknown button, just for error checking"
  2150. },
  2151. {
  2152. "name": "GAMEPAD_BUTTON_LEFT_FACE_UP",
  2153. "value": 1,
  2154. "description": "Gamepad left DPAD up button"
  2155. },
  2156. {
  2157. "name": "GAMEPAD_BUTTON_LEFT_FACE_RIGHT",
  2158. "value": 2,
  2159. "description": "Gamepad left DPAD right button"
  2160. },
  2161. {
  2162. "name": "GAMEPAD_BUTTON_LEFT_FACE_DOWN",
  2163. "value": 3,
  2164. "description": "Gamepad left DPAD down button"
  2165. },
  2166. {
  2167. "name": "GAMEPAD_BUTTON_LEFT_FACE_LEFT",
  2168. "value": 4,
  2169. "description": "Gamepad left DPAD left button"
  2170. },
  2171. {
  2172. "name": "GAMEPAD_BUTTON_RIGHT_FACE_UP",
  2173. "value": 5,
  2174. "description": "Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)"
  2175. },
  2176. {
  2177. "name": "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT",
  2178. "value": 6,
  2179. "description": "Gamepad right button right (i.e. PS3: Square, Xbox: X)"
  2180. },
  2181. {
  2182. "name": "GAMEPAD_BUTTON_RIGHT_FACE_DOWN",
  2183. "value": 7,
  2184. "description": "Gamepad right button down (i.e. PS3: Cross, Xbox: A)"
  2185. },
  2186. {
  2187. "name": "GAMEPAD_BUTTON_RIGHT_FACE_LEFT",
  2188. "value": 8,
  2189. "description": "Gamepad right button left (i.e. PS3: Circle, Xbox: B)"
  2190. },
  2191. {
  2192. "name": "GAMEPAD_BUTTON_LEFT_TRIGGER_1",
  2193. "value": 9,
  2194. "description": "Gamepad top/back trigger left (first), it could be a trailing button"
  2195. },
  2196. {
  2197. "name": "GAMEPAD_BUTTON_LEFT_TRIGGER_2",
  2198. "value": 10,
  2199. "description": "Gamepad top/back trigger left (second), it could be a trailing button"
  2200. },
  2201. {
  2202. "name": "GAMEPAD_BUTTON_RIGHT_TRIGGER_1",
  2203. "value": 11,
  2204. "description": "Gamepad top/back trigger right (one), it could be a trailing button"
  2205. },
  2206. {
  2207. "name": "GAMEPAD_BUTTON_RIGHT_TRIGGER_2",
  2208. "value": 12,
  2209. "description": "Gamepad top/back trigger right (second), it could be a trailing button"
  2210. },
  2211. {
  2212. "name": "GAMEPAD_BUTTON_MIDDLE_LEFT",
  2213. "value": 13,
  2214. "description": "Gamepad center buttons, left one (i.e. PS3: Select)"
  2215. },
  2216. {
  2217. "name": "GAMEPAD_BUTTON_MIDDLE",
  2218. "value": 14,
  2219. "description": "Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)"
  2220. },
  2221. {
  2222. "name": "GAMEPAD_BUTTON_MIDDLE_RIGHT",
  2223. "value": 15,
  2224. "description": "Gamepad center buttons, right one (i.e. PS3: Start)"
  2225. },
  2226. {
  2227. "name": "GAMEPAD_BUTTON_LEFT_THUMB",
  2228. "value": 16,
  2229. "description": "Gamepad joystick pressed button left"
  2230. },
  2231. {
  2232. "name": "GAMEPAD_BUTTON_RIGHT_THUMB",
  2233. "value": 17,
  2234. "description": "Gamepad joystick pressed button right"
  2235. }
  2236. ]
  2237. },
  2238. {
  2239. "name": "GamepadAxis",
  2240. "description": "Gamepad axis",
  2241. "values": [
  2242. {
  2243. "name": "GAMEPAD_AXIS_LEFT_X",
  2244. "value": 0,
  2245. "description": "Gamepad left stick X axis"
  2246. },
  2247. {
  2248. "name": "GAMEPAD_AXIS_LEFT_Y",
  2249. "value": 1,
  2250. "description": "Gamepad left stick Y axis"
  2251. },
  2252. {
  2253. "name": "GAMEPAD_AXIS_RIGHT_X",
  2254. "value": 2,
  2255. "description": "Gamepad right stick X axis"
  2256. },
  2257. {
  2258. "name": "GAMEPAD_AXIS_RIGHT_Y",
  2259. "value": 3,
  2260. "description": "Gamepad right stick Y axis"
  2261. },
  2262. {
  2263. "name": "GAMEPAD_AXIS_LEFT_TRIGGER",
  2264. "value": 4,
  2265. "description": "Gamepad back trigger left, pressure level: [1..-1]"
  2266. },
  2267. {
  2268. "name": "GAMEPAD_AXIS_RIGHT_TRIGGER",
  2269. "value": 5,
  2270. "description": "Gamepad back trigger right, pressure level: [1..-1]"
  2271. }
  2272. ]
  2273. },
  2274. {
  2275. "name": "MaterialMapIndex",
  2276. "description": "Material map index",
  2277. "values": [
  2278. {
  2279. "name": "MATERIAL_MAP_ALBEDO",
  2280. "value": 0,
  2281. "description": "Albedo material (same as: MATERIAL_MAP_DIFFUSE)"
  2282. },
  2283. {
  2284. "name": "MATERIAL_MAP_METALNESS",
  2285. "value": 1,
  2286. "description": "Metalness material (same as: MATERIAL_MAP_SPECULAR)"
  2287. },
  2288. {
  2289. "name": "MATERIAL_MAP_NORMAL",
  2290. "value": 2,
  2291. "description": "Normal material"
  2292. },
  2293. {
  2294. "name": "MATERIAL_MAP_ROUGHNESS",
  2295. "value": 3,
  2296. "description": "Roughness material"
  2297. },
  2298. {
  2299. "name": "MATERIAL_MAP_OCCLUSION",
  2300. "value": 4,
  2301. "description": "Ambient occlusion material"
  2302. },
  2303. {
  2304. "name": "MATERIAL_MAP_EMISSION",
  2305. "value": 5,
  2306. "description": "Emission material"
  2307. },
  2308. {
  2309. "name": "MATERIAL_MAP_HEIGHT",
  2310. "value": 6,
  2311. "description": "Heightmap material"
  2312. },
  2313. {
  2314. "name": "MATERIAL_MAP_CUBEMAP",
  2315. "value": 7,
  2316. "description": "Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)"
  2317. },
  2318. {
  2319. "name": "MATERIAL_MAP_IRRADIANCE",
  2320. "value": 8,
  2321. "description": "Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)"
  2322. },
  2323. {
  2324. "name": "MATERIAL_MAP_PREFILTER",
  2325. "value": 9,
  2326. "description": "Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)"
  2327. },
  2328. {
  2329. "name": "MATERIAL_MAP_BRDF",
  2330. "value": 10,
  2331. "description": "Brdf material"
  2332. }
  2333. ]
  2334. },
  2335. {
  2336. "name": "ShaderLocationIndex",
  2337. "description": "Shader location index",
  2338. "values": [
  2339. {
  2340. "name": "SHADER_LOC_VERTEX_POSITION",
  2341. "value": 0,
  2342. "description": "Shader location: vertex attribute: position"
  2343. },
  2344. {
  2345. "name": "SHADER_LOC_VERTEX_TEXCOORD01",
  2346. "value": 1,
  2347. "description": "Shader location: vertex attribute: texcoord01"
  2348. },
  2349. {
  2350. "name": "SHADER_LOC_VERTEX_TEXCOORD02",
  2351. "value": 2,
  2352. "description": "Shader location: vertex attribute: texcoord02"
  2353. },
  2354. {
  2355. "name": "SHADER_LOC_VERTEX_NORMAL",
  2356. "value": 3,
  2357. "description": "Shader location: vertex attribute: normal"
  2358. },
  2359. {
  2360. "name": "SHADER_LOC_VERTEX_TANGENT",
  2361. "value": 4,
  2362. "description": "Shader location: vertex attribute: tangent"
  2363. },
  2364. {
  2365. "name": "SHADER_LOC_VERTEX_COLOR",
  2366. "value": 5,
  2367. "description": "Shader location: vertex attribute: color"
  2368. },
  2369. {
  2370. "name": "SHADER_LOC_MATRIX_MVP",
  2371. "value": 6,
  2372. "description": "Shader location: matrix uniform: model-view-projection"
  2373. },
  2374. {
  2375. "name": "SHADER_LOC_MATRIX_VIEW",
  2376. "value": 7,
  2377. "description": "Shader location: matrix uniform: view (camera transform)"
  2378. },
  2379. {
  2380. "name": "SHADER_LOC_MATRIX_PROJECTION",
  2381. "value": 8,
  2382. "description": "Shader location: matrix uniform: projection"
  2383. },
  2384. {
  2385. "name": "SHADER_LOC_MATRIX_MODEL",
  2386. "value": 9,
  2387. "description": "Shader location: matrix uniform: model (transform)"
  2388. },
  2389. {
  2390. "name": "SHADER_LOC_MATRIX_NORMAL",
  2391. "value": 10,
  2392. "description": "Shader location: matrix uniform: normal"
  2393. },
  2394. {
  2395. "name": "SHADER_LOC_VECTOR_VIEW",
  2396. "value": 11,
  2397. "description": "Shader location: vector uniform: view"
  2398. },
  2399. {
  2400. "name": "SHADER_LOC_COLOR_DIFFUSE",
  2401. "value": 12,
  2402. "description": "Shader location: vector uniform: diffuse color"
  2403. },
  2404. {
  2405. "name": "SHADER_LOC_COLOR_SPECULAR",
  2406. "value": 13,
  2407. "description": "Shader location: vector uniform: specular color"
  2408. },
  2409. {
  2410. "name": "SHADER_LOC_COLOR_AMBIENT",
  2411. "value": 14,
  2412. "description": "Shader location: vector uniform: ambient color"
  2413. },
  2414. {
  2415. "name": "SHADER_LOC_MAP_ALBEDO",
  2416. "value": 15,
  2417. "description": "Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE)"
  2418. },
  2419. {
  2420. "name": "SHADER_LOC_MAP_METALNESS",
  2421. "value": 16,
  2422. "description": "Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR)"
  2423. },
  2424. {
  2425. "name": "SHADER_LOC_MAP_NORMAL",
  2426. "value": 17,
  2427. "description": "Shader location: sampler2d texture: normal"
  2428. },
  2429. {
  2430. "name": "SHADER_LOC_MAP_ROUGHNESS",
  2431. "value": 18,
  2432. "description": "Shader location: sampler2d texture: roughness"
  2433. },
  2434. {
  2435. "name": "SHADER_LOC_MAP_OCCLUSION",
  2436. "value": 19,
  2437. "description": "Shader location: sampler2d texture: occlusion"
  2438. },
  2439. {
  2440. "name": "SHADER_LOC_MAP_EMISSION",
  2441. "value": 20,
  2442. "description": "Shader location: sampler2d texture: emission"
  2443. },
  2444. {
  2445. "name": "SHADER_LOC_MAP_HEIGHT",
  2446. "value": 21,
  2447. "description": "Shader location: sampler2d texture: height"
  2448. },
  2449. {
  2450. "name": "SHADER_LOC_MAP_CUBEMAP",
  2451. "value": 22,
  2452. "description": "Shader location: samplerCube texture: cubemap"
  2453. },
  2454. {
  2455. "name": "SHADER_LOC_MAP_IRRADIANCE",
  2456. "value": 23,
  2457. "description": "Shader location: samplerCube texture: irradiance"
  2458. },
  2459. {
  2460. "name": "SHADER_LOC_MAP_PREFILTER",
  2461. "value": 24,
  2462. "description": "Shader location: samplerCube texture: prefilter"
  2463. },
  2464. {
  2465. "name": "SHADER_LOC_MAP_BRDF",
  2466. "value": 25,
  2467. "description": "Shader location: sampler2d texture: brdf"
  2468. }
  2469. ]
  2470. },
  2471. {
  2472. "name": "ShaderUniformDataType",
  2473. "description": "Shader uniform data type",
  2474. "values": [
  2475. {
  2476. "name": "SHADER_UNIFORM_FLOAT",
  2477. "value": 0,
  2478. "description": "Shader uniform type: float"
  2479. },
  2480. {
  2481. "name": "SHADER_UNIFORM_VEC2",
  2482. "value": 1,
  2483. "description": "Shader uniform type: vec2 (2 float)"
  2484. },
  2485. {
  2486. "name": "SHADER_UNIFORM_VEC3",
  2487. "value": 2,
  2488. "description": "Shader uniform type: vec3 (3 float)"
  2489. },
  2490. {
  2491. "name": "SHADER_UNIFORM_VEC4",
  2492. "value": 3,
  2493. "description": "Shader uniform type: vec4 (4 float)"
  2494. },
  2495. {
  2496. "name": "SHADER_UNIFORM_INT",
  2497. "value": 4,
  2498. "description": "Shader uniform type: int"
  2499. },
  2500. {
  2501. "name": "SHADER_UNIFORM_IVEC2",
  2502. "value": 5,
  2503. "description": "Shader uniform type: ivec2 (2 int)"
  2504. },
  2505. {
  2506. "name": "SHADER_UNIFORM_IVEC3",
  2507. "value": 6,
  2508. "description": "Shader uniform type: ivec3 (3 int)"
  2509. },
  2510. {
  2511. "name": "SHADER_UNIFORM_IVEC4",
  2512. "value": 7,
  2513. "description": "Shader uniform type: ivec4 (4 int)"
  2514. },
  2515. {
  2516. "name": "SHADER_UNIFORM_SAMPLER2D",
  2517. "value": 8,
  2518. "description": "Shader uniform type: sampler2d"
  2519. }
  2520. ]
  2521. },
  2522. {
  2523. "name": "ShaderAttributeDataType",
  2524. "description": "Shader attribute data types",
  2525. "values": [
  2526. {
  2527. "name": "SHADER_ATTRIB_FLOAT",
  2528. "value": 0,
  2529. "description": "Shader attribute type: float"
  2530. },
  2531. {
  2532. "name": "SHADER_ATTRIB_VEC2",
  2533. "value": 1,
  2534. "description": "Shader attribute type: vec2 (2 float)"
  2535. },
  2536. {
  2537. "name": "SHADER_ATTRIB_VEC3",
  2538. "value": 2,
  2539. "description": "Shader attribute type: vec3 (3 float)"
  2540. },
  2541. {
  2542. "name": "SHADER_ATTRIB_VEC4",
  2543. "value": 3,
  2544. "description": "Shader attribute type: vec4 (4 float)"
  2545. }
  2546. ]
  2547. },
  2548. {
  2549. "name": "PixelFormat",
  2550. "description": "Pixel formats",
  2551. "values": [
  2552. {
  2553. "name": "PIXELFORMAT_UNCOMPRESSED_GRAYSCALE",
  2554. "value": 1,
  2555. "description": "8 bit per pixel (no alpha)"
  2556. },
  2557. {
  2558. "name": "PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA",
  2559. "value": 2,
  2560. "description": "8*2 bpp (2 channels)"
  2561. },
  2562. {
  2563. "name": "PIXELFORMAT_UNCOMPRESSED_R5G6B5",
  2564. "value": 3,
  2565. "description": "16 bpp"
  2566. },
  2567. {
  2568. "name": "PIXELFORMAT_UNCOMPRESSED_R8G8B8",
  2569. "value": 4,
  2570. "description": "24 bpp"
  2571. },
  2572. {
  2573. "name": "PIXELFORMAT_UNCOMPRESSED_R5G5B5A1",
  2574. "value": 5,
  2575. "description": "16 bpp (1 bit alpha)"
  2576. },
  2577. {
  2578. "name": "PIXELFORMAT_UNCOMPRESSED_R4G4B4A4",
  2579. "value": 6,
  2580. "description": "16 bpp (4 bit alpha)"
  2581. },
  2582. {
  2583. "name": "PIXELFORMAT_UNCOMPRESSED_R8G8B8A8",
  2584. "value": 7,
  2585. "description": "32 bpp"
  2586. },
  2587. {
  2588. "name": "PIXELFORMAT_UNCOMPRESSED_R32",
  2589. "value": 8,
  2590. "description": "32 bpp (1 channel - float)"
  2591. },
  2592. {
  2593. "name": "PIXELFORMAT_UNCOMPRESSED_R32G32B32",
  2594. "value": 9,
  2595. "description": "32*3 bpp (3 channels - float)"
  2596. },
  2597. {
  2598. "name": "PIXELFORMAT_UNCOMPRESSED_R32G32B32A32",
  2599. "value": 10,
  2600. "description": "32*4 bpp (4 channels - float)"
  2601. },
  2602. {
  2603. "name": "PIXELFORMAT_COMPRESSED_DXT1_RGB",
  2604. "value": 11,
  2605. "description": "4 bpp (no alpha)"
  2606. },
  2607. {
  2608. "name": "PIXELFORMAT_COMPRESSED_DXT1_RGBA",
  2609. "value": 12,
  2610. "description": "4 bpp (1 bit alpha)"
  2611. },
  2612. {
  2613. "name": "PIXELFORMAT_COMPRESSED_DXT3_RGBA",
  2614. "value": 13,
  2615. "description": "8 bpp"
  2616. },
  2617. {
  2618. "name": "PIXELFORMAT_COMPRESSED_DXT5_RGBA",
  2619. "value": 14,
  2620. "description": "8 bpp"
  2621. },
  2622. {
  2623. "name": "PIXELFORMAT_COMPRESSED_ETC1_RGB",
  2624. "value": 15,
  2625. "description": "4 bpp"
  2626. },
  2627. {
  2628. "name": "PIXELFORMAT_COMPRESSED_ETC2_RGB",
  2629. "value": 16,
  2630. "description": "4 bpp"
  2631. },
  2632. {
  2633. "name": "PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA",
  2634. "value": 17,
  2635. "description": "8 bpp"
  2636. },
  2637. {
  2638. "name": "PIXELFORMAT_COMPRESSED_PVRT_RGB",
  2639. "value": 18,
  2640. "description": "4 bpp"
  2641. },
  2642. {
  2643. "name": "PIXELFORMAT_COMPRESSED_PVRT_RGBA",
  2644. "value": 19,
  2645. "description": "4 bpp"
  2646. },
  2647. {
  2648. "name": "PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA",
  2649. "value": 20,
  2650. "description": "8 bpp"
  2651. },
  2652. {
  2653. "name": "PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA",
  2654. "value": 21,
  2655. "description": "2 bpp"
  2656. }
  2657. ]
  2658. },
  2659. {
  2660. "name": "TextureFilter",
  2661. "description": "Texture parameters: filter mode",
  2662. "values": [
  2663. {
  2664. "name": "TEXTURE_FILTER_POINT",
  2665. "value": 0,
  2666. "description": "No filter, just pixel approximation"
  2667. },
  2668. {
  2669. "name": "TEXTURE_FILTER_BILINEAR",
  2670. "value": 1,
  2671. "description": "Linear filtering"
  2672. },
  2673. {
  2674. "name": "TEXTURE_FILTER_TRILINEAR",
  2675. "value": 2,
  2676. "description": "Trilinear filtering (linear with mipmaps)"
  2677. },
  2678. {
  2679. "name": "TEXTURE_FILTER_ANISOTROPIC_4X",
  2680. "value": 3,
  2681. "description": "Anisotropic filtering 4x"
  2682. },
  2683. {
  2684. "name": "TEXTURE_FILTER_ANISOTROPIC_8X",
  2685. "value": 4,
  2686. "description": "Anisotropic filtering 8x"
  2687. },
  2688. {
  2689. "name": "TEXTURE_FILTER_ANISOTROPIC_16X",
  2690. "value": 5,
  2691. "description": "Anisotropic filtering 16x"
  2692. }
  2693. ]
  2694. },
  2695. {
  2696. "name": "TextureWrap",
  2697. "description": "Texture parameters: wrap mode",
  2698. "values": [
  2699. {
  2700. "name": "TEXTURE_WRAP_REPEAT",
  2701. "value": 0,
  2702. "description": "Repeats texture in tiled mode"
  2703. },
  2704. {
  2705. "name": "TEXTURE_WRAP_CLAMP",
  2706. "value": 1,
  2707. "description": "Clamps texture to edge pixel in tiled mode"
  2708. },
  2709. {
  2710. "name": "TEXTURE_WRAP_MIRROR_REPEAT",
  2711. "value": 2,
  2712. "description": "Mirrors and repeats the texture in tiled mode"
  2713. },
  2714. {
  2715. "name": "TEXTURE_WRAP_MIRROR_CLAMP",
  2716. "value": 3,
  2717. "description": "Mirrors and clamps to border the texture in tiled mode"
  2718. }
  2719. ]
  2720. },
  2721. {
  2722. "name": "CubemapLayout",
  2723. "description": "Cubemap layouts",
  2724. "values": [
  2725. {
  2726. "name": "CUBEMAP_LAYOUT_AUTO_DETECT",
  2727. "value": 0,
  2728. "description": "Automatically detect layout type"
  2729. },
  2730. {
  2731. "name": "CUBEMAP_LAYOUT_LINE_VERTICAL",
  2732. "value": 1,
  2733. "description": "Layout is defined by a vertical line with faces"
  2734. },
  2735. {
  2736. "name": "CUBEMAP_LAYOUT_LINE_HORIZONTAL",
  2737. "value": 2,
  2738. "description": "Layout is defined by a horizontal line with faces"
  2739. },
  2740. {
  2741. "name": "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR",
  2742. "value": 3,
  2743. "description": "Layout is defined by a 3x4 cross with cubemap faces"
  2744. },
  2745. {
  2746. "name": "CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE",
  2747. "value": 4,
  2748. "description": "Layout is defined by a 4x3 cross with cubemap faces"
  2749. },
  2750. {
  2751. "name": "CUBEMAP_LAYOUT_PANORAMA",
  2752. "value": 5,
  2753. "description": "Layout is defined by a panorama image (equirrectangular map)"
  2754. }
  2755. ]
  2756. },
  2757. {
  2758. "name": "FontType",
  2759. "description": "Font type, defines generation method",
  2760. "values": [
  2761. {
  2762. "name": "FONT_DEFAULT",
  2763. "value": 0,
  2764. "description": "Default font generation, anti-aliased"
  2765. },
  2766. {
  2767. "name": "FONT_BITMAP",
  2768. "value": 1,
  2769. "description": "Bitmap font generation, no anti-aliasing"
  2770. },
  2771. {
  2772. "name": "FONT_SDF",
  2773. "value": 2,
  2774. "description": "SDF font generation, requires external shader"
  2775. }
  2776. ]
  2777. },
  2778. {
  2779. "name": "BlendMode",
  2780. "description": "Color blending modes (pre-defined)",
  2781. "values": [
  2782. {
  2783. "name": "BLEND_ALPHA",
  2784. "value": 0,
  2785. "description": "Blend textures considering alpha (default)"
  2786. },
  2787. {
  2788. "name": "BLEND_ADDITIVE",
  2789. "value": 1,
  2790. "description": "Blend textures adding colors"
  2791. },
  2792. {
  2793. "name": "BLEND_MULTIPLIED",
  2794. "value": 2,
  2795. "description": "Blend textures multiplying colors"
  2796. },
  2797. {
  2798. "name": "BLEND_ADD_COLORS",
  2799. "value": 3,
  2800. "description": "Blend textures adding colors (alternative)"
  2801. },
  2802. {
  2803. "name": "BLEND_SUBTRACT_COLORS",
  2804. "value": 4,
  2805. "description": "Blend textures subtracting colors (alternative)"
  2806. },
  2807. {
  2808. "name": "BLEND_ALPHA_PREMULTIPLY",
  2809. "value": 5,
  2810. "description": "Blend premultiplied textures considering alpha"
  2811. },
  2812. {
  2813. "name": "BLEND_CUSTOM",
  2814. "value": 6,
  2815. "description": "Blend textures using custom src/dst factors (use rlSetBlendFactors())"
  2816. },
  2817. {
  2818. "name": "BLEND_CUSTOM_SEPARATE",
  2819. "value": 7,
  2820. "description": "Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendFactorsSeparate())"
  2821. }
  2822. ]
  2823. },
  2824. {
  2825. "name": "Gesture",
  2826. "description": "Gesture",
  2827. "values": [
  2828. {
  2829. "name": "GESTURE_NONE",
  2830. "value": 0,
  2831. "description": "No gesture"
  2832. },
  2833. {
  2834. "name": "GESTURE_TAP",
  2835. "value": 1,
  2836. "description": "Tap gesture"
  2837. },
  2838. {
  2839. "name": "GESTURE_DOUBLETAP",
  2840. "value": 2,
  2841. "description": "Double tap gesture"
  2842. },
  2843. {
  2844. "name": "GESTURE_HOLD",
  2845. "value": 4,
  2846. "description": "Hold gesture"
  2847. },
  2848. {
  2849. "name": "GESTURE_DRAG",
  2850. "value": 8,
  2851. "description": "Drag gesture"
  2852. },
  2853. {
  2854. "name": "GESTURE_SWIPE_RIGHT",
  2855. "value": 16,
  2856. "description": "Swipe right gesture"
  2857. },
  2858. {
  2859. "name": "GESTURE_SWIPE_LEFT",
  2860. "value": 32,
  2861. "description": "Swipe left gesture"
  2862. },
  2863. {
  2864. "name": "GESTURE_SWIPE_UP",
  2865. "value": 64,
  2866. "description": "Swipe up gesture"
  2867. },
  2868. {
  2869. "name": "GESTURE_SWIPE_DOWN",
  2870. "value": 128,
  2871. "description": "Swipe down gesture"
  2872. },
  2873. {
  2874. "name": "GESTURE_PINCH_IN",
  2875. "value": 256,
  2876. "description": "Pinch in gesture"
  2877. },
  2878. {
  2879. "name": "GESTURE_PINCH_OUT",
  2880. "value": 512,
  2881. "description": "Pinch out gesture"
  2882. }
  2883. ]
  2884. },
  2885. {
  2886. "name": "CameraMode",
  2887. "description": "Camera system modes",
  2888. "values": [
  2889. {
  2890. "name": "CAMERA_CUSTOM",
  2891. "value": 0,
  2892. "description": "Custom camera"
  2893. },
  2894. {
  2895. "name": "CAMERA_FREE",
  2896. "value": 1,
  2897. "description": "Free camera"
  2898. },
  2899. {
  2900. "name": "CAMERA_ORBITAL",
  2901. "value": 2,
  2902. "description": "Orbital camera"
  2903. },
  2904. {
  2905. "name": "CAMERA_FIRST_PERSON",
  2906. "value": 3,
  2907. "description": "First person camera"
  2908. },
  2909. {
  2910. "name": "CAMERA_THIRD_PERSON",
  2911. "value": 4,
  2912. "description": "Third person camera"
  2913. }
  2914. ]
  2915. },
  2916. {
  2917. "name": "CameraProjection",
  2918. "description": "Camera projection",
  2919. "values": [
  2920. {
  2921. "name": "CAMERA_PERSPECTIVE",
  2922. "value": 0,
  2923. "description": "Perspective projection"
  2924. },
  2925. {
  2926. "name": "CAMERA_ORTHOGRAPHIC",
  2927. "value": 1,
  2928. "description": "Orthographic projection"
  2929. }
  2930. ]
  2931. },
  2932. {
  2933. "name": "NPatchLayout",
  2934. "description": "N-patch layout",
  2935. "values": [
  2936. {
  2937. "name": "NPATCH_NINE_PATCH",
  2938. "value": 0,
  2939. "description": "Npatch layout: 3x3 tiles"
  2940. },
  2941. {
  2942. "name": "NPATCH_THREE_PATCH_VERTICAL",
  2943. "value": 1,
  2944. "description": "Npatch layout: 1x3 tiles"
  2945. },
  2946. {
  2947. "name": "NPATCH_THREE_PATCH_HORIZONTAL",
  2948. "value": 2,
  2949. "description": "Npatch layout: 3x1 tiles"
  2950. }
  2951. ]
  2952. }
  2953. ],
  2954. "callbacks": [
  2955. {
  2956. "name": "TraceLogCallback",
  2957. "description": "Logging: Redirect trace log messages",
  2958. "returnType": "void",
  2959. "params": [
  2960. {
  2961. "type": "int",
  2962. "name": "logLevel"
  2963. },
  2964. {
  2965. "type": "const char *",
  2966. "name": "text"
  2967. },
  2968. {
  2969. "type": "va_list",
  2970. "name": "args"
  2971. }
  2972. ]
  2973. },
  2974. {
  2975. "name": "LoadFileDataCallback",
  2976. "description": "FileIO: Load binary data",
  2977. "returnType": "unsigned char *",
  2978. "params": [
  2979. {
  2980. "type": "const char *",
  2981. "name": "fileName"
  2982. },
  2983. {
  2984. "type": "unsigned int *",
  2985. "name": "bytesRead"
  2986. }
  2987. ]
  2988. },
  2989. {
  2990. "name": "SaveFileDataCallback",
  2991. "description": "FileIO: Save binary data",
  2992. "returnType": "bool",
  2993. "params": [
  2994. {
  2995. "type": "const char *",
  2996. "name": "fileName"
  2997. },
  2998. {
  2999. "type": "void *",
  3000. "name": "data"
  3001. },
  3002. {
  3003. "type": "unsigned int",
  3004. "name": "bytesToWrite"
  3005. }
  3006. ]
  3007. },
  3008. {
  3009. "name": "LoadFileTextCallback",
  3010. "description": "FileIO: Load text data",
  3011. "returnType": "char *",
  3012. "params": [
  3013. {
  3014. "type": "const char *",
  3015. "name": "fileName"
  3016. }
  3017. ]
  3018. },
  3019. {
  3020. "name": "SaveFileTextCallback",
  3021. "description": "FileIO: Save text data",
  3022. "returnType": "bool",
  3023. "params": [
  3024. {
  3025. "type": "const char *",
  3026. "name": "fileName"
  3027. },
  3028. {
  3029. "type": "char *",
  3030. "name": "text"
  3031. }
  3032. ]
  3033. },
  3034. {
  3035. "name": "AudioCallback",
  3036. "description": "",
  3037. "returnType": "void",
  3038. "params": [
  3039. {
  3040. "type": "void *",
  3041. "name": "bufferData"
  3042. },
  3043. {
  3044. "type": "unsigned int",
  3045. "name": "frames"
  3046. }
  3047. ]
  3048. }
  3049. ],
  3050. "functions": [
  3051. {
  3052. "name": "InitWindow",
  3053. "description": "Initialize window and OpenGL context",
  3054. "returnType": "void",
  3055. "params": [
  3056. {
  3057. "type": "int",
  3058. "name": "width"
  3059. },
  3060. {
  3061. "type": "int",
  3062. "name": "height"
  3063. },
  3064. {
  3065. "type": "const char *",
  3066. "name": "title"
  3067. }
  3068. ]
  3069. },
  3070. {
  3071. "name": "WindowShouldClose",
  3072. "description": "Check if KEY_ESCAPE pressed or Close icon pressed",
  3073. "returnType": "bool"
  3074. },
  3075. {
  3076. "name": "CloseWindow",
  3077. "description": "Close window and unload OpenGL context",
  3078. "returnType": "void"
  3079. },
  3080. {
  3081. "name": "IsWindowReady",
  3082. "description": "Check if window has been initialized successfully",
  3083. "returnType": "bool"
  3084. },
  3085. {
  3086. "name": "IsWindowFullscreen",
  3087. "description": "Check if window is currently fullscreen",
  3088. "returnType": "bool"
  3089. },
  3090. {
  3091. "name": "IsWindowHidden",
  3092. "description": "Check if window is currently hidden (only PLATFORM_DESKTOP)",
  3093. "returnType": "bool"
  3094. },
  3095. {
  3096. "name": "IsWindowMinimized",
  3097. "description": "Check if window is currently minimized (only PLATFORM_DESKTOP)",
  3098. "returnType": "bool"
  3099. },
  3100. {
  3101. "name": "IsWindowMaximized",
  3102. "description": "Check if window is currently maximized (only PLATFORM_DESKTOP)",
  3103. "returnType": "bool"
  3104. },
  3105. {
  3106. "name": "IsWindowFocused",
  3107. "description": "Check if window is currently focused (only PLATFORM_DESKTOP)",
  3108. "returnType": "bool"
  3109. },
  3110. {
  3111. "name": "IsWindowResized",
  3112. "description": "Check if window has been resized last frame",
  3113. "returnType": "bool"
  3114. },
  3115. {
  3116. "name": "IsWindowState",
  3117. "description": "Check if one specific window flag is enabled",
  3118. "returnType": "bool",
  3119. "params": [
  3120. {
  3121. "type": "unsigned int",
  3122. "name": "flag"
  3123. }
  3124. ]
  3125. },
  3126. {
  3127. "name": "SetWindowState",
  3128. "description": "Set window configuration state using flags (only PLATFORM_DESKTOP)",
  3129. "returnType": "void",
  3130. "params": [
  3131. {
  3132. "type": "unsigned int",
  3133. "name": "flags"
  3134. }
  3135. ]
  3136. },
  3137. {
  3138. "name": "ClearWindowState",
  3139. "description": "Clear window configuration state flags",
  3140. "returnType": "void",
  3141. "params": [
  3142. {
  3143. "type": "unsigned int",
  3144. "name": "flags"
  3145. }
  3146. ]
  3147. },
  3148. {
  3149. "name": "ToggleFullscreen",
  3150. "description": "Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)",
  3151. "returnType": "void"
  3152. },
  3153. {
  3154. "name": "MaximizeWindow",
  3155. "description": "Set window state: maximized, if resizable (only PLATFORM_DESKTOP)",
  3156. "returnType": "void"
  3157. },
  3158. {
  3159. "name": "MinimizeWindow",
  3160. "description": "Set window state: minimized, if resizable (only PLATFORM_DESKTOP)",
  3161. "returnType": "void"
  3162. },
  3163. {
  3164. "name": "RestoreWindow",
  3165. "description": "Set window state: not minimized/maximized (only PLATFORM_DESKTOP)",
  3166. "returnType": "void"
  3167. },
  3168. {
  3169. "name": "SetWindowIcon",
  3170. "description": "Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)",
  3171. "returnType": "void",
  3172. "params": [
  3173. {
  3174. "type": "Image",
  3175. "name": "image"
  3176. }
  3177. ]
  3178. },
  3179. {
  3180. "name": "SetWindowIcons",
  3181. "description": "Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)",
  3182. "returnType": "void",
  3183. "params": [
  3184. {
  3185. "type": "Image *",
  3186. "name": "images"
  3187. },
  3188. {
  3189. "type": "int",
  3190. "name": "count"
  3191. }
  3192. ]
  3193. },
  3194. {
  3195. "name": "SetWindowTitle",
  3196. "description": "Set title for window (only PLATFORM_DESKTOP)",
  3197. "returnType": "void",
  3198. "params": [
  3199. {
  3200. "type": "const char *",
  3201. "name": "title"
  3202. }
  3203. ]
  3204. },
  3205. {
  3206. "name": "SetWindowPosition",
  3207. "description": "Set window position on screen (only PLATFORM_DESKTOP)",
  3208. "returnType": "void",
  3209. "params": [
  3210. {
  3211. "type": "int",
  3212. "name": "x"
  3213. },
  3214. {
  3215. "type": "int",
  3216. "name": "y"
  3217. }
  3218. ]
  3219. },
  3220. {
  3221. "name": "SetWindowMonitor",
  3222. "description": "Set monitor for the current window (fullscreen mode)",
  3223. "returnType": "void",
  3224. "params": [
  3225. {
  3226. "type": "int",
  3227. "name": "monitor"
  3228. }
  3229. ]
  3230. },
  3231. {
  3232. "name": "SetWindowMinSize",
  3233. "description": "Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)",
  3234. "returnType": "void",
  3235. "params": [
  3236. {
  3237. "type": "int",
  3238. "name": "width"
  3239. },
  3240. {
  3241. "type": "int",
  3242. "name": "height"
  3243. }
  3244. ]
  3245. },
  3246. {
  3247. "name": "SetWindowSize",
  3248. "description": "Set window dimensions",
  3249. "returnType": "void",
  3250. "params": [
  3251. {
  3252. "type": "int",
  3253. "name": "width"
  3254. },
  3255. {
  3256. "type": "int",
  3257. "name": "height"
  3258. }
  3259. ]
  3260. },
  3261. {
  3262. "name": "SetWindowOpacity",
  3263. "description": "Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)",
  3264. "returnType": "void",
  3265. "params": [
  3266. {
  3267. "type": "float",
  3268. "name": "opacity"
  3269. }
  3270. ]
  3271. },
  3272. {
  3273. "name": "GetWindowHandle",
  3274. "description": "Get native window handle",
  3275. "returnType": "void *"
  3276. },
  3277. {
  3278. "name": "GetScreenWidth",
  3279. "description": "Get current screen width",
  3280. "returnType": "int"
  3281. },
  3282. {
  3283. "name": "GetScreenHeight",
  3284. "description": "Get current screen height",
  3285. "returnType": "int"
  3286. },
  3287. {
  3288. "name": "GetRenderWidth",
  3289. "description": "Get current render width (it considers HiDPI)",
  3290. "returnType": "int"
  3291. },
  3292. {
  3293. "name": "GetRenderHeight",
  3294. "description": "Get current render height (it considers HiDPI)",
  3295. "returnType": "int"
  3296. },
  3297. {
  3298. "name": "GetMonitorCount",
  3299. "description": "Get number of connected monitors",
  3300. "returnType": "int"
  3301. },
  3302. {
  3303. "name": "GetCurrentMonitor",
  3304. "description": "Get current connected monitor",
  3305. "returnType": "int"
  3306. },
  3307. {
  3308. "name": "GetMonitorPosition",
  3309. "description": "Get specified monitor position",
  3310. "returnType": "Vector2",
  3311. "params": [
  3312. {
  3313. "type": "int",
  3314. "name": "monitor"
  3315. }
  3316. ]
  3317. },
  3318. {
  3319. "name": "GetMonitorWidth",
  3320. "description": "Get specified monitor width (current video mode used by monitor)",
  3321. "returnType": "int",
  3322. "params": [
  3323. {
  3324. "type": "int",
  3325. "name": "monitor"
  3326. }
  3327. ]
  3328. },
  3329. {
  3330. "name": "GetMonitorHeight",
  3331. "description": "Get specified monitor height (current video mode used by monitor)",
  3332. "returnType": "int",
  3333. "params": [
  3334. {
  3335. "type": "int",
  3336. "name": "monitor"
  3337. }
  3338. ]
  3339. },
  3340. {
  3341. "name": "GetMonitorPhysicalWidth",
  3342. "description": "Get specified monitor physical width in millimetres",
  3343. "returnType": "int",
  3344. "params": [
  3345. {
  3346. "type": "int",
  3347. "name": "monitor"
  3348. }
  3349. ]
  3350. },
  3351. {
  3352. "name": "GetMonitorPhysicalHeight",
  3353. "description": "Get specified monitor physical height in millimetres",
  3354. "returnType": "int",
  3355. "params": [
  3356. {
  3357. "type": "int",
  3358. "name": "monitor"
  3359. }
  3360. ]
  3361. },
  3362. {
  3363. "name": "GetMonitorRefreshRate",
  3364. "description": "Get specified monitor refresh rate",
  3365. "returnType": "int",
  3366. "params": [
  3367. {
  3368. "type": "int",
  3369. "name": "monitor"
  3370. }
  3371. ]
  3372. },
  3373. {
  3374. "name": "GetWindowPosition",
  3375. "description": "Get window position XY on monitor",
  3376. "returnType": "Vector2"
  3377. },
  3378. {
  3379. "name": "GetWindowScaleDPI",
  3380. "description": "Get window scale DPI factor",
  3381. "returnType": "Vector2"
  3382. },
  3383. {
  3384. "name": "GetMonitorName",
  3385. "description": "Get the human-readable, UTF-8 encoded name of the primary monitor",
  3386. "returnType": "const char *",
  3387. "params": [
  3388. {
  3389. "type": "int",
  3390. "name": "monitor"
  3391. }
  3392. ]
  3393. },
  3394. {
  3395. "name": "SetClipboardText",
  3396. "description": "Set clipboard text content",
  3397. "returnType": "void",
  3398. "params": [
  3399. {
  3400. "type": "const char *",
  3401. "name": "text"
  3402. }
  3403. ]
  3404. },
  3405. {
  3406. "name": "GetClipboardText",
  3407. "description": "Get clipboard text content",
  3408. "returnType": "const char *"
  3409. },
  3410. {
  3411. "name": "EnableEventWaiting",
  3412. "description": "Enable waiting for events on EndDrawing(), no automatic event polling",
  3413. "returnType": "void"
  3414. },
  3415. {
  3416. "name": "DisableEventWaiting",
  3417. "description": "Disable waiting for events on EndDrawing(), automatic events polling",
  3418. "returnType": "void"
  3419. },
  3420. {
  3421. "name": "SwapScreenBuffer",
  3422. "description": "Swap back buffer with front buffer (screen drawing)",
  3423. "returnType": "void"
  3424. },
  3425. {
  3426. "name": "PollInputEvents",
  3427. "description": "Register all input events",
  3428. "returnType": "void"
  3429. },
  3430. {
  3431. "name": "WaitTime",
  3432. "description": "Wait for some time (halt program execution)",
  3433. "returnType": "void",
  3434. "params": [
  3435. {
  3436. "type": "double",
  3437. "name": "seconds"
  3438. }
  3439. ]
  3440. },
  3441. {
  3442. "name": "ShowCursor",
  3443. "description": "Shows cursor",
  3444. "returnType": "void"
  3445. },
  3446. {
  3447. "name": "HideCursor",
  3448. "description": "Hides cursor",
  3449. "returnType": "void"
  3450. },
  3451. {
  3452. "name": "IsCursorHidden",
  3453. "description": "Check if cursor is not visible",
  3454. "returnType": "bool"
  3455. },
  3456. {
  3457. "name": "EnableCursor",
  3458. "description": "Enables cursor (unlock cursor)",
  3459. "returnType": "void"
  3460. },
  3461. {
  3462. "name": "DisableCursor",
  3463. "description": "Disables cursor (lock cursor)",
  3464. "returnType": "void"
  3465. },
  3466. {
  3467. "name": "IsCursorOnScreen",
  3468. "description": "Check if cursor is on the screen",
  3469. "returnType": "bool"
  3470. },
  3471. {
  3472. "name": "ClearBackground",
  3473. "description": "Set background color (framebuffer clear color)",
  3474. "returnType": "void",
  3475. "params": [
  3476. {
  3477. "type": "Color",
  3478. "name": "color"
  3479. }
  3480. ]
  3481. },
  3482. {
  3483. "name": "BeginDrawing",
  3484. "description": "Setup canvas (framebuffer) to start drawing",
  3485. "returnType": "void"
  3486. },
  3487. {
  3488. "name": "EndDrawing",
  3489. "description": "End canvas drawing and swap buffers (double buffering)",
  3490. "returnType": "void"
  3491. },
  3492. {
  3493. "name": "BeginMode2D",
  3494. "description": "Begin 2D mode with custom camera (2D)",
  3495. "returnType": "void",
  3496. "params": [
  3497. {
  3498. "type": "Camera2D",
  3499. "name": "camera"
  3500. }
  3501. ]
  3502. },
  3503. {
  3504. "name": "EndMode2D",
  3505. "description": "Ends 2D mode with custom camera",
  3506. "returnType": "void"
  3507. },
  3508. {
  3509. "name": "BeginMode3D",
  3510. "description": "Begin 3D mode with custom camera (3D)",
  3511. "returnType": "void",
  3512. "params": [
  3513. {
  3514. "type": "Camera3D",
  3515. "name": "camera"
  3516. }
  3517. ]
  3518. },
  3519. {
  3520. "name": "EndMode3D",
  3521. "description": "Ends 3D mode and returns to default 2D orthographic mode",
  3522. "returnType": "void"
  3523. },
  3524. {
  3525. "name": "BeginTextureMode",
  3526. "description": "Begin drawing to render texture",
  3527. "returnType": "void",
  3528. "params": [
  3529. {
  3530. "type": "RenderTexture2D",
  3531. "name": "target"
  3532. }
  3533. ]
  3534. },
  3535. {
  3536. "name": "EndTextureMode",
  3537. "description": "Ends drawing to render texture",
  3538. "returnType": "void"
  3539. },
  3540. {
  3541. "name": "BeginShaderMode",
  3542. "description": "Begin custom shader drawing",
  3543. "returnType": "void",
  3544. "params": [
  3545. {
  3546. "type": "Shader",
  3547. "name": "shader"
  3548. }
  3549. ]
  3550. },
  3551. {
  3552. "name": "EndShaderMode",
  3553. "description": "End custom shader drawing (use default shader)",
  3554. "returnType": "void"
  3555. },
  3556. {
  3557. "name": "BeginBlendMode",
  3558. "description": "Begin blending mode (alpha, additive, multiplied, subtract, custom)",
  3559. "returnType": "void",
  3560. "params": [
  3561. {
  3562. "type": "int",
  3563. "name": "mode"
  3564. }
  3565. ]
  3566. },
  3567. {
  3568. "name": "EndBlendMode",
  3569. "description": "End blending mode (reset to default: alpha blending)",
  3570. "returnType": "void"
  3571. },
  3572. {
  3573. "name": "BeginScissorMode",
  3574. "description": "Begin scissor mode (define screen area for following drawing)",
  3575. "returnType": "void",
  3576. "params": [
  3577. {
  3578. "type": "int",
  3579. "name": "x"
  3580. },
  3581. {
  3582. "type": "int",
  3583. "name": "y"
  3584. },
  3585. {
  3586. "type": "int",
  3587. "name": "width"
  3588. },
  3589. {
  3590. "type": "int",
  3591. "name": "height"
  3592. }
  3593. ]
  3594. },
  3595. {
  3596. "name": "EndScissorMode",
  3597. "description": "End scissor mode",
  3598. "returnType": "void"
  3599. },
  3600. {
  3601. "name": "BeginVrStereoMode",
  3602. "description": "Begin stereo rendering (requires VR simulator)",
  3603. "returnType": "void",
  3604. "params": [
  3605. {
  3606. "type": "VrStereoConfig",
  3607. "name": "config"
  3608. }
  3609. ]
  3610. },
  3611. {
  3612. "name": "EndVrStereoMode",
  3613. "description": "End stereo rendering (requires VR simulator)",
  3614. "returnType": "void"
  3615. },
  3616. {
  3617. "name": "LoadVrStereoConfig",
  3618. "description": "Load VR stereo config for VR simulator device parameters",
  3619. "returnType": "VrStereoConfig",
  3620. "params": [
  3621. {
  3622. "type": "VrDeviceInfo",
  3623. "name": "device"
  3624. }
  3625. ]
  3626. },
  3627. {
  3628. "name": "UnloadVrStereoConfig",
  3629. "description": "Unload VR stereo config",
  3630. "returnType": "void",
  3631. "params": [
  3632. {
  3633. "type": "VrStereoConfig",
  3634. "name": "config"
  3635. }
  3636. ]
  3637. },
  3638. {
  3639. "name": "LoadShader",
  3640. "description": "Load shader from files and bind default locations",
  3641. "returnType": "Shader",
  3642. "params": [
  3643. {
  3644. "type": "const char *",
  3645. "name": "vsFileName"
  3646. },
  3647. {
  3648. "type": "const char *",
  3649. "name": "fsFileName"
  3650. }
  3651. ]
  3652. },
  3653. {
  3654. "name": "LoadShaderFromMemory",
  3655. "description": "Load shader from code strings and bind default locations",
  3656. "returnType": "Shader",
  3657. "params": [
  3658. {
  3659. "type": "const char *",
  3660. "name": "vsCode"
  3661. },
  3662. {
  3663. "type": "const char *",
  3664. "name": "fsCode"
  3665. }
  3666. ]
  3667. },
  3668. {
  3669. "name": "IsShaderReady",
  3670. "description": "Check if a shader is ready",
  3671. "returnType": "bool",
  3672. "params": [
  3673. {
  3674. "type": "Shader",
  3675. "name": "shader"
  3676. }
  3677. ]
  3678. },
  3679. {
  3680. "name": "GetShaderLocation",
  3681. "description": "Get shader uniform location",
  3682. "returnType": "int",
  3683. "params": [
  3684. {
  3685. "type": "Shader",
  3686. "name": "shader"
  3687. },
  3688. {
  3689. "type": "const char *",
  3690. "name": "uniformName"
  3691. }
  3692. ]
  3693. },
  3694. {
  3695. "name": "GetShaderLocationAttrib",
  3696. "description": "Get shader attribute location",
  3697. "returnType": "int",
  3698. "params": [
  3699. {
  3700. "type": "Shader",
  3701. "name": "shader"
  3702. },
  3703. {
  3704. "type": "const char *",
  3705. "name": "attribName"
  3706. }
  3707. ]
  3708. },
  3709. {
  3710. "name": "SetShaderValue",
  3711. "description": "Set shader uniform value",
  3712. "returnType": "void",
  3713. "params": [
  3714. {
  3715. "type": "Shader",
  3716. "name": "shader"
  3717. },
  3718. {
  3719. "type": "int",
  3720. "name": "locIndex"
  3721. },
  3722. {
  3723. "type": "const void *",
  3724. "name": "value"
  3725. },
  3726. {
  3727. "type": "int",
  3728. "name": "uniformType"
  3729. }
  3730. ]
  3731. },
  3732. {
  3733. "name": "SetShaderValueV",
  3734. "description": "Set shader uniform value vector",
  3735. "returnType": "void",
  3736. "params": [
  3737. {
  3738. "type": "Shader",
  3739. "name": "shader"
  3740. },
  3741. {
  3742. "type": "int",
  3743. "name": "locIndex"
  3744. },
  3745. {
  3746. "type": "const void *",
  3747. "name": "value"
  3748. },
  3749. {
  3750. "type": "int",
  3751. "name": "uniformType"
  3752. },
  3753. {
  3754. "type": "int",
  3755. "name": "count"
  3756. }
  3757. ]
  3758. },
  3759. {
  3760. "name": "SetShaderValueMatrix",
  3761. "description": "Set shader uniform value (matrix 4x4)",
  3762. "returnType": "void",
  3763. "params": [
  3764. {
  3765. "type": "Shader",
  3766. "name": "shader"
  3767. },
  3768. {
  3769. "type": "int",
  3770. "name": "locIndex"
  3771. },
  3772. {
  3773. "type": "Matrix",
  3774. "name": "mat"
  3775. }
  3776. ]
  3777. },
  3778. {
  3779. "name": "SetShaderValueTexture",
  3780. "description": "Set shader uniform value for texture (sampler2d)",
  3781. "returnType": "void",
  3782. "params": [
  3783. {
  3784. "type": "Shader",
  3785. "name": "shader"
  3786. },
  3787. {
  3788. "type": "int",
  3789. "name": "locIndex"
  3790. },
  3791. {
  3792. "type": "Texture2D",
  3793. "name": "texture"
  3794. }
  3795. ]
  3796. },
  3797. {
  3798. "name": "UnloadShader",
  3799. "description": "Unload shader from GPU memory (VRAM)",
  3800. "returnType": "void",
  3801. "params": [
  3802. {
  3803. "type": "Shader",
  3804. "name": "shader"
  3805. }
  3806. ]
  3807. },
  3808. {
  3809. "name": "GetMouseRay",
  3810. "description": "Get a ray trace from mouse position",
  3811. "returnType": "Ray",
  3812. "params": [
  3813. {
  3814. "type": "Vector2",
  3815. "name": "mousePosition"
  3816. },
  3817. {
  3818. "type": "Camera",
  3819. "name": "camera"
  3820. }
  3821. ]
  3822. },
  3823. {
  3824. "name": "GetCameraMatrix",
  3825. "description": "Get camera transform matrix (view matrix)",
  3826. "returnType": "Matrix",
  3827. "params": [
  3828. {
  3829. "type": "Camera",
  3830. "name": "camera"
  3831. }
  3832. ]
  3833. },
  3834. {
  3835. "name": "GetCameraMatrix2D",
  3836. "description": "Get camera 2d transform matrix",
  3837. "returnType": "Matrix",
  3838. "params": [
  3839. {
  3840. "type": "Camera2D",
  3841. "name": "camera"
  3842. }
  3843. ]
  3844. },
  3845. {
  3846. "name": "GetWorldToScreen",
  3847. "description": "Get the screen space position for a 3d world space position",
  3848. "returnType": "Vector2",
  3849. "params": [
  3850. {
  3851. "type": "Vector3",
  3852. "name": "position"
  3853. },
  3854. {
  3855. "type": "Camera",
  3856. "name": "camera"
  3857. }
  3858. ]
  3859. },
  3860. {
  3861. "name": "GetScreenToWorld2D",
  3862. "description": "Get the world space position for a 2d camera screen space position",
  3863. "returnType": "Vector2",
  3864. "params": [
  3865. {
  3866. "type": "Vector2",
  3867. "name": "position"
  3868. },
  3869. {
  3870. "type": "Camera2D",
  3871. "name": "camera"
  3872. }
  3873. ]
  3874. },
  3875. {
  3876. "name": "GetWorldToScreenEx",
  3877. "description": "Get size position for a 3d world space position",
  3878. "returnType": "Vector2",
  3879. "params": [
  3880. {
  3881. "type": "Vector3",
  3882. "name": "position"
  3883. },
  3884. {
  3885. "type": "Camera",
  3886. "name": "camera"
  3887. },
  3888. {
  3889. "type": "int",
  3890. "name": "width"
  3891. },
  3892. {
  3893. "type": "int",
  3894. "name": "height"
  3895. }
  3896. ]
  3897. },
  3898. {
  3899. "name": "GetWorldToScreen2D",
  3900. "description": "Get the screen space position for a 2d camera world space position",
  3901. "returnType": "Vector2",
  3902. "params": [
  3903. {
  3904. "type": "Vector2",
  3905. "name": "position"
  3906. },
  3907. {
  3908. "type": "Camera2D",
  3909. "name": "camera"
  3910. }
  3911. ]
  3912. },
  3913. {
  3914. "name": "SetTargetFPS",
  3915. "description": "Set target FPS (maximum)",
  3916. "returnType": "void",
  3917. "params": [
  3918. {
  3919. "type": "int",
  3920. "name": "fps"
  3921. }
  3922. ]
  3923. },
  3924. {
  3925. "name": "GetFPS",
  3926. "description": "Get current FPS",
  3927. "returnType": "int"
  3928. },
  3929. {
  3930. "name": "GetFrameTime",
  3931. "description": "Get time in seconds for last frame drawn (delta time)",
  3932. "returnType": "float"
  3933. },
  3934. {
  3935. "name": "GetTime",
  3936. "description": "Get elapsed time in seconds since InitWindow()",
  3937. "returnType": "double"
  3938. },
  3939. {
  3940. "name": "GetRandomValue",
  3941. "description": "Get a random value between min and max (both included)",
  3942. "returnType": "int",
  3943. "params": [
  3944. {
  3945. "type": "int",
  3946. "name": "min"
  3947. },
  3948. {
  3949. "type": "int",
  3950. "name": "max"
  3951. }
  3952. ]
  3953. },
  3954. {
  3955. "name": "SetRandomSeed",
  3956. "description": "Set the seed for the random number generator",
  3957. "returnType": "void",
  3958. "params": [
  3959. {
  3960. "type": "unsigned int",
  3961. "name": "seed"
  3962. }
  3963. ]
  3964. },
  3965. {
  3966. "name": "TakeScreenshot",
  3967. "description": "Takes a screenshot of current screen (filename extension defines format)",
  3968. "returnType": "void",
  3969. "params": [
  3970. {
  3971. "type": "const char *",
  3972. "name": "fileName"
  3973. }
  3974. ]
  3975. },
  3976. {
  3977. "name": "SetConfigFlags",
  3978. "description": "Setup init configuration flags (view FLAGS)",
  3979. "returnType": "void",
  3980. "params": [
  3981. {
  3982. "type": "unsigned int",
  3983. "name": "flags"
  3984. }
  3985. ]
  3986. },
  3987. {
  3988. "name": "TraceLog",
  3989. "description": "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)",
  3990. "returnType": "void",
  3991. "params": [
  3992. {
  3993. "type": "int",
  3994. "name": "logLevel"
  3995. },
  3996. {
  3997. "type": "const char *",
  3998. "name": "text"
  3999. },
  4000. {
  4001. "type": "...",
  4002. "name": "args"
  4003. }
  4004. ]
  4005. },
  4006. {
  4007. "name": "SetTraceLogLevel",
  4008. "description": "Set the current threshold (minimum) log level",
  4009. "returnType": "void",
  4010. "params": [
  4011. {
  4012. "type": "int",
  4013. "name": "logLevel"
  4014. }
  4015. ]
  4016. },
  4017. {
  4018. "name": "MemAlloc",
  4019. "description": "Internal memory allocator",
  4020. "returnType": "void *",
  4021. "params": [
  4022. {
  4023. "type": "unsigned int",
  4024. "name": "size"
  4025. }
  4026. ]
  4027. },
  4028. {
  4029. "name": "MemRealloc",
  4030. "description": "Internal memory reallocator",
  4031. "returnType": "void *",
  4032. "params": [
  4033. {
  4034. "type": "void *",
  4035. "name": "ptr"
  4036. },
  4037. {
  4038. "type": "unsigned int",
  4039. "name": "size"
  4040. }
  4041. ]
  4042. },
  4043. {
  4044. "name": "MemFree",
  4045. "description": "Internal memory free",
  4046. "returnType": "void",
  4047. "params": [
  4048. {
  4049. "type": "void *",
  4050. "name": "ptr"
  4051. }
  4052. ]
  4053. },
  4054. {
  4055. "name": "OpenURL",
  4056. "description": "Open URL with default system browser (if available)",
  4057. "returnType": "void",
  4058. "params": [
  4059. {
  4060. "type": "const char *",
  4061. "name": "url"
  4062. }
  4063. ]
  4064. },
  4065. {
  4066. "name": "SetTraceLogCallback",
  4067. "description": "Set custom trace log",
  4068. "returnType": "void",
  4069. "params": [
  4070. {
  4071. "type": "TraceLogCallback",
  4072. "name": "callback"
  4073. }
  4074. ]
  4075. },
  4076. {
  4077. "name": "SetLoadFileDataCallback",
  4078. "description": "Set custom file binary data loader",
  4079. "returnType": "void",
  4080. "params": [
  4081. {
  4082. "type": "LoadFileDataCallback",
  4083. "name": "callback"
  4084. }
  4085. ]
  4086. },
  4087. {
  4088. "name": "SetSaveFileDataCallback",
  4089. "description": "Set custom file binary data saver",
  4090. "returnType": "void",
  4091. "params": [
  4092. {
  4093. "type": "SaveFileDataCallback",
  4094. "name": "callback"
  4095. }
  4096. ]
  4097. },
  4098. {
  4099. "name": "SetLoadFileTextCallback",
  4100. "description": "Set custom file text data loader",
  4101. "returnType": "void",
  4102. "params": [
  4103. {
  4104. "type": "LoadFileTextCallback",
  4105. "name": "callback"
  4106. }
  4107. ]
  4108. },
  4109. {
  4110. "name": "SetSaveFileTextCallback",
  4111. "description": "Set custom file text data saver",
  4112. "returnType": "void",
  4113. "params": [
  4114. {
  4115. "type": "SaveFileTextCallback",
  4116. "name": "callback"
  4117. }
  4118. ]
  4119. },
  4120. {
  4121. "name": "LoadFileData",
  4122. "description": "Load file data as byte array (read)",
  4123. "returnType": "unsigned char *",
  4124. "params": [
  4125. {
  4126. "type": "const char *",
  4127. "name": "fileName"
  4128. },
  4129. {
  4130. "type": "unsigned int *",
  4131. "name": "bytesRead"
  4132. }
  4133. ]
  4134. },
  4135. {
  4136. "name": "UnloadFileData",
  4137. "description": "Unload file data allocated by LoadFileData()",
  4138. "returnType": "void",
  4139. "params": [
  4140. {
  4141. "type": "unsigned char *",
  4142. "name": "data"
  4143. }
  4144. ]
  4145. },
  4146. {
  4147. "name": "SaveFileData",
  4148. "description": "Save data to file from byte array (write), returns true on success",
  4149. "returnType": "bool",
  4150. "params": [
  4151. {
  4152. "type": "const char *",
  4153. "name": "fileName"
  4154. },
  4155. {
  4156. "type": "void *",
  4157. "name": "data"
  4158. },
  4159. {
  4160. "type": "unsigned int",
  4161. "name": "bytesToWrite"
  4162. }
  4163. ]
  4164. },
  4165. {
  4166. "name": "ExportDataAsCode",
  4167. "description": "Export data to code (.h), returns true on success",
  4168. "returnType": "bool",
  4169. "params": [
  4170. {
  4171. "type": "const unsigned char *",
  4172. "name": "data"
  4173. },
  4174. {
  4175. "type": "unsigned int",
  4176. "name": "size"
  4177. },
  4178. {
  4179. "type": "const char *",
  4180. "name": "fileName"
  4181. }
  4182. ]
  4183. },
  4184. {
  4185. "name": "LoadFileText",
  4186. "description": "Load text data from file (read), returns a '\\0' terminated string",
  4187. "returnType": "char *",
  4188. "params": [
  4189. {
  4190. "type": "const char *",
  4191. "name": "fileName"
  4192. }
  4193. ]
  4194. },
  4195. {
  4196. "name": "UnloadFileText",
  4197. "description": "Unload file text data allocated by LoadFileText()",
  4198. "returnType": "void",
  4199. "params": [
  4200. {
  4201. "type": "char *",
  4202. "name": "text"
  4203. }
  4204. ]
  4205. },
  4206. {
  4207. "name": "SaveFileText",
  4208. "description": "Save text data to file (write), string must be '\\0' terminated, returns true on success",
  4209. "returnType": "bool",
  4210. "params": [
  4211. {
  4212. "type": "const char *",
  4213. "name": "fileName"
  4214. },
  4215. {
  4216. "type": "char *",
  4217. "name": "text"
  4218. }
  4219. ]
  4220. },
  4221. {
  4222. "name": "FileExists",
  4223. "description": "Check if file exists",
  4224. "returnType": "bool",
  4225. "params": [
  4226. {
  4227. "type": "const char *",
  4228. "name": "fileName"
  4229. }
  4230. ]
  4231. },
  4232. {
  4233. "name": "DirectoryExists",
  4234. "description": "Check if a directory path exists",
  4235. "returnType": "bool",
  4236. "params": [
  4237. {
  4238. "type": "const char *",
  4239. "name": "dirPath"
  4240. }
  4241. ]
  4242. },
  4243. {
  4244. "name": "IsFileExtension",
  4245. "description": "Check file extension (including point: .png, .wav)",
  4246. "returnType": "bool",
  4247. "params": [
  4248. {
  4249. "type": "const char *",
  4250. "name": "fileName"
  4251. },
  4252. {
  4253. "type": "const char *",
  4254. "name": "ext"
  4255. }
  4256. ]
  4257. },
  4258. {
  4259. "name": "GetFileLength",
  4260. "description": "Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)",
  4261. "returnType": "int",
  4262. "params": [
  4263. {
  4264. "type": "const char *",
  4265. "name": "fileName"
  4266. }
  4267. ]
  4268. },
  4269. {
  4270. "name": "GetFileExtension",
  4271. "description": "Get pointer to extension for a filename string (includes dot: '.png')",
  4272. "returnType": "const char *",
  4273. "params": [
  4274. {
  4275. "type": "const char *",
  4276. "name": "fileName"
  4277. }
  4278. ]
  4279. },
  4280. {
  4281. "name": "GetFileName",
  4282. "description": "Get pointer to filename for a path string",
  4283. "returnType": "const char *",
  4284. "params": [
  4285. {
  4286. "type": "const char *",
  4287. "name": "filePath"
  4288. }
  4289. ]
  4290. },
  4291. {
  4292. "name": "GetFileNameWithoutExt",
  4293. "description": "Get filename string without extension (uses static string)",
  4294. "returnType": "const char *",
  4295. "params": [
  4296. {
  4297. "type": "const char *",
  4298. "name": "filePath"
  4299. }
  4300. ]
  4301. },
  4302. {
  4303. "name": "GetDirectoryPath",
  4304. "description": "Get full path for a given fileName with path (uses static string)",
  4305. "returnType": "const char *",
  4306. "params": [
  4307. {
  4308. "type": "const char *",
  4309. "name": "filePath"
  4310. }
  4311. ]
  4312. },
  4313. {
  4314. "name": "GetPrevDirectoryPath",
  4315. "description": "Get previous directory path for a given path (uses static string)",
  4316. "returnType": "const char *",
  4317. "params": [
  4318. {
  4319. "type": "const char *",
  4320. "name": "dirPath"
  4321. }
  4322. ]
  4323. },
  4324. {
  4325. "name": "GetWorkingDirectory",
  4326. "description": "Get current working directory (uses static string)",
  4327. "returnType": "const char *"
  4328. },
  4329. {
  4330. "name": "GetApplicationDirectory",
  4331. "description": "Get the directory if the running application (uses static string)",
  4332. "returnType": "const char *"
  4333. },
  4334. {
  4335. "name": "ChangeDirectory",
  4336. "description": "Change working directory, return true on success",
  4337. "returnType": "bool",
  4338. "params": [
  4339. {
  4340. "type": "const char *",
  4341. "name": "dir"
  4342. }
  4343. ]
  4344. },
  4345. {
  4346. "name": "IsPathFile",
  4347. "description": "Check if a given path is a file or a directory",
  4348. "returnType": "bool",
  4349. "params": [
  4350. {
  4351. "type": "const char *",
  4352. "name": "path"
  4353. }
  4354. ]
  4355. },
  4356. {
  4357. "name": "LoadDirectoryFiles",
  4358. "description": "Load directory filepaths",
  4359. "returnType": "FilePathList",
  4360. "params": [
  4361. {
  4362. "type": "const char *",
  4363. "name": "dirPath"
  4364. }
  4365. ]
  4366. },
  4367. {
  4368. "name": "LoadDirectoryFilesEx",
  4369. "description": "Load directory filepaths with extension filtering and recursive directory scan",
  4370. "returnType": "FilePathList",
  4371. "params": [
  4372. {
  4373. "type": "const char *",
  4374. "name": "basePath"
  4375. },
  4376. {
  4377. "type": "const char *",
  4378. "name": "filter"
  4379. },
  4380. {
  4381. "type": "bool",
  4382. "name": "scanSubdirs"
  4383. }
  4384. ]
  4385. },
  4386. {
  4387. "name": "UnloadDirectoryFiles",
  4388. "description": "Unload filepaths",
  4389. "returnType": "void",
  4390. "params": [
  4391. {
  4392. "type": "FilePathList",
  4393. "name": "files"
  4394. }
  4395. ]
  4396. },
  4397. {
  4398. "name": "IsFileDropped",
  4399. "description": "Check if a file has been dropped into window",
  4400. "returnType": "bool"
  4401. },
  4402. {
  4403. "name": "LoadDroppedFiles",
  4404. "description": "Load dropped filepaths",
  4405. "returnType": "FilePathList"
  4406. },
  4407. {
  4408. "name": "UnloadDroppedFiles",
  4409. "description": "Unload dropped filepaths",
  4410. "returnType": "void",
  4411. "params": [
  4412. {
  4413. "type": "FilePathList",
  4414. "name": "files"
  4415. }
  4416. ]
  4417. },
  4418. {
  4419. "name": "GetFileModTime",
  4420. "description": "Get file modification time (last write time)",
  4421. "returnType": "long",
  4422. "params": [
  4423. {
  4424. "type": "const char *",
  4425. "name": "fileName"
  4426. }
  4427. ]
  4428. },
  4429. {
  4430. "name": "CompressData",
  4431. "description": "Compress data (DEFLATE algorithm), memory must be MemFree()",
  4432. "returnType": "unsigned char *",
  4433. "params": [
  4434. {
  4435. "type": "const unsigned char *",
  4436. "name": "data"
  4437. },
  4438. {
  4439. "type": "int",
  4440. "name": "dataSize"
  4441. },
  4442. {
  4443. "type": "int *",
  4444. "name": "compDataSize"
  4445. }
  4446. ]
  4447. },
  4448. {
  4449. "name": "DecompressData",
  4450. "description": "Decompress data (DEFLATE algorithm), memory must be MemFree()",
  4451. "returnType": "unsigned char *",
  4452. "params": [
  4453. {
  4454. "type": "const unsigned char *",
  4455. "name": "compData"
  4456. },
  4457. {
  4458. "type": "int",
  4459. "name": "compDataSize"
  4460. },
  4461. {
  4462. "type": "int *",
  4463. "name": "dataSize"
  4464. }
  4465. ]
  4466. },
  4467. {
  4468. "name": "EncodeDataBase64",
  4469. "description": "Encode data to Base64 string, memory must be MemFree()",
  4470. "returnType": "char *",
  4471. "params": [
  4472. {
  4473. "type": "const unsigned char *",
  4474. "name": "data"
  4475. },
  4476. {
  4477. "type": "int",
  4478. "name": "dataSize"
  4479. },
  4480. {
  4481. "type": "int *",
  4482. "name": "outputSize"
  4483. }
  4484. ]
  4485. },
  4486. {
  4487. "name": "DecodeDataBase64",
  4488. "description": "Decode Base64 string data, memory must be MemFree()",
  4489. "returnType": "unsigned char *",
  4490. "params": [
  4491. {
  4492. "type": "const unsigned char *",
  4493. "name": "data"
  4494. },
  4495. {
  4496. "type": "int *",
  4497. "name": "outputSize"
  4498. }
  4499. ]
  4500. },
  4501. {
  4502. "name": "IsKeyPressed",
  4503. "description": "Check if a key has been pressed once",
  4504. "returnType": "bool",
  4505. "params": [
  4506. {
  4507. "type": "int",
  4508. "name": "key"
  4509. }
  4510. ]
  4511. },
  4512. {
  4513. "name": "IsKeyDown",
  4514. "description": "Check if a key is being pressed",
  4515. "returnType": "bool",
  4516. "params": [
  4517. {
  4518. "type": "int",
  4519. "name": "key"
  4520. }
  4521. ]
  4522. },
  4523. {
  4524. "name": "IsKeyReleased",
  4525. "description": "Check if a key has been released once",
  4526. "returnType": "bool",
  4527. "params": [
  4528. {
  4529. "type": "int",
  4530. "name": "key"
  4531. }
  4532. ]
  4533. },
  4534. {
  4535. "name": "IsKeyUp",
  4536. "description": "Check if a key is NOT being pressed",
  4537. "returnType": "bool",
  4538. "params": [
  4539. {
  4540. "type": "int",
  4541. "name": "key"
  4542. }
  4543. ]
  4544. },
  4545. {
  4546. "name": "SetExitKey",
  4547. "description": "Set a custom key to exit program (default is ESC)",
  4548. "returnType": "void",
  4549. "params": [
  4550. {
  4551. "type": "int",
  4552. "name": "key"
  4553. }
  4554. ]
  4555. },
  4556. {
  4557. "name": "GetKeyPressed",
  4558. "description": "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty",
  4559. "returnType": "int"
  4560. },
  4561. {
  4562. "name": "GetCharPressed",
  4563. "description": "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty",
  4564. "returnType": "int"
  4565. },
  4566. {
  4567. "name": "IsGamepadAvailable",
  4568. "description": "Check if a gamepad is available",
  4569. "returnType": "bool",
  4570. "params": [
  4571. {
  4572. "type": "int",
  4573. "name": "gamepad"
  4574. }
  4575. ]
  4576. },
  4577. {
  4578. "name": "GetGamepadName",
  4579. "description": "Get gamepad internal name id",
  4580. "returnType": "const char *",
  4581. "params": [
  4582. {
  4583. "type": "int",
  4584. "name": "gamepad"
  4585. }
  4586. ]
  4587. },
  4588. {
  4589. "name": "IsGamepadButtonPressed",
  4590. "description": "Check if a gamepad button has been pressed once",
  4591. "returnType": "bool",
  4592. "params": [
  4593. {
  4594. "type": "int",
  4595. "name": "gamepad"
  4596. },
  4597. {
  4598. "type": "int",
  4599. "name": "button"
  4600. }
  4601. ]
  4602. },
  4603. {
  4604. "name": "IsGamepadButtonDown",
  4605. "description": "Check if a gamepad button is being pressed",
  4606. "returnType": "bool",
  4607. "params": [
  4608. {
  4609. "type": "int",
  4610. "name": "gamepad"
  4611. },
  4612. {
  4613. "type": "int",
  4614. "name": "button"
  4615. }
  4616. ]
  4617. },
  4618. {
  4619. "name": "IsGamepadButtonReleased",
  4620. "description": "Check if a gamepad button has been released once",
  4621. "returnType": "bool",
  4622. "params": [
  4623. {
  4624. "type": "int",
  4625. "name": "gamepad"
  4626. },
  4627. {
  4628. "type": "int",
  4629. "name": "button"
  4630. }
  4631. ]
  4632. },
  4633. {
  4634. "name": "IsGamepadButtonUp",
  4635. "description": "Check if a gamepad button is NOT being pressed",
  4636. "returnType": "bool",
  4637. "params": [
  4638. {
  4639. "type": "int",
  4640. "name": "gamepad"
  4641. },
  4642. {
  4643. "type": "int",
  4644. "name": "button"
  4645. }
  4646. ]
  4647. },
  4648. {
  4649. "name": "GetGamepadButtonPressed",
  4650. "description": "Get the last gamepad button pressed",
  4651. "returnType": "int"
  4652. },
  4653. {
  4654. "name": "GetGamepadAxisCount",
  4655. "description": "Get gamepad axis count for a gamepad",
  4656. "returnType": "int",
  4657. "params": [
  4658. {
  4659. "type": "int",
  4660. "name": "gamepad"
  4661. }
  4662. ]
  4663. },
  4664. {
  4665. "name": "GetGamepadAxisMovement",
  4666. "description": "Get axis movement value for a gamepad axis",
  4667. "returnType": "float",
  4668. "params": [
  4669. {
  4670. "type": "int",
  4671. "name": "gamepad"
  4672. },
  4673. {
  4674. "type": "int",
  4675. "name": "axis"
  4676. }
  4677. ]
  4678. },
  4679. {
  4680. "name": "SetGamepadMappings",
  4681. "description": "Set internal gamepad mappings (SDL_GameControllerDB)",
  4682. "returnType": "int",
  4683. "params": [
  4684. {
  4685. "type": "const char *",
  4686. "name": "mappings"
  4687. }
  4688. ]
  4689. },
  4690. {
  4691. "name": "IsMouseButtonPressed",
  4692. "description": "Check if a mouse button has been pressed once",
  4693. "returnType": "bool",
  4694. "params": [
  4695. {
  4696. "type": "int",
  4697. "name": "button"
  4698. }
  4699. ]
  4700. },
  4701. {
  4702. "name": "IsMouseButtonDown",
  4703. "description": "Check if a mouse button is being pressed",
  4704. "returnType": "bool",
  4705. "params": [
  4706. {
  4707. "type": "int",
  4708. "name": "button"
  4709. }
  4710. ]
  4711. },
  4712. {
  4713. "name": "IsMouseButtonReleased",
  4714. "description": "Check if a mouse button has been released once",
  4715. "returnType": "bool",
  4716. "params": [
  4717. {
  4718. "type": "int",
  4719. "name": "button"
  4720. }
  4721. ]
  4722. },
  4723. {
  4724. "name": "IsMouseButtonUp",
  4725. "description": "Check if a mouse button is NOT being pressed",
  4726. "returnType": "bool",
  4727. "params": [
  4728. {
  4729. "type": "int",
  4730. "name": "button"
  4731. }
  4732. ]
  4733. },
  4734. {
  4735. "name": "GetMouseX",
  4736. "description": "Get mouse position X",
  4737. "returnType": "int"
  4738. },
  4739. {
  4740. "name": "GetMouseY",
  4741. "description": "Get mouse position Y",
  4742. "returnType": "int"
  4743. },
  4744. {
  4745. "name": "GetMousePosition",
  4746. "description": "Get mouse position XY",
  4747. "returnType": "Vector2"
  4748. },
  4749. {
  4750. "name": "GetMouseDelta",
  4751. "description": "Get mouse delta between frames",
  4752. "returnType": "Vector2"
  4753. },
  4754. {
  4755. "name": "SetMousePosition",
  4756. "description": "Set mouse position XY",
  4757. "returnType": "void",
  4758. "params": [
  4759. {
  4760. "type": "int",
  4761. "name": "x"
  4762. },
  4763. {
  4764. "type": "int",
  4765. "name": "y"
  4766. }
  4767. ]
  4768. },
  4769. {
  4770. "name": "SetMouseOffset",
  4771. "description": "Set mouse offset",
  4772. "returnType": "void",
  4773. "params": [
  4774. {
  4775. "type": "int",
  4776. "name": "offsetX"
  4777. },
  4778. {
  4779. "type": "int",
  4780. "name": "offsetY"
  4781. }
  4782. ]
  4783. },
  4784. {
  4785. "name": "SetMouseScale",
  4786. "description": "Set mouse scaling",
  4787. "returnType": "void",
  4788. "params": [
  4789. {
  4790. "type": "float",
  4791. "name": "scaleX"
  4792. },
  4793. {
  4794. "type": "float",
  4795. "name": "scaleY"
  4796. }
  4797. ]
  4798. },
  4799. {
  4800. "name": "GetMouseWheelMove",
  4801. "description": "Get mouse wheel movement for X or Y, whichever is larger",
  4802. "returnType": "float"
  4803. },
  4804. {
  4805. "name": "GetMouseWheelMoveV",
  4806. "description": "Get mouse wheel movement for both X and Y",
  4807. "returnType": "Vector2"
  4808. },
  4809. {
  4810. "name": "SetMouseCursor",
  4811. "description": "Set mouse cursor",
  4812. "returnType": "void",
  4813. "params": [
  4814. {
  4815. "type": "int",
  4816. "name": "cursor"
  4817. }
  4818. ]
  4819. },
  4820. {
  4821. "name": "GetTouchX",
  4822. "description": "Get touch position X for touch point 0 (relative to screen size)",
  4823. "returnType": "int"
  4824. },
  4825. {
  4826. "name": "GetTouchY",
  4827. "description": "Get touch position Y for touch point 0 (relative to screen size)",
  4828. "returnType": "int"
  4829. },
  4830. {
  4831. "name": "GetTouchPosition",
  4832. "description": "Get touch position XY for a touch point index (relative to screen size)",
  4833. "returnType": "Vector2",
  4834. "params": [
  4835. {
  4836. "type": "int",
  4837. "name": "index"
  4838. }
  4839. ]
  4840. },
  4841. {
  4842. "name": "GetTouchPointId",
  4843. "description": "Get touch point identifier for given index",
  4844. "returnType": "int",
  4845. "params": [
  4846. {
  4847. "type": "int",
  4848. "name": "index"
  4849. }
  4850. ]
  4851. },
  4852. {
  4853. "name": "GetTouchPointCount",
  4854. "description": "Get number of touch points",
  4855. "returnType": "int"
  4856. },
  4857. {
  4858. "name": "SetGesturesEnabled",
  4859. "description": "Enable a set of gestures using flags",
  4860. "returnType": "void",
  4861. "params": [
  4862. {
  4863. "type": "unsigned int",
  4864. "name": "flags"
  4865. }
  4866. ]
  4867. },
  4868. {
  4869. "name": "IsGestureDetected",
  4870. "description": "Check if a gesture have been detected",
  4871. "returnType": "bool",
  4872. "params": [
  4873. {
  4874. "type": "int",
  4875. "name": "gesture"
  4876. }
  4877. ]
  4878. },
  4879. {
  4880. "name": "GetGestureDetected",
  4881. "description": "Get latest detected gesture",
  4882. "returnType": "int"
  4883. },
  4884. {
  4885. "name": "GetGestureHoldDuration",
  4886. "description": "Get gesture hold time in milliseconds",
  4887. "returnType": "float"
  4888. },
  4889. {
  4890. "name": "GetGestureDragVector",
  4891. "description": "Get gesture drag vector",
  4892. "returnType": "Vector2"
  4893. },
  4894. {
  4895. "name": "GetGestureDragAngle",
  4896. "description": "Get gesture drag angle",
  4897. "returnType": "float"
  4898. },
  4899. {
  4900. "name": "GetGesturePinchVector",
  4901. "description": "Get gesture pinch delta",
  4902. "returnType": "Vector2"
  4903. },
  4904. {
  4905. "name": "GetGesturePinchAngle",
  4906. "description": "Get gesture pinch angle",
  4907. "returnType": "float"
  4908. },
  4909. {
  4910. "name": "UpdateCamera",
  4911. "description": "Update camera position for selected mode",
  4912. "returnType": "void",
  4913. "params": [
  4914. {
  4915. "type": "Camera *",
  4916. "name": "camera"
  4917. },
  4918. {
  4919. "type": "int",
  4920. "name": "mode"
  4921. }
  4922. ]
  4923. },
  4924. {
  4925. "name": "UpdateCameraPro",
  4926. "description": "Update camera movement/rotation",
  4927. "returnType": "void",
  4928. "params": [
  4929. {
  4930. "type": "Camera *",
  4931. "name": "camera"
  4932. },
  4933. {
  4934. "type": "Vector3",
  4935. "name": "movement"
  4936. },
  4937. {
  4938. "type": "Vector3",
  4939. "name": "rotation"
  4940. },
  4941. {
  4942. "type": "float",
  4943. "name": "zoom"
  4944. }
  4945. ]
  4946. },
  4947. {
  4948. "name": "SetShapesTexture",
  4949. "description": "Set texture and rectangle to be used on shapes drawing",
  4950. "returnType": "void",
  4951. "params": [
  4952. {
  4953. "type": "Texture2D",
  4954. "name": "texture"
  4955. },
  4956. {
  4957. "type": "Rectangle",
  4958. "name": "source"
  4959. }
  4960. ]
  4961. },
  4962. {
  4963. "name": "DrawPixel",
  4964. "description": "Draw a pixel",
  4965. "returnType": "void",
  4966. "params": [
  4967. {
  4968. "type": "int",
  4969. "name": "posX"
  4970. },
  4971. {
  4972. "type": "int",
  4973. "name": "posY"
  4974. },
  4975. {
  4976. "type": "Color",
  4977. "name": "color"
  4978. }
  4979. ]
  4980. },
  4981. {
  4982. "name": "DrawPixelV",
  4983. "description": "Draw a pixel (Vector version)",
  4984. "returnType": "void",
  4985. "params": [
  4986. {
  4987. "type": "Vector2",
  4988. "name": "position"
  4989. },
  4990. {
  4991. "type": "Color",
  4992. "name": "color"
  4993. }
  4994. ]
  4995. },
  4996. {
  4997. "name": "DrawLine",
  4998. "description": "Draw a line",
  4999. "returnType": "void",
  5000. "params": [
  5001. {
  5002. "type": "int",
  5003. "name": "startPosX"
  5004. },
  5005. {
  5006. "type": "int",
  5007. "name": "startPosY"
  5008. },
  5009. {
  5010. "type": "int",
  5011. "name": "endPosX"
  5012. },
  5013. {
  5014. "type": "int",
  5015. "name": "endPosY"
  5016. },
  5017. {
  5018. "type": "Color",
  5019. "name": "color"
  5020. }
  5021. ]
  5022. },
  5023. {
  5024. "name": "DrawLineV",
  5025. "description": "Draw a line (Vector version)",
  5026. "returnType": "void",
  5027. "params": [
  5028. {
  5029. "type": "Vector2",
  5030. "name": "startPos"
  5031. },
  5032. {
  5033. "type": "Vector2",
  5034. "name": "endPos"
  5035. },
  5036. {
  5037. "type": "Color",
  5038. "name": "color"
  5039. }
  5040. ]
  5041. },
  5042. {
  5043. "name": "DrawLineEx",
  5044. "description": "Draw a line defining thickness",
  5045. "returnType": "void",
  5046. "params": [
  5047. {
  5048. "type": "Vector2",
  5049. "name": "startPos"
  5050. },
  5051. {
  5052. "type": "Vector2",
  5053. "name": "endPos"
  5054. },
  5055. {
  5056. "type": "float",
  5057. "name": "thick"
  5058. },
  5059. {
  5060. "type": "Color",
  5061. "name": "color"
  5062. }
  5063. ]
  5064. },
  5065. {
  5066. "name": "DrawLineBezier",
  5067. "description": "Draw a line using cubic-bezier curves in-out",
  5068. "returnType": "void",
  5069. "params": [
  5070. {
  5071. "type": "Vector2",
  5072. "name": "startPos"
  5073. },
  5074. {
  5075. "type": "Vector2",
  5076. "name": "endPos"
  5077. },
  5078. {
  5079. "type": "float",
  5080. "name": "thick"
  5081. },
  5082. {
  5083. "type": "Color",
  5084. "name": "color"
  5085. }
  5086. ]
  5087. },
  5088. {
  5089. "name": "DrawLineBezierQuad",
  5090. "description": "Draw line using quadratic bezier curves with a control point",
  5091. "returnType": "void",
  5092. "params": [
  5093. {
  5094. "type": "Vector2",
  5095. "name": "startPos"
  5096. },
  5097. {
  5098. "type": "Vector2",
  5099. "name": "endPos"
  5100. },
  5101. {
  5102. "type": "Vector2",
  5103. "name": "controlPos"
  5104. },
  5105. {
  5106. "type": "float",
  5107. "name": "thick"
  5108. },
  5109. {
  5110. "type": "Color",
  5111. "name": "color"
  5112. }
  5113. ]
  5114. },
  5115. {
  5116. "name": "DrawLineBezierCubic",
  5117. "description": "Draw line using cubic bezier curves with 2 control points",
  5118. "returnType": "void",
  5119. "params": [
  5120. {
  5121. "type": "Vector2",
  5122. "name": "startPos"
  5123. },
  5124. {
  5125. "type": "Vector2",
  5126. "name": "endPos"
  5127. },
  5128. {
  5129. "type": "Vector2",
  5130. "name": "startControlPos"
  5131. },
  5132. {
  5133. "type": "Vector2",
  5134. "name": "endControlPos"
  5135. },
  5136. {
  5137. "type": "float",
  5138. "name": "thick"
  5139. },
  5140. {
  5141. "type": "Color",
  5142. "name": "color"
  5143. }
  5144. ]
  5145. },
  5146. {
  5147. "name": "DrawLineStrip",
  5148. "description": "Draw lines sequence",
  5149. "returnType": "void",
  5150. "params": [
  5151. {
  5152. "type": "Vector2 *",
  5153. "name": "points"
  5154. },
  5155. {
  5156. "type": "int",
  5157. "name": "pointCount"
  5158. },
  5159. {
  5160. "type": "Color",
  5161. "name": "color"
  5162. }
  5163. ]
  5164. },
  5165. {
  5166. "name": "DrawCircle",
  5167. "description": "Draw a color-filled circle",
  5168. "returnType": "void",
  5169. "params": [
  5170. {
  5171. "type": "int",
  5172. "name": "centerX"
  5173. },
  5174. {
  5175. "type": "int",
  5176. "name": "centerY"
  5177. },
  5178. {
  5179. "type": "float",
  5180. "name": "radius"
  5181. },
  5182. {
  5183. "type": "Color",
  5184. "name": "color"
  5185. }
  5186. ]
  5187. },
  5188. {
  5189. "name": "DrawCircleSector",
  5190. "description": "Draw a piece of a circle",
  5191. "returnType": "void",
  5192. "params": [
  5193. {
  5194. "type": "Vector2",
  5195. "name": "center"
  5196. },
  5197. {
  5198. "type": "float",
  5199. "name": "radius"
  5200. },
  5201. {
  5202. "type": "float",
  5203. "name": "startAngle"
  5204. },
  5205. {
  5206. "type": "float",
  5207. "name": "endAngle"
  5208. },
  5209. {
  5210. "type": "int",
  5211. "name": "segments"
  5212. },
  5213. {
  5214. "type": "Color",
  5215. "name": "color"
  5216. }
  5217. ]
  5218. },
  5219. {
  5220. "name": "DrawCircleSectorLines",
  5221. "description": "Draw circle sector outline",
  5222. "returnType": "void",
  5223. "params": [
  5224. {
  5225. "type": "Vector2",
  5226. "name": "center"
  5227. },
  5228. {
  5229. "type": "float",
  5230. "name": "radius"
  5231. },
  5232. {
  5233. "type": "float",
  5234. "name": "startAngle"
  5235. },
  5236. {
  5237. "type": "float",
  5238. "name": "endAngle"
  5239. },
  5240. {
  5241. "type": "int",
  5242. "name": "segments"
  5243. },
  5244. {
  5245. "type": "Color",
  5246. "name": "color"
  5247. }
  5248. ]
  5249. },
  5250. {
  5251. "name": "DrawCircleGradient",
  5252. "description": "Draw a gradient-filled circle",
  5253. "returnType": "void",
  5254. "params": [
  5255. {
  5256. "type": "int",
  5257. "name": "centerX"
  5258. },
  5259. {
  5260. "type": "int",
  5261. "name": "centerY"
  5262. },
  5263. {
  5264. "type": "float",
  5265. "name": "radius"
  5266. },
  5267. {
  5268. "type": "Color",
  5269. "name": "color1"
  5270. },
  5271. {
  5272. "type": "Color",
  5273. "name": "color2"
  5274. }
  5275. ]
  5276. },
  5277. {
  5278. "name": "DrawCircleV",
  5279. "description": "Draw a color-filled circle (Vector version)",
  5280. "returnType": "void",
  5281. "params": [
  5282. {
  5283. "type": "Vector2",
  5284. "name": "center"
  5285. },
  5286. {
  5287. "type": "float",
  5288. "name": "radius"
  5289. },
  5290. {
  5291. "type": "Color",
  5292. "name": "color"
  5293. }
  5294. ]
  5295. },
  5296. {
  5297. "name": "DrawCircleLines",
  5298. "description": "Draw circle outline",
  5299. "returnType": "void",
  5300. "params": [
  5301. {
  5302. "type": "int",
  5303. "name": "centerX"
  5304. },
  5305. {
  5306. "type": "int",
  5307. "name": "centerY"
  5308. },
  5309. {
  5310. "type": "float",
  5311. "name": "radius"
  5312. },
  5313. {
  5314. "type": "Color",
  5315. "name": "color"
  5316. }
  5317. ]
  5318. },
  5319. {
  5320. "name": "DrawEllipse",
  5321. "description": "Draw ellipse",
  5322. "returnType": "void",
  5323. "params": [
  5324. {
  5325. "type": "int",
  5326. "name": "centerX"
  5327. },
  5328. {
  5329. "type": "int",
  5330. "name": "centerY"
  5331. },
  5332. {
  5333. "type": "float",
  5334. "name": "radiusH"
  5335. },
  5336. {
  5337. "type": "float",
  5338. "name": "radiusV"
  5339. },
  5340. {
  5341. "type": "Color",
  5342. "name": "color"
  5343. }
  5344. ]
  5345. },
  5346. {
  5347. "name": "DrawEllipseLines",
  5348. "description": "Draw ellipse outline",
  5349. "returnType": "void",
  5350. "params": [
  5351. {
  5352. "type": "int",
  5353. "name": "centerX"
  5354. },
  5355. {
  5356. "type": "int",
  5357. "name": "centerY"
  5358. },
  5359. {
  5360. "type": "float",
  5361. "name": "radiusH"
  5362. },
  5363. {
  5364. "type": "float",
  5365. "name": "radiusV"
  5366. },
  5367. {
  5368. "type": "Color",
  5369. "name": "color"
  5370. }
  5371. ]
  5372. },
  5373. {
  5374. "name": "DrawRing",
  5375. "description": "Draw ring",
  5376. "returnType": "void",
  5377. "params": [
  5378. {
  5379. "type": "Vector2",
  5380. "name": "center"
  5381. },
  5382. {
  5383. "type": "float",
  5384. "name": "innerRadius"
  5385. },
  5386. {
  5387. "type": "float",
  5388. "name": "outerRadius"
  5389. },
  5390. {
  5391. "type": "float",
  5392. "name": "startAngle"
  5393. },
  5394. {
  5395. "type": "float",
  5396. "name": "endAngle"
  5397. },
  5398. {
  5399. "type": "int",
  5400. "name": "segments"
  5401. },
  5402. {
  5403. "type": "Color",
  5404. "name": "color"
  5405. }
  5406. ]
  5407. },
  5408. {
  5409. "name": "DrawRingLines",
  5410. "description": "Draw ring outline",
  5411. "returnType": "void",
  5412. "params": [
  5413. {
  5414. "type": "Vector2",
  5415. "name": "center"
  5416. },
  5417. {
  5418. "type": "float",
  5419. "name": "innerRadius"
  5420. },
  5421. {
  5422. "type": "float",
  5423. "name": "outerRadius"
  5424. },
  5425. {
  5426. "type": "float",
  5427. "name": "startAngle"
  5428. },
  5429. {
  5430. "type": "float",
  5431. "name": "endAngle"
  5432. },
  5433. {
  5434. "type": "int",
  5435. "name": "segments"
  5436. },
  5437. {
  5438. "type": "Color",
  5439. "name": "color"
  5440. }
  5441. ]
  5442. },
  5443. {
  5444. "name": "DrawRectangle",
  5445. "description": "Draw a color-filled rectangle",
  5446. "returnType": "void",
  5447. "params": [
  5448. {
  5449. "type": "int",
  5450. "name": "posX"
  5451. },
  5452. {
  5453. "type": "int",
  5454. "name": "posY"
  5455. },
  5456. {
  5457. "type": "int",
  5458. "name": "width"
  5459. },
  5460. {
  5461. "type": "int",
  5462. "name": "height"
  5463. },
  5464. {
  5465. "type": "Color",
  5466. "name": "color"
  5467. }
  5468. ]
  5469. },
  5470. {
  5471. "name": "DrawRectangleV",
  5472. "description": "Draw a color-filled rectangle (Vector version)",
  5473. "returnType": "void",
  5474. "params": [
  5475. {
  5476. "type": "Vector2",
  5477. "name": "position"
  5478. },
  5479. {
  5480. "type": "Vector2",
  5481. "name": "size"
  5482. },
  5483. {
  5484. "type": "Color",
  5485. "name": "color"
  5486. }
  5487. ]
  5488. },
  5489. {
  5490. "name": "DrawRectangleRec",
  5491. "description": "Draw a color-filled rectangle",
  5492. "returnType": "void",
  5493. "params": [
  5494. {
  5495. "type": "Rectangle",
  5496. "name": "rec"
  5497. },
  5498. {
  5499. "type": "Color",
  5500. "name": "color"
  5501. }
  5502. ]
  5503. },
  5504. {
  5505. "name": "DrawRectanglePro",
  5506. "description": "Draw a color-filled rectangle with pro parameters",
  5507. "returnType": "void",
  5508. "params": [
  5509. {
  5510. "type": "Rectangle",
  5511. "name": "rec"
  5512. },
  5513. {
  5514. "type": "Vector2",
  5515. "name": "origin"
  5516. },
  5517. {
  5518. "type": "float",
  5519. "name": "rotation"
  5520. },
  5521. {
  5522. "type": "Color",
  5523. "name": "color"
  5524. }
  5525. ]
  5526. },
  5527. {
  5528. "name": "DrawRectangleGradientV",
  5529. "description": "Draw a vertical-gradient-filled rectangle",
  5530. "returnType": "void",
  5531. "params": [
  5532. {
  5533. "type": "int",
  5534. "name": "posX"
  5535. },
  5536. {
  5537. "type": "int",
  5538. "name": "posY"
  5539. },
  5540. {
  5541. "type": "int",
  5542. "name": "width"
  5543. },
  5544. {
  5545. "type": "int",
  5546. "name": "height"
  5547. },
  5548. {
  5549. "type": "Color",
  5550. "name": "color1"
  5551. },
  5552. {
  5553. "type": "Color",
  5554. "name": "color2"
  5555. }
  5556. ]
  5557. },
  5558. {
  5559. "name": "DrawRectangleGradientH",
  5560. "description": "Draw a horizontal-gradient-filled rectangle",
  5561. "returnType": "void",
  5562. "params": [
  5563. {
  5564. "type": "int",
  5565. "name": "posX"
  5566. },
  5567. {
  5568. "type": "int",
  5569. "name": "posY"
  5570. },
  5571. {
  5572. "type": "int",
  5573. "name": "width"
  5574. },
  5575. {
  5576. "type": "int",
  5577. "name": "height"
  5578. },
  5579. {
  5580. "type": "Color",
  5581. "name": "color1"
  5582. },
  5583. {
  5584. "type": "Color",
  5585. "name": "color2"
  5586. }
  5587. ]
  5588. },
  5589. {
  5590. "name": "DrawRectangleGradientEx",
  5591. "description": "Draw a gradient-filled rectangle with custom vertex colors",
  5592. "returnType": "void",
  5593. "params": [
  5594. {
  5595. "type": "Rectangle",
  5596. "name": "rec"
  5597. },
  5598. {
  5599. "type": "Color",
  5600. "name": "col1"
  5601. },
  5602. {
  5603. "type": "Color",
  5604. "name": "col2"
  5605. },
  5606. {
  5607. "type": "Color",
  5608. "name": "col3"
  5609. },
  5610. {
  5611. "type": "Color",
  5612. "name": "col4"
  5613. }
  5614. ]
  5615. },
  5616. {
  5617. "name": "DrawRectangleLines",
  5618. "description": "Draw rectangle outline",
  5619. "returnType": "void",
  5620. "params": [
  5621. {
  5622. "type": "int",
  5623. "name": "posX"
  5624. },
  5625. {
  5626. "type": "int",
  5627. "name": "posY"
  5628. },
  5629. {
  5630. "type": "int",
  5631. "name": "width"
  5632. },
  5633. {
  5634. "type": "int",
  5635. "name": "height"
  5636. },
  5637. {
  5638. "type": "Color",
  5639. "name": "color"
  5640. }
  5641. ]
  5642. },
  5643. {
  5644. "name": "DrawRectangleLinesEx",
  5645. "description": "Draw rectangle outline with extended parameters",
  5646. "returnType": "void",
  5647. "params": [
  5648. {
  5649. "type": "Rectangle",
  5650. "name": "rec"
  5651. },
  5652. {
  5653. "type": "float",
  5654. "name": "lineThick"
  5655. },
  5656. {
  5657. "type": "Color",
  5658. "name": "color"
  5659. }
  5660. ]
  5661. },
  5662. {
  5663. "name": "DrawRectangleRounded",
  5664. "description": "Draw rectangle with rounded edges",
  5665. "returnType": "void",
  5666. "params": [
  5667. {
  5668. "type": "Rectangle",
  5669. "name": "rec"
  5670. },
  5671. {
  5672. "type": "float",
  5673. "name": "roundness"
  5674. },
  5675. {
  5676. "type": "int",
  5677. "name": "segments"
  5678. },
  5679. {
  5680. "type": "Color",
  5681. "name": "color"
  5682. }
  5683. ]
  5684. },
  5685. {
  5686. "name": "DrawRectangleRoundedLines",
  5687. "description": "Draw rectangle with rounded edges outline",
  5688. "returnType": "void",
  5689. "params": [
  5690. {
  5691. "type": "Rectangle",
  5692. "name": "rec"
  5693. },
  5694. {
  5695. "type": "float",
  5696. "name": "roundness"
  5697. },
  5698. {
  5699. "type": "int",
  5700. "name": "segments"
  5701. },
  5702. {
  5703. "type": "float",
  5704. "name": "lineThick"
  5705. },
  5706. {
  5707. "type": "Color",
  5708. "name": "color"
  5709. }
  5710. ]
  5711. },
  5712. {
  5713. "name": "DrawTriangle",
  5714. "description": "Draw a color-filled triangle (vertex in counter-clockwise order!)",
  5715. "returnType": "void",
  5716. "params": [
  5717. {
  5718. "type": "Vector2",
  5719. "name": "v1"
  5720. },
  5721. {
  5722. "type": "Vector2",
  5723. "name": "v2"
  5724. },
  5725. {
  5726. "type": "Vector2",
  5727. "name": "v3"
  5728. },
  5729. {
  5730. "type": "Color",
  5731. "name": "color"
  5732. }
  5733. ]
  5734. },
  5735. {
  5736. "name": "DrawTriangleLines",
  5737. "description": "Draw triangle outline (vertex in counter-clockwise order!)",
  5738. "returnType": "void",
  5739. "params": [
  5740. {
  5741. "type": "Vector2",
  5742. "name": "v1"
  5743. },
  5744. {
  5745. "type": "Vector2",
  5746. "name": "v2"
  5747. },
  5748. {
  5749. "type": "Vector2",
  5750. "name": "v3"
  5751. },
  5752. {
  5753. "type": "Color",
  5754. "name": "color"
  5755. }
  5756. ]
  5757. },
  5758. {
  5759. "name": "DrawTriangleFan",
  5760. "description": "Draw a triangle fan defined by points (first vertex is the center)",
  5761. "returnType": "void",
  5762. "params": [
  5763. {
  5764. "type": "Vector2 *",
  5765. "name": "points"
  5766. },
  5767. {
  5768. "type": "int",
  5769. "name": "pointCount"
  5770. },
  5771. {
  5772. "type": "Color",
  5773. "name": "color"
  5774. }
  5775. ]
  5776. },
  5777. {
  5778. "name": "DrawTriangleStrip",
  5779. "description": "Draw a triangle strip defined by points",
  5780. "returnType": "void",
  5781. "params": [
  5782. {
  5783. "type": "Vector2 *",
  5784. "name": "points"
  5785. },
  5786. {
  5787. "type": "int",
  5788. "name": "pointCount"
  5789. },
  5790. {
  5791. "type": "Color",
  5792. "name": "color"
  5793. }
  5794. ]
  5795. },
  5796. {
  5797. "name": "DrawPoly",
  5798. "description": "Draw a regular polygon (Vector version)",
  5799. "returnType": "void",
  5800. "params": [
  5801. {
  5802. "type": "Vector2",
  5803. "name": "center"
  5804. },
  5805. {
  5806. "type": "int",
  5807. "name": "sides"
  5808. },
  5809. {
  5810. "type": "float",
  5811. "name": "radius"
  5812. },
  5813. {
  5814. "type": "float",
  5815. "name": "rotation"
  5816. },
  5817. {
  5818. "type": "Color",
  5819. "name": "color"
  5820. }
  5821. ]
  5822. },
  5823. {
  5824. "name": "DrawPolyLines",
  5825. "description": "Draw a polygon outline of n sides",
  5826. "returnType": "void",
  5827. "params": [
  5828. {
  5829. "type": "Vector2",
  5830. "name": "center"
  5831. },
  5832. {
  5833. "type": "int",
  5834. "name": "sides"
  5835. },
  5836. {
  5837. "type": "float",
  5838. "name": "radius"
  5839. },
  5840. {
  5841. "type": "float",
  5842. "name": "rotation"
  5843. },
  5844. {
  5845. "type": "Color",
  5846. "name": "color"
  5847. }
  5848. ]
  5849. },
  5850. {
  5851. "name": "DrawPolyLinesEx",
  5852. "description": "Draw a polygon outline of n sides with extended parameters",
  5853. "returnType": "void",
  5854. "params": [
  5855. {
  5856. "type": "Vector2",
  5857. "name": "center"
  5858. },
  5859. {
  5860. "type": "int",
  5861. "name": "sides"
  5862. },
  5863. {
  5864. "type": "float",
  5865. "name": "radius"
  5866. },
  5867. {
  5868. "type": "float",
  5869. "name": "rotation"
  5870. },
  5871. {
  5872. "type": "float",
  5873. "name": "lineThick"
  5874. },
  5875. {
  5876. "type": "Color",
  5877. "name": "color"
  5878. }
  5879. ]
  5880. },
  5881. {
  5882. "name": "CheckCollisionRecs",
  5883. "description": "Check collision between two rectangles",
  5884. "returnType": "bool",
  5885. "params": [
  5886. {
  5887. "type": "Rectangle",
  5888. "name": "rec1"
  5889. },
  5890. {
  5891. "type": "Rectangle",
  5892. "name": "rec2"
  5893. }
  5894. ]
  5895. },
  5896. {
  5897. "name": "CheckCollisionCircles",
  5898. "description": "Check collision between two circles",
  5899. "returnType": "bool",
  5900. "params": [
  5901. {
  5902. "type": "Vector2",
  5903. "name": "center1"
  5904. },
  5905. {
  5906. "type": "float",
  5907. "name": "radius1"
  5908. },
  5909. {
  5910. "type": "Vector2",
  5911. "name": "center2"
  5912. },
  5913. {
  5914. "type": "float",
  5915. "name": "radius2"
  5916. }
  5917. ]
  5918. },
  5919. {
  5920. "name": "CheckCollisionCircleRec",
  5921. "description": "Check collision between circle and rectangle",
  5922. "returnType": "bool",
  5923. "params": [
  5924. {
  5925. "type": "Vector2",
  5926. "name": "center"
  5927. },
  5928. {
  5929. "type": "float",
  5930. "name": "radius"
  5931. },
  5932. {
  5933. "type": "Rectangle",
  5934. "name": "rec"
  5935. }
  5936. ]
  5937. },
  5938. {
  5939. "name": "CheckCollisionPointRec",
  5940. "description": "Check if point is inside rectangle",
  5941. "returnType": "bool",
  5942. "params": [
  5943. {
  5944. "type": "Vector2",
  5945. "name": "point"
  5946. },
  5947. {
  5948. "type": "Rectangle",
  5949. "name": "rec"
  5950. }
  5951. ]
  5952. },
  5953. {
  5954. "name": "CheckCollisionPointCircle",
  5955. "description": "Check if point is inside circle",
  5956. "returnType": "bool",
  5957. "params": [
  5958. {
  5959. "type": "Vector2",
  5960. "name": "point"
  5961. },
  5962. {
  5963. "type": "Vector2",
  5964. "name": "center"
  5965. },
  5966. {
  5967. "type": "float",
  5968. "name": "radius"
  5969. }
  5970. ]
  5971. },
  5972. {
  5973. "name": "CheckCollisionPointTriangle",
  5974. "description": "Check if point is inside a triangle",
  5975. "returnType": "bool",
  5976. "params": [
  5977. {
  5978. "type": "Vector2",
  5979. "name": "point"
  5980. },
  5981. {
  5982. "type": "Vector2",
  5983. "name": "p1"
  5984. },
  5985. {
  5986. "type": "Vector2",
  5987. "name": "p2"
  5988. },
  5989. {
  5990. "type": "Vector2",
  5991. "name": "p3"
  5992. }
  5993. ]
  5994. },
  5995. {
  5996. "name": "CheckCollisionPointPoly",
  5997. "description": "Check if point is within a polygon described by array of vertices",
  5998. "returnType": "bool",
  5999. "params": [
  6000. {
  6001. "type": "Vector2",
  6002. "name": "point"
  6003. },
  6004. {
  6005. "type": "Vector2 *",
  6006. "name": "points"
  6007. },
  6008. {
  6009. "type": "int",
  6010. "name": "pointCount"
  6011. }
  6012. ]
  6013. },
  6014. {
  6015. "name": "CheckCollisionLines",
  6016. "description": "Check the collision between two lines defined by two points each, returns collision point by reference",
  6017. "returnType": "bool",
  6018. "params": [
  6019. {
  6020. "type": "Vector2",
  6021. "name": "startPos1"
  6022. },
  6023. {
  6024. "type": "Vector2",
  6025. "name": "endPos1"
  6026. },
  6027. {
  6028. "type": "Vector2",
  6029. "name": "startPos2"
  6030. },
  6031. {
  6032. "type": "Vector2",
  6033. "name": "endPos2"
  6034. },
  6035. {
  6036. "type": "Vector2 *",
  6037. "name": "collisionPoint"
  6038. }
  6039. ]
  6040. },
  6041. {
  6042. "name": "CheckCollisionPointLine",
  6043. "description": "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]",
  6044. "returnType": "bool",
  6045. "params": [
  6046. {
  6047. "type": "Vector2",
  6048. "name": "point"
  6049. },
  6050. {
  6051. "type": "Vector2",
  6052. "name": "p1"
  6053. },
  6054. {
  6055. "type": "Vector2",
  6056. "name": "p2"
  6057. },
  6058. {
  6059. "type": "int",
  6060. "name": "threshold"
  6061. }
  6062. ]
  6063. },
  6064. {
  6065. "name": "GetCollisionRec",
  6066. "description": "Get collision rectangle for two rectangles collision",
  6067. "returnType": "Rectangle",
  6068. "params": [
  6069. {
  6070. "type": "Rectangle",
  6071. "name": "rec1"
  6072. },
  6073. {
  6074. "type": "Rectangle",
  6075. "name": "rec2"
  6076. }
  6077. ]
  6078. },
  6079. {
  6080. "name": "LoadImage",
  6081. "description": "Load image from file into CPU memory (RAM)",
  6082. "returnType": "Image",
  6083. "params": [
  6084. {
  6085. "type": "const char *",
  6086. "name": "fileName"
  6087. }
  6088. ]
  6089. },
  6090. {
  6091. "name": "LoadImageRaw",
  6092. "description": "Load image from RAW file data",
  6093. "returnType": "Image",
  6094. "params": [
  6095. {
  6096. "type": "const char *",
  6097. "name": "fileName"
  6098. },
  6099. {
  6100. "type": "int",
  6101. "name": "width"
  6102. },
  6103. {
  6104. "type": "int",
  6105. "name": "height"
  6106. },
  6107. {
  6108. "type": "int",
  6109. "name": "format"
  6110. },
  6111. {
  6112. "type": "int",
  6113. "name": "headerSize"
  6114. }
  6115. ]
  6116. },
  6117. {
  6118. "name": "LoadImageAnim",
  6119. "description": "Load image sequence from file (frames appended to image.data)",
  6120. "returnType": "Image",
  6121. "params": [
  6122. {
  6123. "type": "const char *",
  6124. "name": "fileName"
  6125. },
  6126. {
  6127. "type": "int *",
  6128. "name": "frames"
  6129. }
  6130. ]
  6131. },
  6132. {
  6133. "name": "LoadImageFromMemory",
  6134. "description": "Load image from memory buffer, fileType refers to extension: i.e. '.png'",
  6135. "returnType": "Image",
  6136. "params": [
  6137. {
  6138. "type": "const char *",
  6139. "name": "fileType"
  6140. },
  6141. {
  6142. "type": "const unsigned char *",
  6143. "name": "fileData"
  6144. },
  6145. {
  6146. "type": "int",
  6147. "name": "dataSize"
  6148. }
  6149. ]
  6150. },
  6151. {
  6152. "name": "LoadImageFromTexture",
  6153. "description": "Load image from GPU texture data",
  6154. "returnType": "Image",
  6155. "params": [
  6156. {
  6157. "type": "Texture2D",
  6158. "name": "texture"
  6159. }
  6160. ]
  6161. },
  6162. {
  6163. "name": "LoadImageFromScreen",
  6164. "description": "Load image from screen buffer and (screenshot)",
  6165. "returnType": "Image"
  6166. },
  6167. {
  6168. "name": "IsImageReady",
  6169. "description": "Check if an image is ready",
  6170. "returnType": "bool",
  6171. "params": [
  6172. {
  6173. "type": "Image",
  6174. "name": "image"
  6175. }
  6176. ]
  6177. },
  6178. {
  6179. "name": "UnloadImage",
  6180. "description": "Unload image from CPU memory (RAM)",
  6181. "returnType": "void",
  6182. "params": [
  6183. {
  6184. "type": "Image",
  6185. "name": "image"
  6186. }
  6187. ]
  6188. },
  6189. {
  6190. "name": "ExportImage",
  6191. "description": "Export image data to file, returns true on success",
  6192. "returnType": "bool",
  6193. "params": [
  6194. {
  6195. "type": "Image",
  6196. "name": "image"
  6197. },
  6198. {
  6199. "type": "const char *",
  6200. "name": "fileName"
  6201. }
  6202. ]
  6203. },
  6204. {
  6205. "name": "ExportImageAsCode",
  6206. "description": "Export image as code file defining an array of bytes, returns true on success",
  6207. "returnType": "bool",
  6208. "params": [
  6209. {
  6210. "type": "Image",
  6211. "name": "image"
  6212. },
  6213. {
  6214. "type": "const char *",
  6215. "name": "fileName"
  6216. }
  6217. ]
  6218. },
  6219. {
  6220. "name": "GenImageColor",
  6221. "description": "Generate image: plain color",
  6222. "returnType": "Image",
  6223. "params": [
  6224. {
  6225. "type": "int",
  6226. "name": "width"
  6227. },
  6228. {
  6229. "type": "int",
  6230. "name": "height"
  6231. },
  6232. {
  6233. "type": "Color",
  6234. "name": "color"
  6235. }
  6236. ]
  6237. },
  6238. {
  6239. "name": "GenImageGradientV",
  6240. "description": "Generate image: vertical gradient",
  6241. "returnType": "Image",
  6242. "params": [
  6243. {
  6244. "type": "int",
  6245. "name": "width"
  6246. },
  6247. {
  6248. "type": "int",
  6249. "name": "height"
  6250. },
  6251. {
  6252. "type": "Color",
  6253. "name": "top"
  6254. },
  6255. {
  6256. "type": "Color",
  6257. "name": "bottom"
  6258. }
  6259. ]
  6260. },
  6261. {
  6262. "name": "GenImageGradientH",
  6263. "description": "Generate image: horizontal gradient",
  6264. "returnType": "Image",
  6265. "params": [
  6266. {
  6267. "type": "int",
  6268. "name": "width"
  6269. },
  6270. {
  6271. "type": "int",
  6272. "name": "height"
  6273. },
  6274. {
  6275. "type": "Color",
  6276. "name": "left"
  6277. },
  6278. {
  6279. "type": "Color",
  6280. "name": "right"
  6281. }
  6282. ]
  6283. },
  6284. {
  6285. "name": "GenImageGradientRadial",
  6286. "description": "Generate image: radial gradient",
  6287. "returnType": "Image",
  6288. "params": [
  6289. {
  6290. "type": "int",
  6291. "name": "width"
  6292. },
  6293. {
  6294. "type": "int",
  6295. "name": "height"
  6296. },
  6297. {
  6298. "type": "float",
  6299. "name": "density"
  6300. },
  6301. {
  6302. "type": "Color",
  6303. "name": "inner"
  6304. },
  6305. {
  6306. "type": "Color",
  6307. "name": "outer"
  6308. }
  6309. ]
  6310. },
  6311. {
  6312. "name": "GenImageChecked",
  6313. "description": "Generate image: checked",
  6314. "returnType": "Image",
  6315. "params": [
  6316. {
  6317. "type": "int",
  6318. "name": "width"
  6319. },
  6320. {
  6321. "type": "int",
  6322. "name": "height"
  6323. },
  6324. {
  6325. "type": "int",
  6326. "name": "checksX"
  6327. },
  6328. {
  6329. "type": "int",
  6330. "name": "checksY"
  6331. },
  6332. {
  6333. "type": "Color",
  6334. "name": "col1"
  6335. },
  6336. {
  6337. "type": "Color",
  6338. "name": "col2"
  6339. }
  6340. ]
  6341. },
  6342. {
  6343. "name": "GenImageWhiteNoise",
  6344. "description": "Generate image: white noise",
  6345. "returnType": "Image",
  6346. "params": [
  6347. {
  6348. "type": "int",
  6349. "name": "width"
  6350. },
  6351. {
  6352. "type": "int",
  6353. "name": "height"
  6354. },
  6355. {
  6356. "type": "float",
  6357. "name": "factor"
  6358. }
  6359. ]
  6360. },
  6361. {
  6362. "name": "GenImagePerlinNoise",
  6363. "description": "Generate image: perlin noise",
  6364. "returnType": "Image",
  6365. "params": [
  6366. {
  6367. "type": "int",
  6368. "name": "width"
  6369. },
  6370. {
  6371. "type": "int",
  6372. "name": "height"
  6373. },
  6374. {
  6375. "type": "int",
  6376. "name": "offsetX"
  6377. },
  6378. {
  6379. "type": "int",
  6380. "name": "offsetY"
  6381. },
  6382. {
  6383. "type": "float",
  6384. "name": "scale"
  6385. }
  6386. ]
  6387. },
  6388. {
  6389. "name": "GenImageCellular",
  6390. "description": "Generate image: cellular algorithm, bigger tileSize means bigger cells",
  6391. "returnType": "Image",
  6392. "params": [
  6393. {
  6394. "type": "int",
  6395. "name": "width"
  6396. },
  6397. {
  6398. "type": "int",
  6399. "name": "height"
  6400. },
  6401. {
  6402. "type": "int",
  6403. "name": "tileSize"
  6404. }
  6405. ]
  6406. },
  6407. {
  6408. "name": "GenImageText",
  6409. "description": "Generate image: grayscale image from text data",
  6410. "returnType": "Image",
  6411. "params": [
  6412. {
  6413. "type": "int",
  6414. "name": "width"
  6415. },
  6416. {
  6417. "type": "int",
  6418. "name": "height"
  6419. },
  6420. {
  6421. "type": "const char *",
  6422. "name": "text"
  6423. }
  6424. ]
  6425. },
  6426. {
  6427. "name": "ImageCopy",
  6428. "description": "Create an image duplicate (useful for transformations)",
  6429. "returnType": "Image",
  6430. "params": [
  6431. {
  6432. "type": "Image",
  6433. "name": "image"
  6434. }
  6435. ]
  6436. },
  6437. {
  6438. "name": "ImageFromImage",
  6439. "description": "Create an image from another image piece",
  6440. "returnType": "Image",
  6441. "params": [
  6442. {
  6443. "type": "Image",
  6444. "name": "image"
  6445. },
  6446. {
  6447. "type": "Rectangle",
  6448. "name": "rec"
  6449. }
  6450. ]
  6451. },
  6452. {
  6453. "name": "ImageText",
  6454. "description": "Create an image from text (default font)",
  6455. "returnType": "Image",
  6456. "params": [
  6457. {
  6458. "type": "const char *",
  6459. "name": "text"
  6460. },
  6461. {
  6462. "type": "int",
  6463. "name": "fontSize"
  6464. },
  6465. {
  6466. "type": "Color",
  6467. "name": "color"
  6468. }
  6469. ]
  6470. },
  6471. {
  6472. "name": "ImageTextEx",
  6473. "description": "Create an image from text (custom sprite font)",
  6474. "returnType": "Image",
  6475. "params": [
  6476. {
  6477. "type": "Font",
  6478. "name": "font"
  6479. },
  6480. {
  6481. "type": "const char *",
  6482. "name": "text"
  6483. },
  6484. {
  6485. "type": "float",
  6486. "name": "fontSize"
  6487. },
  6488. {
  6489. "type": "float",
  6490. "name": "spacing"
  6491. },
  6492. {
  6493. "type": "Color",
  6494. "name": "tint"
  6495. }
  6496. ]
  6497. },
  6498. {
  6499. "name": "ImageFormat",
  6500. "description": "Convert image data to desired format",
  6501. "returnType": "void",
  6502. "params": [
  6503. {
  6504. "type": "Image *",
  6505. "name": "image"
  6506. },
  6507. {
  6508. "type": "int",
  6509. "name": "newFormat"
  6510. }
  6511. ]
  6512. },
  6513. {
  6514. "name": "ImageToPOT",
  6515. "description": "Convert image to POT (power-of-two)",
  6516. "returnType": "void",
  6517. "params": [
  6518. {
  6519. "type": "Image *",
  6520. "name": "image"
  6521. },
  6522. {
  6523. "type": "Color",
  6524. "name": "fill"
  6525. }
  6526. ]
  6527. },
  6528. {
  6529. "name": "ImageCrop",
  6530. "description": "Crop an image to a defined rectangle",
  6531. "returnType": "void",
  6532. "params": [
  6533. {
  6534. "type": "Image *",
  6535. "name": "image"
  6536. },
  6537. {
  6538. "type": "Rectangle",
  6539. "name": "crop"
  6540. }
  6541. ]
  6542. },
  6543. {
  6544. "name": "ImageAlphaCrop",
  6545. "description": "Crop image depending on alpha value",
  6546. "returnType": "void",
  6547. "params": [
  6548. {
  6549. "type": "Image *",
  6550. "name": "image"
  6551. },
  6552. {
  6553. "type": "float",
  6554. "name": "threshold"
  6555. }
  6556. ]
  6557. },
  6558. {
  6559. "name": "ImageAlphaClear",
  6560. "description": "Clear alpha channel to desired color",
  6561. "returnType": "void",
  6562. "params": [
  6563. {
  6564. "type": "Image *",
  6565. "name": "image"
  6566. },
  6567. {
  6568. "type": "Color",
  6569. "name": "color"
  6570. },
  6571. {
  6572. "type": "float",
  6573. "name": "threshold"
  6574. }
  6575. ]
  6576. },
  6577. {
  6578. "name": "ImageAlphaMask",
  6579. "description": "Apply alpha mask to image",
  6580. "returnType": "void",
  6581. "params": [
  6582. {
  6583. "type": "Image *",
  6584. "name": "image"
  6585. },
  6586. {
  6587. "type": "Image",
  6588. "name": "alphaMask"
  6589. }
  6590. ]
  6591. },
  6592. {
  6593. "name": "ImageAlphaPremultiply",
  6594. "description": "Premultiply alpha channel",
  6595. "returnType": "void",
  6596. "params": [
  6597. {
  6598. "type": "Image *",
  6599. "name": "image"
  6600. }
  6601. ]
  6602. },
  6603. {
  6604. "name": "ImageBlurGaussian",
  6605. "description": "Apply Gaussian blur using a box blur approximation",
  6606. "returnType": "void",
  6607. "params": [
  6608. {
  6609. "type": "Image *",
  6610. "name": "image"
  6611. },
  6612. {
  6613. "type": "int",
  6614. "name": "blurSize"
  6615. }
  6616. ]
  6617. },
  6618. {
  6619. "name": "ImageResize",
  6620. "description": "Resize image (Bicubic scaling algorithm)",
  6621. "returnType": "void",
  6622. "params": [
  6623. {
  6624. "type": "Image *",
  6625. "name": "image"
  6626. },
  6627. {
  6628. "type": "int",
  6629. "name": "newWidth"
  6630. },
  6631. {
  6632. "type": "int",
  6633. "name": "newHeight"
  6634. }
  6635. ]
  6636. },
  6637. {
  6638. "name": "ImageResizeNN",
  6639. "description": "Resize image (Nearest-Neighbor scaling algorithm)",
  6640. "returnType": "void",
  6641. "params": [
  6642. {
  6643. "type": "Image *",
  6644. "name": "image"
  6645. },
  6646. {
  6647. "type": "int",
  6648. "name": "newWidth"
  6649. },
  6650. {
  6651. "type": "int",
  6652. "name": "newHeight"
  6653. }
  6654. ]
  6655. },
  6656. {
  6657. "name": "ImageResizeCanvas",
  6658. "description": "Resize canvas and fill with color",
  6659. "returnType": "void",
  6660. "params": [
  6661. {
  6662. "type": "Image *",
  6663. "name": "image"
  6664. },
  6665. {
  6666. "type": "int",
  6667. "name": "newWidth"
  6668. },
  6669. {
  6670. "type": "int",
  6671. "name": "newHeight"
  6672. },
  6673. {
  6674. "type": "int",
  6675. "name": "offsetX"
  6676. },
  6677. {
  6678. "type": "int",
  6679. "name": "offsetY"
  6680. },
  6681. {
  6682. "type": "Color",
  6683. "name": "fill"
  6684. }
  6685. ]
  6686. },
  6687. {
  6688. "name": "ImageMipmaps",
  6689. "description": "Compute all mipmap levels for a provided image",
  6690. "returnType": "void",
  6691. "params": [
  6692. {
  6693. "type": "Image *",
  6694. "name": "image"
  6695. }
  6696. ]
  6697. },
  6698. {
  6699. "name": "ImageDither",
  6700. "description": "Dither image data to 16bpp or lower (Floyd-Steinberg dithering)",
  6701. "returnType": "void",
  6702. "params": [
  6703. {
  6704. "type": "Image *",
  6705. "name": "image"
  6706. },
  6707. {
  6708. "type": "int",
  6709. "name": "rBpp"
  6710. },
  6711. {
  6712. "type": "int",
  6713. "name": "gBpp"
  6714. },
  6715. {
  6716. "type": "int",
  6717. "name": "bBpp"
  6718. },
  6719. {
  6720. "type": "int",
  6721. "name": "aBpp"
  6722. }
  6723. ]
  6724. },
  6725. {
  6726. "name": "ImageFlipVertical",
  6727. "description": "Flip image vertically",
  6728. "returnType": "void",
  6729. "params": [
  6730. {
  6731. "type": "Image *",
  6732. "name": "image"
  6733. }
  6734. ]
  6735. },
  6736. {
  6737. "name": "ImageFlipHorizontal",
  6738. "description": "Flip image horizontally",
  6739. "returnType": "void",
  6740. "params": [
  6741. {
  6742. "type": "Image *",
  6743. "name": "image"
  6744. }
  6745. ]
  6746. },
  6747. {
  6748. "name": "ImageRotateCW",
  6749. "description": "Rotate image clockwise 90deg",
  6750. "returnType": "void",
  6751. "params": [
  6752. {
  6753. "type": "Image *",
  6754. "name": "image"
  6755. }
  6756. ]
  6757. },
  6758. {
  6759. "name": "ImageRotateCCW",
  6760. "description": "Rotate image counter-clockwise 90deg",
  6761. "returnType": "void",
  6762. "params": [
  6763. {
  6764. "type": "Image *",
  6765. "name": "image"
  6766. }
  6767. ]
  6768. },
  6769. {
  6770. "name": "ImageColorTint",
  6771. "description": "Modify image color: tint",
  6772. "returnType": "void",
  6773. "params": [
  6774. {
  6775. "type": "Image *",
  6776. "name": "image"
  6777. },
  6778. {
  6779. "type": "Color",
  6780. "name": "color"
  6781. }
  6782. ]
  6783. },
  6784. {
  6785. "name": "ImageColorInvert",
  6786. "description": "Modify image color: invert",
  6787. "returnType": "void",
  6788. "params": [
  6789. {
  6790. "type": "Image *",
  6791. "name": "image"
  6792. }
  6793. ]
  6794. },
  6795. {
  6796. "name": "ImageColorGrayscale",
  6797. "description": "Modify image color: grayscale",
  6798. "returnType": "void",
  6799. "params": [
  6800. {
  6801. "type": "Image *",
  6802. "name": "image"
  6803. }
  6804. ]
  6805. },
  6806. {
  6807. "name": "ImageColorContrast",
  6808. "description": "Modify image color: contrast (-100 to 100)",
  6809. "returnType": "void",
  6810. "params": [
  6811. {
  6812. "type": "Image *",
  6813. "name": "image"
  6814. },
  6815. {
  6816. "type": "float",
  6817. "name": "contrast"
  6818. }
  6819. ]
  6820. },
  6821. {
  6822. "name": "ImageColorBrightness",
  6823. "description": "Modify image color: brightness (-255 to 255)",
  6824. "returnType": "void",
  6825. "params": [
  6826. {
  6827. "type": "Image *",
  6828. "name": "image"
  6829. },
  6830. {
  6831. "type": "int",
  6832. "name": "brightness"
  6833. }
  6834. ]
  6835. },
  6836. {
  6837. "name": "ImageColorReplace",
  6838. "description": "Modify image color: replace color",
  6839. "returnType": "void",
  6840. "params": [
  6841. {
  6842. "type": "Image *",
  6843. "name": "image"
  6844. },
  6845. {
  6846. "type": "Color",
  6847. "name": "color"
  6848. },
  6849. {
  6850. "type": "Color",
  6851. "name": "replace"
  6852. }
  6853. ]
  6854. },
  6855. {
  6856. "name": "LoadImageColors",
  6857. "description": "Load color data from image as a Color array (RGBA - 32bit)",
  6858. "returnType": "Color *",
  6859. "params": [
  6860. {
  6861. "type": "Image",
  6862. "name": "image"
  6863. }
  6864. ]
  6865. },
  6866. {
  6867. "name": "LoadImagePalette",
  6868. "description": "Load colors palette from image as a Color array (RGBA - 32bit)",
  6869. "returnType": "Color *",
  6870. "params": [
  6871. {
  6872. "type": "Image",
  6873. "name": "image"
  6874. },
  6875. {
  6876. "type": "int",
  6877. "name": "maxPaletteSize"
  6878. },
  6879. {
  6880. "type": "int *",
  6881. "name": "colorCount"
  6882. }
  6883. ]
  6884. },
  6885. {
  6886. "name": "UnloadImageColors",
  6887. "description": "Unload color data loaded with LoadImageColors()",
  6888. "returnType": "void",
  6889. "params": [
  6890. {
  6891. "type": "Color *",
  6892. "name": "colors"
  6893. }
  6894. ]
  6895. },
  6896. {
  6897. "name": "UnloadImagePalette",
  6898. "description": "Unload colors palette loaded with LoadImagePalette()",
  6899. "returnType": "void",
  6900. "params": [
  6901. {
  6902. "type": "Color *",
  6903. "name": "colors"
  6904. }
  6905. ]
  6906. },
  6907. {
  6908. "name": "GetImageAlphaBorder",
  6909. "description": "Get image alpha border rectangle",
  6910. "returnType": "Rectangle",
  6911. "params": [
  6912. {
  6913. "type": "Image",
  6914. "name": "image"
  6915. },
  6916. {
  6917. "type": "float",
  6918. "name": "threshold"
  6919. }
  6920. ]
  6921. },
  6922. {
  6923. "name": "GetImageColor",
  6924. "description": "Get image pixel color at (x, y) position",
  6925. "returnType": "Color",
  6926. "params": [
  6927. {
  6928. "type": "Image",
  6929. "name": "image"
  6930. },
  6931. {
  6932. "type": "int",
  6933. "name": "x"
  6934. },
  6935. {
  6936. "type": "int",
  6937. "name": "y"
  6938. }
  6939. ]
  6940. },
  6941. {
  6942. "name": "ImageClearBackground",
  6943. "description": "Clear image background with given color",
  6944. "returnType": "void",
  6945. "params": [
  6946. {
  6947. "type": "Image *",
  6948. "name": "dst"
  6949. },
  6950. {
  6951. "type": "Color",
  6952. "name": "color"
  6953. }
  6954. ]
  6955. },
  6956. {
  6957. "name": "ImageDrawPixel",
  6958. "description": "Draw pixel within an image",
  6959. "returnType": "void",
  6960. "params": [
  6961. {
  6962. "type": "Image *",
  6963. "name": "dst"
  6964. },
  6965. {
  6966. "type": "int",
  6967. "name": "posX"
  6968. },
  6969. {
  6970. "type": "int",
  6971. "name": "posY"
  6972. },
  6973. {
  6974. "type": "Color",
  6975. "name": "color"
  6976. }
  6977. ]
  6978. },
  6979. {
  6980. "name": "ImageDrawPixelV",
  6981. "description": "Draw pixel within an image (Vector version)",
  6982. "returnType": "void",
  6983. "params": [
  6984. {
  6985. "type": "Image *",
  6986. "name": "dst"
  6987. },
  6988. {
  6989. "type": "Vector2",
  6990. "name": "position"
  6991. },
  6992. {
  6993. "type": "Color",
  6994. "name": "color"
  6995. }
  6996. ]
  6997. },
  6998. {
  6999. "name": "ImageDrawLine",
  7000. "description": "Draw line within an image",
  7001. "returnType": "void",
  7002. "params": [
  7003. {
  7004. "type": "Image *",
  7005. "name": "dst"
  7006. },
  7007. {
  7008. "type": "int",
  7009. "name": "startPosX"
  7010. },
  7011. {
  7012. "type": "int",
  7013. "name": "startPosY"
  7014. },
  7015. {
  7016. "type": "int",
  7017. "name": "endPosX"
  7018. },
  7019. {
  7020. "type": "int",
  7021. "name": "endPosY"
  7022. },
  7023. {
  7024. "type": "Color",
  7025. "name": "color"
  7026. }
  7027. ]
  7028. },
  7029. {
  7030. "name": "ImageDrawLineV",
  7031. "description": "Draw line within an image (Vector version)",
  7032. "returnType": "void",
  7033. "params": [
  7034. {
  7035. "type": "Image *",
  7036. "name": "dst"
  7037. },
  7038. {
  7039. "type": "Vector2",
  7040. "name": "start"
  7041. },
  7042. {
  7043. "type": "Vector2",
  7044. "name": "end"
  7045. },
  7046. {
  7047. "type": "Color",
  7048. "name": "color"
  7049. }
  7050. ]
  7051. },
  7052. {
  7053. "name": "ImageDrawCircle",
  7054. "description": "Draw a filled circle within an image",
  7055. "returnType": "void",
  7056. "params": [
  7057. {
  7058. "type": "Image *",
  7059. "name": "dst"
  7060. },
  7061. {
  7062. "type": "int",
  7063. "name": "centerX"
  7064. },
  7065. {
  7066. "type": "int",
  7067. "name": "centerY"
  7068. },
  7069. {
  7070. "type": "int",
  7071. "name": "radius"
  7072. },
  7073. {
  7074. "type": "Color",
  7075. "name": "color"
  7076. }
  7077. ]
  7078. },
  7079. {
  7080. "name": "ImageDrawCircleV",
  7081. "description": "Draw a filled circle within an image (Vector version)",
  7082. "returnType": "void",
  7083. "params": [
  7084. {
  7085. "type": "Image *",
  7086. "name": "dst"
  7087. },
  7088. {
  7089. "type": "Vector2",
  7090. "name": "center"
  7091. },
  7092. {
  7093. "type": "int",
  7094. "name": "radius"
  7095. },
  7096. {
  7097. "type": "Color",
  7098. "name": "color"
  7099. }
  7100. ]
  7101. },
  7102. {
  7103. "name": "ImageDrawCircleLines",
  7104. "description": "Draw circle outline within an image",
  7105. "returnType": "void",
  7106. "params": [
  7107. {
  7108. "type": "Image *",
  7109. "name": "dst"
  7110. },
  7111. {
  7112. "type": "int",
  7113. "name": "centerX"
  7114. },
  7115. {
  7116. "type": "int",
  7117. "name": "centerY"
  7118. },
  7119. {
  7120. "type": "int",
  7121. "name": "radius"
  7122. },
  7123. {
  7124. "type": "Color",
  7125. "name": "color"
  7126. }
  7127. ]
  7128. },
  7129. {
  7130. "name": "ImageDrawCircleLinesV",
  7131. "description": "Draw circle outline within an image (Vector version)",
  7132. "returnType": "void",
  7133. "params": [
  7134. {
  7135. "type": "Image *",
  7136. "name": "dst"
  7137. },
  7138. {
  7139. "type": "Vector2",
  7140. "name": "center"
  7141. },
  7142. {
  7143. "type": "int",
  7144. "name": "radius"
  7145. },
  7146. {
  7147. "type": "Color",
  7148. "name": "color"
  7149. }
  7150. ]
  7151. },
  7152. {
  7153. "name": "ImageDrawRectangle",
  7154. "description": "Draw rectangle within an image",
  7155. "returnType": "void",
  7156. "params": [
  7157. {
  7158. "type": "Image *",
  7159. "name": "dst"
  7160. },
  7161. {
  7162. "type": "int",
  7163. "name": "posX"
  7164. },
  7165. {
  7166. "type": "int",
  7167. "name": "posY"
  7168. },
  7169. {
  7170. "type": "int",
  7171. "name": "width"
  7172. },
  7173. {
  7174. "type": "int",
  7175. "name": "height"
  7176. },
  7177. {
  7178. "type": "Color",
  7179. "name": "color"
  7180. }
  7181. ]
  7182. },
  7183. {
  7184. "name": "ImageDrawRectangleV",
  7185. "description": "Draw rectangle within an image (Vector version)",
  7186. "returnType": "void",
  7187. "params": [
  7188. {
  7189. "type": "Image *",
  7190. "name": "dst"
  7191. },
  7192. {
  7193. "type": "Vector2",
  7194. "name": "position"
  7195. },
  7196. {
  7197. "type": "Vector2",
  7198. "name": "size"
  7199. },
  7200. {
  7201. "type": "Color",
  7202. "name": "color"
  7203. }
  7204. ]
  7205. },
  7206. {
  7207. "name": "ImageDrawRectangleRec",
  7208. "description": "Draw rectangle within an image",
  7209. "returnType": "void",
  7210. "params": [
  7211. {
  7212. "type": "Image *",
  7213. "name": "dst"
  7214. },
  7215. {
  7216. "type": "Rectangle",
  7217. "name": "rec"
  7218. },
  7219. {
  7220. "type": "Color",
  7221. "name": "color"
  7222. }
  7223. ]
  7224. },
  7225. {
  7226. "name": "ImageDrawRectangleLines",
  7227. "description": "Draw rectangle lines within an image",
  7228. "returnType": "void",
  7229. "params": [
  7230. {
  7231. "type": "Image *",
  7232. "name": "dst"
  7233. },
  7234. {
  7235. "type": "Rectangle",
  7236. "name": "rec"
  7237. },
  7238. {
  7239. "type": "int",
  7240. "name": "thick"
  7241. },
  7242. {
  7243. "type": "Color",
  7244. "name": "color"
  7245. }
  7246. ]
  7247. },
  7248. {
  7249. "name": "ImageDraw",
  7250. "description": "Draw a source image within a destination image (tint applied to source)",
  7251. "returnType": "void",
  7252. "params": [
  7253. {
  7254. "type": "Image *",
  7255. "name": "dst"
  7256. },
  7257. {
  7258. "type": "Image",
  7259. "name": "src"
  7260. },
  7261. {
  7262. "type": "Rectangle",
  7263. "name": "srcRec"
  7264. },
  7265. {
  7266. "type": "Rectangle",
  7267. "name": "dstRec"
  7268. },
  7269. {
  7270. "type": "Color",
  7271. "name": "tint"
  7272. }
  7273. ]
  7274. },
  7275. {
  7276. "name": "ImageDrawText",
  7277. "description": "Draw text (using default font) within an image (destination)",
  7278. "returnType": "void",
  7279. "params": [
  7280. {
  7281. "type": "Image *",
  7282. "name": "dst"
  7283. },
  7284. {
  7285. "type": "const char *",
  7286. "name": "text"
  7287. },
  7288. {
  7289. "type": "int",
  7290. "name": "posX"
  7291. },
  7292. {
  7293. "type": "int",
  7294. "name": "posY"
  7295. },
  7296. {
  7297. "type": "int",
  7298. "name": "fontSize"
  7299. },
  7300. {
  7301. "type": "Color",
  7302. "name": "color"
  7303. }
  7304. ]
  7305. },
  7306. {
  7307. "name": "ImageDrawTextEx",
  7308. "description": "Draw text (custom sprite font) within an image (destination)",
  7309. "returnType": "void",
  7310. "params": [
  7311. {
  7312. "type": "Image *",
  7313. "name": "dst"
  7314. },
  7315. {
  7316. "type": "Font",
  7317. "name": "font"
  7318. },
  7319. {
  7320. "type": "const char *",
  7321. "name": "text"
  7322. },
  7323. {
  7324. "type": "Vector2",
  7325. "name": "position"
  7326. },
  7327. {
  7328. "type": "float",
  7329. "name": "fontSize"
  7330. },
  7331. {
  7332. "type": "float",
  7333. "name": "spacing"
  7334. },
  7335. {
  7336. "type": "Color",
  7337. "name": "tint"
  7338. }
  7339. ]
  7340. },
  7341. {
  7342. "name": "LoadTexture",
  7343. "description": "Load texture from file into GPU memory (VRAM)",
  7344. "returnType": "Texture2D",
  7345. "params": [
  7346. {
  7347. "type": "const char *",
  7348. "name": "fileName"
  7349. }
  7350. ]
  7351. },
  7352. {
  7353. "name": "LoadTextureFromImage",
  7354. "description": "Load texture from image data",
  7355. "returnType": "Texture2D",
  7356. "params": [
  7357. {
  7358. "type": "Image",
  7359. "name": "image"
  7360. }
  7361. ]
  7362. },
  7363. {
  7364. "name": "LoadTextureCubemap",
  7365. "description": "Load cubemap from image, multiple image cubemap layouts supported",
  7366. "returnType": "TextureCubemap",
  7367. "params": [
  7368. {
  7369. "type": "Image",
  7370. "name": "image"
  7371. },
  7372. {
  7373. "type": "int",
  7374. "name": "layout"
  7375. }
  7376. ]
  7377. },
  7378. {
  7379. "name": "LoadRenderTexture",
  7380. "description": "Load texture for rendering (framebuffer)",
  7381. "returnType": "RenderTexture2D",
  7382. "params": [
  7383. {
  7384. "type": "int",
  7385. "name": "width"
  7386. },
  7387. {
  7388. "type": "int",
  7389. "name": "height"
  7390. }
  7391. ]
  7392. },
  7393. {
  7394. "name": "IsTextureReady",
  7395. "description": "Check if a texture is ready",
  7396. "returnType": "bool",
  7397. "params": [
  7398. {
  7399. "type": "Texture2D",
  7400. "name": "texture"
  7401. }
  7402. ]
  7403. },
  7404. {
  7405. "name": "UnloadTexture",
  7406. "description": "Unload texture from GPU memory (VRAM)",
  7407. "returnType": "void",
  7408. "params": [
  7409. {
  7410. "type": "Texture2D",
  7411. "name": "texture"
  7412. }
  7413. ]
  7414. },
  7415. {
  7416. "name": "IsRenderTextureReady",
  7417. "description": "Check if a render texture is ready",
  7418. "returnType": "bool",
  7419. "params": [
  7420. {
  7421. "type": "RenderTexture2D",
  7422. "name": "target"
  7423. }
  7424. ]
  7425. },
  7426. {
  7427. "name": "UnloadRenderTexture",
  7428. "description": "Unload render texture from GPU memory (VRAM)",
  7429. "returnType": "void",
  7430. "params": [
  7431. {
  7432. "type": "RenderTexture2D",
  7433. "name": "target"
  7434. }
  7435. ]
  7436. },
  7437. {
  7438. "name": "UpdateTexture",
  7439. "description": "Update GPU texture with new data",
  7440. "returnType": "void",
  7441. "params": [
  7442. {
  7443. "type": "Texture2D",
  7444. "name": "texture"
  7445. },
  7446. {
  7447. "type": "const void *",
  7448. "name": "pixels"
  7449. }
  7450. ]
  7451. },
  7452. {
  7453. "name": "UpdateTextureRec",
  7454. "description": "Update GPU texture rectangle with new data",
  7455. "returnType": "void",
  7456. "params": [
  7457. {
  7458. "type": "Texture2D",
  7459. "name": "texture"
  7460. },
  7461. {
  7462. "type": "Rectangle",
  7463. "name": "rec"
  7464. },
  7465. {
  7466. "type": "const void *",
  7467. "name": "pixels"
  7468. }
  7469. ]
  7470. },
  7471. {
  7472. "name": "GenTextureMipmaps",
  7473. "description": "Generate GPU mipmaps for a texture",
  7474. "returnType": "void",
  7475. "params": [
  7476. {
  7477. "type": "Texture2D *",
  7478. "name": "texture"
  7479. }
  7480. ]
  7481. },
  7482. {
  7483. "name": "SetTextureFilter",
  7484. "description": "Set texture scaling filter mode",
  7485. "returnType": "void",
  7486. "params": [
  7487. {
  7488. "type": "Texture2D",
  7489. "name": "texture"
  7490. },
  7491. {
  7492. "type": "int",
  7493. "name": "filter"
  7494. }
  7495. ]
  7496. },
  7497. {
  7498. "name": "SetTextureWrap",
  7499. "description": "Set texture wrapping mode",
  7500. "returnType": "void",
  7501. "params": [
  7502. {
  7503. "type": "Texture2D",
  7504. "name": "texture"
  7505. },
  7506. {
  7507. "type": "int",
  7508. "name": "wrap"
  7509. }
  7510. ]
  7511. },
  7512. {
  7513. "name": "DrawTexture",
  7514. "description": "Draw a Texture2D",
  7515. "returnType": "void",
  7516. "params": [
  7517. {
  7518. "type": "Texture2D",
  7519. "name": "texture"
  7520. },
  7521. {
  7522. "type": "int",
  7523. "name": "posX"
  7524. },
  7525. {
  7526. "type": "int",
  7527. "name": "posY"
  7528. },
  7529. {
  7530. "type": "Color",
  7531. "name": "tint"
  7532. }
  7533. ]
  7534. },
  7535. {
  7536. "name": "DrawTextureV",
  7537. "description": "Draw a Texture2D with position defined as Vector2",
  7538. "returnType": "void",
  7539. "params": [
  7540. {
  7541. "type": "Texture2D",
  7542. "name": "texture"
  7543. },
  7544. {
  7545. "type": "Vector2",
  7546. "name": "position"
  7547. },
  7548. {
  7549. "type": "Color",
  7550. "name": "tint"
  7551. }
  7552. ]
  7553. },
  7554. {
  7555. "name": "DrawTextureEx",
  7556. "description": "Draw a Texture2D with extended parameters",
  7557. "returnType": "void",
  7558. "params": [
  7559. {
  7560. "type": "Texture2D",
  7561. "name": "texture"
  7562. },
  7563. {
  7564. "type": "Vector2",
  7565. "name": "position"
  7566. },
  7567. {
  7568. "type": "float",
  7569. "name": "rotation"
  7570. },
  7571. {
  7572. "type": "float",
  7573. "name": "scale"
  7574. },
  7575. {
  7576. "type": "Color",
  7577. "name": "tint"
  7578. }
  7579. ]
  7580. },
  7581. {
  7582. "name": "DrawTextureRec",
  7583. "description": "Draw a part of a texture defined by a rectangle",
  7584. "returnType": "void",
  7585. "params": [
  7586. {
  7587. "type": "Texture2D",
  7588. "name": "texture"
  7589. },
  7590. {
  7591. "type": "Rectangle",
  7592. "name": "source"
  7593. },
  7594. {
  7595. "type": "Vector2",
  7596. "name": "position"
  7597. },
  7598. {
  7599. "type": "Color",
  7600. "name": "tint"
  7601. }
  7602. ]
  7603. },
  7604. {
  7605. "name": "DrawTexturePro",
  7606. "description": "Draw a part of a texture defined by a rectangle with 'pro' parameters",
  7607. "returnType": "void",
  7608. "params": [
  7609. {
  7610. "type": "Texture2D",
  7611. "name": "texture"
  7612. },
  7613. {
  7614. "type": "Rectangle",
  7615. "name": "source"
  7616. },
  7617. {
  7618. "type": "Rectangle",
  7619. "name": "dest"
  7620. },
  7621. {
  7622. "type": "Vector2",
  7623. "name": "origin"
  7624. },
  7625. {
  7626. "type": "float",
  7627. "name": "rotation"
  7628. },
  7629. {
  7630. "type": "Color",
  7631. "name": "tint"
  7632. }
  7633. ]
  7634. },
  7635. {
  7636. "name": "DrawTextureNPatch",
  7637. "description": "Draws a texture (or part of it) that stretches or shrinks nicely",
  7638. "returnType": "void",
  7639. "params": [
  7640. {
  7641. "type": "Texture2D",
  7642. "name": "texture"
  7643. },
  7644. {
  7645. "type": "NPatchInfo",
  7646. "name": "nPatchInfo"
  7647. },
  7648. {
  7649. "type": "Rectangle",
  7650. "name": "dest"
  7651. },
  7652. {
  7653. "type": "Vector2",
  7654. "name": "origin"
  7655. },
  7656. {
  7657. "type": "float",
  7658. "name": "rotation"
  7659. },
  7660. {
  7661. "type": "Color",
  7662. "name": "tint"
  7663. }
  7664. ]
  7665. },
  7666. {
  7667. "name": "Fade",
  7668. "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
  7669. "returnType": "Color",
  7670. "params": [
  7671. {
  7672. "type": "Color",
  7673. "name": "color"
  7674. },
  7675. {
  7676. "type": "float",
  7677. "name": "alpha"
  7678. }
  7679. ]
  7680. },
  7681. {
  7682. "name": "ColorToInt",
  7683. "description": "Get hexadecimal value for a Color",
  7684. "returnType": "int",
  7685. "params": [
  7686. {
  7687. "type": "Color",
  7688. "name": "color"
  7689. }
  7690. ]
  7691. },
  7692. {
  7693. "name": "ColorNormalize",
  7694. "description": "Get Color normalized as float [0..1]",
  7695. "returnType": "Vector4",
  7696. "params": [
  7697. {
  7698. "type": "Color",
  7699. "name": "color"
  7700. }
  7701. ]
  7702. },
  7703. {
  7704. "name": "ColorFromNormalized",
  7705. "description": "Get Color from normalized values [0..1]",
  7706. "returnType": "Color",
  7707. "params": [
  7708. {
  7709. "type": "Vector4",
  7710. "name": "normalized"
  7711. }
  7712. ]
  7713. },
  7714. {
  7715. "name": "ColorToHSV",
  7716. "description": "Get HSV values for a Color, hue [0..360], saturation/value [0..1]",
  7717. "returnType": "Vector3",
  7718. "params": [
  7719. {
  7720. "type": "Color",
  7721. "name": "color"
  7722. }
  7723. ]
  7724. },
  7725. {
  7726. "name": "ColorFromHSV",
  7727. "description": "Get a Color from HSV values, hue [0..360], saturation/value [0..1]",
  7728. "returnType": "Color",
  7729. "params": [
  7730. {
  7731. "type": "float",
  7732. "name": "hue"
  7733. },
  7734. {
  7735. "type": "float",
  7736. "name": "saturation"
  7737. },
  7738. {
  7739. "type": "float",
  7740. "name": "value"
  7741. }
  7742. ]
  7743. },
  7744. {
  7745. "name": "ColorTint",
  7746. "description": "Get color multiplied with another color",
  7747. "returnType": "Color",
  7748. "params": [
  7749. {
  7750. "type": "Color",
  7751. "name": "color"
  7752. },
  7753. {
  7754. "type": "Color",
  7755. "name": "tint"
  7756. }
  7757. ]
  7758. },
  7759. {
  7760. "name": "ColorBrightness",
  7761. "description": "Get color with brightness correction, brightness factor goes from -1.0f to 1.0f",
  7762. "returnType": "Color",
  7763. "params": [
  7764. {
  7765. "type": "Color",
  7766. "name": "color"
  7767. },
  7768. {
  7769. "type": "float",
  7770. "name": "factor"
  7771. }
  7772. ]
  7773. },
  7774. {
  7775. "name": "ColorContrast",
  7776. "description": "Get color with contrast correction, contrast values between -1.0f and 1.0f",
  7777. "returnType": "Color",
  7778. "params": [
  7779. {
  7780. "type": "Color",
  7781. "name": "color"
  7782. },
  7783. {
  7784. "type": "float",
  7785. "name": "contrast"
  7786. }
  7787. ]
  7788. },
  7789. {
  7790. "name": "ColorAlpha",
  7791. "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
  7792. "returnType": "Color",
  7793. "params": [
  7794. {
  7795. "type": "Color",
  7796. "name": "color"
  7797. },
  7798. {
  7799. "type": "float",
  7800. "name": "alpha"
  7801. }
  7802. ]
  7803. },
  7804. {
  7805. "name": "ColorAlphaBlend",
  7806. "description": "Get src alpha-blended into dst color with tint",
  7807. "returnType": "Color",
  7808. "params": [
  7809. {
  7810. "type": "Color",
  7811. "name": "dst"
  7812. },
  7813. {
  7814. "type": "Color",
  7815. "name": "src"
  7816. },
  7817. {
  7818. "type": "Color",
  7819. "name": "tint"
  7820. }
  7821. ]
  7822. },
  7823. {
  7824. "name": "GetColor",
  7825. "description": "Get Color structure from hexadecimal value",
  7826. "returnType": "Color",
  7827. "params": [
  7828. {
  7829. "type": "unsigned int",
  7830. "name": "hexValue"
  7831. }
  7832. ]
  7833. },
  7834. {
  7835. "name": "GetPixelColor",
  7836. "description": "Get Color from a source pixel pointer of certain format",
  7837. "returnType": "Color",
  7838. "params": [
  7839. {
  7840. "type": "void *",
  7841. "name": "srcPtr"
  7842. },
  7843. {
  7844. "type": "int",
  7845. "name": "format"
  7846. }
  7847. ]
  7848. },
  7849. {
  7850. "name": "SetPixelColor",
  7851. "description": "Set color formatted into destination pixel pointer",
  7852. "returnType": "void",
  7853. "params": [
  7854. {
  7855. "type": "void *",
  7856. "name": "dstPtr"
  7857. },
  7858. {
  7859. "type": "Color",
  7860. "name": "color"
  7861. },
  7862. {
  7863. "type": "int",
  7864. "name": "format"
  7865. }
  7866. ]
  7867. },
  7868. {
  7869. "name": "GetPixelDataSize",
  7870. "description": "Get pixel data size in bytes for certain format",
  7871. "returnType": "int",
  7872. "params": [
  7873. {
  7874. "type": "int",
  7875. "name": "width"
  7876. },
  7877. {
  7878. "type": "int",
  7879. "name": "height"
  7880. },
  7881. {
  7882. "type": "int",
  7883. "name": "format"
  7884. }
  7885. ]
  7886. },
  7887. {
  7888. "name": "GetFontDefault",
  7889. "description": "Get the default Font",
  7890. "returnType": "Font"
  7891. },
  7892. {
  7893. "name": "LoadFont",
  7894. "description": "Load font from file into GPU memory (VRAM)",
  7895. "returnType": "Font",
  7896. "params": [
  7897. {
  7898. "type": "const char *",
  7899. "name": "fileName"
  7900. }
  7901. ]
  7902. },
  7903. {
  7904. "name": "LoadFontEx",
  7905. "description": "Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set",
  7906. "returnType": "Font",
  7907. "params": [
  7908. {
  7909. "type": "const char *",
  7910. "name": "fileName"
  7911. },
  7912. {
  7913. "type": "int",
  7914. "name": "fontSize"
  7915. },
  7916. {
  7917. "type": "int *",
  7918. "name": "fontChars"
  7919. },
  7920. {
  7921. "type": "int",
  7922. "name": "glyphCount"
  7923. }
  7924. ]
  7925. },
  7926. {
  7927. "name": "LoadFontFromImage",
  7928. "description": "Load font from Image (XNA style)",
  7929. "returnType": "Font",
  7930. "params": [
  7931. {
  7932. "type": "Image",
  7933. "name": "image"
  7934. },
  7935. {
  7936. "type": "Color",
  7937. "name": "key"
  7938. },
  7939. {
  7940. "type": "int",
  7941. "name": "firstChar"
  7942. }
  7943. ]
  7944. },
  7945. {
  7946. "name": "LoadFontFromMemory",
  7947. "description": "Load font from memory buffer, fileType refers to extension: i.e. '.ttf'",
  7948. "returnType": "Font",
  7949. "params": [
  7950. {
  7951. "type": "const char *",
  7952. "name": "fileType"
  7953. },
  7954. {
  7955. "type": "const unsigned char *",
  7956. "name": "fileData"
  7957. },
  7958. {
  7959. "type": "int",
  7960. "name": "dataSize"
  7961. },
  7962. {
  7963. "type": "int",
  7964. "name": "fontSize"
  7965. },
  7966. {
  7967. "type": "int *",
  7968. "name": "fontChars"
  7969. },
  7970. {
  7971. "type": "int",
  7972. "name": "glyphCount"
  7973. }
  7974. ]
  7975. },
  7976. {
  7977. "name": "IsFontReady",
  7978. "description": "Check if a font is ready",
  7979. "returnType": "bool",
  7980. "params": [
  7981. {
  7982. "type": "Font",
  7983. "name": "font"
  7984. }
  7985. ]
  7986. },
  7987. {
  7988. "name": "LoadFontData",
  7989. "description": "Load font data for further use",
  7990. "returnType": "GlyphInfo *",
  7991. "params": [
  7992. {
  7993. "type": "const unsigned char *",
  7994. "name": "fileData"
  7995. },
  7996. {
  7997. "type": "int",
  7998. "name": "dataSize"
  7999. },
  8000. {
  8001. "type": "int",
  8002. "name": "fontSize"
  8003. },
  8004. {
  8005. "type": "int *",
  8006. "name": "fontChars"
  8007. },
  8008. {
  8009. "type": "int",
  8010. "name": "glyphCount"
  8011. },
  8012. {
  8013. "type": "int",
  8014. "name": "type"
  8015. }
  8016. ]
  8017. },
  8018. {
  8019. "name": "GenImageFontAtlas",
  8020. "description": "Generate image font atlas using chars info",
  8021. "returnType": "Image",
  8022. "params": [
  8023. {
  8024. "type": "const GlyphInfo *",
  8025. "name": "chars"
  8026. },
  8027. {
  8028. "type": "Rectangle **",
  8029. "name": "recs"
  8030. },
  8031. {
  8032. "type": "int",
  8033. "name": "glyphCount"
  8034. },
  8035. {
  8036. "type": "int",
  8037. "name": "fontSize"
  8038. },
  8039. {
  8040. "type": "int",
  8041. "name": "padding"
  8042. },
  8043. {
  8044. "type": "int",
  8045. "name": "packMethod"
  8046. }
  8047. ]
  8048. },
  8049. {
  8050. "name": "UnloadFontData",
  8051. "description": "Unload font chars info data (RAM)",
  8052. "returnType": "void",
  8053. "params": [
  8054. {
  8055. "type": "GlyphInfo *",
  8056. "name": "chars"
  8057. },
  8058. {
  8059. "type": "int",
  8060. "name": "glyphCount"
  8061. }
  8062. ]
  8063. },
  8064. {
  8065. "name": "UnloadFont",
  8066. "description": "Unload font from GPU memory (VRAM)",
  8067. "returnType": "void",
  8068. "params": [
  8069. {
  8070. "type": "Font",
  8071. "name": "font"
  8072. }
  8073. ]
  8074. },
  8075. {
  8076. "name": "ExportFontAsCode",
  8077. "description": "Export font as code file, returns true on success",
  8078. "returnType": "bool",
  8079. "params": [
  8080. {
  8081. "type": "Font",
  8082. "name": "font"
  8083. },
  8084. {
  8085. "type": "const char *",
  8086. "name": "fileName"
  8087. }
  8088. ]
  8089. },
  8090. {
  8091. "name": "DrawFPS",
  8092. "description": "Draw current FPS",
  8093. "returnType": "void",
  8094. "params": [
  8095. {
  8096. "type": "int",
  8097. "name": "posX"
  8098. },
  8099. {
  8100. "type": "int",
  8101. "name": "posY"
  8102. }
  8103. ]
  8104. },
  8105. {
  8106. "name": "DrawText",
  8107. "description": "Draw text (using default font)",
  8108. "returnType": "void",
  8109. "params": [
  8110. {
  8111. "type": "const char *",
  8112. "name": "text"
  8113. },
  8114. {
  8115. "type": "int",
  8116. "name": "posX"
  8117. },
  8118. {
  8119. "type": "int",
  8120. "name": "posY"
  8121. },
  8122. {
  8123. "type": "int",
  8124. "name": "fontSize"
  8125. },
  8126. {
  8127. "type": "Color",
  8128. "name": "color"
  8129. }
  8130. ]
  8131. },
  8132. {
  8133. "name": "DrawTextEx",
  8134. "description": "Draw text using font and additional parameters",
  8135. "returnType": "void",
  8136. "params": [
  8137. {
  8138. "type": "Font",
  8139. "name": "font"
  8140. },
  8141. {
  8142. "type": "const char *",
  8143. "name": "text"
  8144. },
  8145. {
  8146. "type": "Vector2",
  8147. "name": "position"
  8148. },
  8149. {
  8150. "type": "float",
  8151. "name": "fontSize"
  8152. },
  8153. {
  8154. "type": "float",
  8155. "name": "spacing"
  8156. },
  8157. {
  8158. "type": "Color",
  8159. "name": "tint"
  8160. }
  8161. ]
  8162. },
  8163. {
  8164. "name": "DrawTextPro",
  8165. "description": "Draw text using Font and pro parameters (rotation)",
  8166. "returnType": "void",
  8167. "params": [
  8168. {
  8169. "type": "Font",
  8170. "name": "font"
  8171. },
  8172. {
  8173. "type": "const char *",
  8174. "name": "text"
  8175. },
  8176. {
  8177. "type": "Vector2",
  8178. "name": "position"
  8179. },
  8180. {
  8181. "type": "Vector2",
  8182. "name": "origin"
  8183. },
  8184. {
  8185. "type": "float",
  8186. "name": "rotation"
  8187. },
  8188. {
  8189. "type": "float",
  8190. "name": "fontSize"
  8191. },
  8192. {
  8193. "type": "float",
  8194. "name": "spacing"
  8195. },
  8196. {
  8197. "type": "Color",
  8198. "name": "tint"
  8199. }
  8200. ]
  8201. },
  8202. {
  8203. "name": "DrawTextCodepoint",
  8204. "description": "Draw one character (codepoint)",
  8205. "returnType": "void",
  8206. "params": [
  8207. {
  8208. "type": "Font",
  8209. "name": "font"
  8210. },
  8211. {
  8212. "type": "int",
  8213. "name": "codepoint"
  8214. },
  8215. {
  8216. "type": "Vector2",
  8217. "name": "position"
  8218. },
  8219. {
  8220. "type": "float",
  8221. "name": "fontSize"
  8222. },
  8223. {
  8224. "type": "Color",
  8225. "name": "tint"
  8226. }
  8227. ]
  8228. },
  8229. {
  8230. "name": "DrawTextCodepoints",
  8231. "description": "Draw multiple character (codepoint)",
  8232. "returnType": "void",
  8233. "params": [
  8234. {
  8235. "type": "Font",
  8236. "name": "font"
  8237. },
  8238. {
  8239. "type": "const int *",
  8240. "name": "codepoints"
  8241. },
  8242. {
  8243. "type": "int",
  8244. "name": "count"
  8245. },
  8246. {
  8247. "type": "Vector2",
  8248. "name": "position"
  8249. },
  8250. {
  8251. "type": "float",
  8252. "name": "fontSize"
  8253. },
  8254. {
  8255. "type": "float",
  8256. "name": "spacing"
  8257. },
  8258. {
  8259. "type": "Color",
  8260. "name": "tint"
  8261. }
  8262. ]
  8263. },
  8264. {
  8265. "name": "MeasureText",
  8266. "description": "Measure string width for default font",
  8267. "returnType": "int",
  8268. "params": [
  8269. {
  8270. "type": "const char *",
  8271. "name": "text"
  8272. },
  8273. {
  8274. "type": "int",
  8275. "name": "fontSize"
  8276. }
  8277. ]
  8278. },
  8279. {
  8280. "name": "MeasureTextEx",
  8281. "description": "Measure string size for Font",
  8282. "returnType": "Vector2",
  8283. "params": [
  8284. {
  8285. "type": "Font",
  8286. "name": "font"
  8287. },
  8288. {
  8289. "type": "const char *",
  8290. "name": "text"
  8291. },
  8292. {
  8293. "type": "float",
  8294. "name": "fontSize"
  8295. },
  8296. {
  8297. "type": "float",
  8298. "name": "spacing"
  8299. }
  8300. ]
  8301. },
  8302. {
  8303. "name": "GetGlyphIndex",
  8304. "description": "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
  8305. "returnType": "int",
  8306. "params": [
  8307. {
  8308. "type": "Font",
  8309. "name": "font"
  8310. },
  8311. {
  8312. "type": "int",
  8313. "name": "codepoint"
  8314. }
  8315. ]
  8316. },
  8317. {
  8318. "name": "GetGlyphInfo",
  8319. "description": "Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found",
  8320. "returnType": "GlyphInfo",
  8321. "params": [
  8322. {
  8323. "type": "Font",
  8324. "name": "font"
  8325. },
  8326. {
  8327. "type": "int",
  8328. "name": "codepoint"
  8329. }
  8330. ]
  8331. },
  8332. {
  8333. "name": "GetGlyphAtlasRec",
  8334. "description": "Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found",
  8335. "returnType": "Rectangle",
  8336. "params": [
  8337. {
  8338. "type": "Font",
  8339. "name": "font"
  8340. },
  8341. {
  8342. "type": "int",
  8343. "name": "codepoint"
  8344. }
  8345. ]
  8346. },
  8347. {
  8348. "name": "LoadUTF8",
  8349. "description": "Load UTF-8 text encoded from codepoints array",
  8350. "returnType": "char *",
  8351. "params": [
  8352. {
  8353. "type": "const int *",
  8354. "name": "codepoints"
  8355. },
  8356. {
  8357. "type": "int",
  8358. "name": "length"
  8359. }
  8360. ]
  8361. },
  8362. {
  8363. "name": "UnloadUTF8",
  8364. "description": "Unload UTF-8 text encoded from codepoints array",
  8365. "returnType": "void",
  8366. "params": [
  8367. {
  8368. "type": "char *",
  8369. "name": "text"
  8370. }
  8371. ]
  8372. },
  8373. {
  8374. "name": "LoadCodepoints",
  8375. "description": "Load all codepoints from a UTF-8 text string, codepoints count returned by parameter",
  8376. "returnType": "int *",
  8377. "params": [
  8378. {
  8379. "type": "const char *",
  8380. "name": "text"
  8381. },
  8382. {
  8383. "type": "int *",
  8384. "name": "count"
  8385. }
  8386. ]
  8387. },
  8388. {
  8389. "name": "UnloadCodepoints",
  8390. "description": "Unload codepoints data from memory",
  8391. "returnType": "void",
  8392. "params": [
  8393. {
  8394. "type": "int *",
  8395. "name": "codepoints"
  8396. }
  8397. ]
  8398. },
  8399. {
  8400. "name": "GetCodepointCount",
  8401. "description": "Get total number of codepoints in a UTF-8 encoded string",
  8402. "returnType": "int",
  8403. "params": [
  8404. {
  8405. "type": "const char *",
  8406. "name": "text"
  8407. }
  8408. ]
  8409. },
  8410. {
  8411. "name": "GetCodepoint",
  8412. "description": "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
  8413. "returnType": "int",
  8414. "params": [
  8415. {
  8416. "type": "const char *",
  8417. "name": "text"
  8418. },
  8419. {
  8420. "type": "int *",
  8421. "name": "codepointSize"
  8422. }
  8423. ]
  8424. },
  8425. {
  8426. "name": "GetCodepointNext",
  8427. "description": "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
  8428. "returnType": "int",
  8429. "params": [
  8430. {
  8431. "type": "const char *",
  8432. "name": "text"
  8433. },
  8434. {
  8435. "type": "int *",
  8436. "name": "codepointSize"
  8437. }
  8438. ]
  8439. },
  8440. {
  8441. "name": "GetCodepointPrevious",
  8442. "description": "Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
  8443. "returnType": "int",
  8444. "params": [
  8445. {
  8446. "type": "const char *",
  8447. "name": "text"
  8448. },
  8449. {
  8450. "type": "int *",
  8451. "name": "codepointSize"
  8452. }
  8453. ]
  8454. },
  8455. {
  8456. "name": "CodepointToUTF8",
  8457. "description": "Encode one codepoint into UTF-8 byte array (array length returned as parameter)",
  8458. "returnType": "const char *",
  8459. "params": [
  8460. {
  8461. "type": "int",
  8462. "name": "codepoint"
  8463. },
  8464. {
  8465. "type": "int *",
  8466. "name": "utf8Size"
  8467. }
  8468. ]
  8469. },
  8470. {
  8471. "name": "TextCopy",
  8472. "description": "Copy one string to another, returns bytes copied",
  8473. "returnType": "int",
  8474. "params": [
  8475. {
  8476. "type": "char *",
  8477. "name": "dst"
  8478. },
  8479. {
  8480. "type": "const char *",
  8481. "name": "src"
  8482. }
  8483. ]
  8484. },
  8485. {
  8486. "name": "TextIsEqual",
  8487. "description": "Check if two text string are equal",
  8488. "returnType": "bool",
  8489. "params": [
  8490. {
  8491. "type": "const char *",
  8492. "name": "text1"
  8493. },
  8494. {
  8495. "type": "const char *",
  8496. "name": "text2"
  8497. }
  8498. ]
  8499. },
  8500. {
  8501. "name": "TextLength",
  8502. "description": "Get text length, checks for '\\0' ending",
  8503. "returnType": "unsigned int",
  8504. "params": [
  8505. {
  8506. "type": "const char *",
  8507. "name": "text"
  8508. }
  8509. ]
  8510. },
  8511. {
  8512. "name": "TextFormat",
  8513. "description": "Text formatting with variables (sprintf() style)",
  8514. "returnType": "const char *",
  8515. "params": [
  8516. {
  8517. "type": "const char *",
  8518. "name": "text"
  8519. },
  8520. {
  8521. "type": "...",
  8522. "name": "args"
  8523. }
  8524. ]
  8525. },
  8526. {
  8527. "name": "TextSubtext",
  8528. "description": "Get a piece of a text string",
  8529. "returnType": "const char *",
  8530. "params": [
  8531. {
  8532. "type": "const char *",
  8533. "name": "text"
  8534. },
  8535. {
  8536. "type": "int",
  8537. "name": "position"
  8538. },
  8539. {
  8540. "type": "int",
  8541. "name": "length"
  8542. }
  8543. ]
  8544. },
  8545. {
  8546. "name": "TextReplace",
  8547. "description": "Replace text string (WARNING: memory must be freed!)",
  8548. "returnType": "char *",
  8549. "params": [
  8550. {
  8551. "type": "char *",
  8552. "name": "text"
  8553. },
  8554. {
  8555. "type": "const char *",
  8556. "name": "replace"
  8557. },
  8558. {
  8559. "type": "const char *",
  8560. "name": "by"
  8561. }
  8562. ]
  8563. },
  8564. {
  8565. "name": "TextInsert",
  8566. "description": "Insert text in a position (WARNING: memory must be freed!)",
  8567. "returnType": "char *",
  8568. "params": [
  8569. {
  8570. "type": "const char *",
  8571. "name": "text"
  8572. },
  8573. {
  8574. "type": "const char *",
  8575. "name": "insert"
  8576. },
  8577. {
  8578. "type": "int",
  8579. "name": "position"
  8580. }
  8581. ]
  8582. },
  8583. {
  8584. "name": "TextJoin",
  8585. "description": "Join text strings with delimiter",
  8586. "returnType": "const char *",
  8587. "params": [
  8588. {
  8589. "type": "const char **",
  8590. "name": "textList"
  8591. },
  8592. {
  8593. "type": "int",
  8594. "name": "count"
  8595. },
  8596. {
  8597. "type": "const char *",
  8598. "name": "delimiter"
  8599. }
  8600. ]
  8601. },
  8602. {
  8603. "name": "TextSplit",
  8604. "description": "Split text into multiple strings",
  8605. "returnType": "const char **",
  8606. "params": [
  8607. {
  8608. "type": "const char *",
  8609. "name": "text"
  8610. },
  8611. {
  8612. "type": "char",
  8613. "name": "delimiter"
  8614. },
  8615. {
  8616. "type": "int *",
  8617. "name": "count"
  8618. }
  8619. ]
  8620. },
  8621. {
  8622. "name": "TextAppend",
  8623. "description": "Append text at specific position and move cursor!",
  8624. "returnType": "void",
  8625. "params": [
  8626. {
  8627. "type": "char *",
  8628. "name": "text"
  8629. },
  8630. {
  8631. "type": "const char *",
  8632. "name": "append"
  8633. },
  8634. {
  8635. "type": "int *",
  8636. "name": "position"
  8637. }
  8638. ]
  8639. },
  8640. {
  8641. "name": "TextFindIndex",
  8642. "description": "Find first text occurrence within a string",
  8643. "returnType": "int",
  8644. "params": [
  8645. {
  8646. "type": "const char *",
  8647. "name": "text"
  8648. },
  8649. {
  8650. "type": "const char *",
  8651. "name": "find"
  8652. }
  8653. ]
  8654. },
  8655. {
  8656. "name": "TextToUpper",
  8657. "description": "Get upper case version of provided string",
  8658. "returnType": "const char *",
  8659. "params": [
  8660. {
  8661. "type": "const char *",
  8662. "name": "text"
  8663. }
  8664. ]
  8665. },
  8666. {
  8667. "name": "TextToLower",
  8668. "description": "Get lower case version of provided string",
  8669. "returnType": "const char *",
  8670. "params": [
  8671. {
  8672. "type": "const char *",
  8673. "name": "text"
  8674. }
  8675. ]
  8676. },
  8677. {
  8678. "name": "TextToPascal",
  8679. "description": "Get Pascal case notation version of provided string",
  8680. "returnType": "const char *",
  8681. "params": [
  8682. {
  8683. "type": "const char *",
  8684. "name": "text"
  8685. }
  8686. ]
  8687. },
  8688. {
  8689. "name": "TextToInteger",
  8690. "description": "Get integer value from text (negative values not supported)",
  8691. "returnType": "int",
  8692. "params": [
  8693. {
  8694. "type": "const char *",
  8695. "name": "text"
  8696. }
  8697. ]
  8698. },
  8699. {
  8700. "name": "DrawLine3D",
  8701. "description": "Draw a line in 3D world space",
  8702. "returnType": "void",
  8703. "params": [
  8704. {
  8705. "type": "Vector3",
  8706. "name": "startPos"
  8707. },
  8708. {
  8709. "type": "Vector3",
  8710. "name": "endPos"
  8711. },
  8712. {
  8713. "type": "Color",
  8714. "name": "color"
  8715. }
  8716. ]
  8717. },
  8718. {
  8719. "name": "DrawPoint3D",
  8720. "description": "Draw a point in 3D space, actually a small line",
  8721. "returnType": "void",
  8722. "params": [
  8723. {
  8724. "type": "Vector3",
  8725. "name": "position"
  8726. },
  8727. {
  8728. "type": "Color",
  8729. "name": "color"
  8730. }
  8731. ]
  8732. },
  8733. {
  8734. "name": "DrawCircle3D",
  8735. "description": "Draw a circle in 3D world space",
  8736. "returnType": "void",
  8737. "params": [
  8738. {
  8739. "type": "Vector3",
  8740. "name": "center"
  8741. },
  8742. {
  8743. "type": "float",
  8744. "name": "radius"
  8745. },
  8746. {
  8747. "type": "Vector3",
  8748. "name": "rotationAxis"
  8749. },
  8750. {
  8751. "type": "float",
  8752. "name": "rotationAngle"
  8753. },
  8754. {
  8755. "type": "Color",
  8756. "name": "color"
  8757. }
  8758. ]
  8759. },
  8760. {
  8761. "name": "DrawTriangle3D",
  8762. "description": "Draw a color-filled triangle (vertex in counter-clockwise order!)",
  8763. "returnType": "void",
  8764. "params": [
  8765. {
  8766. "type": "Vector3",
  8767. "name": "v1"
  8768. },
  8769. {
  8770. "type": "Vector3",
  8771. "name": "v2"
  8772. },
  8773. {
  8774. "type": "Vector3",
  8775. "name": "v3"
  8776. },
  8777. {
  8778. "type": "Color",
  8779. "name": "color"
  8780. }
  8781. ]
  8782. },
  8783. {
  8784. "name": "DrawTriangleStrip3D",
  8785. "description": "Draw a triangle strip defined by points",
  8786. "returnType": "void",
  8787. "params": [
  8788. {
  8789. "type": "Vector3 *",
  8790. "name": "points"
  8791. },
  8792. {
  8793. "type": "int",
  8794. "name": "pointCount"
  8795. },
  8796. {
  8797. "type": "Color",
  8798. "name": "color"
  8799. }
  8800. ]
  8801. },
  8802. {
  8803. "name": "DrawCube",
  8804. "description": "Draw cube",
  8805. "returnType": "void",
  8806. "params": [
  8807. {
  8808. "type": "Vector3",
  8809. "name": "position"
  8810. },
  8811. {
  8812. "type": "float",
  8813. "name": "width"
  8814. },
  8815. {
  8816. "type": "float",
  8817. "name": "height"
  8818. },
  8819. {
  8820. "type": "float",
  8821. "name": "length"
  8822. },
  8823. {
  8824. "type": "Color",
  8825. "name": "color"
  8826. }
  8827. ]
  8828. },
  8829. {
  8830. "name": "DrawCubeV",
  8831. "description": "Draw cube (Vector version)",
  8832. "returnType": "void",
  8833. "params": [
  8834. {
  8835. "type": "Vector3",
  8836. "name": "position"
  8837. },
  8838. {
  8839. "type": "Vector3",
  8840. "name": "size"
  8841. },
  8842. {
  8843. "type": "Color",
  8844. "name": "color"
  8845. }
  8846. ]
  8847. },
  8848. {
  8849. "name": "DrawCubeWires",
  8850. "description": "Draw cube wires",
  8851. "returnType": "void",
  8852. "params": [
  8853. {
  8854. "type": "Vector3",
  8855. "name": "position"
  8856. },
  8857. {
  8858. "type": "float",
  8859. "name": "width"
  8860. },
  8861. {
  8862. "type": "float",
  8863. "name": "height"
  8864. },
  8865. {
  8866. "type": "float",
  8867. "name": "length"
  8868. },
  8869. {
  8870. "type": "Color",
  8871. "name": "color"
  8872. }
  8873. ]
  8874. },
  8875. {
  8876. "name": "DrawCubeWiresV",
  8877. "description": "Draw cube wires (Vector version)",
  8878. "returnType": "void",
  8879. "params": [
  8880. {
  8881. "type": "Vector3",
  8882. "name": "position"
  8883. },
  8884. {
  8885. "type": "Vector3",
  8886. "name": "size"
  8887. },
  8888. {
  8889. "type": "Color",
  8890. "name": "color"
  8891. }
  8892. ]
  8893. },
  8894. {
  8895. "name": "DrawSphere",
  8896. "description": "Draw sphere",
  8897. "returnType": "void",
  8898. "params": [
  8899. {
  8900. "type": "Vector3",
  8901. "name": "centerPos"
  8902. },
  8903. {
  8904. "type": "float",
  8905. "name": "radius"
  8906. },
  8907. {
  8908. "type": "Color",
  8909. "name": "color"
  8910. }
  8911. ]
  8912. },
  8913. {
  8914. "name": "DrawSphereEx",
  8915. "description": "Draw sphere with extended parameters",
  8916. "returnType": "void",
  8917. "params": [
  8918. {
  8919. "type": "Vector3",
  8920. "name": "centerPos"
  8921. },
  8922. {
  8923. "type": "float",
  8924. "name": "radius"
  8925. },
  8926. {
  8927. "type": "int",
  8928. "name": "rings"
  8929. },
  8930. {
  8931. "type": "int",
  8932. "name": "slices"
  8933. },
  8934. {
  8935. "type": "Color",
  8936. "name": "color"
  8937. }
  8938. ]
  8939. },
  8940. {
  8941. "name": "DrawSphereWires",
  8942. "description": "Draw sphere wires",
  8943. "returnType": "void",
  8944. "params": [
  8945. {
  8946. "type": "Vector3",
  8947. "name": "centerPos"
  8948. },
  8949. {
  8950. "type": "float",
  8951. "name": "radius"
  8952. },
  8953. {
  8954. "type": "int",
  8955. "name": "rings"
  8956. },
  8957. {
  8958. "type": "int",
  8959. "name": "slices"
  8960. },
  8961. {
  8962. "type": "Color",
  8963. "name": "color"
  8964. }
  8965. ]
  8966. },
  8967. {
  8968. "name": "DrawCylinder",
  8969. "description": "Draw a cylinder/cone",
  8970. "returnType": "void",
  8971. "params": [
  8972. {
  8973. "type": "Vector3",
  8974. "name": "position"
  8975. },
  8976. {
  8977. "type": "float",
  8978. "name": "radiusTop"
  8979. },
  8980. {
  8981. "type": "float",
  8982. "name": "radiusBottom"
  8983. },
  8984. {
  8985. "type": "float",
  8986. "name": "height"
  8987. },
  8988. {
  8989. "type": "int",
  8990. "name": "slices"
  8991. },
  8992. {
  8993. "type": "Color",
  8994. "name": "color"
  8995. }
  8996. ]
  8997. },
  8998. {
  8999. "name": "DrawCylinderEx",
  9000. "description": "Draw a cylinder with base at startPos and top at endPos",
  9001. "returnType": "void",
  9002. "params": [
  9003. {
  9004. "type": "Vector3",
  9005. "name": "startPos"
  9006. },
  9007. {
  9008. "type": "Vector3",
  9009. "name": "endPos"
  9010. },
  9011. {
  9012. "type": "float",
  9013. "name": "startRadius"
  9014. },
  9015. {
  9016. "type": "float",
  9017. "name": "endRadius"
  9018. },
  9019. {
  9020. "type": "int",
  9021. "name": "sides"
  9022. },
  9023. {
  9024. "type": "Color",
  9025. "name": "color"
  9026. }
  9027. ]
  9028. },
  9029. {
  9030. "name": "DrawCylinderWires",
  9031. "description": "Draw a cylinder/cone wires",
  9032. "returnType": "void",
  9033. "params": [
  9034. {
  9035. "type": "Vector3",
  9036. "name": "position"
  9037. },
  9038. {
  9039. "type": "float",
  9040. "name": "radiusTop"
  9041. },
  9042. {
  9043. "type": "float",
  9044. "name": "radiusBottom"
  9045. },
  9046. {
  9047. "type": "float",
  9048. "name": "height"
  9049. },
  9050. {
  9051. "type": "int",
  9052. "name": "slices"
  9053. },
  9054. {
  9055. "type": "Color",
  9056. "name": "color"
  9057. }
  9058. ]
  9059. },
  9060. {
  9061. "name": "DrawCylinderWiresEx",
  9062. "description": "Draw a cylinder wires with base at startPos and top at endPos",
  9063. "returnType": "void",
  9064. "params": [
  9065. {
  9066. "type": "Vector3",
  9067. "name": "startPos"
  9068. },
  9069. {
  9070. "type": "Vector3",
  9071. "name": "endPos"
  9072. },
  9073. {
  9074. "type": "float",
  9075. "name": "startRadius"
  9076. },
  9077. {
  9078. "type": "float",
  9079. "name": "endRadius"
  9080. },
  9081. {
  9082. "type": "int",
  9083. "name": "sides"
  9084. },
  9085. {
  9086. "type": "Color",
  9087. "name": "color"
  9088. }
  9089. ]
  9090. },
  9091. {
  9092. "name": "DrawCapsule",
  9093. "description": "Draw a capsule with the center of its sphere caps at startPos and endPos",
  9094. "returnType": "void",
  9095. "params": [
  9096. {
  9097. "type": "Vector3",
  9098. "name": "startPos"
  9099. },
  9100. {
  9101. "type": "Vector3",
  9102. "name": "endPos"
  9103. },
  9104. {
  9105. "type": "float",
  9106. "name": "radius"
  9107. },
  9108. {
  9109. "type": "int",
  9110. "name": "slices"
  9111. },
  9112. {
  9113. "type": "int",
  9114. "name": "rings"
  9115. },
  9116. {
  9117. "type": "Color",
  9118. "name": "color"
  9119. }
  9120. ]
  9121. },
  9122. {
  9123. "name": "DrawCapsuleWires",
  9124. "description": "Draw capsule wireframe with the center of its sphere caps at startPos and endPos",
  9125. "returnType": "void",
  9126. "params": [
  9127. {
  9128. "type": "Vector3",
  9129. "name": "startPos"
  9130. },
  9131. {
  9132. "type": "Vector3",
  9133. "name": "endPos"
  9134. },
  9135. {
  9136. "type": "float",
  9137. "name": "radius"
  9138. },
  9139. {
  9140. "type": "int",
  9141. "name": "slices"
  9142. },
  9143. {
  9144. "type": "int",
  9145. "name": "rings"
  9146. },
  9147. {
  9148. "type": "Color",
  9149. "name": "color"
  9150. }
  9151. ]
  9152. },
  9153. {
  9154. "name": "DrawPlane",
  9155. "description": "Draw a plane XZ",
  9156. "returnType": "void",
  9157. "params": [
  9158. {
  9159. "type": "Vector3",
  9160. "name": "centerPos"
  9161. },
  9162. {
  9163. "type": "Vector2",
  9164. "name": "size"
  9165. },
  9166. {
  9167. "type": "Color",
  9168. "name": "color"
  9169. }
  9170. ]
  9171. },
  9172. {
  9173. "name": "DrawRay",
  9174. "description": "Draw a ray line",
  9175. "returnType": "void",
  9176. "params": [
  9177. {
  9178. "type": "Ray",
  9179. "name": "ray"
  9180. },
  9181. {
  9182. "type": "Color",
  9183. "name": "color"
  9184. }
  9185. ]
  9186. },
  9187. {
  9188. "name": "DrawGrid",
  9189. "description": "Draw a grid (centered at (0, 0, 0))",
  9190. "returnType": "void",
  9191. "params": [
  9192. {
  9193. "type": "int",
  9194. "name": "slices"
  9195. },
  9196. {
  9197. "type": "float",
  9198. "name": "spacing"
  9199. }
  9200. ]
  9201. },
  9202. {
  9203. "name": "LoadModel",
  9204. "description": "Load model from files (meshes and materials)",
  9205. "returnType": "Model",
  9206. "params": [
  9207. {
  9208. "type": "const char *",
  9209. "name": "fileName"
  9210. }
  9211. ]
  9212. },
  9213. {
  9214. "name": "LoadModelFromMesh",
  9215. "description": "Load model from generated mesh (default material)",
  9216. "returnType": "Model",
  9217. "params": [
  9218. {
  9219. "type": "Mesh",
  9220. "name": "mesh"
  9221. }
  9222. ]
  9223. },
  9224. {
  9225. "name": "IsModelReady",
  9226. "description": "Check if a model is ready",
  9227. "returnType": "bool",
  9228. "params": [
  9229. {
  9230. "type": "Model",
  9231. "name": "model"
  9232. }
  9233. ]
  9234. },
  9235. {
  9236. "name": "UnloadModel",
  9237. "description": "Unload model (including meshes) from memory (RAM and/or VRAM)",
  9238. "returnType": "void",
  9239. "params": [
  9240. {
  9241. "type": "Model",
  9242. "name": "model"
  9243. }
  9244. ]
  9245. },
  9246. {
  9247. "name": "GetModelBoundingBox",
  9248. "description": "Compute model bounding box limits (considers all meshes)",
  9249. "returnType": "BoundingBox",
  9250. "params": [
  9251. {
  9252. "type": "Model",
  9253. "name": "model"
  9254. }
  9255. ]
  9256. },
  9257. {
  9258. "name": "DrawModel",
  9259. "description": "Draw a model (with texture if set)",
  9260. "returnType": "void",
  9261. "params": [
  9262. {
  9263. "type": "Model",
  9264. "name": "model"
  9265. },
  9266. {
  9267. "type": "Vector3",
  9268. "name": "position"
  9269. },
  9270. {
  9271. "type": "float",
  9272. "name": "scale"
  9273. },
  9274. {
  9275. "type": "Color",
  9276. "name": "tint"
  9277. }
  9278. ]
  9279. },
  9280. {
  9281. "name": "DrawModelEx",
  9282. "description": "Draw a model with extended parameters",
  9283. "returnType": "void",
  9284. "params": [
  9285. {
  9286. "type": "Model",
  9287. "name": "model"
  9288. },
  9289. {
  9290. "type": "Vector3",
  9291. "name": "position"
  9292. },
  9293. {
  9294. "type": "Vector3",
  9295. "name": "rotationAxis"
  9296. },
  9297. {
  9298. "type": "float",
  9299. "name": "rotationAngle"
  9300. },
  9301. {
  9302. "type": "Vector3",
  9303. "name": "scale"
  9304. },
  9305. {
  9306. "type": "Color",
  9307. "name": "tint"
  9308. }
  9309. ]
  9310. },
  9311. {
  9312. "name": "DrawModelWires",
  9313. "description": "Draw a model wires (with texture if set)",
  9314. "returnType": "void",
  9315. "params": [
  9316. {
  9317. "type": "Model",
  9318. "name": "model"
  9319. },
  9320. {
  9321. "type": "Vector3",
  9322. "name": "position"
  9323. },
  9324. {
  9325. "type": "float",
  9326. "name": "scale"
  9327. },
  9328. {
  9329. "type": "Color",
  9330. "name": "tint"
  9331. }
  9332. ]
  9333. },
  9334. {
  9335. "name": "DrawModelWiresEx",
  9336. "description": "Draw a model wires (with texture if set) with extended parameters",
  9337. "returnType": "void",
  9338. "params": [
  9339. {
  9340. "type": "Model",
  9341. "name": "model"
  9342. },
  9343. {
  9344. "type": "Vector3",
  9345. "name": "position"
  9346. },
  9347. {
  9348. "type": "Vector3",
  9349. "name": "rotationAxis"
  9350. },
  9351. {
  9352. "type": "float",
  9353. "name": "rotationAngle"
  9354. },
  9355. {
  9356. "type": "Vector3",
  9357. "name": "scale"
  9358. },
  9359. {
  9360. "type": "Color",
  9361. "name": "tint"
  9362. }
  9363. ]
  9364. },
  9365. {
  9366. "name": "DrawBoundingBox",
  9367. "description": "Draw bounding box (wires)",
  9368. "returnType": "void",
  9369. "params": [
  9370. {
  9371. "type": "BoundingBox",
  9372. "name": "box"
  9373. },
  9374. {
  9375. "type": "Color",
  9376. "name": "color"
  9377. }
  9378. ]
  9379. },
  9380. {
  9381. "name": "DrawBillboard",
  9382. "description": "Draw a billboard texture",
  9383. "returnType": "void",
  9384. "params": [
  9385. {
  9386. "type": "Camera",
  9387. "name": "camera"
  9388. },
  9389. {
  9390. "type": "Texture2D",
  9391. "name": "texture"
  9392. },
  9393. {
  9394. "type": "Vector3",
  9395. "name": "position"
  9396. },
  9397. {
  9398. "type": "float",
  9399. "name": "size"
  9400. },
  9401. {
  9402. "type": "Color",
  9403. "name": "tint"
  9404. }
  9405. ]
  9406. },
  9407. {
  9408. "name": "DrawBillboardRec",
  9409. "description": "Draw a billboard texture defined by source",
  9410. "returnType": "void",
  9411. "params": [
  9412. {
  9413. "type": "Camera",
  9414. "name": "camera"
  9415. },
  9416. {
  9417. "type": "Texture2D",
  9418. "name": "texture"
  9419. },
  9420. {
  9421. "type": "Rectangle",
  9422. "name": "source"
  9423. },
  9424. {
  9425. "type": "Vector3",
  9426. "name": "position"
  9427. },
  9428. {
  9429. "type": "Vector2",
  9430. "name": "size"
  9431. },
  9432. {
  9433. "type": "Color",
  9434. "name": "tint"
  9435. }
  9436. ]
  9437. },
  9438. {
  9439. "name": "DrawBillboardPro",
  9440. "description": "Draw a billboard texture defined by source and rotation",
  9441. "returnType": "void",
  9442. "params": [
  9443. {
  9444. "type": "Camera",
  9445. "name": "camera"
  9446. },
  9447. {
  9448. "type": "Texture2D",
  9449. "name": "texture"
  9450. },
  9451. {
  9452. "type": "Rectangle",
  9453. "name": "source"
  9454. },
  9455. {
  9456. "type": "Vector3",
  9457. "name": "position"
  9458. },
  9459. {
  9460. "type": "Vector3",
  9461. "name": "up"
  9462. },
  9463. {
  9464. "type": "Vector2",
  9465. "name": "size"
  9466. },
  9467. {
  9468. "type": "Vector2",
  9469. "name": "origin"
  9470. },
  9471. {
  9472. "type": "float",
  9473. "name": "rotation"
  9474. },
  9475. {
  9476. "type": "Color",
  9477. "name": "tint"
  9478. }
  9479. ]
  9480. },
  9481. {
  9482. "name": "UploadMesh",
  9483. "description": "Upload mesh vertex data in GPU and provide VAO/VBO ids",
  9484. "returnType": "void",
  9485. "params": [
  9486. {
  9487. "type": "Mesh *",
  9488. "name": "mesh"
  9489. },
  9490. {
  9491. "type": "bool",
  9492. "name": "dynamic"
  9493. }
  9494. ]
  9495. },
  9496. {
  9497. "name": "UpdateMeshBuffer",
  9498. "description": "Update mesh vertex data in GPU for a specific buffer index",
  9499. "returnType": "void",
  9500. "params": [
  9501. {
  9502. "type": "Mesh",
  9503. "name": "mesh"
  9504. },
  9505. {
  9506. "type": "int",
  9507. "name": "index"
  9508. },
  9509. {
  9510. "type": "const void *",
  9511. "name": "data"
  9512. },
  9513. {
  9514. "type": "int",
  9515. "name": "dataSize"
  9516. },
  9517. {
  9518. "type": "int",
  9519. "name": "offset"
  9520. }
  9521. ]
  9522. },
  9523. {
  9524. "name": "UnloadMesh",
  9525. "description": "Unload mesh data from CPU and GPU",
  9526. "returnType": "void",
  9527. "params": [
  9528. {
  9529. "type": "Mesh",
  9530. "name": "mesh"
  9531. }
  9532. ]
  9533. },
  9534. {
  9535. "name": "DrawMesh",
  9536. "description": "Draw a 3d mesh with material and transform",
  9537. "returnType": "void",
  9538. "params": [
  9539. {
  9540. "type": "Mesh",
  9541. "name": "mesh"
  9542. },
  9543. {
  9544. "type": "Material",
  9545. "name": "material"
  9546. },
  9547. {
  9548. "type": "Matrix",
  9549. "name": "transform"
  9550. }
  9551. ]
  9552. },
  9553. {
  9554. "name": "DrawMeshInstanced",
  9555. "description": "Draw multiple mesh instances with material and different transforms",
  9556. "returnType": "void",
  9557. "params": [
  9558. {
  9559. "type": "Mesh",
  9560. "name": "mesh"
  9561. },
  9562. {
  9563. "type": "Material",
  9564. "name": "material"
  9565. },
  9566. {
  9567. "type": "const Matrix *",
  9568. "name": "transforms"
  9569. },
  9570. {
  9571. "type": "int",
  9572. "name": "instances"
  9573. }
  9574. ]
  9575. },
  9576. {
  9577. "name": "ExportMesh",
  9578. "description": "Export mesh data to file, returns true on success",
  9579. "returnType": "bool",
  9580. "params": [
  9581. {
  9582. "type": "Mesh",
  9583. "name": "mesh"
  9584. },
  9585. {
  9586. "type": "const char *",
  9587. "name": "fileName"
  9588. }
  9589. ]
  9590. },
  9591. {
  9592. "name": "GetMeshBoundingBox",
  9593. "description": "Compute mesh bounding box limits",
  9594. "returnType": "BoundingBox",
  9595. "params": [
  9596. {
  9597. "type": "Mesh",
  9598. "name": "mesh"
  9599. }
  9600. ]
  9601. },
  9602. {
  9603. "name": "GenMeshTangents",
  9604. "description": "Compute mesh tangents",
  9605. "returnType": "void",
  9606. "params": [
  9607. {
  9608. "type": "Mesh *",
  9609. "name": "mesh"
  9610. }
  9611. ]
  9612. },
  9613. {
  9614. "name": "GenMeshPoly",
  9615. "description": "Generate polygonal mesh",
  9616. "returnType": "Mesh",
  9617. "params": [
  9618. {
  9619. "type": "int",
  9620. "name": "sides"
  9621. },
  9622. {
  9623. "type": "float",
  9624. "name": "radius"
  9625. }
  9626. ]
  9627. },
  9628. {
  9629. "name": "GenMeshPlane",
  9630. "description": "Generate plane mesh (with subdivisions)",
  9631. "returnType": "Mesh",
  9632. "params": [
  9633. {
  9634. "type": "float",
  9635. "name": "width"
  9636. },
  9637. {
  9638. "type": "float",
  9639. "name": "length"
  9640. },
  9641. {
  9642. "type": "int",
  9643. "name": "resX"
  9644. },
  9645. {
  9646. "type": "int",
  9647. "name": "resZ"
  9648. }
  9649. ]
  9650. },
  9651. {
  9652. "name": "GenMeshCube",
  9653. "description": "Generate cuboid mesh",
  9654. "returnType": "Mesh",
  9655. "params": [
  9656. {
  9657. "type": "float",
  9658. "name": "width"
  9659. },
  9660. {
  9661. "type": "float",
  9662. "name": "height"
  9663. },
  9664. {
  9665. "type": "float",
  9666. "name": "length"
  9667. }
  9668. ]
  9669. },
  9670. {
  9671. "name": "GenMeshSphere",
  9672. "description": "Generate sphere mesh (standard sphere)",
  9673. "returnType": "Mesh",
  9674. "params": [
  9675. {
  9676. "type": "float",
  9677. "name": "radius"
  9678. },
  9679. {
  9680. "type": "int",
  9681. "name": "rings"
  9682. },
  9683. {
  9684. "type": "int",
  9685. "name": "slices"
  9686. }
  9687. ]
  9688. },
  9689. {
  9690. "name": "GenMeshHemiSphere",
  9691. "description": "Generate half-sphere mesh (no bottom cap)",
  9692. "returnType": "Mesh",
  9693. "params": [
  9694. {
  9695. "type": "float",
  9696. "name": "radius"
  9697. },
  9698. {
  9699. "type": "int",
  9700. "name": "rings"
  9701. },
  9702. {
  9703. "type": "int",
  9704. "name": "slices"
  9705. }
  9706. ]
  9707. },
  9708. {
  9709. "name": "GenMeshCylinder",
  9710. "description": "Generate cylinder mesh",
  9711. "returnType": "Mesh",
  9712. "params": [
  9713. {
  9714. "type": "float",
  9715. "name": "radius"
  9716. },
  9717. {
  9718. "type": "float",
  9719. "name": "height"
  9720. },
  9721. {
  9722. "type": "int",
  9723. "name": "slices"
  9724. }
  9725. ]
  9726. },
  9727. {
  9728. "name": "GenMeshCone",
  9729. "description": "Generate cone/pyramid mesh",
  9730. "returnType": "Mesh",
  9731. "params": [
  9732. {
  9733. "type": "float",
  9734. "name": "radius"
  9735. },
  9736. {
  9737. "type": "float",
  9738. "name": "height"
  9739. },
  9740. {
  9741. "type": "int",
  9742. "name": "slices"
  9743. }
  9744. ]
  9745. },
  9746. {
  9747. "name": "GenMeshTorus",
  9748. "description": "Generate torus mesh",
  9749. "returnType": "Mesh",
  9750. "params": [
  9751. {
  9752. "type": "float",
  9753. "name": "radius"
  9754. },
  9755. {
  9756. "type": "float",
  9757. "name": "size"
  9758. },
  9759. {
  9760. "type": "int",
  9761. "name": "radSeg"
  9762. },
  9763. {
  9764. "type": "int",
  9765. "name": "sides"
  9766. }
  9767. ]
  9768. },
  9769. {
  9770. "name": "GenMeshKnot",
  9771. "description": "Generate trefoil knot mesh",
  9772. "returnType": "Mesh",
  9773. "params": [
  9774. {
  9775. "type": "float",
  9776. "name": "radius"
  9777. },
  9778. {
  9779. "type": "float",
  9780. "name": "size"
  9781. },
  9782. {
  9783. "type": "int",
  9784. "name": "radSeg"
  9785. },
  9786. {
  9787. "type": "int",
  9788. "name": "sides"
  9789. }
  9790. ]
  9791. },
  9792. {
  9793. "name": "GenMeshHeightmap",
  9794. "description": "Generate heightmap mesh from image data",
  9795. "returnType": "Mesh",
  9796. "params": [
  9797. {
  9798. "type": "Image",
  9799. "name": "heightmap"
  9800. },
  9801. {
  9802. "type": "Vector3",
  9803. "name": "size"
  9804. }
  9805. ]
  9806. },
  9807. {
  9808. "name": "GenMeshCubicmap",
  9809. "description": "Generate cubes-based map mesh from image data",
  9810. "returnType": "Mesh",
  9811. "params": [
  9812. {
  9813. "type": "Image",
  9814. "name": "cubicmap"
  9815. },
  9816. {
  9817. "type": "Vector3",
  9818. "name": "cubeSize"
  9819. }
  9820. ]
  9821. },
  9822. {
  9823. "name": "LoadMaterials",
  9824. "description": "Load materials from model file",
  9825. "returnType": "Material *",
  9826. "params": [
  9827. {
  9828. "type": "const char *",
  9829. "name": "fileName"
  9830. },
  9831. {
  9832. "type": "int *",
  9833. "name": "materialCount"
  9834. }
  9835. ]
  9836. },
  9837. {
  9838. "name": "LoadMaterialDefault",
  9839. "description": "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)",
  9840. "returnType": "Material"
  9841. },
  9842. {
  9843. "name": "IsMaterialReady",
  9844. "description": "Check if a material is ready",
  9845. "returnType": "bool",
  9846. "params": [
  9847. {
  9848. "type": "Material",
  9849. "name": "material"
  9850. }
  9851. ]
  9852. },
  9853. {
  9854. "name": "UnloadMaterial",
  9855. "description": "Unload material from GPU memory (VRAM)",
  9856. "returnType": "void",
  9857. "params": [
  9858. {
  9859. "type": "Material",
  9860. "name": "material"
  9861. }
  9862. ]
  9863. },
  9864. {
  9865. "name": "SetMaterialTexture",
  9866. "description": "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)",
  9867. "returnType": "void",
  9868. "params": [
  9869. {
  9870. "type": "Material *",
  9871. "name": "material"
  9872. },
  9873. {
  9874. "type": "int",
  9875. "name": "mapType"
  9876. },
  9877. {
  9878. "type": "Texture2D",
  9879. "name": "texture"
  9880. }
  9881. ]
  9882. },
  9883. {
  9884. "name": "SetModelMeshMaterial",
  9885. "description": "Set material for a mesh",
  9886. "returnType": "void",
  9887. "params": [
  9888. {
  9889. "type": "Model *",
  9890. "name": "model"
  9891. },
  9892. {
  9893. "type": "int",
  9894. "name": "meshId"
  9895. },
  9896. {
  9897. "type": "int",
  9898. "name": "materialId"
  9899. }
  9900. ]
  9901. },
  9902. {
  9903. "name": "LoadModelAnimations",
  9904. "description": "Load model animations from file",
  9905. "returnType": "ModelAnimation *",
  9906. "params": [
  9907. {
  9908. "type": "const char *",
  9909. "name": "fileName"
  9910. },
  9911. {
  9912. "type": "unsigned int *",
  9913. "name": "animCount"
  9914. }
  9915. ]
  9916. },
  9917. {
  9918. "name": "UpdateModelAnimation",
  9919. "description": "Update model animation pose",
  9920. "returnType": "void",
  9921. "params": [
  9922. {
  9923. "type": "Model",
  9924. "name": "model"
  9925. },
  9926. {
  9927. "type": "ModelAnimation",
  9928. "name": "anim"
  9929. },
  9930. {
  9931. "type": "int",
  9932. "name": "frame"
  9933. }
  9934. ]
  9935. },
  9936. {
  9937. "name": "UnloadModelAnimation",
  9938. "description": "Unload animation data",
  9939. "returnType": "void",
  9940. "params": [
  9941. {
  9942. "type": "ModelAnimation",
  9943. "name": "anim"
  9944. }
  9945. ]
  9946. },
  9947. {
  9948. "name": "UnloadModelAnimations",
  9949. "description": "Unload animation array data",
  9950. "returnType": "void",
  9951. "params": [
  9952. {
  9953. "type": "ModelAnimation *",
  9954. "name": "animations"
  9955. },
  9956. {
  9957. "type": "unsigned int",
  9958. "name": "count"
  9959. }
  9960. ]
  9961. },
  9962. {
  9963. "name": "IsModelAnimationValid",
  9964. "description": "Check model animation skeleton match",
  9965. "returnType": "bool",
  9966. "params": [
  9967. {
  9968. "type": "Model",
  9969. "name": "model"
  9970. },
  9971. {
  9972. "type": "ModelAnimation",
  9973. "name": "anim"
  9974. }
  9975. ]
  9976. },
  9977. {
  9978. "name": "CheckCollisionSpheres",
  9979. "description": "Check collision between two spheres",
  9980. "returnType": "bool",
  9981. "params": [
  9982. {
  9983. "type": "Vector3",
  9984. "name": "center1"
  9985. },
  9986. {
  9987. "type": "float",
  9988. "name": "radius1"
  9989. },
  9990. {
  9991. "type": "Vector3",
  9992. "name": "center2"
  9993. },
  9994. {
  9995. "type": "float",
  9996. "name": "radius2"
  9997. }
  9998. ]
  9999. },
  10000. {
  10001. "name": "CheckCollisionBoxes",
  10002. "description": "Check collision between two bounding boxes",
  10003. "returnType": "bool",
  10004. "params": [
  10005. {
  10006. "type": "BoundingBox",
  10007. "name": "box1"
  10008. },
  10009. {
  10010. "type": "BoundingBox",
  10011. "name": "box2"
  10012. }
  10013. ]
  10014. },
  10015. {
  10016. "name": "CheckCollisionBoxSphere",
  10017. "description": "Check collision between box and sphere",
  10018. "returnType": "bool",
  10019. "params": [
  10020. {
  10021. "type": "BoundingBox",
  10022. "name": "box"
  10023. },
  10024. {
  10025. "type": "Vector3",
  10026. "name": "center"
  10027. },
  10028. {
  10029. "type": "float",
  10030. "name": "radius"
  10031. }
  10032. ]
  10033. },
  10034. {
  10035. "name": "GetRayCollisionSphere",
  10036. "description": "Get collision info between ray and sphere",
  10037. "returnType": "RayCollision",
  10038. "params": [
  10039. {
  10040. "type": "Ray",
  10041. "name": "ray"
  10042. },
  10043. {
  10044. "type": "Vector3",
  10045. "name": "center"
  10046. },
  10047. {
  10048. "type": "float",
  10049. "name": "radius"
  10050. }
  10051. ]
  10052. },
  10053. {
  10054. "name": "GetRayCollisionBox",
  10055. "description": "Get collision info between ray and box",
  10056. "returnType": "RayCollision",
  10057. "params": [
  10058. {
  10059. "type": "Ray",
  10060. "name": "ray"
  10061. },
  10062. {
  10063. "type": "BoundingBox",
  10064. "name": "box"
  10065. }
  10066. ]
  10067. },
  10068. {
  10069. "name": "GetRayCollisionMesh",
  10070. "description": "Get collision info between ray and mesh",
  10071. "returnType": "RayCollision",
  10072. "params": [
  10073. {
  10074. "type": "Ray",
  10075. "name": "ray"
  10076. },
  10077. {
  10078. "type": "Mesh",
  10079. "name": "mesh"
  10080. },
  10081. {
  10082. "type": "Matrix",
  10083. "name": "transform"
  10084. }
  10085. ]
  10086. },
  10087. {
  10088. "name": "GetRayCollisionTriangle",
  10089. "description": "Get collision info between ray and triangle",
  10090. "returnType": "RayCollision",
  10091. "params": [
  10092. {
  10093. "type": "Ray",
  10094. "name": "ray"
  10095. },
  10096. {
  10097. "type": "Vector3",
  10098. "name": "p1"
  10099. },
  10100. {
  10101. "type": "Vector3",
  10102. "name": "p2"
  10103. },
  10104. {
  10105. "type": "Vector3",
  10106. "name": "p3"
  10107. }
  10108. ]
  10109. },
  10110. {
  10111. "name": "GetRayCollisionQuad",
  10112. "description": "Get collision info between ray and quad",
  10113. "returnType": "RayCollision",
  10114. "params": [
  10115. {
  10116. "type": "Ray",
  10117. "name": "ray"
  10118. },
  10119. {
  10120. "type": "Vector3",
  10121. "name": "p1"
  10122. },
  10123. {
  10124. "type": "Vector3",
  10125. "name": "p2"
  10126. },
  10127. {
  10128. "type": "Vector3",
  10129. "name": "p3"
  10130. },
  10131. {
  10132. "type": "Vector3",
  10133. "name": "p4"
  10134. }
  10135. ]
  10136. },
  10137. {
  10138. "name": "InitAudioDevice",
  10139. "description": "Initialize audio device and context",
  10140. "returnType": "void"
  10141. },
  10142. {
  10143. "name": "CloseAudioDevice",
  10144. "description": "Close the audio device and context",
  10145. "returnType": "void"
  10146. },
  10147. {
  10148. "name": "IsAudioDeviceReady",
  10149. "description": "Check if audio device has been initialized successfully",
  10150. "returnType": "bool"
  10151. },
  10152. {
  10153. "name": "SetMasterVolume",
  10154. "description": "Set master volume (listener)",
  10155. "returnType": "void",
  10156. "params": [
  10157. {
  10158. "type": "float",
  10159. "name": "volume"
  10160. }
  10161. ]
  10162. },
  10163. {
  10164. "name": "LoadWave",
  10165. "description": "Load wave data from file",
  10166. "returnType": "Wave",
  10167. "params": [
  10168. {
  10169. "type": "const char *",
  10170. "name": "fileName"
  10171. }
  10172. ]
  10173. },
  10174. {
  10175. "name": "LoadWaveFromMemory",
  10176. "description": "Load wave from memory buffer, fileType refers to extension: i.e. '.wav'",
  10177. "returnType": "Wave",
  10178. "params": [
  10179. {
  10180. "type": "const char *",
  10181. "name": "fileType"
  10182. },
  10183. {
  10184. "type": "const unsigned char *",
  10185. "name": "fileData"
  10186. },
  10187. {
  10188. "type": "int",
  10189. "name": "dataSize"
  10190. }
  10191. ]
  10192. },
  10193. {
  10194. "name": "IsWaveReady",
  10195. "description": "Checks if wave data is ready",
  10196. "returnType": "bool",
  10197. "params": [
  10198. {
  10199. "type": "Wave",
  10200. "name": "wave"
  10201. }
  10202. ]
  10203. },
  10204. {
  10205. "name": "LoadSound",
  10206. "description": "Load sound from file",
  10207. "returnType": "Sound",
  10208. "params": [
  10209. {
  10210. "type": "const char *",
  10211. "name": "fileName"
  10212. }
  10213. ]
  10214. },
  10215. {
  10216. "name": "LoadSoundFromWave",
  10217. "description": "Load sound from wave data",
  10218. "returnType": "Sound",
  10219. "params": [
  10220. {
  10221. "type": "Wave",
  10222. "name": "wave"
  10223. }
  10224. ]
  10225. },
  10226. {
  10227. "name": "IsSoundReady",
  10228. "description": "Checks if a sound is ready",
  10229. "returnType": "bool",
  10230. "params": [
  10231. {
  10232. "type": "Sound",
  10233. "name": "sound"
  10234. }
  10235. ]
  10236. },
  10237. {
  10238. "name": "UpdateSound",
  10239. "description": "Update sound buffer with new data",
  10240. "returnType": "void",
  10241. "params": [
  10242. {
  10243. "type": "Sound",
  10244. "name": "sound"
  10245. },
  10246. {
  10247. "type": "const void *",
  10248. "name": "data"
  10249. },
  10250. {
  10251. "type": "int",
  10252. "name": "sampleCount"
  10253. }
  10254. ]
  10255. },
  10256. {
  10257. "name": "UnloadWave",
  10258. "description": "Unload wave data",
  10259. "returnType": "void",
  10260. "params": [
  10261. {
  10262. "type": "Wave",
  10263. "name": "wave"
  10264. }
  10265. ]
  10266. },
  10267. {
  10268. "name": "UnloadSound",
  10269. "description": "Unload sound",
  10270. "returnType": "void",
  10271. "params": [
  10272. {
  10273. "type": "Sound",
  10274. "name": "sound"
  10275. }
  10276. ]
  10277. },
  10278. {
  10279. "name": "ExportWave",
  10280. "description": "Export wave data to file, returns true on success",
  10281. "returnType": "bool",
  10282. "params": [
  10283. {
  10284. "type": "Wave",
  10285. "name": "wave"
  10286. },
  10287. {
  10288. "type": "const char *",
  10289. "name": "fileName"
  10290. }
  10291. ]
  10292. },
  10293. {
  10294. "name": "ExportWaveAsCode",
  10295. "description": "Export wave sample data to code (.h), returns true on success",
  10296. "returnType": "bool",
  10297. "params": [
  10298. {
  10299. "type": "Wave",
  10300. "name": "wave"
  10301. },
  10302. {
  10303. "type": "const char *",
  10304. "name": "fileName"
  10305. }
  10306. ]
  10307. },
  10308. {
  10309. "name": "PlaySound",
  10310. "description": "Play a sound",
  10311. "returnType": "void",
  10312. "params": [
  10313. {
  10314. "type": "Sound",
  10315. "name": "sound"
  10316. }
  10317. ]
  10318. },
  10319. {
  10320. "name": "StopSound",
  10321. "description": "Stop playing a sound",
  10322. "returnType": "void",
  10323. "params": [
  10324. {
  10325. "type": "Sound",
  10326. "name": "sound"
  10327. }
  10328. ]
  10329. },
  10330. {
  10331. "name": "PauseSound",
  10332. "description": "Pause a sound",
  10333. "returnType": "void",
  10334. "params": [
  10335. {
  10336. "type": "Sound",
  10337. "name": "sound"
  10338. }
  10339. ]
  10340. },
  10341. {
  10342. "name": "ResumeSound",
  10343. "description": "Resume a paused sound",
  10344. "returnType": "void",
  10345. "params": [
  10346. {
  10347. "type": "Sound",
  10348. "name": "sound"
  10349. }
  10350. ]
  10351. },
  10352. {
  10353. "name": "IsSoundPlaying",
  10354. "description": "Check if a sound is currently playing",
  10355. "returnType": "bool",
  10356. "params": [
  10357. {
  10358. "type": "Sound",
  10359. "name": "sound"
  10360. }
  10361. ]
  10362. },
  10363. {
  10364. "name": "SetSoundVolume",
  10365. "description": "Set volume for a sound (1.0 is max level)",
  10366. "returnType": "void",
  10367. "params": [
  10368. {
  10369. "type": "Sound",
  10370. "name": "sound"
  10371. },
  10372. {
  10373. "type": "float",
  10374. "name": "volume"
  10375. }
  10376. ]
  10377. },
  10378. {
  10379. "name": "SetSoundPitch",
  10380. "description": "Set pitch for a sound (1.0 is base level)",
  10381. "returnType": "void",
  10382. "params": [
  10383. {
  10384. "type": "Sound",
  10385. "name": "sound"
  10386. },
  10387. {
  10388. "type": "float",
  10389. "name": "pitch"
  10390. }
  10391. ]
  10392. },
  10393. {
  10394. "name": "SetSoundPan",
  10395. "description": "Set pan for a sound (0.5 is center)",
  10396. "returnType": "void",
  10397. "params": [
  10398. {
  10399. "type": "Sound",
  10400. "name": "sound"
  10401. },
  10402. {
  10403. "type": "float",
  10404. "name": "pan"
  10405. }
  10406. ]
  10407. },
  10408. {
  10409. "name": "WaveCopy",
  10410. "description": "Copy a wave to a new wave",
  10411. "returnType": "Wave",
  10412. "params": [
  10413. {
  10414. "type": "Wave",
  10415. "name": "wave"
  10416. }
  10417. ]
  10418. },
  10419. {
  10420. "name": "WaveCrop",
  10421. "description": "Crop a wave to defined samples range",
  10422. "returnType": "void",
  10423. "params": [
  10424. {
  10425. "type": "Wave *",
  10426. "name": "wave"
  10427. },
  10428. {
  10429. "type": "int",
  10430. "name": "initSample"
  10431. },
  10432. {
  10433. "type": "int",
  10434. "name": "finalSample"
  10435. }
  10436. ]
  10437. },
  10438. {
  10439. "name": "WaveFormat",
  10440. "description": "Convert wave data to desired format",
  10441. "returnType": "void",
  10442. "params": [
  10443. {
  10444. "type": "Wave *",
  10445. "name": "wave"
  10446. },
  10447. {
  10448. "type": "int",
  10449. "name": "sampleRate"
  10450. },
  10451. {
  10452. "type": "int",
  10453. "name": "sampleSize"
  10454. },
  10455. {
  10456. "type": "int",
  10457. "name": "channels"
  10458. }
  10459. ]
  10460. },
  10461. {
  10462. "name": "LoadWaveSamples",
  10463. "description": "Load samples data from wave as a 32bit float data array",
  10464. "returnType": "float *",
  10465. "params": [
  10466. {
  10467. "type": "Wave",
  10468. "name": "wave"
  10469. }
  10470. ]
  10471. },
  10472. {
  10473. "name": "UnloadWaveSamples",
  10474. "description": "Unload samples data loaded with LoadWaveSamples()",
  10475. "returnType": "void",
  10476. "params": [
  10477. {
  10478. "type": "float *",
  10479. "name": "samples"
  10480. }
  10481. ]
  10482. },
  10483. {
  10484. "name": "LoadMusicStream",
  10485. "description": "Load music stream from file",
  10486. "returnType": "Music",
  10487. "params": [
  10488. {
  10489. "type": "const char *",
  10490. "name": "fileName"
  10491. }
  10492. ]
  10493. },
  10494. {
  10495. "name": "LoadMusicStreamFromMemory",
  10496. "description": "Load music stream from data",
  10497. "returnType": "Music",
  10498. "params": [
  10499. {
  10500. "type": "const char *",
  10501. "name": "fileType"
  10502. },
  10503. {
  10504. "type": "const unsigned char *",
  10505. "name": "data"
  10506. },
  10507. {
  10508. "type": "int",
  10509. "name": "dataSize"
  10510. }
  10511. ]
  10512. },
  10513. {
  10514. "name": "IsMusicReady",
  10515. "description": "Checks if a music stream is ready",
  10516. "returnType": "bool",
  10517. "params": [
  10518. {
  10519. "type": "Music",
  10520. "name": "music"
  10521. }
  10522. ]
  10523. },
  10524. {
  10525. "name": "UnloadMusicStream",
  10526. "description": "Unload music stream",
  10527. "returnType": "void",
  10528. "params": [
  10529. {
  10530. "type": "Music",
  10531. "name": "music"
  10532. }
  10533. ]
  10534. },
  10535. {
  10536. "name": "PlayMusicStream",
  10537. "description": "Start music playing",
  10538. "returnType": "void",
  10539. "params": [
  10540. {
  10541. "type": "Music",
  10542. "name": "music"
  10543. }
  10544. ]
  10545. },
  10546. {
  10547. "name": "IsMusicStreamPlaying",
  10548. "description": "Check if music is playing",
  10549. "returnType": "bool",
  10550. "params": [
  10551. {
  10552. "type": "Music",
  10553. "name": "music"
  10554. }
  10555. ]
  10556. },
  10557. {
  10558. "name": "UpdateMusicStream",
  10559. "description": "Updates buffers for music streaming",
  10560. "returnType": "void",
  10561. "params": [
  10562. {
  10563. "type": "Music",
  10564. "name": "music"
  10565. }
  10566. ]
  10567. },
  10568. {
  10569. "name": "StopMusicStream",
  10570. "description": "Stop music playing",
  10571. "returnType": "void",
  10572. "params": [
  10573. {
  10574. "type": "Music",
  10575. "name": "music"
  10576. }
  10577. ]
  10578. },
  10579. {
  10580. "name": "PauseMusicStream",
  10581. "description": "Pause music playing",
  10582. "returnType": "void",
  10583. "params": [
  10584. {
  10585. "type": "Music",
  10586. "name": "music"
  10587. }
  10588. ]
  10589. },
  10590. {
  10591. "name": "ResumeMusicStream",
  10592. "description": "Resume playing paused music",
  10593. "returnType": "void",
  10594. "params": [
  10595. {
  10596. "type": "Music",
  10597. "name": "music"
  10598. }
  10599. ]
  10600. },
  10601. {
  10602. "name": "SeekMusicStream",
  10603. "description": "Seek music to a position (in seconds)",
  10604. "returnType": "void",
  10605. "params": [
  10606. {
  10607. "type": "Music",
  10608. "name": "music"
  10609. },
  10610. {
  10611. "type": "float",
  10612. "name": "position"
  10613. }
  10614. ]
  10615. },
  10616. {
  10617. "name": "SetMusicVolume",
  10618. "description": "Set volume for music (1.0 is max level)",
  10619. "returnType": "void",
  10620. "params": [
  10621. {
  10622. "type": "Music",
  10623. "name": "music"
  10624. },
  10625. {
  10626. "type": "float",
  10627. "name": "volume"
  10628. }
  10629. ]
  10630. },
  10631. {
  10632. "name": "SetMusicPitch",
  10633. "description": "Set pitch for a music (1.0 is base level)",
  10634. "returnType": "void",
  10635. "params": [
  10636. {
  10637. "type": "Music",
  10638. "name": "music"
  10639. },
  10640. {
  10641. "type": "float",
  10642. "name": "pitch"
  10643. }
  10644. ]
  10645. },
  10646. {
  10647. "name": "SetMusicPan",
  10648. "description": "Set pan for a music (0.5 is center)",
  10649. "returnType": "void",
  10650. "params": [
  10651. {
  10652. "type": "Music",
  10653. "name": "music"
  10654. },
  10655. {
  10656. "type": "float",
  10657. "name": "pan"
  10658. }
  10659. ]
  10660. },
  10661. {
  10662. "name": "GetMusicTimeLength",
  10663. "description": "Get music time length (in seconds)",
  10664. "returnType": "float",
  10665. "params": [
  10666. {
  10667. "type": "Music",
  10668. "name": "music"
  10669. }
  10670. ]
  10671. },
  10672. {
  10673. "name": "GetMusicTimePlayed",
  10674. "description": "Get current music time played (in seconds)",
  10675. "returnType": "float",
  10676. "params": [
  10677. {
  10678. "type": "Music",
  10679. "name": "music"
  10680. }
  10681. ]
  10682. },
  10683. {
  10684. "name": "LoadAudioStream",
  10685. "description": "Load audio stream (to stream raw audio pcm data)",
  10686. "returnType": "AudioStream",
  10687. "params": [
  10688. {
  10689. "type": "unsigned int",
  10690. "name": "sampleRate"
  10691. },
  10692. {
  10693. "type": "unsigned int",
  10694. "name": "sampleSize"
  10695. },
  10696. {
  10697. "type": "unsigned int",
  10698. "name": "channels"
  10699. }
  10700. ]
  10701. },
  10702. {
  10703. "name": "IsAudioStreamReady",
  10704. "description": "Checks if an audio stream is ready",
  10705. "returnType": "bool",
  10706. "params": [
  10707. {
  10708. "type": "AudioStream",
  10709. "name": "stream"
  10710. }
  10711. ]
  10712. },
  10713. {
  10714. "name": "UnloadAudioStream",
  10715. "description": "Unload audio stream and free memory",
  10716. "returnType": "void",
  10717. "params": [
  10718. {
  10719. "type": "AudioStream",
  10720. "name": "stream"
  10721. }
  10722. ]
  10723. },
  10724. {
  10725. "name": "UpdateAudioStream",
  10726. "description": "Update audio stream buffers with data",
  10727. "returnType": "void",
  10728. "params": [
  10729. {
  10730. "type": "AudioStream",
  10731. "name": "stream"
  10732. },
  10733. {
  10734. "type": "const void *",
  10735. "name": "data"
  10736. },
  10737. {
  10738. "type": "int",
  10739. "name": "frameCount"
  10740. }
  10741. ]
  10742. },
  10743. {
  10744. "name": "IsAudioStreamProcessed",
  10745. "description": "Check if any audio stream buffers requires refill",
  10746. "returnType": "bool",
  10747. "params": [
  10748. {
  10749. "type": "AudioStream",
  10750. "name": "stream"
  10751. }
  10752. ]
  10753. },
  10754. {
  10755. "name": "PlayAudioStream",
  10756. "description": "Play audio stream",
  10757. "returnType": "void",
  10758. "params": [
  10759. {
  10760. "type": "AudioStream",
  10761. "name": "stream"
  10762. }
  10763. ]
  10764. },
  10765. {
  10766. "name": "PauseAudioStream",
  10767. "description": "Pause audio stream",
  10768. "returnType": "void",
  10769. "params": [
  10770. {
  10771. "type": "AudioStream",
  10772. "name": "stream"
  10773. }
  10774. ]
  10775. },
  10776. {
  10777. "name": "ResumeAudioStream",
  10778. "description": "Resume audio stream",
  10779. "returnType": "void",
  10780. "params": [
  10781. {
  10782. "type": "AudioStream",
  10783. "name": "stream"
  10784. }
  10785. ]
  10786. },
  10787. {
  10788. "name": "IsAudioStreamPlaying",
  10789. "description": "Check if audio stream is playing",
  10790. "returnType": "bool",
  10791. "params": [
  10792. {
  10793. "type": "AudioStream",
  10794. "name": "stream"
  10795. }
  10796. ]
  10797. },
  10798. {
  10799. "name": "StopAudioStream",
  10800. "description": "Stop audio stream",
  10801. "returnType": "void",
  10802. "params": [
  10803. {
  10804. "type": "AudioStream",
  10805. "name": "stream"
  10806. }
  10807. ]
  10808. },
  10809. {
  10810. "name": "SetAudioStreamVolume",
  10811. "description": "Set volume for audio stream (1.0 is max level)",
  10812. "returnType": "void",
  10813. "params": [
  10814. {
  10815. "type": "AudioStream",
  10816. "name": "stream"
  10817. },
  10818. {
  10819. "type": "float",
  10820. "name": "volume"
  10821. }
  10822. ]
  10823. },
  10824. {
  10825. "name": "SetAudioStreamPitch",
  10826. "description": "Set pitch for audio stream (1.0 is base level)",
  10827. "returnType": "void",
  10828. "params": [
  10829. {
  10830. "type": "AudioStream",
  10831. "name": "stream"
  10832. },
  10833. {
  10834. "type": "float",
  10835. "name": "pitch"
  10836. }
  10837. ]
  10838. },
  10839. {
  10840. "name": "SetAudioStreamPan",
  10841. "description": "Set pan for audio stream (0.5 is centered)",
  10842. "returnType": "void",
  10843. "params": [
  10844. {
  10845. "type": "AudioStream",
  10846. "name": "stream"
  10847. },
  10848. {
  10849. "type": "float",
  10850. "name": "pan"
  10851. }
  10852. ]
  10853. },
  10854. {
  10855. "name": "SetAudioStreamBufferSizeDefault",
  10856. "description": "Default size for new audio streams",
  10857. "returnType": "void",
  10858. "params": [
  10859. {
  10860. "type": "int",
  10861. "name": "size"
  10862. }
  10863. ]
  10864. },
  10865. {
  10866. "name": "SetAudioStreamCallback",
  10867. "description": "Audio thread callback to request new data",
  10868. "returnType": "void",
  10869. "params": [
  10870. {
  10871. "type": "AudioStream",
  10872. "name": "stream"
  10873. },
  10874. {
  10875. "type": "AudioCallback",
  10876. "name": "callback"
  10877. }
  10878. ]
  10879. },
  10880. {
  10881. "name": "AttachAudioStreamProcessor",
  10882. "description": "Attach audio stream processor to stream",
  10883. "returnType": "void",
  10884. "params": [
  10885. {
  10886. "type": "AudioStream",
  10887. "name": "stream"
  10888. },
  10889. {
  10890. "type": "AudioCallback",
  10891. "name": "processor"
  10892. }
  10893. ]
  10894. },
  10895. {
  10896. "name": "DetachAudioStreamProcessor",
  10897. "description": "Detach audio stream processor from stream",
  10898. "returnType": "void",
  10899. "params": [
  10900. {
  10901. "type": "AudioStream",
  10902. "name": "stream"
  10903. },
  10904. {
  10905. "type": "AudioCallback",
  10906. "name": "processor"
  10907. }
  10908. ]
  10909. },
  10910. {
  10911. "name": "AttachAudioMixedProcessor",
  10912. "description": "Attach audio stream processor to the entire audio pipeline",
  10913. "returnType": "void",
  10914. "params": [
  10915. {
  10916. "type": "AudioCallback",
  10917. "name": "processor"
  10918. }
  10919. ]
  10920. },
  10921. {
  10922. "name": "DetachAudioMixedProcessor",
  10923. "description": "Detach audio stream processor from the entire audio pipeline",
  10924. "returnType": "void",
  10925. "params": [
  10926. {
  10927. "type": "AudioCallback",
  10928. "name": "processor"
  10929. }
  10930. ]
  10931. }
  10932. ]
  10933. }