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/WebGLRenderer.d.ts>WebGLRenderer#compile

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

Compiles all materials in the scene with the camera. This is useful to precompile shaders before the first rendering.