Blender
V3.3
intern
cycles
hydra
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
12
HDCYCLES_NAMESPACE_OPEN_SCOPE
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
18
HDCYCLES_NAMESPACE_CLOSE_SCOPE
node
OperationNode * node
Definition:
deg_builder_cycle.cc:38
node.h
config.h
HDCYCLES_NAMESPACE_CLOSE_SCOPE
#define HDCYCLES_NAMESPACE_CLOSE_SCOPE
Definition:
hydra/config.h:17
GetNodeValue
VtValue GetNodeValue(const CCL_NS::Node *node, const CCL_NS::SocketType &socket)
SetNodeValue
HDCYCLES_NAMESPACE_OPEN_SCOPE void SetNodeValue(CCL_NS::Node *node, const CCL_NS::SocketType &socket, const VtValue &value)
HDCYCLES_NAMESPACE_OPEN_SCOPE
Definition:
hydra/mesh.cpp:14
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1