TVEngine.Init3DWindowedMode(FormHandle As Long, EnableHardwareT&L As Boolean)

Arguments :

1. FormHandle- Handle (hWnd) of the window to render in (main viewport handle).

2. EnableHardwareT&L (Optional, value = True)- Decides if the engine must use the Hardware T&L (transform & lighting) if available. logically should be always True to allow the engine to run at full speed.

Returns :

1. Boolean- Returns True if the engine has been correctly initialized, False if there was a problem, check the debug file in this case.

Code Sample :

Initialize the engine.

This works in Visual Basic

TV.Init3DWindowedMode Form1.hWnd, True

tvengine/init3dwindowedmode.txt · Last modified: 2013/11/22 13:31