Skip to main content
Module

x/gluten/src/webgl/object.ts>WebGLShader

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
class WebGLShader
extends WebGLObject
import { WebGLShader } from "https://deno.land/x/gluten@0.1.4/src/webgl/object.ts";

Can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.