Blender V5.0
NOD_trace_values.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
8
10
11#include "DNA_node_types.h"
12
17
18namespace blender::nodes {
19
25[[nodiscard]] const ComputeContext *compute_context_for_closure_evaluation(
26 const ComputeContext *closure_socket_context,
27 const bNodeSocket &closure_socket,
28 bke::ComputeContextCache &compute_context_cache,
29 const std::optional<ClosureSourceLocation> &source_location);
30
32 const ComputeContext *bundle_socket_context,
33 const bNodeSocket &bundle_socket,
34 bke::ComputeContextCache &compute_context_cache);
36 const ComputeContext *bundle_socket_context,
37 const bNodeSocket &bundle_socket,
38 bke::ComputeContextCache &compute_context_cache);
40 const ComputeContext *closure_socket_context,
41 const bNodeSocket &closure_socket,
42 bke::ComputeContextCache &compute_context_cache);
44 const ComputeContext *closure_socket_context,
45 const bNodeSocket &closure_socket,
46 bke::ComputeContextCache &compute_context_cache);
47
48std::optional<NodeInContext> find_origin_index_menu_switch(
49 const SocketInContext &socket, bke::ComputeContextCache &compute_context_cache);
50
51} // namespace blender::nodes
struct bNodeSocket bNodeSocket
LinkedBundleSignatures gather_linked_target_bundle_signatures(const ComputeContext *bundle_socket_context, const bNodeSocket &bundle_socket, bke::ComputeContextCache &compute_context_cache)
LinkedClosureSignatures gather_linked_target_closure_signatures(const ComputeContext *closure_socket_context, const bNodeSocket &closure_socket, bke::ComputeContextCache &compute_context_cache)
const ComputeContext * compute_context_for_closure_evaluation(const ComputeContext *closure_socket_context, const bNodeSocket &closure_socket, bke::ComputeContextCache &compute_context_cache, const std::optional< ClosureSourceLocation > &source_location)
LinkedBundleSignatures gather_linked_origin_bundle_signatures(const ComputeContext *bundle_socket_context, const bNodeSocket &bundle_socket, bke::ComputeContextCache &compute_context_cache)
LinkedClosureSignatures gather_linked_origin_closure_signatures(const ComputeContext *closure_socket_context, const bNodeSocket &closure_socket, bke::ComputeContextCache &compute_context_cache)
std::optional< NodeInContext > find_origin_index_menu_switch(const SocketInContext &src_socket, bke::ComputeContextCache &compute_context_cache)