| Home
| Previous
| Next
| Up

GA_softStereoGetFlipStatus

Returns the status of the last scheduled stereo display start change.

Declaration

N_int32 NAPI GA_softStereoGetFlipStatus(void);
STEREO_ENTRY N_int32 NAPI GA_softStereoGetFlipStatus(void)

Prototype In

snap/graphics.h

Return Value

-1 if flipper is not running at all; 0 if flip has not occured; 1 if flip has occured and currently on left eye; 2 if flip has occured and currently on right eye.

Description

This function returns the status of the last scheduled software stereo display start change. This bit is sticky and is set to 0 when the GA_softStereoScheduleFlip function is called, and reset to 1 when the flip actually occurs.

This function also serves to inform the calling application whether the flipper is already running or not. This will help insure that the flipper will only be used one instance at a time.

See Also

GA_softStereoScheduleFlip, GA_softStereoWaitTillFlipped

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