Skip to main content
Module

x/shader_canvas/core/webgl_programs/create_program.ts>CreateProgram#load

A rendering engine where you can write WebGL 2.0 shaders using custom tags.
Latest
method CreateProgram.prototype.load
import { CreateProgram } from "https://deno.land/x/shader_canvas@v1.1.1/core/webgl_programs/create_program.ts";

Loads the shaders, this function creates the shaders and calls gl.shaderSource with their code.

Parameters

gl: WebGL2RenderingContext