How many bytes of Videomemory does a 800x600x16bit surface need ?
Printable View
How many bytes of Videomemory does a 800x600x16bit surface need ?
simple math
((800*16*600)/8)/1024
He said bytes, not kilobytes :)Quote:
Originally posted by frenchfry164
simple math
((800*16*600)/8)/1024
oops, my bad.
Just omit the "divide by 1024"
It depends.Quote:
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.