#K$ SPO_SetEngineDisplayModeFlag

Syntax 
SPO_SetEngineDisplayModeFlag(FlagIndex, OperationType)
Description
Change a flag in engine display mode mask
Index of flag (between 0 and 31, see notes)
OperationType indicate different operation on the flag. OperationType possible values are
	0 : set bit to zero
	1 : set bit to one
	2 : invert bit
Notes
Here are the different meaning of each bit of DisplayMode mask:

Bit	Meaning of bit when it’s value is 1	Bit	Meaning of bit when it’s value is 1	
0	IsTextured	16	IsUseShadow	
1	IsGouraud	17	CameraIsUnderWater	
2 	IsNotWired	18	NotForceZSorting	
3	IsNotGrided	19	NotInvertBackfaces	
4	IsNotDoted	20	NotHideWhatIsUnderWater	
5	IsNotOutlined	21	DrawNothing	
6 	IsNotDrawCollideInformation	22	IsNotChromed	
7 	IsNotDrawCollideInformationLight 	23	IsNotVisibleInRealWorld	
8	IsNotForceDefaultMaterial 	24	IsNotVisibleInSymetricWorld	
9	IsNotForceColorMaterial 	25	IsNotDrawingInMirror	
10	IsTestingBackface	26	IsNotLightAlphaSensitive	
11	IsNotDrawingSuperObjectBoundingVolume	27	IsWriteZBuffer	
12	IsUseRLI	28	IsNot2	
13	IsNotComputeSpecular	29	IsNot3	
14	IsNotMakeWaterEffect	30	IsEnableZSorting	
15	IsUseStaticLights	31	HasNotSinusEffect	

Samples
If you want all the world to be affected by a sinus transformation use
SPO_SetEngineDisplayModeFlag(31, 0 )

See also
SPO_GetDrawFlag, SPO_SetDrawFlag