Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members

irrlicht.h File Reference

Main header file of the irrlicht, the only file needed to include. More...

#include "IrrCompileConfig.h"
#include "aabbox3d.h"
#include "coreutil.h"
#include "irrArray.h"
#include "irrMap.h"
#include "irrMath.h"
#include "irrString.h"
#include "irrTypes.h"
#include "SColor.h"
#include "SLight.h"
#include "dimension2d.h"
#include "EDriverTypes.h"
#include "IAttributes.h"
#include "IAttributeExchangingObject.h"
#include "IAnimatedMesh.h"
#include "IAnimatedMeshMD2.h"
#include "IAnimatedMeshMD3.h"
#include "IQ3LevelMesh.h"
#include "IAnimatedMeshSceneNode.h"
#include "IBillboardSceneNode.h"
#include "IBoneSceneNode.h"
#include "ICameraSceneNode.h"
#include "IDummyTransformationSceneNode.h"
#include "IEventReceiver.h"
#include "IFileList.h"
#include "IFileSystem.h"
#include "IGPUProgrammingServices.h"
#include "IGUIButton.h"
#include "IGUICheckBox.h"
#include "IGUIColorSelectDialog.h"
#include "IGUIComboBox.h"
#include "IGUIContextMenu.h"
#include "IGUIEditBox.h"
#include "IGUIElement.h"
#include "IGUIElementFactory.h"
#include "IGUIEnvironment.h"
#include "IGUIFileOpenDialog.h"
#include "IGUIFont.h"
#include "IGUIFontBitmap.h"
#include "IGUIImage.h"
#include "IGUIInOutFader.h"
#include "IGUIListBox.h"
#include "IGUIMeshViewer.h"
#include "IGUIScrollBar.h"
#include "IGUISkin.h"
#include "IGUISpinBox.h"
#include "IGUISpriteBank.h"
#include "IGUIStaticText.h"
#include "IGUITabControl.h"
#include "IGUIToolbar.h"
#include "IGUIWindow.h"
#include "IImage.h"
#include "ILightSceneNode.h"
#include "ILogger.h"
#include "IMaterialRenderer.h"
#include "IMaterialRendererServices.h"
#include "IMesh.h"
#include "IMeshBuffer.h"
#include "IMeshCache.h"
#include "IMeshSceneNode.h"
#include "IMeshManipulator.h"
#include "IMeshWriter.h"
#include "IMetaTriangleSelector.h"
#include "IReadFile.h"
#include "IrrlichtDevice.h"
#include "ISceneManager.h"
#include "ISceneNode.h"
#include "ISceneUserDataSerializer.h"
#include "ITriangleSelector.h"
#include "ISceneNodeAnimator.h"
#include "ISceneCollisionManager.h"
#include "ISceneNodeFactory.h"
#include "ISceneNodeAnimatorFactory.h"
#include "ISceneNodeAnimatorCollisionResponse.h"
#include "IShaderConstantSetCallBack.h"
#include "IParticleSystemSceneNode.h"

Go to the source code of this file.

Namespaces

namespace  irr
namespace  irr::core
namespace  irr::gui
namespace  irr::io
namespace  irr::scene
namespace  irr::video

Functions

IRRLICHT_API IrrlichtDevice
*IRRCALLCONV 
createDevice (video::E_DRIVER_TYPE deviceType=video::EDT_SOFTWARE, const core::dimension2d< s32 > &windowSize=(core::dimension2d< s32 >(640, 480)), u32 bits=16, bool fullscreen=false, bool stencilbuffer=false, bool vsync=false, IEventReceiver *receiver=0, const c8 *sdk_version_do_not_use=IRRLICHT_SDK_VERSION)
 Creates an Irrlicht device. The Irrlicht device is the root object for using the engine.
IRRLICHT_API IrrlichtDevice
*IRRCALLCONV 
createDeviceEx (const SIrrlichtCreationParameters &parameters)
 Creates an Irrlicht device with the option to specify advanced parameters.


Detailed Description

Main header file of the irrlicht, the only file needed to include.

Definition in file irrlicht.h.


Function Documentation

IRRLICHT_API IrrlichtDevice* IRRCALLCONV irr::createDevice video::E_DRIVER_TYPE  deviceType = video::EDT_SOFTWARE,
const core::dimension2d< s32 > &  windowSize = (core::dimension2d< s32 >(640, 480)),
u32  bits = 16,
bool  fullscreen = false,
bool  stencilbuffer = false,
bool  vsync = false,
IEventReceiver *  receiver = 0,
const c8 sdk_version_do_not_use = IRRLICHT_SDK_VERSION
 

Creates an Irrlicht device. The Irrlicht device is the root object for using the engine.

If you need more parameters to be passed to the creation of the Irrlicht Engine device, use the createDeviceEx() function.

Parameters:
deviceType,: Type of the device. This can currently be video::EDT_NULL, video::EDT_SOFTWARE, video::EDT_BURNINGSVIDEO, video::EDT_DIRECT3D8, video::EDT_DIRECT3D9 and video::EDT_OPENGL.
windowSize,: Size of the window or the video mode in fullscreen mode.
bits,: Bits per pixel in fullscreen mode. Ignored if windowed mode.
fullscreen,: Should be set to true if the device should run in fullscreen. Otherwise the device runs in windowed mode.
stencilbuffer,: Specifies if the stencil buffer should be enabled. Set this to true, if you want the engine be able to draw stencil buffer shadows. Note that not all devices are able to use the stencil buffer. If they don't no shadows will be drawn.
vsync,: Specifies vertical syncronisation: If set to true, the driver will wait for the vertical retrace period, otherwise not.
receiver,: A user created event receiver.
sdk_version_do_not_use,: Don't use or change this parameter. Always set it to IRRLICHT_SDK_VERSION, which is done by default. This is needed for sdk version checks.
Returns:
Returns pointer to the created IrrlichtDevice or null if the device could not be created.

IRRLICHT_API IrrlichtDevice* IRRCALLCONV irr::createDeviceEx const SIrrlichtCreationParameters &  parameters  ) 
 

Creates an Irrlicht device with the option to specify advanced parameters.

Usually you should used createDevice() for creating an Irrlicht Engine device. Use this function only if you wish to specify advanced parameters like a window handle in which the device should be created.

Parameters:
parameters,: Structure containing advanced parameters for the creation of the device. See irr::SIrrlichtCreationParameters for details.
Returns:
Returns pointer to the created IrrlichtDevice or null if the device could not be created.


The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2007 by Nikolaus Gebhardt. Generated on Thu Nov 29 18:19:52 2007 by Doxygen (1.4.2)