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

Sets the depth buffer parameters.

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

Parameters

state
Type: OIV.Inventor.MiscSoState
depthBuffer
Type: OIV.Inventor.NodesSoDepthBuffer
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