SoClearBuffers

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoUtils
definition utils.def
see also SoBackground
keywords background, single, color, depth, stencil

Purpose

The module SoClearBuffers allows for clearing the GL frame buffer.

Parameter Fields

Field Index

Alpha: Float
Clear Color: Bool
Clear Depth: Bool
Clear Stencil: Bool
Color: Color
Depth: Double

Visible Fields

Clear Color

name: clearColor, type: Bool, default: TRUE

If checked, the color buffer is cleared.

Color

name: color, type: Color, default: 0 0 0

Sets the color to use.

Alpha

name: alpha, type: Float, default: 1, minimum: 0, maximum: 1

Sets the alpha value to use when clearing the color buffer.

Depth

name: depth, type: Double, default: 1, minimum: 0, maximum: 1

Sets the depth value to use when clearing the depth buffer.

Clear Depth

name: clearDepth, type: Bool, default: FALSE

If checked, the depth buffer is cleared.

Clear Stencil

name: clearStencil, type: Bool, default: FALSE

If checked, the stencil buffer is cleared.