Blender
V2.93
source
blender
functions
FN_multi_function_network_optimization.hh
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*/
16
17
#pragma once
18
19
#include "
FN_multi_function_network.hh
"
20
21
#include "
BLI_resource_scope.hh
"
22
23
namespace
blender::fn::mf_network_optimization
{
24
25
void
dead_node_removal
(
MFNetwork
&network);
26
void
constant_folding
(
MFNetwork
&network,
ResourceScope
&scope);
27
void
common_subnetwork_elimination
(
MFNetwork
&network);
28
29
}
// namespace blender::fn::mf_network_optimization
BLI_resource_scope.hh
FN_multi_function_network.hh
blender::ResourceScope
Definition:
BLI_resource_scope.hh:48
blender::fn::MFNetwork
Definition:
FN_multi_function_network.hh:189
blender::fn::mf_network_optimization
Definition:
FN_multi_function_network_optimization.hh:23
blender::fn::mf_network_optimization::common_subnetwork_elimination
void common_subnetwork_elimination(MFNetwork &network)
Definition:
multi_function_network_optimization.cc:492
blender::fn::mf_network_optimization::constant_folding
void constant_folding(MFNetwork &network, ResourceScope &scope)
Definition:
multi_function_network_optimization.cc:304
blender::fn::mf_network_optimization::dead_node_removal
void dead_node_removal(MFNetwork &network)
Definition:
multi_function_network_optimization.cc:129
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1