Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

pandatool/src/egg-palettize/textureRequest.h

Go to the documentation of this file.
00001 // Filename: textureRequest.h
00002 // Created by:  drose (29Nov00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef TEXTUREREQUEST_H
00020 #define TEXTUREREQUEST_H
00021 
00022 #include "pandatoolbase.h"
00023 
00024 #include "textureProperties.h"
00025 
00026 #include "eggTexture.h"
00027 #include "eggRenderMode.h"
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //       Class : TextureRequest
00031 // Description : These are the things that a user might explicitly
00032 //               request to adjust on a texture via a line in the .txa
00033 //               file.
00034 ////////////////////////////////////////////////////////////////////
00035 class TextureRequest {
00036 public:
00037   TextureRequest();
00038   void pre_txa_file();
00039 
00040   TextureProperties _properties;
00041 
00042   bool _got_size;
00043   bool _got_num_channels;
00044   int _x_size;
00045   int _y_size;
00046   int _num_channels;
00047   EggTexture::Format _format;
00048   bool _force_format;
00049   bool _generic_format;
00050   EggTexture::FilterType _minfilter;
00051   EggTexture::FilterType _magfilter;
00052   int _anisotropic_degree;
00053   EggRenderMode::AlphaMode _alpha_mode;
00054   bool _omit;
00055   int _margin;
00056   double _coverage_threshold;
00057 };
00058 
00059 #endif
00060 

Generated on Fri May 2 03:18:32 2003 for Panda-Tool by doxygen1.3