Click or drag to resize
SoGLDisplayList Constructor (SoState, SoGLDisplayListTypes, Int32)

Constructor.

Namespace: OIV.Inventor.OglObjects
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoGLDisplayList(
	SoState state,
	SoGLDisplayListTypes type,
	int numToAllocate
)

Parameters

state
Type: OIV.Inventor.MiscSoState
type
Type: OIV.Inventor.OglObjectsSoGLDisplayListTypes
numToAllocate
Type: SystemInt32
Remarks

Takes state, type, and number of OpenGL objects to create.

numToAllocate > 1 is currently only meaningful for display lists.

Calls the appropriate glGen or glCreate function to create empty objects/display lists. If a texture object is requested and texture objects are not supported, the type will revert to DISPLAY_LIST.

See Also