raylib_api.json 268 KB

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