Panda3D
textureRequest.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file textureRequest.h
10  * @author drose
11  * @date 2000-11-29
12  */
13 
14 #ifndef TEXTUREREQUEST_H
15 #define TEXTUREREQUEST_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "textureProperties.h"
20 
21 #include "eggTexture.h"
22 #include "eggRenderMode.h"
23 
24 /**
25  * These are the things that a user might explicitly request to adjust on a
26  * texture via a line in the .txa file.
27  */
29 public:
31  void pre_txa_file();
32 
33  TextureProperties _properties;
34 
35  bool _got_size;
36  bool _got_num_channels;
37  int _x_size;
38  int _y_size;
39  int _num_channels;
40  EggTexture::Format _format;
41  bool _force_format;
42  bool _generic_format;
43  bool _keep_format;
44  EggTexture::FilterType _minfilter;
45  EggTexture::FilterType _magfilter;
46  int _anisotropic_degree;
47  EggRenderMode::AlphaMode _alpha_mode;
48  EggTexture::WrapMode _wrap_u, _wrap_v;
49  bool _omit;
50  int _margin;
51  double _coverage_threshold;
52 };
53 
54 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void pre_txa_file()
Sets some state up that must be set prior to reading the .txa file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
These are the things that a user might explicitly request to adjust on a texture via a line in the ....
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the set of characteristics of a texture that, if different from another texture,...