UNPKG
@doegis/core
Version:
latest (0.1.0)
0.1.0
DOE GIS API
@doegis/core
/
views
/
3d
/
webgl-engine
/
core
/
shaderTechnique
/
ReloadableShaderModule.js
3 lines
(1 loc)
•
197 B
JavaScript
View Raw
1
2
3
class
t
{
constructor
(t,o){
this
._module=t,
this
._loadModule=o}
get
(){
return
this
._module}async reload(){
return
this
._module=await
this
._loadModule(),
this
._module}}export{t
as
ReloadableShaderModule};