Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.WebGLShader

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.WebGLShader
implements WebGLObject
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { WebGLShader } = dom;

The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.