Panda3D
|
Generates an egg file featuring a number of polygons, one for each named texture. More...
#include "eggTextureCards.h"
Public Member Functions | |
void | run () |
Public Attributes | |
int | _aniso_degree |
bool | _apply_bface |
EggTexture::Format | _format |
EggTexture::Format | _format_1 |
EggTexture::Format | _format_2 |
EggTexture::Format | _format_3 |
EggTexture::Format | _format_4 |
double | _frame_rate |
bool | _got_aniso_degree |
bool | _got_pixel_scale |
EggTexture::FilterType | _magfilter |
EggTexture::FilterType | _minfilter |
bool | _noexist |
LVecBase2d | _pixel_scale |
LColor | _polygon_color |
LVecBase4d | _polygon_geometry |
EggTexture::QualityLevel | _quality_level |
vector_string | _suffixes |
vector_string | _texture_names |
EggTexture::WrapMode | _wrap_mode |
EggTexture::WrapMode | _wrap_u |
EggTexture::WrapMode | _wrap_v |
Protected Member Functions | |
virtual bool | handle_args (Args &args) |
Does something with the additional arguments on the command line (after all the -options have been parsed). | |
Static Protected Member Functions | |
static bool | dispatch_filter_type (const string &opt, const string &arg, void *var) |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a FilterType string. | |
static bool | dispatch_format (const string &opt, const string &arg, void *var) |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a Format string. | |
static bool | dispatch_quality_level (const string &opt, const string &arg, void *var) |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a QualityLevel string. | |
static bool | dispatch_wrap_mode (const string &opt, const string &arg, void *var) |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a WrapMode string. |
Generates an egg file featuring a number of polygons, one for each named texture.
This is a support program for getting textures through egg-palettize.
Definition at line 34 of file eggTextureCards.h.
bool EggTextureCards::dispatch_filter_type | ( | const string & | opt, |
const string & | arg, | ||
void * | var | ||
) | [static, protected] |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a FilterType string.
The data pointer is to a FilterType enum variable.
Definition at line 262 of file eggTextureCards.cxx.
References EggTexture::string_filter_type().
bool EggTextureCards::dispatch_format | ( | const string & | opt, |
const string & | arg, | ||
void * | var | ||
) | [static, protected] |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a Format string.
The data pointer is to a Format enum variable.
Definition at line 307 of file eggTextureCards.cxx.
References EggTexture::string_format().
bool EggTextureCards::dispatch_quality_level | ( | const string & | opt, |
const string & | arg, | ||
void * | var | ||
) | [static, protected] |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a QualityLevel string.
The data pointer is to a QualityLevel enum variable.
Definition at line 285 of file eggTextureCards.cxx.
References EggTexture::string_quality_level().
bool EggTextureCards::dispatch_wrap_mode | ( | const string & | opt, |
const string & | arg, | ||
void * | var | ||
) | [static, protected] |
Standard dispatch function for an option that takes one parameter, which is to be interpreted as a WrapMode string.
The data pointer is to a WrapMode enum variable.
Definition at line 233 of file eggTextureCards.cxx.
References EggTexture::string_wrap_mode().
bool EggTextureCards::handle_args | ( | ProgramBase::Args & | args | ) | [protected, virtual] |
Does something with the additional arguments on the command line (after all the -options have been parsed).
Returns true if the arguments are good, false otherwise.
Reimplemented from EggWriter.
Definition at line 206 of file eggTextureCards.cxx.
References WithOutputFile::check_last_arg(), and Filename::from_os_specific().