27 INLINE
explicit EggPatch(
const std::string &name =
"");
31 virtual EggPatch *make_copy()
const override;
33 virtual void write(std::ostream &out,
int indent_level)
const override;
39 static void init_type() {
40 EggPrimitive::init_type();
42 EggPrimitive::get_class_type());
45 return get_class_type();
47 virtual TypeHandle force_init_type()
override {
49 return get_class_type();
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
A single "patch", a special primitive to be rendered only with a tessellation shader.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.