Vixen
caa30e12

WaterMeshKeys

class
csharp
public static class WaterMeshKeys

Typed keys for shader WaterMesh.

Read the guide page for this →

Fields and properties (36)

  • public const string ShaderName

    The shader's name, as the effect system asks for it.

  • public static readonly PermutationKey<int> GridQuads

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> FarMesh

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly ParameterKey[] UsedPermutationKeys

    The permutation keys that actually change the generated code.

  • public static readonly ParameterKey<BufferHandle> BufferedWaterWavesWaves

    set 0, binding 1.

  • public const int BufferedWaterWavesWavesSet

    Which descriptor set holds BufferedWaterWaves.waves.

  • public const uint BufferedWaterWavesWavesBinding

    Which binding within set 0 BufferedWaterWaves.waves occupies.

  • public static readonly ParameterKey<TextureViewHandle> WaterInfo

    set 2, binding 1.

  • public const int WaterInfoSet

    Which descriptor set holds waterInfo.

  • public const uint WaterInfoBinding

    Which binding within set 2 waterInfo occupies.

  • public static readonly ParameterKey<SamplerHandle> InfoSampler

    set 2, binding 2.

  • public const int InfoSamplerSet

    Which descriptor set holds infoSampler.

  • public const uint InfoSamplerBinding

    Which binding within set 2 infoSampler occupies.

  • public static readonly ParameterKey<BufferHandle> Nodes

    set 2, binding 3.

  • public const int NodesSet

    Which descriptor set holds nodes.

  • public const uint NodesBinding

    Which binding within set 2 nodes occupies.

  • public static readonly ParameterKey<int> BufferedWaterWavesWaveCount

    BufferedWaterWaves.waveCount at byte 0.

  • public static readonly ParameterKey<Matrix4x4> ViewProjection

    viewProjection at byte 0.

  • public static readonly ParameterKey<Vector2> WindowOrigin

    windowOrigin at byte 64.

  • public static readonly ParameterKey<float> WindowExtent

    windowExtent at byte 72, declared 512.

  • public static readonly ParameterKey<float> AttenuationDepth

    attenuationDepth at byte 76, declared 2.

  • public static readonly ParameterKey<float> WaterTime

    waterTime at byte 80, declared 0.

  • public static readonly ParameterKey<float> EdgeFade

    edgeFade at byte 84, declared 32.

  • public static readonly ParameterKey<float> RestHeight

    restHeight at byte 88, declared 0.

  • public static readonly ParameterKey<float> ShoreDepth

    shoreDepth at byte 92, declared 0.25.

  • public static readonly ParameterKey<float> FoamDepth

    foamDepth at byte 96, declared 0.4.

  • public static readonly ParameterKey<float> FoamCrest

    foamCrest at byte 100, declared 0.5.

  • public const int ConstantBufferSize

    The uniform block's size in bytes — what to allocate.

  • public const int ConstantBufferSet

    Which descriptor set holds the uniform block.

  • public const uint ConstantBufferBinding

    Which binding within set 0 the uniform block occupies.

  • public const int PerFrameBlockSize

    Set 0's block size in bytes.

  • public const int PerFrameBlockSet

    Which descriptor set holds set 0's block.

  • public const uint PerFrameBlockBinding

    Which binding within set 0 set 0's block occupies.

  • public const int PerMaterialBlockSize

    Set 2's block size in bytes.

  • public const int PerMaterialBlockSet

    Which descriptor set holds set 2's block.

  • public const uint PerMaterialBlockBinding

    Which binding within set 2 set 2's block occupies.

Used by (2)

  • WaterMeshRendererVixen.Rendering.Water
  • WaterSurfacePassVixen.Rendering.Water