|
Blender V5.0
|
Public Member Functions | |
| ShaderGraphBuilder (ShaderGraph *graph) | |
| ShaderNode * | find_node (const string &name) |
| template<typename T> | |
| ShaderGraphBuilder & | add_node (const T &node) |
| ShaderGraphBuilder & | add_connection (const string &from, const string &to) |
| ShaderGraphBuilder & | add_attribute (const string &name) |
| ShaderGraphBuilder & | output_closure (const string &from) |
| ShaderGraphBuilder & | output_volume_closure (const string &from) |
| ShaderGraphBuilder & | output_color (const string &from) |
| ShaderGraphBuilder & | output_value (const string &from) |
| ShaderGraph & | graph () |
Protected Attributes | |
| ShaderGraph * | graph_ |
| map< string, ShaderNode * > | node_map_ |
Definition at line 63 of file render_graph_finalize_test.cpp.
|
inline |
Definition at line 65 of file render_graph_finalize_test.cpp.
References graph(), graph_, and node_map_.
Referenced by add_attribute(), add_connection(), add_node(), output_closure(), output_color(), output_value(), and output_volume_closure().
|
inline |
Definition at line 108 of file render_graph_finalize_test.cpp.
References add_node(), graph_, name, CCL_NAMESPACE_BEGIN::ShaderNodeBuilder< T >::set_param(), and ShaderGraphBuilder().
|
inline |
Definition at line 86 of file render_graph_finalize_test.cpp.
References EXPECT_EQ(), find_node(), graph_, ShaderNode::input(), ShaderNode::output(), ShaderGraphBuilder(), and string_split().
Referenced by output_closure(), output_color(), output_value(), and output_volume_closure().
|
inline |
Definition at line 79 of file render_graph_finalize_test.cpp.
References EXPECT_EQ(), find_node(), node_map_, ShaderGraphBuilder(), and T.
Referenced by add_attribute(), output_color(), and output_value().
|
inline |
Definition at line 70 of file render_graph_finalize_test.cpp.
References name, and node_map_.
Referenced by add_connection(), and add_node().
|
inline |
Definition at line 140 of file render_graph_finalize_test.cpp.
References graph_.
Referenced by ShaderGraphBuilder().
|
inline |
Definition at line 114 of file render_graph_finalize_test.cpp.
References add_connection(), and ShaderGraphBuilder().
Referenced by output_color(), and output_value().
|
inline |
Definition at line 124 of file render_graph_finalize_test.cpp.
References add_connection(), add_node(), graph_, output_closure(), and ShaderGraphBuilder().
|
inline |
Definition at line 132 of file render_graph_finalize_test.cpp.
References add_connection(), add_node(), graph_, output_closure(), and ShaderGraphBuilder().
|
inline |
Definition at line 119 of file render_graph_finalize_test.cpp.
References add_connection(), and ShaderGraphBuilder().
|
protected |
Definition at line 146 of file render_graph_finalize_test.cpp.
Referenced by add_attribute(), add_connection(), graph(), output_color(), output_value(), and ShaderGraphBuilder().
|
protected |
Definition at line 147 of file render_graph_finalize_test.cpp.
Referenced by add_node(), find_node(), and ShaderGraphBuilder().