Skip to content

removeExtension on document #1471

Closed Answered by jo-chemla
jo-chemla asked this question in Q&A
Jul 25, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Self replying here in case anyone stumbles on this discussion: This bit let me find what I was missing, extension.dispose();

        document.getRoot()
            .listExtensionsUsed()
            .find((e) => e.extensionName === 'KHR_texture_basisu')
            ?.dispose();

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@donmccurdy
Comment options

@jo-chemla
Comment options

Answer selected by donmccurdy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants