You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a project that requires to cache tinygltf::Mesh and tinygltf::Image objects. Since we have a limited amount of memory allocated for cache, I am wondering if there is a quick way to get the size of tinygltf::Mesh or tinygltf::Image object, including the dynamically allocated memory in the object. Thank you in advance!
The text was updated successfully, but these errors were encountered:
@syoyo Thanks for the reference about capping memory use for assets. That's a good suggestion.
I will see if I can add an allocator that keeps track of the size of buffer. Do you have any code pointer that where could be a good place to start with?
Hello,
I am working on a project that requires to cache tinygltf::Mesh and tinygltf::Image objects. Since we have a limited amount of memory allocated for cache, I am wondering if there is a quick way to get the size of tinygltf::Mesh or tinygltf::Image object, including the dynamically allocated memory in the object. Thank you in advance!
The text was updated successfully, but these errors were encountered: