SoOffscreenRenderAreaSetClearPolicy Method |
Defines the color buffer and depth buffer clear policy.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public 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)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