render and display any graphics. */\r
EDT_NULL,\r
\r
- //! The Irrlicht Engine Software renderer.\r
- /** Runs on all platforms, with every hardware. It should only\r
- be used for 2d graphics, but it can also perform some primitive\r
- 3d functions. These 3d drawing functions are quite fast, but\r
- very inaccurate, and don't even support clipping in 3D mode. */\r
- EDT_SOFTWARE,\r
-\r
- //! The Burning's Software Renderer, an alternative software renderer\r
- /** Basically it can be described as the Irrlicht Software\r
- renderer on steroids. It rasterizes 3D geometry perfectly: It\r
- is able to perform correct 3d clipping, perspective correct\r
- texture mapping, perspective correct color mapping, and renders\r
- sub pixel correct, sub texel correct primitives. In addition,\r
- it does bilinear texel filtering and supports more materials\r
- than the EDT_SOFTWARE driver. This renderer has been written\r
- entirely by Thomas Alten, thanks a lot for this huge\r
- contribution. */\r
- EDT_BURNINGSVIDEO,\r
-\r
- //! Direct3D8 device is longer supported in Irrlicht. You have to go back to Irrlicht 1.8 if you still need that.\r
- DEPRECATED_EDT_DIRECT3D8_NO_LONGER_EXISTS, // keep enum to avoid breaking enumeration order (might be used in ini-files, serialization, etc)\r
-\r
- //! Direct3D 9 device, only available on Win32 platforms.\r
- /** Performs hardware accelerated rendering of 3D and 2D\r
- primitives. */\r
- EDT_DIRECT3D9,\r
-\r
//! OpenGL device, available on most platforms.\r
/** Performs hardware accelerated rendering of 3D and 2D\r
primitives. */\r
EDT_OPENGL,\r
\r
- //! OpenGL-ES 1.x driver, for embedded and mobile systems\r
+ //! OpenGL-ES 1.x driver, for embedded and mobile systems\r
EDT_OGLES1,\r
\r
//! OpenGL-ES 2.x driver, for embedded and mobile systems\r
EDT_COUNT\r
};\r
\r
- const c8* const DRIVER_TYPE_NAMES[] =\r
- {\r
- "NullDriver",\r
- "Software Renderer",\r
- "Burning's Video",\r
- "Direct3D 8.1",\r
- "Direct3D 9.0c",\r
- "OpenGL 1.x/2.x/3.x",\r
- "OpenGL ES1",\r
- "OpenGL ES2",\r
- "WebGL 1",\r
- 0\r
- };\r
-\r
- const c8* const DRIVER_TYPE_NAMES_SHORT[] =\r
- {\r
- "null",\r
- "software",\r
- "burning",\r
- "d3d8",\r
- "d3d9",\r
- "opengl",\r
- "ogles1",\r
- "ogles2",\r
- "webgl1",\r
- 0\r
- };\r
-\r
} // end namespace video\r
} // end namespace irr\r
\r
//! Constructs a SIrrlichtCreationParameters structure with default values.\r
SIrrlichtCreationParameters() :\r
DeviceType(EIDT_BEST),\r
- DriverType(video::EDT_BURNINGSVIDEO),\r
+ DriverType(video::EDT_OPENGL),\r
WindowSize(core::dimension2d<u32>(800, 600)),\r
WindowPosition(core::position2di(-1,-1)),\r
Bits(32),\r
device could not be created.\r
*/\r
extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDevice(\r
- video::E_DRIVER_TYPE driverType = video::EDT_SOFTWARE,\r
+ video::E_DRIVER_TYPE driverType = video::EDT_OPENGL,\r
// parentheses are necessary for some compilers\r
const core::dimension2d<u32>& windowSize = (core::dimension2d<u32>(640,480)),\r
u32 bits = 32,\r