Vixen
02b45cc4

BloomKeys

class
csharp
public static class BloomKeys

Typed keys for shader Bloom.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (21)

  • 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 PermutationKey<bool> KarisAverage

    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> Previous

    set 2, binding 2.

  • public const int PreviousSet

    Which descriptor set holds previous.

  • public const uint PreviousBinding

    Which binding within set 2 previous occupies.

  • public static readonly ParameterKey<SamplerHandle> SourceSampler

    set 2, binding 3.

  • public const int SourceSamplerSet

    Which descriptor set holds sourceSampler.

  • public const uint SourceSamplerBinding

    Which binding within set 2 sourceSampler occupies.

  • public static readonly ParameterKey<Vector2> TexelSize

    texelSize at byte 0, declared 0.001, 0.001.

  • public static readonly ParameterKey<float> Threshold

    threshold at byte 8, declared 1.

  • public static readonly ParameterKey<float> Knee

    knee at byte 12, declared 0.5.

  • public static readonly ParameterKey<float> FilterRadius

    filterRadius at byte 16, declared 1.

  • public static readonly ParameterKey<float> Intensity

    intensity at byte 20, declared 1.

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

  • BloomRendererVixen.Rendering.PostFx
  • BloomTestsVixen.Rendering.PostFx.Tests
  • ChainVixen.Graphics.Golden.Tests