h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

SamplingShader Class Reference

#include <BasicStrokeShaders.h>

Inheritance diagram for SamplingShader:

StrokeShader List of all members.

Detailed Description

[ Geometry Shader. ] Resamples the stroke.
See also:
Stroke::Resample(float).


Public Member Functions

 SamplingShader (float sampling)
virtual void shade (Stroke &stroke) const

Constructor & Destructor Documentation

SamplingShader ( float  sampling  )  [inline]

Builds the shader.

Parameters:
sampling The sampling to use for the stroke resampling


Member Function Documentation

virtual void shade ( Stroke stroke  )  const [virtual]

The shading method

Reimplemented from StrokeShader.


The documentation for this class was generated from the following file: