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

x/threejs_4_deno/src/renderers/webgl/WebGLUniforms.js>WebGLUniforms

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class WebGLUniforms
import { WebGLUniforms } from "https://deno.land/x/threejs_4_deno@v121/src/renderers/webgl/WebGLUniforms.js";

Constructors

new
WebGLUniforms(gl: WebGLRenderingContext, program: WebGLProgram)

Methods

setOptional(
gl: WebGLRenderingContext,
object: any,
name: string,
): void
setValue(
gl: WebGLRenderingContext,
name: string,
value: any,
textures: WebGLTextures,
): void

Static Methods

seqWithValue(seq: any, values: any[]): any[]
upload(
gl: WebGLRenderingContext,
seq: any,
values: any[],
textures: WebGLTextures,
): void