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.1.2.0 (2024.1.2)
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