36 write(std::ostream &out,
int indent_level)
const {
38 write_body(out, indent_level+2);
39 indent(out, indent_level) <<
"}\n";
void write_header(std::ostream &out, int indent_level, const char *egg_keyword) const
Writes the first line of the egg object, e.g.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual EggPatch * make_copy() const override
Makes a copy of this object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A single "patch", a special primitive to be rendered only with a tessellation shader.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
virtual void write(std::ostream &out, int indent_level) const override
Writes the patch to the indicated output stream in Egg format.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.