Vixen
dd8b0a81

SmaaKeys

class
csharp
public static class SmaaKeys

Typed keys for shader Smaa.

Read the guide page for this →

Fields and properties (30)

  • public const string ShaderName

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

  • public static readonly PermutationKey<int> Mode

    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<TextureViewHandle> Source

    set 2, binding 1.

  • public const int SourceSet

    Which descriptor set holds source.

  • public const uint SourceBinding

    Which binding within set 2 source occupies.

  • public static readonly ParameterKey<TextureViewHandle> Edges

    set 2, binding 2.

  • public const int EdgesSet

    Which descriptor set holds edges.

  • public const uint EdgesBinding

    Which binding within set 2 edges occupies.

  • public static readonly ParameterKey<TextureViewHandle> Weights

    set 2, binding 3.

  • public const int WeightsSet

    Which descriptor set holds weights.

  • public const uint WeightsBinding

    Which binding within set 2 weights occupies.

  • public static readonly ParameterKey<TextureViewHandle> Area

    set 2, binding 4.

  • public const int AreaSet

    Which descriptor set holds area.

  • public const uint AreaBinding

    Which binding within set 2 area occupies.

  • public static readonly ParameterKey<SamplerHandle> LinearSampler

    set 2, binding 5.

  • public const int LinearSamplerSet

    Which descriptor set holds linearSampler.

  • public const uint LinearSamplerBinding

    Which binding within set 2 linearSampler occupies.

  • public static readonly ParameterKey<SamplerHandle> PointSampler

    set 2, binding 6.

  • public const int PointSamplerSet

    Which descriptor set holds pointSampler.

  • public const uint PointSamplerBinding

    Which binding within set 2 pointSampler occupies.

  • public static readonly ParameterKey<Vector2> TexelSize

    texelSize at byte 0, declared 0.001, 0.001.

  • public static readonly ParameterKey<Vector2> AreaTexelSize

    areaTexelSize at byte 8, declared 0.0125, 0.0125.

  • public static readonly ParameterKey<float> AreaMaxDistance

    areaMaxDistance at byte 16, declared 16.

  • public static readonly ParameterKey<float> EdgeThreshold

    edgeThreshold at byte 20, declared 0.1.

  • public static readonly ParameterKey<float> ContrastAdaptation

    contrastAdaptation at byte 24, declared 2.

  • public static readonly ParameterKey<float> LumaFloor

    lumaFloor at byte 28, declared 0.0001.

  • 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 (2)

  • SmaaRendererVixen.Rendering.PostFx
  • SmaaTestsVixen.Rendering.PostFx.Tests