View Full Version : vram

01-27-2005, 09:27 AM
what is the vram and how can i use it??

01-27-2005, 12:32 PM
The vram is the video ram. It's the memory on your video board.

You use it each time you upload a texture, or a vertex array.
When you render a scene it's rendered into a frame buffer that's stored in vram.

a function like glReadPixels will read a bunch of data from the frame buffer on your vram and place it into a memory array designated by a pointer (the last parameter).

If you've ever programmed anything in OpenGL, chances are you've already used it :p

01-27-2005, 03:00 PM
i tought it was the video ram, but i read an info by farb-braush that said something like : yes we read a lot from the vram, so i tought it was something more complex, thanks!

01-28-2005, 10:29 AM
Can't be sure 'cause I'm out of context but maybe he was reffering to glReadPixels or some shaders?

01-28-2005, 05:51 PM
mm i really dont know, ill try to look for the nfo file and post the url

01-28-2005, 05:55 PM
can someone put an glReadPixels(); example or point me to a webpage with some examples on it, thanks!.

01-29-2005, 06:14 AM
try to the OpenGL RedBook in the section "Read, Draw and Copy Pixels" or something like that
You can check it out on this website because a version of the Redbook is online

hope that helps