1 #ifndef _TEXTURE_H 2 #define _TEXTURE_H 3 4 #include "base.h" 5 6 namespace DisplayOutput 7 { 8 9 /** 10 CTexture. 11 12 */ 13 class CTexture 14 { 15 protected: 16 uint32 m_Flags; 17 18 public: 19 CTexture( const uint32 _flags = 0 ); 20 virtual ~CTexture(); 21 22 virtual bool Bind( const uint32 _index ) = PureVirtual; 23 virtual bool Unbind( const uint32 _index ) = PureVirtual; 24 Dirty(void)25 virtual bool Dirty( void ) { return false; }; 26 }; 27 28 MakeSmartPointers( CTexture ); 29 30 } 31 32 #endif 33