writing frontbuffer to backbuffer

Gavin A. Bell gavin at krypton.sgi.com
Fri Dec 15 04:24:55 AEST 1989


tjh at bu-pub.bu.edu writes:
>Is there a way to write directly from the frontbuffer to the backbuffer
>or the zbuffer?  That is without doing a rectread and then a rectwrite.
>-Tim  tjh at bu-pub.bu.edu

Sure, use the rectcopy command.  See the man page for more info, but
you should do something like:

readsource(SRC_FRONT);
backbuffer(TRUE);	/* Use zbuffer(TRUE) if you want to write to z */
rectcopy(args here);

--gavin



More information about the Comp.sys.sgi mailing list