source/Irrlicht/COGLES2Texture.cpp
//! constructor for basic setup (only for derived classes)

constructor for basic setup (only for derived classes)
constructor for basic setup ( only for derived classes )
COGLES2Texture::COGLES2Texture( const io::path& name, COGLES2Driver* driver )
			: ITexture( name ), Driver( driver ), Image( 0 ),
			TextureName( 0 ), InternalFormat( GL_RGBA ), PixelFormat( GL_RGBA ),
			PixelType( GL_UNSIGNED_BYTE ),
			HasMipMaps( true ), IsRenderTarget( false ), AutomaticMipmapUpdate( false ),
			ReadOnlyLock( false )
	{
#ifdef _DEBUG
		setDebugName( "COGLES2Texture" );
#endif
	}
COGLES2Texture :: COGLES2Texture ( const io :: path & name , COGLES2Driver * driver ) : ITexture ( name ) , Driver ( driver ) , Image ( 0 ) , TextureName ( 0 ) , InternalFormat ( GL_RGBA ) , PixelFormat ( GL_RGBA ) , PixelType ( GL_UNSIGNED_BYTE ) , HasMipMaps ( true ) , IsRenderTarget ( false ) , AutomaticMipmapUpdate ( false ) , ReadOnlyLock ( false ) { #ifdef _DEBUG setDebugName ( " " ) ; #endif }
constructor for basic setup (only for derived classes)
constructor for basic setup ( only for derived classes )