Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#shaderSource

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

Sets the source code of a WebGLShader.

Parameters

shader: WebGLShader
source: string