Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>WebGLShader

Advanced Web Composition for Future
Latest
interface WebGLShader
implements WebGLObject
import { type WebGLShader } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

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.