Click or drag to resize
SoGLDisplayList Class

Note: This API is now obsolete.

OpenGL display list management class.

Inheritance Hierarchy

Namespace: OIV.Inventor.OglObjects
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public class SoGLDisplayList : SoBaseContextObject

The SoGLDisplayList type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddDependency

Adds a dependency on this object if there is another display list open in the state.

Public methodCall(SoState)
Calls Call(state, System.Int32(0)).
Public methodCall(SoState, Int32)

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

Public methodClose

For DISPLAY_LIST objects, closes the display list (calls glEndList).

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCompileAndExecute

Returns true if current display list mode is GL_COMPILE_AND_EXECUTE.

Public methodGetContextSharedGroup

Returns the OpenGL context in which the OpenGL objects were created.

(Inherited from SoBaseContextObject.)
Public methodGetFirstIndex

Returns id of first OpenGL object owned by this instance.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumAllocated

Returns number of OpenGL objects owned by this instance.

Public methodGetParentRenderCache

Returns the parent render cache (initially NULL).

Public methodGetType

Returns the object type (display list, texture, etc)

Public methodOpen(SoState)
Calls Open(state, System.Int32(0)).
Public methodOpen(SoState, Int32)

For DISPLAY_LIST objects, creates a new OpenGL display list (calls glNewList).

Public methodRelease

This function is called by the attached context when it has been requested to delete the context through the SoDeviceContext.dispose() method.

(Inherited from SoBaseContextObject.)
Public methodSetCompileAndExecute

Sets whether to use GL_COMPILE or GL_COMPILE_AND_EXECUTE mode for display lists.

Public methodSetParentRenderCache

Sets the parent render cache.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

A helper class used to store OpenGL display-list-like objects. Currently, it can store either texture objects (which must be treated like display lists; texture objects bound inside a display list must be reference counted, etc) and display lists.

<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.Obsoletesince Open Inventor 9610 No longer supported, will be removed in next major release

See Also