Set the clear mask for the render node
<node3d:renderNode>.setClearMask( | |
mask | |
mode = viz.MASK_SET | |
) |
Clear masks | |
viz.GL_COLOR_BUFFER_BIT | The color buffer |
viz.GL_DEPTH_BUFFER_BIT | The depth buffer |
viz.GL_STENCIL_BUFFER_BIT | The stencil buffer |
Mask modes | |
viz.MASK_SET | Set the mask to the new value. |
viz.MASK_ADD | Add the value to the existing mask. |
viz.MASK_REMOVE | Remove the value from the existing mask. |
viz.MASK_TOGGLE | Toggle the value with the existing mask. |