| SoOffscreenRenderAreaSetClearPolicy Method  | 
Defines the color buffer and depth buffer clear policy. 
 
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.2.0.0 (10.18.0.0)
Syntaxpublic virtual void SetClearPolicy(
	SiRenderAreaClearPolicies policy
)
Public Overridable Sub SetClearPolicy ( 
	policy As SiRenderAreaClearPolicies
)
public:
virtual void SetClearPolicy(
	SiRenderAreaClearPolicies policy
)
abstract SetClearPolicy : 
        policy : SiRenderAreaClearPolicies -> unit 
override SetClearPolicy : 
        policy : SiRenderAreaClearPolicies -> unit Parameters
- policy
 - Type: OIV.Inventor.ViewerComponentsSiRenderAreaClearPolicies
color buffer and depth buffer clear policy. 
 
Implements
SiRenderAreaSetClearPolicy(SiRenderAreaClearPolicies)
RemarksDefault 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