@ file : Js Module (" three ") Ċ @ file : Js Non Module Ċ @ file : Suppress (" AB STR ACT _ MEMBER _ NOT _ IMPLEMENTED ", Ġ" VAR _ TYPE _ MIS MATCH _ ON _ OVERRIDE ", Ġ" INTERFACE _ WITH _ SUPER CLASS ", Ġ" OVER RID ING _ FINAL _ MEMBER ", Ġ" RETURN _ TYPE _ MIS MATCH _ ON _ OVERRIDE ", Ġ" CONF LI CT ING _ OVERLOAD S ", Ġ" EXTERNAL _ DE LEG ATION ", Ġ" Package Directory Mismatch ") Ċ package Ġthree . js Ċ Ċ import Ġkotlin . js .* Ċ import Ġorg . w 3 c . xhr .* Ċ Ċ external Ġinterface Ġ` T $ 4 6 ` Ġ{ ĊĠĠĠ Ġ@ native Getter ĊĠĠĠ Ġoperator Ġfun Ġget ( key : ĠString ): ĠTexture ? ĊĠĠĠ Ġ@ native Setter ĊĠĠĠ Ġoperator Ġfun Ġset ( key : ĠString , Ġvalue : ĠTexture ) Ċ } Ċ Ċ open Ġexternal Ġclass ĠMaterial Loader ( manager : ĠLoading Manager Ġ= Ġdefined Ex tern ally ) Ġ: ĠLoader Ġ{ ĊĠĠĠ Ġopen Ġvar Ġtextures : Ġ` T $ 4 6 ` ĊĠĠĠ Ġopen Ġfun Ġload ( url : ĠString , ĠonLoad : Ġ( material : ĠMaterial ) Ġ-> ĠUnit , Ġon Progress : Ġ( event : ĠProgress Event ) Ġ-> ĠUnit Ġ= Ġdefined Ex tern ally , ĠonError : Ġ( event : Ġdynamic Ġ/* ĠError Ġ| ĠError Event Ġ*/) Ġ-> ĠUnit Ġ= Ġdefined Ex tern ally ) ĊĠĠĠ Ġopen Ġfun Ġset Textures ( textures : Ġ` T $ 4 6 `): ĠMaterial Loader Ġ/* Ġthis Ġ*/ ĊĠĠĠ Ġopen Ġfun Ġparse ( json : ĠAny ): ĠMaterial Ċ }