Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gluten/src/webgl/mod.ts>WebGLRenderingContext#compileShader

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.compileShader
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.0/src/webgl/mod.ts";

Compiles a GLSL shader into binary data so that it can be used by a WebGLProgram.