|
|
|
|
MGL_updateBufferCache
Updates the system cache from the video memory buffer contents
Declaration
void MGLAPI MGL_updateBufferCache(
MGLBUF *buf)
Prototype In
mgraph.h
Parameters
buf |
MGL buffer to copy into system memory cache |
Description
This function is used to update the system memory buffer cache by copying the contents of the video memory buffer into the system memory cache. This is mostly useful if you are using cached buffers with a system memory shadow, and you have updated the video memory buffer and need to flush the changes to the system memory cache. This operation is not particularly fast (video memory reads are always slow), but if you need to keep the system memory cache up to date this is the way to do it.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com