Move E_TEXTURE_TYPE enum from IImage.h to ITexture.h

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5583 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-11-22 17:02:55 +00:00
parent 164aeb5831
commit 42958c233a
3 changed files with 11 additions and 10 deletions

View File

@ -17,16 +17,6 @@ namespace irr
namespace video
{
//! Enumeration describing the type of ITexture.
enum E_TEXTURE_TYPE
{
//! 2D texture.
ETT_2D,
//! Cubemap texture.
ETT_CUBEMAP
};
//! Interface for software image data.
/** Image loaders create these images from files. IVideoDrivers convert
these images into their (hardware) textures.

View File

@ -7,6 +7,7 @@
#include "IReferenceCounted.h"
#include "IImage.h"
#include "ITexture.h"
#include "path.h"
#include "irrArray.h"

View File

@ -105,6 +105,16 @@ enum E_TEXTURE_SOURCE
ETS_FROM_FILE
};
//! Enumeration describing the type of ITexture.
enum E_TEXTURE_TYPE
{
//! 2D texture.
ETT_2D,
//! Cubemap texture.
ETT_CUBEMAP
};
//! Interface of a Video Driver dependent Texture.
/** An ITexture is created by an IVideoDriver by using IVideoDriver::addTexture
or IVideoDriver::getTexture. After that, the texture may only be used by this