FogKeys
public static class FogKeysTyped keys for shader Fog.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (28)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<int> ModeAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> HeightFalloffAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> SunScatteringAffects 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<TextureViewHandle> DepthBufferset 2, binding 2.
public const int DepthBufferSetWhich descriptor set holds depthBuffer.
public const uint DepthBufferBindingWhich binding within set 2 depthBuffer occupies.
public static readonly ParameterKey<SamplerHandle> LinearSamplerset 2, binding 3.
public const int LinearSamplerSetWhich descriptor set holds linearSampler.
public const uint LinearSamplerBindingWhich binding within set 2 linearSampler occupies.
public static readonly ParameterKey<Matrix4x4> InverseViewProjectioninverseViewProjection at byte 0.
public static readonly ParameterKey<Vector3> CameraPositioncameraPosition at byte 64.
public static readonly ParameterKey<Vector3> FogColorfogColor at byte 80, declared 0.5, 0.6, 0.7.
public static readonly ParameterKey<float> Densitydensity at byte 92, declared 0.02.
public static readonly ParameterKey<float> FogStartfogStart at byte 96, declared 10.
public static readonly ParameterKey<float> FogEndfogEnd at byte 100, declared 200.
public static readonly ParameterKey<float> FogHeightfogHeight at byte 104, declared 0.
public static readonly ParameterKey<float> HeightFalloffRateheightFalloffRate at byte 108, declared 0.05.
public static readonly ParameterKey<Vector3> SunDirectionsunDirection at byte 112, declared 0, -1, 0.
public static readonly ParameterKey<Vector3> SunColorsunColor at byte 128, declared 1, 0.9, 0.7.
public static readonly ParameterKey<float> SunAnisotropysunAnisotropy at byte 140, declared 0.7.
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)
- FogRendererVixen.Rendering.PostFx
- PostEffectTestsVixen.Rendering.PostFx.Tests