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

x/caviar/deps.ts>WebGLRenderingContext#attachShader

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
method WebGLRenderingContext.prototype.attachShader
import { WebGLRenderingContext } from "https://deno.land/x/caviar@2.6.2/deps.ts";

Attaches either a fragment or vertex WebGLShader to a WebGLProgram.