Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
unusedImageIndices.forEach((index) => GLTFUtil.removeImage(container, index));
glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.