ColorVariationPatternShader Class Reference
#include <BasicStrokeShaders.h>
Inheritance diagram for ColorVariationPatternShader:
List of all members.
Detailed Description
[ Color Shader ]. Applys a pattern to vary original color. The new color is the result of the multiplication of the pattern and the original color
Constructor & Destructor Documentation
|
Builds the shader from the pattern texture file name. - Parameters:
-
| pattern_name | The file name of the texture file to use as pattern |
| stretch | Tells whether the texture must be strecthed or repeted to fit the stroke. |
|
Member Function Documentation
virtual void shade |
( |
Stroke & |
stroke |
) |
const [virtual] |
|
The documentation for this class was generated from the following file: