Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swapinterva(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

swapinterval()  —  Silicon Graphics Beta Release

NAME

swapinterval - defines a minimum time between buffer swaps

SPECIFICATION

C
swapinterval(i)
short i;

FORTRAN
subroutine swapin(i)
integer*4 i

Pascal
procedure swapinterval(i: Short);

DESCRIPTION

swapinterval establishes a minimum time between buffer swaps.  If the user specifies a swap interval of 5, for example, the screen will be refreshed at least five times between execution of successive swapbuffers commands.  This command provides a way to change frames at a steady rate if a new image can be created within one swap interval.  The default interval is 1.  swapinterval is valid only in double buffer mode.  It is ignored in single buffer or RGB mode. 

SEE ALSO

doublebuffer, swapbuffers, gsync

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026