Blender V4.3
BPy_BlenderTextureShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (BlenderTextureShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BlenderTextureShader`\n" "\n" "[Texture shader]\n" "\n" ".. method:: __init__(texture)\n" "\n" " Builds a BlenderTextureShader object.\n" "\n" " :arg texture: A line style texture slot or a shader node tree to define\n" " a set of textures.\n" " :type texture: :class:`bpy.types.LineStyleTextureSlot` or\n" " :class:`bpy.types.ShaderNodeTree`\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns a blender texture slot to the stroke shading in order to\n" " simulate marks.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
 
static int BlenderTextureShader___init__ (BPy_BlenderTextureShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject BlenderTextureShader_Type
 

Function Documentation

◆ BlenderTextureShader___init__()

static int BlenderTextureShader___init__ ( BPy_BlenderTextureShader * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 49 of file BPy_BlenderTextureShader.cpp.

References PyC_RNA_AsPointer(), and self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( BlenderTextureShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
:class:`BlenderTextureShader`\n" "\n" "\n" "\n" ".. method::__init__(texture)\n" "\n" " Builds a BlenderTextureShader object.\n" "\n" " :arg texture:A line style texture slot or a shader node tree to define\n" " a set of textures.\n" " :type texture::class:`bpy.types.LineStyleTextureSlot` or\n" " :class:`bpy.types.ShaderNodeTree`\n" "\n" ".. method::shade(stroke)\n" "\n" " Assigns a blender texture slot to the stroke shading in order to\n" " simulate marks.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" [Texture shader] )

Variable Documentation

◆ BlenderTextureShader_Type

PyTypeObject BlenderTextureShader_Type

Definition at line 81 of file BPy_BlenderTextureShader.cpp.

Referenced by StrokeShader_Init().