-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trade: add flags for forcing zero-copy import of certain data.
Because there's no format ever that would support zero-copy everything (except the upcoming Magnum blobs, hah!), it makes no sense to force zero-copy globally. Instead, zero-copy can be forced just for particular data of interest. For example a glTF can zero-copy-import mesh and animation data, but not always image data (except if it embeds an uncompressed KTX), and never scene or material data, which are stored in the textual JSON.
- Loading branch information
Showing
3 changed files
with
341 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.