Irrlicht Caching question.

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
DarkDepths
Posts: 126
Joined: Sun Apr 02, 2006 1:21 am
Location: Canada

Irrlicht Caching question.

Post by DarkDepths »

Hi, just a quick question that I can't seem to find any documentation on.

It is my understanding that when loading a Mesh with the SceneManagers "getMesh" function, Irrlicht first checks to see if the specified Mesh has already been loaded, and if it has, simply uses that copy. Correct me if I'm wrong, please.

My real question, though, is does IVideoDriver do this for Textures as well? If I call getTexture("myTexture.jpg"); twice, will it load the Texture twice, or does Irrlicht cache the first copy?

Thanks!
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: Irrlicht Caching question.

Post by serengeor »

Yes there is a texture cache also afaik.
Working on game: Marrbles (Currently stopped).
Post Reply