1
Graphics / Loading textures take an unreasonable amount of VRAM
« on: March 06, 2020, 02:54:15 am »
Hi
I am working with Windows 10, Visual Studio 2019, SFML 2.5.1 32bit and using GPU-Z to analyze the VRAM usage.
I am loading some sprites and spritesheets using sf::Texture::loadFromFile and while some of the smaller files <1MB don't raise the VRAM usage too much, I tried loading 3 textures which produced a very high VRAM increase.
All are in PNG format.
1. 5MB texture raised the VRAM usage by 100+MB.
2. 3.3MB texture raised the VRAM usage by 450+MB.
2. 11.8MB texture raised the VRAM usage by about 600MB.
I would not be surprised by a bit of overhead but I am really confused by this.
Thank you
I am working with Windows 10, Visual Studio 2019, SFML 2.5.1 32bit and using GPU-Z to analyze the VRAM usage.
I am loading some sprites and spritesheets using sf::Texture::loadFromFile and while some of the smaller files <1MB don't raise the VRAM usage too much, I tried loading 3 textures which produced a very high VRAM increase.
All are in PNG format.
1. 5MB texture raised the VRAM usage by 100+MB.
2. 3.3MB texture raised the VRAM usage by 450+MB.
2. 11.8MB texture raised the VRAM usage by about 600MB.
I would not be surprised by a bit of overhead but I am really confused by this.
Thank you