Skip to main content
Module

x/gluten/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.4/mod.ts";

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

Parameters

shader: WebGLShader