14 #ifndef EGGTEXTURECARDS_H
15 #define EGGTEXTURECARDS_H
37 virtual bool handle_args(
Args &args);
39 static bool dispatch_wrap_mode(
const std::string &opt,
const std::string &arg,
void *var);
40 static bool dispatch_filter_type(
const std::string &opt,
const std::string &arg,
void *var);
41 static bool dispatch_quality_level(
const std::string &opt,
const std::string &arg,
void *var);
42 static bool dispatch_format(
const std::string &opt,
const std::string &arg,
void *var);
45 bool scan_texture(
const Filename &filename, LVecBase4d &geometry,
47 void make_vertices(
const LPoint4d &geometry,
EggVertexPool *vpool,
53 LVecBase4d _polygon_geometry;
54 LVecBase2d _pixel_scale;
55 bool _got_pixel_scale;
56 vector_string _suffixes;
57 LColor _polygon_color;
58 vector_string _texture_names;
59 EggTexture::WrapMode _wrap_mode;
60 EggTexture::WrapMode _wrap_u;
61 EggTexture::WrapMode _wrap_v;
62 EggTexture::FilterType _minfilter;
63 EggTexture::FilterType _magfilter;
64 bool _got_aniso_degree;
66 EggTexture::QualityLevel _quality_level;
67 EggTexture::Format _format;
68 EggTexture::Format _format_1, _format_2, _format_3, _format_4;
Generates an egg file featuring a number of polygons, one for each named texture.
A collection of vertices.
Any one-, two-, three-, or four-component vertex, possibly with attributes such as a normal.
This is the base class for a program that generates an egg file output, but doesn't read any for inpu...
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.