Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/threejs_4_deno/src/Three.d.ts>WebGLInfo

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

An object with a series of statistical information about the graphics board memory and the rendering process.

Properties

autoReset: boolean
memory: { geometries: number; textures: number; }
programs: WebGLProgram[] | null
render: { calls: number; frame: number; lines: number; points: number; triangles: number; }

Methods

reset(): void
update(
count: number,
mode: number,
instanceCount: number,
): void