00001 /* 00002 File: Texture.h 00003 00004 Function: Provides interface to texture maps 00005 00006 Author: Andrew Willmott 00007 00008 Copyright: (c) 1998-2000, Andrew Willmott 00009 */ 00010 00011 #ifndef __Texture__ 00012 #define __Texture__ 00013 00014 #include "gcl/Image.h" 00015 #include "gcl/Geometry.h" 00016 00017 class Texture 00018 { 00019 public: 00020 Texture(const Texture &tex); 00021 Texture() : image(0), flags(0) {}; 00022 00023 Int Load(StrConst str); 00024 Colour FilterBox(const Coord &bl, const Coord &ur); 00025 00026 FileName textureFile; 00027 Image *image; 00028 UInt32 flags; 00029 }; 00030 00031 #endif