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

x/threejs_4_deno/src/materials/Materials.js>Material#dispose

A simple transformation of three.js for use within a Deno workflow
Go to Latest
method Material.prototype.dispose
Re-export
import { Material } from "https://deno.land/x/threejs_4_deno@v121/src/materials/Materials.js";

This disposes the material. Textures of a material don't get disposed. These needs to be disposed by Texture.