Home
last modified time | relevance | path

Searched refs:ShaderGraph (Results 1 – 25 of 30) sorted by relevance

12

/dports/devel/godot2-tools/godot-2.1.6-stable/editor/plugins/
H A Dshader_graph_editor_plugin.cpp1171 if (t == ShaderGraph::NODE_OUTPUT || t == ShaderGraph::NODE_INPUT) in _duplicate_nodes_request()
1454 …et_slot(0, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1547 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1588 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1633 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1809 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2041 …et_slot(0, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2256 …et_slot(3, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2291 …et_slot(2, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2316 …et_slot(0, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
[all …]
H A Dshader_graph_editor_plugin.h122 Ref<ShaderGraph> graph;
126 ShaderGraph::ShaderType type;
186 void set_graph(Ref<ShaderGraph> p_graph);
188 ShaderGraphView(ShaderGraph::ShaderType p_type = ShaderGraph::SHADER_TYPE_FRAGMENT);
197 ShaderGraphView *graph_edits[ShaderGraph::SHADER_TYPE_MAX];
198 static const char *node_names[ShaderGraph::NODE_TYPE_MAX];
210 void edit(Ref<ShaderGraph> p_shader);
H A Dshader_editor_plugin.cpp498 if (!s || s->cast_to<ShaderGraph>()) { in edit()
513 if (!shader || shader->cast_to<ShaderGraph>()) // Dont handle ShaderGraph's in handles()
/dports/devel/godot2/godot-2.1.6-stable/editor/plugins/
H A Dshader_graph_editor_plugin.cpp1171 if (t == ShaderGraph::NODE_OUTPUT || t == ShaderGraph::NODE_INPUT) in _duplicate_nodes_request()
1454 …et_slot(0, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1547 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1588 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1633 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
1809 …et_slot(1, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2041 …et_slot(0, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2256 …et_slot(3, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2291 …et_slot(2, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
2316 …et_slot(0, true, ShaderGraph::SLOT_TYPE_VEC, typecol[ShaderGraph::SLOT_TYPE_VEC], true, ShaderGrap… in _create_node()
[all …]
H A Dshader_graph_editor_plugin.h122 Ref<ShaderGraph> graph;
126 ShaderGraph::ShaderType type;
186 void set_graph(Ref<ShaderGraph> p_graph);
188 ShaderGraphView(ShaderGraph::ShaderType p_type = ShaderGraph::SHADER_TYPE_FRAGMENT);
197 ShaderGraphView *graph_edits[ShaderGraph::SHADER_TYPE_MAX];
198 static const char *node_names[ShaderGraph::NODE_TYPE_MAX];
210 void edit(Ref<ShaderGraph> p_shader);
H A Dshader_editor_plugin.cpp498 if (!s || s->cast_to<ShaderGraph>()) { in edit()
513 if (!shader || shader->cast_to<ShaderGraph>()) // Dont handle ShaderGraph's in handles()
/dports/devel/godot2/godot-2.1.6-stable/scene/resources/
H A Dshader_graph.cpp146 ShaderGraph::GraphError ShaderGraph::get_graph_error(ShaderType p_type) const { in get_graph_error()
160 void ShaderGraph::_bind_methods() { in _bind_methods()
678 ShaderGraph::NodeType ShaderGraph::node_get_type(ShaderType p_type, int p_id) const { in node_get_type()
748 bool ShaderGraph::is_slot_connected(ShaderGraph::ShaderType p_type, int p_dst_id, int slot_id) { in is_slot_connected()
934 ShaderGraph::ScalarOp ShaderGraph::scalar_op_node_get_op(ShaderType p_type, float p_id) const { in scalar_op_node_get_op()
953 ShaderGraph::VecOp ShaderGraph::vec_op_node_get_op(ShaderType p_type, float p_id) const { in vec_op_node_get_op()
992 ShaderGraph::RGBOp ShaderGraph::rgb_op_node_get_op(ShaderType p_type, float p_id) const { in rgb_op_node_get_op()
1327 ShaderGraph::ShaderGraph(Mode p_mode) : in ShaderGraph() function in ShaderGraph
1350 ShaderGraph::~ShaderGraph() { in ~ShaderGraph()
1355 const ShaderGraph::InOutParamInfo ShaderGraph::inout_param_info[] = {
[all …]
H A Dshader_graph.h36 class ShaderGraph : public Shader {
38 OBJ_TYPE(ShaderGraph, Shader);
388 ShaderGraph(Mode p_mode);
389 ~ShaderGraph();
394 VARIANT_ENUM_CAST(ShaderGraph::NodeType);
396 VARIANT_ENUM_CAST(ShaderGraph::SlotType);
398 VARIANT_ENUM_CAST(ShaderGraph::VecOp);
400 VARIANT_ENUM_CAST(ShaderGraph::RGBOp);
402 VARIANT_ENUM_CAST(ShaderGraph::VecFunc);
411 ShaderGraph(MODE_MATERIAL) { in MaterialShaderGraph()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/resources/
H A Dshader_graph.cpp146 ShaderGraph::GraphError ShaderGraph::get_graph_error(ShaderType p_type) const { in get_graph_error()
160 void ShaderGraph::_bind_methods() { in _bind_methods()
678 ShaderGraph::NodeType ShaderGraph::node_get_type(ShaderType p_type, int p_id) const { in node_get_type()
748 bool ShaderGraph::is_slot_connected(ShaderGraph::ShaderType p_type, int p_dst_id, int slot_id) { in is_slot_connected()
934 ShaderGraph::ScalarOp ShaderGraph::scalar_op_node_get_op(ShaderType p_type, float p_id) const { in scalar_op_node_get_op()
953 ShaderGraph::VecOp ShaderGraph::vec_op_node_get_op(ShaderType p_type, float p_id) const { in vec_op_node_get_op()
992 ShaderGraph::RGBOp ShaderGraph::rgb_op_node_get_op(ShaderType p_type, float p_id) const { in rgb_op_node_get_op()
1327 ShaderGraph::ShaderGraph(Mode p_mode) : in ShaderGraph() function in ShaderGraph
1350 ShaderGraph::~ShaderGraph() { in ~ShaderGraph()
1355 const ShaderGraph::InOutParamInfo ShaderGraph::inout_param_info[] = {
[all …]
H A Dshader_graph.h36 class ShaderGraph : public Shader {
38 OBJ_TYPE(ShaderGraph, Shader);
388 ShaderGraph(Mode p_mode);
389 ~ShaderGraph();
394 VARIANT_ENUM_CAST(ShaderGraph::NodeType);
396 VARIANT_ENUM_CAST(ShaderGraph::SlotType);
398 VARIANT_ENUM_CAST(ShaderGraph::VecOp);
400 VARIANT_ENUM_CAST(ShaderGraph::RGBOp);
402 VARIANT_ENUM_CAST(ShaderGraph::VecFunc);
411 ShaderGraph(MODE_MATERIAL) { in MaterialShaderGraph()
[all …]
/dports/graphics/blender/blender-2.91.0/intern/cycles/render/
H A Dgraph.cpp219 ShaderGraph::ShaderGraph() in ShaderGraph() function in ShaderGraph
227 ShaderGraph::~ShaderGraph() in ~ShaderGraph()
242 OutputNode *ShaderGraph::output() in output()
361 void ShaderGraph::simplify(Scene *scene) in simplify()
416 void ShaderGraph::clear_nodes() in clear_nodes()
467 void ShaderGraph::remove_proxy_nodes() in remove_proxy_nodes()
604 void ShaderGraph::deduplicate_nodes() in deduplicate_nodes()
779 void ShaderGraph::clean(Scene *scene) in clean()
831 void ShaderGraph::expand() in expand()
902 void ShaderGraph::refine_bump_nodes() in refine_bump_nodes()
[all …]
H A Dgraph.h40 class ShaderGraph; variable
162 virtual ShaderNode *clone(ShaderGraph *graph) const = 0;
168 virtual void expand(ShaderGraph * /* graph */) in expand() argument
278 virtual ShaderNode *clone(ShaderGraph *graph) const \
292 virtual ShaderNode *clone(ShaderGraph *graph) const \
315 class ShaderGraph : public NodeOwner {
323 ShaderGraph();
324 ~ShaderGraph();
H A Dconstant_fold.h26 class ShaderGraph; variable
33 ShaderGraph *const graph;
39 ConstantFolder(ShaderGraph *graph, ShaderNode *node, ShaderOutput *output, Scene *scene);
H A Dshader.h45 class ShaderGraph; variable
87 ShaderGraph *graph;
152 void set_graph(ShaderGraph *graph);
219 void get_requested_graph_features(ShaderGraph *graph,
H A Dshader.cpp274 void Shader::set_graph(ShaderGraph *graph_) in set_graph()
625 ShaderGraph *graph = new ShaderGraph(); in add_default()
642 ShaderGraph *graph = new ShaderGraph(); in add_default()
658 ShaderGraph *graph = new ShaderGraph(); in add_default()
676 ShaderGraph *graph = new ShaderGraph(); in add_default()
687 ShaderGraph *graph = new ShaderGraph(); in add_default()
697 void ShaderManager::get_requested_graph_features(ShaderGraph *graph, in get_requested_graph_features()
H A Dsvm.h35 class ShaderGraph; variable
125 ShaderGraph *current_graph;
169 explicit CompilerState(ShaderGraph *graph);
213 void compile_type(Shader *shader, ShaderGraph *graph, ShaderType type);
H A Dosl.h44 class ShaderGraph; variable
96 static OSLNode *osl_node(ShaderGraph *graph,
174 OSL::ShaderGroupRef compile_type(Shader *shader, ShaderGraph *graph, ShaderType type);
H A Dnodes.h95 ShaderNode *clone(ShaderGraph *graph) const;
123 void cull_tiles(Scene *scene, ShaderGraph *graph);
129 ShaderNode *clone(ShaderGraph *graph) const;
367 ShaderNode *clone(ShaderGraph *graph) const;
403 ShaderNode *clone(ShaderGraph *graph) const;
553 void expand(ShaderGraph *graph);
1023 void expand(ShaderGraph *graph);
1329 void expand(ShaderGraph *graph);
1355 void expand(ShaderGraph *graph);
1505 static OSLNode *create(ShaderGraph *graph, size_t num_inputs, const OSLNode *from = NULL);
[all …]
H A Dosl.cpp449 OSLNode *OSLShaderManager::osl_node(ShaderGraph *graph, in osl_node()
1080 OSL::ShaderGroupRef OSLCompiler::compile_type(Shader *shader, ShaderGraph *graph, ShaderType type) in compile_type()
1124 ShaderGraph *graph = shader->graph; in compile()
/dports/misc/usd/USD-21.11/pxr/imaging/hdSt/
H A DmaterialXShaderGen.h53 void _EmitGlslfxShader(const MaterialX::ShaderGraph& mxGraph,
62 void _EmitMxFunctions(const MaterialX::ShaderGraph& mxGraph,
66 void _EmitMxSurfaceShader(const MaterialX::ShaderGraph& mxGraph,
H A DmaterialXShaderGen.cpp128 const mx::ShaderGraph& mxGraph, in _EmitGlslfxShader()
209 const mx::ShaderGraph& mxGraph, in _EmitMxFunctions()
348 const mx::ShaderGraph& mxGraph, in _EmitMxSurfaceShader()
/dports/graphics/blender/blender-2.91.0/intern/cycles/blender/
H A Dblender_shader.cpp217 ShaderGraph *graph, in add_node()
1012 ShaderGraph *graph, in add_nodes()
1210 ShaderGraph *graph, in add_nodes()
1245 ShaderGraph *graph = new ShaderGraph(); in sync_materials()
1287 pool.push(function_bind(&ShaderGraph::simplify, graph, scene)); in sync_materials()
1323 ShaderGraph *graph = new ShaderGraph(); in sync_world()
1471 ShaderGraph *graph = new ShaderGraph(); in sync_lights()
H A Dblender_sync.h51 class ShaderGraph; variable
/dports/graphics/blender/blender-2.91.0/intern/cycles/test/
H A Drender_graph_finalize_test.cpp43 ShaderNodeBuilder(ShaderGraph &graph, const string &name) : name_(name) in ShaderNodeBuilder()
80 ShaderGraphBuilder(ShaderGraph *graph) : graph_(graph) in ShaderGraphBuilder()
149 ShaderGraph &graph() in graph()
155 ShaderGraph *graph_;
170 ShaderGraph graph;
/dports/graphics/blender/blender-2.91.0/intern/cycles/app/
H A Dcycles_xml.cpp213 ShaderGraph *graph = new ShaderGraph(); in xml_read_shader_graph()

12