Archived

This topic is now archived and is closed to further replies.

Craazer

Is it bossibe to load graphics file from custom file whit DX functions?

Recommended Posts

Hiya, Could there be some way to set offset where to start reading and writing when using DX9''s functions? What about CreateTextureFromFileInMemory()? Could I first load my object file in to memory wich has the image (jpg.bmp) and then load it whit that?

Share this post


Link to post
Share on other sites
That''s exactly what that function is for. Particularly useful if you''re using pak files, and want to read/decompress parts of the file into memory and load from there.

I like pie.

Share this post


Link to post
Share on other sites
quote:
Original post by RenderTarget
That''s exactly what that function is for. Particularly useful if you''re using pak files, and want to read/decompress parts of the file into memory and load from there.

I like pie.


Great, thanks!

Share this post


Link to post
Share on other sites