When I load a texture is it stored in vram?
I want to have my textures stored in vram since access is faster than directly using RAM, for example, if I have a model with 8 or 4 textures in it, I think they are already stored in vram in this way (not sure), however I look to replace them with other textures already loaded in vram, say, several times per second.
This is not a performance issue if they are on vram, but if not, it can be a bottleneck.
I read that cuteAlien recently mentioned something about it, but I'm not sure (to avoid my own misinterpretations)
texture in vram?
texture in vram?
Last edited by Noiecity on Fri Mar 27, 2026 11:01 pm, edited 2 times in total.
Irrlicht is love, Irrlicht is life, long live to Irrlicht
Re: texture in vram?
Yes, with hardware drivers texture are on the GPU. With older Irrlicht versions (before svn trunk changed it) there can be an additional copy on CPU (only with OpenGL), thought that's only useful if you need to change the texture itself (fonts use this as they modify textures a lot). But usually you can assume it's all already in the VRAM.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: texture in vram?
Great, thanks mr cuteAlienCuteAlien wrote: Fri Mar 27, 2026 10:54 pm Yes, with hardware drivers texture are on the GPU. With older Irrlicht versions (before svn trunk changed it) there can be an additional copy on CPU (only with OpenGL), thought that's only useful if you need to change the texture itself (fonts use this as they modify textures a lot). But usually you can assume it's all already in the VRAM.
Irrlicht is love, Irrlicht is life, long live to Irrlicht