Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Material#dispose
An optional callback that is executed immediately before the material is used to render a 3D object.
This method can only be used when rendering with WebGLRenderer.
The 3D object.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.