mwg API
    Preparing search index...

    Function releaseBinary

    • Frees cached bytes; a path never loaded (or already released) is silently skipped.

      Parameters

      • paths: string[]

      Returns void

      import { releaseBinary } from '@datamoc/mw_games/assets';

      releaseBinary(['models/rock.vox']); // frees the cached bytes once the model is placed