UpdateCache

Updates the system cache from the video memory buffer contents

Declaration

void GA_bufferFuncs::UpdateCache(
    GA_buf *buf)

Prototype In

snap/graphics.h

Parameters

buf

SNAP 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

UpdateFromCache, BitBltBuf

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com