Click or drag to resize
SoDepthBufferElementSet Method (SoState, Boolean, Boolean, SoDepthBufferElementDepthWriteFunctions, SbVec2f)

Sets the depth buffer parameters.

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public static void Set(
	SoState state,
	bool test,
	bool write,
	SoDepthBufferElementDepthWriteFunctions function,
	SbVec2f range
)

Parameters

state
Type: OIV.Inventor.MiscSoState
test
Type: SystemBoolean
write
Type: SystemBoolean
function
Type: OIV.Inventor.ElementsSoDepthBufferElementDepthWriteFunctions
range
Type: OIV.InventorSbVec2f
Remarks

This method will (indirectly) call glDepthMask, glDepthFunc, glDepthRange with the new values

See Also