15 #ifndef EGGPOLYSETMAKER_H
16 #define EGGPOLYSETMAKER_H
18 #include "pandabase.h"
20 #include "eggBinMaker.h"
46 P_has_texture = 0x001,
48 P_has_material = 0x004,
50 P_has_poly_color = 0x010,
52 P_has_poly_normal = 0x040,
53 P_has_vertex_normal = 0x080,
54 P_has_vertex_color = 0x100,
59 void set_properties(
int properties);
63 get_bin_number(
const EggNode *node);
75 static void init_type() {
76 EggBinMaker::init_type();
77 register_type(_type_handle,
"EggPolysetMaker",
78 EggBinMaker::get_class_type());
81 return get_class_type();
83 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
virtual bool sorts_less(int bin_number, const EggNode *a, const EggNode *b)
May be overridden in derived classes to create additional bins within a particular bin number...
This is a handy class for collecting related nodes together.
A base class for things that may be directly added into the egg hierarchy.
A specialization on EggBinMaker for making polysets that share the same basic rendering characteristi...
TypeHandle is the identifier used to differentiate C++ class types.