Is it possible to package binary data in the binary without having it in memory?
About C23's implementation for #embed, can I use that with extern in a C++ 23 program to have all 3d models and assets in the exe but not in memory all the time, so I can load on demand parts of the binary data to upload to the GPU, then discard them? I can read binary data from files to put in CPU memory, then upload that to the GPU and discard the data afterwards to free CPU memory. Can I do that without needing extra files next to the compiled binary (i.e. all data is in 1 executable, preferably without consuming extra RAM).
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.