Blender  V3.3
Functions | Variables
BPy_BlenderTextureShader.cpp File Reference
#include "BPy_BlenderTextureShader.h"
#include "../../stroke/BasicStrokeShaders.h"
#include "../../../../python/generic/py_capi_utils.h"

Go to the source code of this file.

Functions

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

Variables

static char BlenderTextureShader___doc__ []
 
PyTypeObject BlenderTextureShader_Type
 

Function Documentation

◆ BlenderTextureShader___init__()

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

Definition at line 45 of file BPy_BlenderTextureShader.cpp.

References PyC_RNA_AsPointer().

Variable Documentation

◆ BlenderTextureShader___doc__

char BlenderTextureShader___doc__[]
static
Initial value:
=
"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"

Definition at line 23 of file BPy_BlenderTextureShader.cpp.

◆ BlenderTextureShader_Type

PyTypeObject BlenderTextureShader_Type

Definition at line 77 of file BPy_BlenderTextureShader.cpp.

Referenced by StrokeShader_Init().