Click or drag to resize
SoBaseStereoCanClearBeforeRender Method

Queries ability to clear before rendering.

Namespace: OIV.Inventor.Components.Stereo
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public bool CanClearBeforeRender()

Return Value

Type: Boolean
Remarks

This allows a subclass to forbid the color buffer from being cleared before any rendering. Typically, this takes place after rendering the first view. Then, if OIV.Inventor.Components.Stereo.SoBaseStereo.CanClearBeforeRender() returns false, the color buffer can keep previous modifications, such as for the stencil buffer, etc.

See Also