Set the clear mask for the subwindow
| <window>.setClearMask( | |
| mask |
)
mask
A combination of the following bit flags:
|
Clear masks |
|
|
viz.GL_COLOR_BUFFER_BIT |
The color buffer is cleared |
|
viz.GL_DEPTH_BUFFER_BIT |
The depth buffer is cleared |
|
viz.GL_STENCIL_BUFFER_BIT |
The stencil buffer is cleared |
The clear mask controls which OpenGL bits are cleared before the subwindow begins rendering.
The default value is (viz.GL_COLOR_BUFFER_BIT | viz.GL_DEPTH_BUFFER_BIT)
NOTE: You can specify the default value using the 'viz.clearMask' option in the vizcore.cfg file.
None