VignetteKeys
public static class VignetteKeysTyped 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 ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> UseVignetteAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> UseChromaticAberrationAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> UseGrainAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> UseLensDistortionAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> LuminanceWeightedGrainAffects the generated code, so a distinct value is a distinct variant.
public static readonly ParameterKey[] UsedPermutationKeysThe permutation keys that actually change the generated code.
public static readonly ParameterKey<TextureViewHandle> Sourceset 2, binding 1.
public const int SourceSetWhich descriptor set holds source.
public const uint SourceBindingWhich binding within set 2 source occupies.
public static readonly ParameterKey<SamplerHandle> LinearSamplerset 2, binding 2.
public const int LinearSamplerSetWhich descriptor set holds linearSampler.
public const uint LinearSamplerBindingWhich binding within set 2 linearSampler occupies.
public static readonly ParameterKey<float> VignetteIntensityvignetteIntensity at byte 0, declared 0.4.
public static readonly ParameterKey<float> VignetteSmoothnessvignetteSmoothness at byte 4, declared 0.5.
public static readonly ParameterKey<Vector3> VignetteColorvignetteColor at byte 16, declared 0, 0, 0.
public static readonly ParameterKey<Vector2> VignetteCentervignetteCenter at byte 32, declared 0.5, 0.5.
public static readonly ParameterKey<float> VignetteRoundnessvignetteRoundness at byte 40, declared 0.
public static readonly ParameterKey<float> AspectRatioaspectRatio at byte 44, declared 1.7777778.
public static readonly ParameterKey<float> DistortionIntensitydistortionIntensity at byte 48, declared 0.
public static readonly ParameterKey<Vector2> DistortionScaledistortionScale at byte 56, declared 1, 1.
public static readonly ParameterKey<Vector2> DistortionCenterdistortionCenter at byte 64, declared 0.5, 0.5.
public static readonly ParameterKey<float> DistortionZoomdistortionZoom at byte 72, declared 1.
public static readonly ParameterKey<float> AberrationStrengthaberrationStrength at byte 76, declared 0.003.
public static readonly ParameterKey<float> GrainIntensitygrainIntensity at byte 80, declared 0.04.
public static readonly ParameterKey<float> GrainScalegrainScale at byte 84, declared 1.
public static readonly ParameterKey<float> FrameIndexframeIndex at byte 88, declared 0.
public static readonly ParameterKey<Vector2> ScreenSizescreenSize at byte 96, declared 1920, 1080.
public const int ConstantBufferSizeThe uniform block's size in bytes — what to allocate.
public const int ConstantBufferSetWhich descriptor set holds the uniform block.
public const uint ConstantBufferBindingWhich binding within set 2 the uniform block occupies.
Used by (2)
- PostEffectTestsVixen.Rendering.PostFx.Tests
- VignetteRendererVixen.Rendering.PostFx