Skip to main content
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.13/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.