|
Blender
V3.3
|
#include <BasicStrokeShaders.h>
Public Member Functions | |
| BlenderTextureShader (MTex *mtex) | |
| BlenderTextureShader (bNodeTree *nodetree) | |
| virtual string | getName () const |
| virtual int | shade (Stroke &stroke) const |
Public Member Functions inherited from Freestyle::StrokeShader | |
| StrokeShader () | |
| virtual | ~StrokeShader () |
Additional Inherited Members | |
Public Attributes inherited from Freestyle::StrokeShader | |
| void * | py_ss |
[ Texture Shader ]. Shader to assign texture to the Stroke material.
Definition at line 583 of file BasicStrokeShaders.h.
|
inline |
Builds the shader.
| mtex | The blender texture to use. |
Definition at line 593 of file BasicStrokeShaders.h.
References NULL.
|
inline |
Builds the shader.
| nodetree | A node tree (of new shading nodes) to define textures. |
Definition at line 603 of file BasicStrokeShaders.h.
References NULL.
|
inlinevirtual |
Returns the string corresponding to the shader's name.
Reimplemented from Freestyle::StrokeShader.
Definition at line 609 of file BasicStrokeShaders.h.
|
virtual |
The shading method
Reimplemented from Freestyle::StrokeShader.
Definition at line 280 of file BasicStrokeShaders.cpp.
References Freestyle::Stroke::setMTex(), and Freestyle::Stroke::setNodeTree().