Supported Browsers Home   
MGL_setBlendFunc Previous   
MGL_setBufSize Next   
External Functions Up   

MGL_setBlueCodeIndex

Sets the color index used for the blue code stereo sync mechanism

Declaration

void MGLAPI MGL_setBlueCodeIndex(
    int index)

Prototype In

mgraph.h

Description

This function sets the color index used in the blue code stereo sync mechanism. The blue code system as pioneered by StereoGraphics, requires the MGL to draw pure blue sync lines at the bottom of the screen of differing lengths to signal to the LC glasses which is the left and right eye images. In order to do this in 8bpp color index modes, the MGL must take up a single palette entry for drawing the blue codes, which by default is set to index 255. You can use this function to set the blue code index to another value other than 255 to suit your applications palette arrangement.

Note:    You must call this function before you create a stereo display device context if you wish to change the blue code index.

See Also

MGL_startStereo, MGL_stopStereo, MGL_createStereoDisplayDC, MGL_setStereoSyncType

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