|
|
|
|
SetActiveBuffer
Makes a buffer the active buffer for all rendering functions
Declaration
N_int32 GA_bufferFuncs::SetActiveBuffer(
GA_buf *buf)
Prototype In
snap/graphics.h
Parameters
buf |
SNAP buffer to make active for rendering |
Return Value
True on success, false on failure.
Description
This function makes the passed in buffer the active buffer for all subsequent rendering operations. You must call this function in order to enable hardware rendering to the buffer. Once this function is called, all hardware rendering functions in the GA_2DRenderFuncs structure will go to the newly active buffer.
SEE ALSO FlipToBuffer, GetPrimaryBuffer, GetFlipBuffer, AllocBuffer
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com