Click or drag to resize
DigitalRuneTerrainHelperTransformTexture Method
Modifies the data of a texture.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static void TransformTexture(
	float[] data,
	float scale,
	float bias
)

Parameters

data
Type: SystemSingle
The texture data.
scale
Type: SystemSingle
The scale factor.
bias
Type: SystemSingle
The bias which is added to the scaled data.
Exceptions
ExceptionCondition
ArgumentNullExceptiondata is .
Remarks
All values in data are multiplied by scale and then bias is added.
See Also