IrrStartEx

section index

## NAME

IrrStartEx - Start the Irrlicht-Engine

## SYNOPSIS

IrrStartEx(Irr_Device_Type.l, Width.l, Height.l, Fullscreen.l, Shadows.l, CaptureEvents.l, Bits.l, AntiAlias.l, useFPU.l, VSync.l, WindowID.l);

## FUNCTION

Starts the Irrlicht Interface And opens a window For rendering. This is an extended Version of the IrrStart(). You have here mor control about using depth, antialias (only DX9) and so on. Also yo will be able to use a exsiting created Window as Output for the Engine. (Gadgets are also possible outputs. See example 24_EmmebedIrrlicht.

## INPUTS

Irr_Device_Type.l | - | Type of the Device . See below the possible Values.
Width.l | - | specifies the width of the viewport in pixels
Height.l | - | specifies the height of the viewport in pixels
Fullscreen.l | - | specifies whether the display is to opened in full screen mode (#True) Or in a window (#False)
Shadows.l | - | Use shadows (#True) starts the engine in a mode that supports the rendering of stencil shadows.
CaptureEvents.l | - | specifies whether you want To capture keyboard,mouse and gui events, If you choose To ignore them they will be handled by Irrlicht For FPS camera control. This parameter should be either of: #True or #False
Bits.l | - | Bits per pixel in fullscreen mode. Ignored if windowed mode. Default: 16.
AntiAlias.l | - | Specifies if the device should use fullscreen anti aliasing
HighPrecisionFPU.l | - | Specifies if the device should use high precision FPU setting.
Vsync.l | - | Specifies vertical syncronisation.
WindowId.l | - | WindowID

## RESULT

Returns #True if the start was Successfull.

## EXAMPLE

             If IrrStartEx( #IRR_EDT_OPENGL, screen_width, screen_height, #True, #True, #False ) = #True
               ....
               IrrStop()
             EndIf

## NOTES

Possible Device-Types : * #IRR_EDT_NULL A NULL device With no display * #IRR_EDT_SOFTWARE Irrlichts Default software renderer * #IRR_EDT_SOFTWARE2 An improved quality software renderer * #IRR_EDT_OPENGL Hardware accelerated OpenGL renderer * #IRR_EDT_DIRECT3D8 Hardware accelerated DirectX 8 renderer (Binding not included in IrrlichtWrappers irrlicht.dll) * #IRR_EDT_DIRECT3D9 Hardware accelerated DirectX 9 renderer