Click or drag to resize
SoGLDisplayListCall Method (SoState, Int32)

For DISPLAY_LIST objects, invokes the display list (calls glCallList).

Namespace: OIV.Inventor.OglObjects
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public void Call(
	SoState state,
	int index
)

Parameters

state
Type: OIV.Inventor.MiscSoState
index
Type: SystemInt32
Remarks

For other object types, calls the appropriate glBind or glUse function.

This automatically adds a dependency (calls addDependency()) if there is another display list open in the state. You can also use the get() methods below and make the OpenGL calls yourself, in which case you should call the addDependency() method directly to do the correct reference counting.

See Also