While running a test level with the stats screen (fps, memory usage etc.) I noticed that a bmap only uses memory the moment it turn visible on the screen. The way I had it, is that all the bmaps are loaded into memory at startup. Is this memory-counter I see video memory, and does the engine move the bmap from sys memory to video memory when its .visible flag is set to on, or what?
Thanx
cap
Re: BMAPs and memory
[Re: capanno]
#54477 09/08/0520:4409/08/0520:44
Normally, with DirectX (on so 3DGS), each graphic file (like tex, bmap, object) is loaded TWICE : once on the system memory (RAM), and once on the graphic memory.
PS : Maybe the stat you had seen shows DISPLAYED objects only
Hi, ... and does the engine move the bmap from sys memory to video memory when its .visible flag is set to on, or what?...
Bmap (texture) moved to videomem, when it visible in the camera view. And yes, it can be preloaded for no delay, when it visible on screen for first time.