Default values of Material.dispose() arguments

No, but you can create a material that is not attached to any mesh.

Yes, it will stay, no, it will not render. Win win!

Dispose does not delete the variable. You can dispose a mesh, but still have the JavaScript object in your code. That’s the use of this function.

2 Likes