pointer returned by glMapBuffer -> RAM or VRAM ?
Hello everyone, and thanks for your valuable time :)
I have a question about glMapBuffer. This function return a pointer, but I would like to know if this points to a RAM-copied-version of the buffer, or directly to the VRAM buffer ?
Indeed, a pointer on RAM which points to a VRAM buffer sounds weird...(to me ^^).
I actually think that the buffer is copied from VRAM to RAM, then the function return the pointer to that copied-buffer, so that we can use other functions such as memcpy etc...
Am I right ?
Thanks for any help :)