Vixen
dd8b0a81

FogKeys

class
csharp
public static class FogKeys

Typed keys for shader Fog.

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

Fields and properties (37)

  • 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<bool> HeightFalloff

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

  • public static readonly PermutationKey<bool> SunScattering

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

  • public static readonly PermutationKey<bool> Volumetric

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

    set 2, binding 2.

  • public const int DepthBufferSet

    Which descriptor set holds depthBuffer.

  • public const uint DepthBufferBinding

    Which binding within set 2 depthBuffer occupies.

  • public static readonly ParameterKey<TextureViewHandle> FogVolume

    set 2, binding 3.

  • public const int FogVolumeSet

    Which descriptor set holds fogVolume.

  • public const uint FogVolumeBinding

    Which binding within set 2 fogVolume occupies.

  • public static readonly ParameterKey<SamplerHandle> LinearSampler

    set 2, binding 4.

  • public const int LinearSamplerSet

    Which descriptor set holds linearSampler.

  • public const uint LinearSamplerBinding

    Which binding within set 2 linearSampler occupies.

  • public static readonly ParameterKey<Matrix4x4> InverseViewProjection

    inverseViewProjection at byte 0.

  • public static readonly ParameterKey<Vector3> CameraPosition

    cameraPosition at byte 64.

  • public static readonly ParameterKey<Vector3> FogColor

    fogColor at byte 80, declared 1400, 1680, 2200.

  • public static readonly ParameterKey<float> Density

    density at byte 92, declared 0.02.

  • public static readonly ParameterKey<float> FogStart

    fogStart at byte 96, declared 10.

  • public static readonly ParameterKey<float> FogEnd

    fogEnd at byte 100, declared 200.

  • public static readonly ParameterKey<float> FogHeight

    fogHeight at byte 104, declared 0.

  • public static readonly ParameterKey<float> HeightFalloffRate

    heightFalloffRate at byte 108, declared 0.05.

  • public static readonly ParameterKey<Vector3> SunDirection

    sunDirection at byte 112, declared 0, -1, 0.

  • public static readonly ParameterKey<Vector3> SunColor

    sunColor at byte 128, declared 91400, 82680, 65200.

  • public static readonly ParameterKey<float> SunAnisotropy

    sunAnisotropy at byte 140, declared 0.7.

  • public static readonly ParameterKey<float> VolumeNear

    volumeNear at byte 144, declared 0.5.

  • public static readonly ParameterKey<float> VolumeFar

    volumeFar at byte 148, declared 64.

  • public static readonly ParameterKey<float> VolumeSlices

    volumeSlices at byte 152, declared 64.

  • public static readonly ParameterKey<float> CameraNear

    cameraNear at byte 156, declared 0.1.

  • public static readonly ParameterKey<float> CameraFar

    cameraFar at byte 160, declared 1000.

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

  • FogRendererVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests