Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(functions): Add uninstance() and createInstanceNodes() #1525

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

donmccurdy
Copy link
Owner

Example:

import { uninstance } from '@gltf-transform/functions';

document.getRoot().listNodes(); // → [ Node x 10 ]

await document.transform(uninstance());

document.getRoot().listNodes(); // → [ Node x 1000 ]

@donmccurdy donmccurdy added feature New enhancement or request package:functions labels Oct 10, 2024
@donmccurdy donmccurdy added this to the v4.1 milestone Oct 10, 2024
@donmccurdy donmccurdy merged commit 08ad786 into main Oct 10, 2024
5 checks passed
@donmccurdy donmccurdy deleted the feat/uninstance branch October 10, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New enhancement or request package:functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to remove EXT_GPU_INSTANCING usage
1 participant