36write(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.
A single "patch", a special primitive to be rendered only with a tessellation shader.
virtual EggPatch * make_copy() const override
Makes a copy of this object.
virtual void write(std::ostream &out, int indent_level) const override
Writes the patch to the indicated output stream in Egg format.
TypeHandle is the identifier used to differentiate C++ class types.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
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.