Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

C++ Texture::Load (2 add optional parameters)

Recommended Posts

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)

Link to post

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?


Link to post

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Facebook Twitter Youtube Github Steam
  • Create New...