Click or drag to resize
DigitalRuneNoiseHelperGetNoiseTexture Method (IGraphicsService)
Gets a tileable noise texture.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static Texture2D GetNoiseTexture(
	IGraphicsService graphicsService
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.

Return Value

Type: Texture2D
A texture containing Perlin noise.
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsService is .
Remarks
This method returns a quadratic RGBA texture that contains noise. Each channel contains a different 8-bit noise value, i.e. the texture contains 4 different Perlin noise images.
See Also