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/WebGLPrograms.d.ts>WebGLPrograms

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

Constructors

new
WebGLPrograms(
renderer: WebGLRenderer,
cubemaps: WebGLCubeMaps,
extensions: WebGLExtensions,
capabilities: WebGLCapabilities,
bindingStates: WebGLBindingStates,
clipping: WebGLClipping,
)

Methods

acquireProgram(parameters: any, cacheKey: string): WebGLProgram
getParameters(
material: Material,
lights: any,
shadows: object[],
scene: Scene,
object: any,
): any
getProgramCacheKey(parameters: any): string
getUniforms(material: Material): object