Vixen
dd8b0a81

LightStreakKeys

class
csharp
public static class LightStreakKeys

Typed keys for shader LightStreak.

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

Fields and properties (26)

  • 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> Samples

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

    set 2, binding 2.

  • public const int StreakSet

    Which descriptor set holds streak.

  • public const uint StreakBinding

    Which binding within set 2 streak 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> StreakSampler

    set 2, binding 4.

  • public const int StreakSamplerSet

    Which descriptor set holds streakSampler.

  • public const uint StreakSamplerBinding

    Which binding within set 2 streakSampler occupies.

  • public static readonly ParameterKey<Vector2> TexelSize

    texelSize at byte 0, declared 0.001, 0.001.

  • public static readonly ParameterKey<Vector2> Direction

    direction at byte 8, declared 1, 0.

  • public static readonly ParameterKey<float> Stride

    stride at byte 16, declared 1.

  • public static readonly ParameterKey<float> Attenuation

    attenuation at byte 20, declared 0.94.

  • public static readonly ParameterKey<float> Threshold

    threshold at byte 24, declared 40000.

  • public static readonly ParameterKey<float> Intensity

    intensity at byte 28, declared 0.6.

  • public static readonly ParameterKey<Vector3> Tint

    tint at byte 32, 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)

  • LightStreakRendererVixen.Rendering.PostFx