2020-01-03 20:05:16 +01:00
|
|
|
// Copyright (C) 2002-2012 Nikolaus Gebhardt
|
|
|
|
// This file is part of the "Irrlicht Engine".
|
|
|
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
|
|
|
|
|
|
|
#ifndef __E_DRIVER_TYPES_H_INCLUDED__
|
|
|
|
#define __E_DRIVER_TYPES_H_INCLUDED__
|
|
|
|
|
|
|
|
#include "irrTypes.h"
|
|
|
|
|
|
|
|
namespace irr
|
|
|
|
{
|
|
|
|
namespace video
|
|
|
|
{
|
|
|
|
|
|
|
|
//! An enum for all types of drivers the Irrlicht Engine supports.
|
|
|
|
enum E_DRIVER_TYPE
|
|
|
|
{
|
|
|
|
//! Null driver, useful for applications to run the engine without visualization.
|
|
|
|
/** The null device is able to load textures, but does not
|
|
|
|
render and display any graphics. */
|
|
|
|
EDT_NULL,
|
|
|
|
|
|
|
|
//! OpenGL device, available on most platforms.
|
|
|
|
/** Performs hardware accelerated rendering of 3D and 2D
|
|
|
|
primitives. */
|
|
|
|
EDT_OPENGL,
|
|
|
|
|
2023-03-01 23:22:04 +01:00
|
|
|
//! OpenGL-ES 1.x driver, for embedded and mobile systems
|
2020-01-03 20:05:16 +01:00
|
|
|
EDT_OGLES1,
|
|
|
|
|
|
|
|
//! OpenGL-ES 2.x driver, for embedded and mobile systems
|
|
|
|
/** Supports shaders etc. */
|
|
|
|
EDT_OGLES2,
|
|
|
|
|
|
|
|
//! WebGL1 friendly subset of OpenGL-ES 2.x driver for Emscripten
|
|
|
|
EDT_WEBGL1,
|
|
|
|
|
2023-03-02 00:42:29 +01:00
|
|
|
EDT_OPENGL3,
|
|
|
|
|
2020-01-03 20:05:16 +01:00
|
|
|
//! No driver, just for counting the elements
|
|
|
|
EDT_COUNT
|
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace video
|
|
|
|
} // end namespace irr
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|