Click or drag to resize
DigitalRuneOceanWavesTextureSize Property
Gets or sets the size of the displacement/normal map in texels.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public int TextureSize { get; set; }

Property Value

Type: Int32
The size of the displacement/normal map in texels. Must be a power of two (e.g. 2, 4, 8, etc.). The default value is 256.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is less than 2.
ArgumentExceptionvalue is not a power of two.
See Also