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