Pixel Limit?

Blitz3D Forums/Blitz3D Beginners Area/Pixel Limit?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Just use your AvailVidMem() and TotalVidMem() to get an idea of how much space you have left. They keep track of, well, your video memory, which includes pictures, textures, fonts, and such. (The functions return in bytes.)

A warning though: This only represents your computer, of course. I've found it helpful to target for 4,000,000 bytes as an "adverage" measurement. Or, you can just set them up as (AvailVidMem()/TotalVidMem()) to get a percentage.