Vixen
02b45cc4

LensFlareKeys

class
csharp
public static class LensFlareKeys

Typed keys for shader LensFlare.

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

Fields and properties (32)

  • 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<int> Ghosts

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

  • public static readonly PermutationKey<bool> UseHalo

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

  • public static readonly PermutationKey<bool> UseStarburst

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

    set 2, binding 2.

  • public const int BrightSet

    Which descriptor set holds bright.

  • public const uint BrightBinding

    Which binding within set 2 bright 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<SamplerHandle> BrightSampler

    set 2, binding 4.

  • public const int BrightSamplerSet

    Which descriptor set holds brightSampler.

  • public const uint BrightSamplerBinding

    Which binding within set 2 brightSampler occupies.

  • public static readonly ParameterKey<float> Threshold

    threshold at byte 0, declared 1.

  • public static readonly ParameterKey<float> GhostSpacing

    ghostSpacing at byte 4, declared 0.35.

  • public static readonly ParameterKey<float> GhostIntensity

    ghostIntensity at byte 8, declared 0.06.

  • public static readonly ParameterKey<float> HaloRadius

    haloRadius at byte 12, declared 0.45.

  • public static readonly ParameterKey<float> HaloThickness

    haloThickness at byte 16, declared 0.2.

  • public static readonly ParameterKey<float> HaloIntensity

    haloIntensity at byte 20, declared 0.04.

  • public static readonly ParameterKey<float> ChromaticOffset

    chromaticOffset at byte 24, declared 0.006.

  • public static readonly ParameterKey<float> StarburstBlades

    starburstBlades at byte 28, declared 6.

  • public static readonly ParameterKey<float> StarburstIntensity

    starburstIntensity at byte 32, declared 0.5.

  • public static readonly ParameterKey<float> StarburstAngle

    starburstAngle at byte 36, declared 0.

  • public static readonly ParameterKey<Vector3> Tint

    tint at byte 48, declared 1, 1, 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 (1)

  • LensFlareRendererVixen.Rendering.PostFx