Destroys all shader instances, removes all object references and nulls all external references.
This WebGLPipeline instance.