00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TEXTUREREQUEST_H
00016 #define TEXTUREREQUEST_H
00017
00018 #include "pandatoolbase.h"
00019
00020 #include "textureProperties.h"
00021
00022 #include "eggTexture.h"
00023 #include "eggRenderMode.h"
00024
00025
00026
00027
00028
00029
00030
00031 class TextureRequest {
00032 public:
00033 TextureRequest();
00034 void pre_txa_file();
00035
00036 TextureProperties _properties;
00037
00038 bool _got_size;
00039 bool _got_num_channels;
00040 int _x_size;
00041 int _y_size;
00042 int _num_channels;
00043 EggTexture::Format _format;
00044 bool _force_format;
00045 bool _generic_format;
00046 bool _keep_format;
00047 EggTexture::FilterType _minfilter;
00048 EggTexture::FilterType _magfilter;
00049 int _anisotropic_degree;
00050 EggRenderMode::AlphaMode _alpha_mode;
00051 EggTexture::WrapMode _wrap_u, _wrap_v;
00052 bool _omit;
00053 int _margin;
00054 double _coverage_threshold;
00055 };
00056
00057 #endif
00058