This is the callback object for the DoSamples() method
of class Sampler. The SampleAtOffset()
method is the one that actually computes the shading value for the
Sampler.
This is the method that integrates the sampler into the
renderer. The plug-in Sampler calls this method to actually
perform a sample at the specified 2D point. This method computes
the output color and transparency.
The scale of the sample. This parameter is the way a sampler tells
the shader to use the whole pixel (sampleScale=1) size for texture
samples or some fraction. This scale is an edge scale not an
area scale, so if you want samples 1/4 pixel large the
sampleScale should be 1/2.
Returns:
TRUE if the sample was processed; FALSE if the clipped sample
was ignored.