TextureAssignerShader Class Reference
#include <BasicStrokeShaders.h>
Inheritance diagram for TextureAssignerShader:
List of all members.
Detailed Description
[ Texture Shader ]. Assigns a texture to the stroke in order to simulate its marks system. This shader takes as input an integer value telling which texture and blending mode to use among a set of predefined textures. Here are the different presets: 0) -> /brushes/charcoalAlpha.bmp, HUMID_MEDIUM 1) -> /brushes/washbrushAlpha.bmp, HUMID_MEDIUM 2) -> /brushes/oil.bmp, HUMID_MEDIUM 3) -> /brushes/oilnoblend.bmp, HUMID_MEDIUM 4) -> /brushes/charcoalAlpha.bmp, DRY_MEDIUM 5) -> /brushes/washbrushAlpha.bmp, DRY_MEDIUM 6) -> /brushes/opaqueDryBrushAlpha.bmp, OPAQUE_MEDIUM 7) -> /brushes/opaqueBrushAlpha.bmp,
Stroke::OPAQUE_MEDIUM Any other value will lead to the following preset: default) -> /brushes/smoothAlpha.bmp, OPAQUE_MEDIUM.
Constructor & Destructor Documentation
|
Builds the shader. - Parameters:
-
| id | The number of the preset to use. |
|
Member Function Documentation
virtual void shade |
( |
Stroke & |
stroke |
) |
const [virtual] |
|
The documentation for this class was generated from the following file: