generate_template#

omni.graph.tools.ogn.generate_template(
configuration: GeneratorConfiguration,
) str | None#

Create support files for the C++ interface to a node

For now only a header file is generated for the C++ interface, though there will probably be multiple files generated in the future. For that reason this single point of contact was created for outside callers.

Parameters:

configuration – Information defining how and where the template will be generated

Returns:

String containing the generated template class definition or None if its generation was not enabled

Raises: