How many bytes of Videomemory does a 800x600x16bit surface need ?
How many bytes of Videomemory does a 800x600x16bit surface need ?
He said bytes, not kilobytesOriginally posted by frenchfry164
simple math
((800*16*600)/8)/1024
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
It depends.How many bytes of Videomemory does a 800x600x16bit surface need ?
Generally, surfaces aren't strictly stored with the given width and height. Often, the dimensions are "pitch" and height. Pitch is often greater than width.
That is, the video card stores the surfaces (textures) internally in the way that fits it (the card) best.