swCreateScene

Creates the scene for a SceneLib window. 

cScene* swCreateScene ( 
cWind* window, // pointer to a SceneLib window
tINT draw_to); // (SL_OPENGL_BUFFER, SL_BITMAP_BUFFER)

Return value: Pointer to an node of the class cScene.

Remarks: Use this function only with the SceneLib window. For Windows applications the scene creation and initialization happens within the seOnCreate window event handler.

The parameter draw_to specifies the rendering buffer for the 3D scene: