Function: createProgram()
ts
function createProgram(
gl,
vert,
frag): WebGLProgram;Defined in: gl/program.ts:23
Compile + link a vertex/fragment program.
Parameters
| Parameter | Type |
|---|---|
gl | WebGL2RenderingContext |
vert | string |
frag | string |
Returns
WebGLProgram