Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#shaderSource

OpenGL bindings & WebGL API implementation for Deno.
Latest
method WebGLRenderingContext.prototype.shaderSource
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.7/mod.ts";

Sets the source code of a WebGLShader.

Parameters

shader: WebGLShader
source: string