Click or drag to resize
SoOffscreenRenderAreaSetClearPolicy Method

Defines the color buffer and depth buffer clear policy.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual void SetClearPolicy(
	SiRenderAreaClearPolicies policy
)

Parameters

policy
Type: OIV.Inventor.ViewerComponentsSiRenderAreaClearPolicies

color buffer and depth buffer clear policy.

Implements

SiRenderAreaSetClearPolicy(SiRenderAreaClearPolicies)
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