SetTextureMapping Advanced function
Turns the OpenGL texture mapping on or off. On by default. This doesn't affect OpenLayer's functions, but if you use OpenGL directly you might wish to choose if the texture mapping is turned on or not. You should use this function instead of glEnable( GL_TEXTURE_2D ) or glDisable( GL_TEXTURE_2D ) because it lets OpenLayer to know that the texture mapping preferences have changed. Otherwise either OpenLayer or your own OpenGL code may not function properly. Examples Other functions of the class Settings
Questions about SetTextureMapping? Click here. |