| NoiseHelperGetNoiseTexture Method (IGraphicsService) |
Gets a tileable noise texture.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static Texture2D GetNoiseTexture(
IGraphicsService graphicsService
)
Public Shared Function GetNoiseTexture (
graphicsService As IGraphicsService
) As Texture2D
public:
static Texture2D^ GetNoiseTexture(
IGraphicsService^ graphicsService
)
static member GetNoiseTexture :
graphicsService : IGraphicsService -> Texture2D
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
Return Value
Type:
Texture2DA texture containing Perlin noise.
Exceptions 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