00001 /* 00002 00003 ----------------------------------------------------------------------------- 00004 00005 This source file is part of OGRE 00006 00007 (Object-oriented Graphics Rendering Engine) 00008 00009 For the latest info, see http://www.ogre3d.org/ 00010 00011 00012 00013 Copyright © 2000-2002 The OGRE Team 00014 00015 Also see acknowledgements in Readme.html 00016 00017 00018 00019 This program is free software; you can redistribute it and/or modify it under 00020 00021 the terms of the GNU Lesser General Public License as published by the Free Software 00022 00023 Foundation; either version 2 of the License, or (at your option) any later 00024 00025 version. 00026 00027 00028 00029 This program is distributed in the hope that it will be useful, but WITHOUT 00030 00031 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00032 00033 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 00034 00035 00036 00037 You should have received a copy of the GNU Lesser General Public License along with 00038 00039 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 00040 00041 Place - Suite 330, Boston, MA 02111-1307, USA, or go to 00042 00043 http://www.gnu.org/copyleft/lesser.txt. 00044 00045 ----------------------------------------------------------------------------- 00046 00047 */ 00048 00049 #ifndef _DDSCodec_H__ 00050 00051 #define _DDSCodec_H__ 00052 00053 00054 00055 #include "OgreILImageCodec.h" 00056 00057 00058 00059 namespace Ogre 00060 00061 { 00062 00067 class _OgreExport DDSCodec : public ILImageCodec 00068 00069 { 00070 00071 public: 00072 00073 void code( const DataChunk& input, DataChunk* output, ... ) const; 00074 00075 CodecData * decode( const DataChunk& input, DataChunk* output, ... ) const; 00076 00077 00078 00079 String getType() const { return "dds"; } 00080 00081 unsigned int getILType(void) const; 00082 00083 }; 00084 00085 } // namespace Ogre 00086 00087 00088 00089 #endif // #ifndef _DDSCodec_H__ 00090
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:10:09 2004