raylib_api.json 239 KB

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