Vixen
02b45cc4

VignetteKeys

class
csharp
public static class VignetteKeys

Typed keys for shader Vignette.

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

Fields and properties (31)

  • public const string ShaderName

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

  • public static readonly PermutationKey<bool> UseVignette

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

  • public static readonly PermutationKey<bool> UseChromaticAberration

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

  • public static readonly PermutationKey<bool> UseGrain

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

  • public static readonly PermutationKey<bool> UseLensDistortion

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

  • public static readonly PermutationKey<bool> LuminanceWeightedGrain

    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<SamplerHandle> LinearSampler

    set 2, binding 2.

  • public const int LinearSamplerSet

    Which descriptor set holds linearSampler.

  • public const uint LinearSamplerBinding

    Which binding within set 2 linearSampler occupies.

  • public static readonly ParameterKey<float> VignetteIntensity

    vignetteIntensity at byte 0, declared 0.4.

  • public static readonly ParameterKey<float> VignetteSmoothness

    vignetteSmoothness at byte 4, declared 0.5.

  • public static readonly ParameterKey<Vector3> VignetteColor

    vignetteColor at byte 16, declared 0, 0, 0.

  • public static readonly ParameterKey<Vector2> VignetteCenter

    vignetteCenter at byte 32, declared 0.5, 0.5.

  • public static readonly ParameterKey<float> VignetteRoundness

    vignetteRoundness at byte 40, declared 0.

  • public static readonly ParameterKey<float> AspectRatio

    aspectRatio at byte 44, declared 1.7777778.

  • public static readonly ParameterKey<float> DistortionIntensity

    distortionIntensity at byte 48, declared 0.

  • public static readonly ParameterKey<Vector2> DistortionScale

    distortionScale at byte 56, declared 1, 1.

  • public static readonly ParameterKey<Vector2> DistortionCenter

    distortionCenter at byte 64, declared 0.5, 0.5.

  • public static readonly ParameterKey<float> DistortionZoom

    distortionZoom at byte 72, declared 1.

  • public static readonly ParameterKey<float> AberrationStrength

    aberrationStrength at byte 76, declared 0.003.

  • public static readonly ParameterKey<float> GrainIntensity

    grainIntensity at byte 80, declared 0.04.

  • public static readonly ParameterKey<float> GrainScale

    grainScale at byte 84, declared 1.

  • public static readonly ParameterKey<float> FrameIndex

    frameIndex at byte 88, declared 0.

  • public static readonly ParameterKey<Vector2> ScreenSize

    screenSize at byte 96, declared 1920, 1080.

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

  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • VignetteRendererVixen.Rendering.PostFx