UpdateFromCache
Updates the video memory buffer contents from system memory cache
Declaration
void GA_bufferFuncs::UpdateFromCache(
GA_buf *buf)
Prototype In
snap/graphics.h
Parameters
buf |
SNAP buffer to copy from system memory cache |
Description
This function updates the video memory buffer by copying the contents of the system memory cache buffer into the video memory buffer. This is useful if you need to replace the buffer contents with new values, or you need to do software rendering on the buffer. Doing the rendering on the system memory buffer will be faster, and when you are done this function can be used to update the video memory copy of the buffer. Unless you need to specifically do some drawing in hardware, updating the system memory cache and using this function will be faster than updating video memory and using UpdateCache.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com