A fixed input brush that copies the samples in the given buffer into PaintingBuffer.Samples.
A flexible input brush that fetches heightmap samples into PaintingBuffer.Samples.
A fixed input brush that copies image pixels into a layer of PaintingBuffer.Samples.
If an I/O error has occurred while reading the image metadata.
If the image contains unsupported geo-referencing metadata and geo opt is
A flexible input brush that fills the output layers with the given uniform sample value.
A fixed mask brush that creates a radial coverage mask.
The center sample has full coverage, the border samples have zero coverage. The coverage of the samples in-between is computed like this:
half = size / 2 value = max(0, half - length(x - half, y - half)) / half coverage = pow(value, power)
If power opt is
0, the following formula is used:
coverage = smoothstep(value)
smoothstep is implemented via Maths.SmootherStep1.
Creates a new instance of Brush.
Computes the output samples of this brush.
This method is called by IBrush.ComputeSamples, after all arguments have been validated and buffer in has been prepared to contain the given heightmap passing layers in.
The PaintingBuffer.SamplesDirty methods will be called on buffer in passing layers in, after this method has returned.
If an I/O error has occurred.
If the available geo-reference information is incomplete or malformed and brush samples must be projected to resp. from another coordinate system.