Vixen
caa30e12

RipplesKeys

class
csharp
public static class RipplesKeys

Typed keys for shader Ripples.

Read the guide page for this →

Fields and properties (22)

  • public const string ShaderName

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

  • public static readonly PermutationKey<bool> Compute

    Declared but unused: setting it produces the same shader.

  • public static readonly ParameterKey[] UsedPermutationKeys

    The permutation keys that actually change the generated code.

  • public static readonly ParameterKey<TextureViewHandle> State

    set 2, binding 1.

  • public const int StateSet

    Which descriptor set holds state.

  • public const uint StateBinding

    Which binding within set 2 state occupies.

  • public static readonly ParameterKey<SamplerHandle> PointSampler

    set 2, binding 2.

  • public const int PointSamplerSet

    Which descriptor set holds pointSampler.

  • public const uint PointSamplerBinding

    Which binding within set 2 pointSampler occupies.

  • public static readonly ParameterKey<TextureViewHandle> Target

    set 2, binding 3.

  • public const int TargetSet

    Which descriptor set holds target.

  • public const uint TargetBinding

    Which binding within set 2 target occupies.

  • public static readonly ParameterKey<int> Resolution

    resolution at byte 0, declared 257.

  • public static readonly ParameterKey<float> MetresPerTexel

    metresPerTexel at byte 4, declared 0.25.

  • public static readonly ParameterKey<float> Speed

    speed at byte 8, declared 2.

  • public static readonly ParameterKey<float> Damping

    damping at byte 12, declared 0.6.

  • public static readonly ParameterKey<float> DeltaTime

    deltaTime at byte 16, declared 0.016666.

  • public static readonly ParameterKey<float> EdgeFade

    edgeFade at byte 20, declared 6.

  • public static readonly ParameterKey<int> InjectionCount

    injectionCount at byte 544, declared 0.

  • 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 2 the uniform block occupies.

Used by (1)

  • WaterRippleSimulationVixen.Rendering.Water