Blender
V3.3
|
#include <BasicStrokeShaders.h>
Public Member Functions | |
MaterialColorShader (float coeff=1.0f) | |
virtual string | getName () const |
virtual int | shade (Stroke &stroke) const |
![]() | |
StrokeShader () | |
virtual | ~StrokeShader () |
Additional Inherited Members | |
![]() | |
void * | py_ss |
Definition at line 337 of file BasicStrokeShaders.h.
|
inline |
Definition at line 342 of file BasicStrokeShaders.h.
|
inlinevirtual |
Returns the string corresponding to the shader's name.
Reimplemented from Freestyle::StrokeShader.
Definition at line 347 of file BasicStrokeShaders.h.
|
virtual |
The shading method. This method must be overloaded by inherited classes.
ioStroke | The stroke we wish to shade. this Stroke is modified by the Shader (which typically modifies the Stroke's attribute's values such as Color, Thickness, Geometry...) |
Reimplemented from Freestyle::StrokeShader.
Definition at line 225 of file BasicStrokeShaders.cpp.
References Freestyle::StrokeVertex::attribute(), Freestyle::FrsMaterial::diffuse(), Freestyle::UnaryFunction0D< T >::result, Freestyle::StrokeAttribute::setAlpha(), Freestyle::StrokeAttribute::setColor(), v, Freestyle::Stroke::verticesBegin(), and Freestyle::Stroke::verticesEnd().