Skrakle Posted April 30, 2015 Share Posted April 30, 2015 I have lots of gui graphics and i would like to combine them into a single file that won't be packaged in the zip file, would it be possible to instruct the texture loader to load from file offset and length? Something like: Texture* Load(const std::string& path, int flags=0, const uint64 fileid=0, uint64 file_offset, uint64 file_length) Quote Link to comment Share on other sites More sharing options...
Josh Posted April 30, 2015 Share Posted April 30, 2015 You can implement something like this yourself with C++ and Texture::SetPixels(). Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Skrakle Posted April 30, 2015 Author Share Posted April 30, 2015 You can implement something like this yourself with C++ and Texture::SetPixels(). I haven't thought of doing it that way, i'll give that a try. I've also been trying to search for the .tex file format specification, i need to know its size but i'm not getting any good results from search engines, do you have any documentation about it? Quote Link to comment Share on other sites More sharing options...
Josh Posted April 30, 2015 Share Posted April 30, 2015 There is no documentation of this file format. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.