Click or drag to resize
SoOffscreenRenderAreaSetTransparencyType Method

Defines the algorithm for rendering transparent objects.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual void SetTransparencyType(
	SoGLRenderActionTransparencyTypes type
)

Parameters

type
Type: OIV.Inventor.ActionsSoGLRenderActionTransparencyTypes

Implements

SiRenderAreaTransparencySetTransparencyType(SoGLRenderActionTransparencyTypes)
Remarks

Default is NO_SORT. See OIV.Inventor.Actions.SoGLRenderAction for possible transparency types. See also OIV.Inventor.Actions.SoGLRenderAction.TransparencyTypes.

Note: When using OPAQUE_FIRST, SORTED_OBJECT or SORTED_PIXEL transparency, the depth buffer is not updated (depth buffer writes are disabled) while rendering transparent objects. As a result complex 3D shapes may not be rendered correctly.

See Also