SoGLDisplayList Constructor (SoState, SoGLDisplayListTypes, Int32) |
Namespace: OIV.Inventor.OglObjectsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic SoGLDisplayList(
SoState state,
SoGLDisplayListTypes type,
int numToAllocate
)
Public Sub New (
state As SoState,
type As SoGLDisplayListTypes,
numToAllocate As Integer
)
public:
SoGLDisplayList(
SoState^ state,
SoGLDisplayListTypes type,
int numToAllocate
)
new :
state : SoState *
type : SoGLDisplayListTypes *
numToAllocate : int -> SoGLDisplayList
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- type
- Type: OIV.Inventor.OglObjectsSoGLDisplayListTypes
- numToAllocate
- Type: SystemInt32
RemarksTakes 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