Files
test2/intern/cycles/graph/node_xml.h
2024-12-31 00:50:44 +01:00

27 lines
475 B
C

/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
#ifdef WITH_PUGIXML
# include "util/map.h"
# include "util/param.h"
# include "util/xml.h"
CCL_NAMESPACE_BEGIN
struct Node;
struct XMLReader {
map<ustring, Node *> node_map;
};
void xml_read_node(XMLReader &reader, Node *node, xml_node xml_node);
xml_node xml_write_node(Node *node, xml_node xml_root);
CCL_NAMESPACE_END
#endif /* WITH_PUGIXML */