14 #ifndef EGGPOLYSETMAKER_H 15 #define EGGPOLYSETMAKER_H 41 P_has_texture = 0x001,
43 P_has_material = 0x004,
45 P_has_poly_color = 0x010,
47 P_has_poly_normal = 0x040,
48 P_has_vertex_normal = 0x080,
49 P_has_vertex_color = 0x100,
54 void set_properties(
int properties);
58 get_bin_number(
const EggNode *node);
70 static void init_type() {
71 EggBinMaker::init_type();
73 EggBinMaker::get_class_type());
76 return get_class_type();
78 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.