Load Texture and sound files in background thread

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
vroad
Posts: 18
Joined: Sun Jan 03, 2010 1:30 pm

Load Texture and sound files in background thread

Post by vroad »

I have been creating game which uses a lot of textures(and sounds) using Irrlicht and Irrklang.
So frequently loaded and removed textures.
To avoid stopping main game loop, I want to load textures and sounds in background.
But Irrlicht doesn't have thread function...
How to solve this problem?
hbraun
Posts: 28
Joined: Tue Dec 16, 2008 7:33 pm
Location: Porto Alegre, Brazil
Contact:

Post by hbraun »

Cant you create any thread using any lib?
I believe irrklang uses another thread while running...doesnt it?
If you are using windows, you can just use process.h for thread procedures.
Post Reply