Hi
Is there any limit to the total number of textures that can be created?????I mean is GPU memory the only limiting factor when it comes to total number of textures created.
How can i find the limit??
Thanks
The limit is typically so far out there it's not worth really worrying about. If you're using managed textures for example and the card runs out of space it will start sticking them into system memory. If you run out of system memory it will start sticking them on a hard drive assuming it didn't throw some error by that time.
The other limit I guess would be related to the pointers or memory addressing. So probably 4GB of total textures or as many pointers you can make out of a 32bit number.
Not 100% positive on those figures but gives you a rough idea what the limits would be. A GPGPU guy that actually tried addressing it all might be able to give you a more exact figure.
Anarchist4000's got it - you're constrained by resource availability rather than any specified maximum. Realistically speaking you'd hit performance problems LONG before you hit resource limitations - the thrashing involved in paging managed textures would be nasty and the pipeline reconfiguration for lots of small textures would introduce a lot of overhead.
You could always experiment of course Try creating a bunch of 4096x4096 FP32 textures in the MANAGED pool and see what happens... My main GPU at home can only handle 2 of those textures in VRAM and the top end Gf8800's can only accomodate 3
At the other end of the spectrum, you should be able to create a 1 second animation at 25hz on a 1600x1200 display with single-pixel textures for a mere 183mb and 48 million textures