invalidate static method

void invalidate(
  1. ShaderLibrary library
)

Forgets the parse for library, so the next loadBundleInfo re-reads it (after a hot reload rewrote the bundle).

Implementation

static void invalidate(gpu.ShaderLibrary library) {
  _bundles[library] = null;
  _pending[library] = null;
}