Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swapinterva(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

swapinterval()  —  Silicon Graphics

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 defines a minimum time between buffer swaps.  For example, a swap interval of 5 refreshes the screen at least five times between execution of successive swapbuffers.  swapinterval changes 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 IRIS Graphics Programming, Section 6.1, Display Modes

NOTE

This routine is available only in immediate mode. 

Version 2.5  —  April 22, 1987

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