Click or drag to resize
DigitalRuneNoiseHelper Class
Contains helper method for the Noise shaders.
Inheritance Hierarchy
SystemObject
  DigitalRune.GraphicsNoiseHelper

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static class NoiseHelper

The NoiseHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetDitherTexture
Gets a 16x16 dither map.
Public methodStatic memberGetGradient3DTexture
Gets the optimized gradient lookup texture for 3D Perlin noise.
Public methodStatic memberGetGradient4DTexture
Gets the gradient lookup texture for 4D Perlin noise.
Public methodStatic memberGetGrainTexture
Gets a grain texture.
Public methodStatic memberGetNoiseTexture(IGraphicsService)
Gets a tileable noise texture.
Public methodStatic memberGetNoiseTexture(IGraphicsService, Int32, Int32)
Gets a tileable noise texture.
Public methodStatic memberGetPermutation3DTexture
Gets the optimized permutation lookup texture for 3D Perlin noise.
Public methodStatic memberGetPermutationTexture
Gets the permutation lookup texture (used in 4D noise, but not in the optimized 3D noise).
Top
Remarks
This static class creates the required lookup textures. The textures are cached and re-used as long as the GraphicsDevice is the same.
See Also