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 to clear 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

Clear the color buffer.

Color

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

The color to use.

Alpha

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

The alpha value to use when clearing the color buffer.

Depth

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

Depth value to use when clearing the depth buffer.

Clear Depth

name: clearDepth, type: Bool, default: FALSE

Clear the depth buffer.

Clear Stencil

name: clearStencil, type: Bool, default: FALSE

Clear the stencil buffer.