|
Blender V5.0
|
#include "BKE_idtype.hh"#include "BKE_lib_id.hh"#include "BKE_node.hh"#include "DNA_light_types.h"#include "DNA_material_types.h"#include "DNA_node_types.h"#include "DNA_world_types.h"#include "NOD_shader_nodes_inline.hh"#include "bpy_inline_shader_nodes.hh"#include "bpy_rna.hh"#include "../generic/py_capi_utils.hh"Go to the source code of this file.
Classes | |
| struct | BPy_InlineShaderNodes |
Functions | |
| static BPy_InlineShaderNodes * | create_from_shader_node_tree (const bNodeTree &tree) |
| PyDoc_STRVAR (bpy_inline_shader_nodes_from_material_doc, ".. staticmethod:: from_material(material)\n" "\n" " Create an inlined shader node tree from a material.\n" "\n" " :arg material: The material to inline the node tree of.\n" " :type material: bpy.types.Material\n") | |
| static BPy_InlineShaderNodes * | BPy_InlineShaderNodes_static_from_material (PyObject *, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (bpy_inline_shader_nodes_from_light_doc, ".. staticmethod:: from_light(light)\n" "\n" " Create an inlined shader node tree from a light.\n" "\n" " :arg light: The light to online the node tree of.\n" " :type light: bpy.types.Light\n") | |
| static BPy_InlineShaderNodes * | BPy_InlineShaderNodes_static_from_light (PyObject *, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (bpy_inline_shader_nodes_from_world_doc, ".. staticmethod:: from_world(world)\n" "\n" " Create an inlined shader node tree from a world.\n" "\n" " :arg world: The world to inline the node tree of.\n" " :type world: bpy.types.World\n") | |
| static BPy_InlineShaderNodes * | BPy_InlineShaderNodes_static_from_world (PyObject *, PyObject *args, PyObject *kwds) |
| static void | BPy_InlineShaderNodes_dealloc (BPy_InlineShaderNodes *self) |
| PyDoc_STRVAR (bpy_inline_shader_nodes_node_tree_doc, "The inlined node tree.\n" "\n" ":type: :class:`bpy.types.NodeTree`\n") | |
| static PyObject * | BPy_InlineShaderNodes_get_node_tree (BPy_InlineShaderNodes *self, void *) |
| PyDoc_STRVAR (bpy_inline_shader_nodes_doc, "An inlined shader node tree.\n") | |
| PyObject * | BPyInit_inline_shader_nodes_type () |
Variables | |
| PyTypeObject | bpy_inline_shader_nodes_Type |
| static PyGetSetDef | BPy_InlineShaderNodes_getseters [] |
| static PyMethodDef | BPy_InlineShaderNodes_methods [] |
|
static |
Definition at line 158 of file bpy_inline_shader_nodes.cc.
References BKE_id_free(), and self.
|
static |
Definition at line 170 of file bpy_inline_shader_nodes.cc.
References pyrna_id_CreatePyObject(), and self.
|
static |
Definition at line 93 of file bpy_inline_shader_nodes.cc.
References BKE_id_name(), BKE_idtype_idcode_to_name(), create_from_shader_node_tree(), GS, ID_LA, ID::name, Light::nodetree, and pyrna_id_FromPyObject().
|
static |
Definition at line 55 of file bpy_inline_shader_nodes.cc.
References BKE_id_name(), BKE_idtype_idcode_to_name(), create_from_shader_node_tree(), GS, ID_MA, ID::name, Material::nodetree, and pyrna_id_FromPyObject().
|
static |
Definition at line 130 of file bpy_inline_shader_nodes.cc.
References BKE_id_name(), BKE_idtype_idcode_to_name(), create_from_shader_node_tree(), GS, ID_WO, ID::name, World::nodetree, and pyrna_id_FromPyObject().
|
nodiscard |
Definition at line 264 of file bpy_inline_shader_nodes.cc.
References bpy_inline_shader_nodes_Type.
Referenced by BPy_init_modules().
|
static |
Definition at line 32 of file bpy_inline_shader_nodes.cc.
References bpy_inline_shader_nodes_Type, blender::nodes::inline_shader_node_tree(), blender::bke::node_tree_add_tree(), params, self, and tree.
Referenced by BPy_InlineShaderNodes_static_from_light(), BPy_InlineShaderNodes_static_from_material(), and BPy_InlineShaderNodes_static_from_world().
| PyDoc_STRVAR | ( | bpy_inline_shader_nodes_doc | , |
| "An inlined shader node tree.\n" | ) |
| PyDoc_STRVAR | ( | bpy_inline_shader_nodes_from_light_doc | , |
| ".. staticmethod:: from_light(light)\n" "\n" " Create an inlined shader node tree from a light.\n" "\n" " :arg light: The light to online the node tree of.\n" " :type light: bpy.types.Light\n" | ) |
| PyDoc_STRVAR | ( | bpy_inline_shader_nodes_from_material_doc | , |
| ".. staticmethod:: from_material(material)\n" "\n" " Create an inlined shader node tree from a material.\n" "\n" " :arg material: The material to inline the node tree of.\n" " :type material: bpy.types.Material\n" | ) |
| PyDoc_STRVAR | ( | bpy_inline_shader_nodes_from_world_doc | , |
| ".. staticmethod:: from_world(world)\n" "\n" " Create an inlined shader node tree from a world.\n" "\n" " :arg world: The world to inline the node tree of.\n" " :type world: bpy.types.World\n" | ) |
| PyDoc_STRVAR | ( | bpy_inline_shader_nodes_node_tree_doc | , |
| "The inlined node tree.\n" "\n" ":type: :class:`bpy.types.NodeTree`\n" | ) |
| PyTypeObject bpy_inline_shader_nodes_Type |
Definition at line 223 of file bpy_inline_shader_nodes.cc.
Referenced by BPyInit_inline_shader_nodes_type(), and create_from_shader_node_tree().
|
static |
Definition at line 176 of file bpy_inline_shader_nodes.cc.
|
static |
Definition at line 195 of file bpy_inline_shader_nodes.cc.