Vixen
c7401864
csharp
public enum WaterWaveCount

How many waves a sea state is summed from.

Read the guide page for this →

Remarks

Quantised, and it is the permutation axis — [35 § D7](../../docs/plan/35-water.md#d7-waves-are-a-spectrum-summed-as-gerstner-and-the-fft-is-deferred-with-arithmetic). A sea state gaining one wave must not compile a shader, so the count a document types rounds up to one of three and the vertex stage has three variants rather than thirty. [31 § D6](../../docs/plan/31-terrain-grass-and-trees.md)'s trick, unchanged.

⚠ It is also what keeps the two evaluators the same shape. A dynamic loop on the CPU and an unrolled one on the GPU is how two implementations of one function start to differ in the last bits — see [§ D2](../../docs/plan/35-water.md#d2-one-evaluator-two-hosts-and-the-seam-is-a-test).

Fields and properties (3)

  • Eight

    Eight. A lake, a river, and anything a low-end target draws.

  • Sixteen

    Sixteen. The default, and Unreal's.

  • ThirtyTwo

    Thirty-two. Open sea, where the long swell and the chop have to coexist.

Used by (13)

  • AssetWaterSourceTestsVixen.Engine.Renderer.Tests
  • TypeRegistrationVixen.Water
  • Vixen_Water_WaterWaveSpectrumSerializerVixen.Water
  • WaterQueryVixen.Water
  • WaterSurfacePassVixen.Rendering.Water
  • WaterSurfaceSeamDeviceTestsVixen.Graphics.Golden.Tests
  • WaterWaveSpectrumVixen.Water
  • WaterWaveTestsVixen.Water.Tests
  • WaterZoneSystemTestsVixen.Rendering.Water.Tests
  • Describes_Vixen_Editor_Water_WaterZoneSettingsVixen.Editor.Water
  • WaterEditTestsVixen.Editor.Water.Tests
  • WaterWavesImporterTestsVixen.Editor.Assets.Tests
  • WaterZoneSettingsVixen.Editor.Water