UNPKG
@doegis/core
Version:
latest (0.1.0)
0.1.0
DOE GIS API
@doegis/core
/
views
/
webgl
/
ProgramTemplate.js
3 lines
(1 loc)
•
170 B
JavaScript
View Raw
1
2
3
import
{
Program
as
r}
from
"./Program.js"
;
function
e
(
e,t,a=
""
){
return
new
r
(e,a+t.
shaders
.
vertexShader
,a+t.
shaders
.
fragmentShader
,t.
attributes
)}
export
{e
as
createProgram};