Welcome to mirror list, hosted at ThFree Co, Russian Federation.

node_util.h « hydra « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e91f554cc458573a5758d9531ef0f73a0d523ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: Apache-2.0
 * Copyright 2022 NVIDIA Corporation
 * Copyright 2022 Blender Foundation */

#pragma once

#include "hydra/config.h"
#include "graph/node.h"

#include <pxr/base/vt/value.h>

HDCYCLES_NAMESPACE_OPEN_SCOPE

void SetNodeValue(CCL_NS::Node *node, const CCL_NS::SocketType &socket, const VtValue &value);

VtValue GetNodeValue(const CCL_NS::Node *node, const CCL_NS::SocketType &socket);

HDCYCLES_NAMESPACE_CLOSE_SCOPE