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

Replace InMemoryAssetResolver with omni.ui.DynamicTextureProvider #116

Closed
lilleyse opened this issue Jan 11, 2023 · 0 comments · Fixed by #252
Closed

Replace InMemoryAssetResolver with omni.ui.DynamicTextureProvider #116

lilleyse opened this issue Jan 11, 2023 · 0 comments · Fixed by #252

Comments

@lilleyse
Copy link
Contributor

lilleyse commented Jan 11, 2023

Currently we use a custom AssetPackageResolver USD plugin for in-memory textures, but the Nvidia folks pointed us to omni.ui.DynamicTextureProvider which is new in Kit 104.1 and can do the same thing.

Example: dynamic-texture-provider.zip

The C++ header is #include <omni/ui/ImageProvider/DynamicTextureProvider.h> but it's referencing some private headers at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant