<viz>.disable

This command will disable a given GL mode

 

<viz>.disable(
    mode    # OpenGL state

)

 

mode

The GL mode to disable.


Remarks

This command is a wrapper for the OpenGL glDisable() API command. This command is most useful to programmers who are already familiar with OpenGL and need to achieve special results. The GL state disabled by this command will be set globally.

The value for mode must be equal to the values found in the 'gl.h' header file.

Return Value

None

Example

viz.disable(viz.LIGHTING)
viz.disable(viz.CULL_FACE)

See also

<viz>.enable