Click or drag to resize
SoOffscreenRenderArea.SetClearPolicy Method

Defines the color buffer and depth buffer clear policy.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public virtual void SetClearPolicy(
	SiRenderArea. ClearPolicies policy
)

Parameters

policy
Type: OIV.Inventor.ViewerComponents.SiRenderArea.ClearPolicies

color buffer and depth buffer clear policy.

Implements

SiRenderArea.SetClearPolicy(SiRenderArea.ClearPolicies)
Remarks

Default value is ClearPolicy.COLORBUFFER_AND_DEPTHBUFFER. Effects such as motion blur can be created by disabling clear color buffer or depth buffer. . See also setClearColor and setClearDepth.

See Also