Blender V4.3
node_util.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2022 NVIDIA Corporation
2 * SPDX-FileCopyrightText: 2022 Blender Foundation
3 *
4 * SPDX-License-Identifier: Apache-2.0 */
5
6#pragma once
7
8#include "graph/node.h"
9#include "hydra/config.h"
10
11#include <pxr/base/vt/value.h>
12
14
15void SetNodeValue(CCL_NS::Node *node, const CCL_NS::SocketType &socket, const VtValue &value);
16
17VtValue GetNodeValue(const CCL_NS::Node *node, const CCL_NS::SocketType &socket);
18
#define HDCYCLES_NAMESPACE_CLOSE_SCOPE
VtValue GetNodeValue(const CCL_NS::Node *node, const CCL_NS::SocketType &socket)
HDCYCLES_NAMESPACE_OPEN_SCOPE void SetNodeValue(CCL_NS::Node *node, const CCL_NS::SocketType &socket, const VtValue &value)