Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / evictSharedModel

Function: evictSharedModel() ​

ts
function evictSharedModel(url?): void;

Defined in: utils/modelCache.ts:280

Forget the model at url (or every model), so the next acquisition loads the file again. Copies in use keep theirs, freed when the last is given back; a load nobody uses is freed now.

Parameters ​

ParameterType
url?string

Returns ​

void