Vixen
c7401864

VolumetricFogInjectKeys

class
csharp
public static class VolumetricFogInjectKeys

Typed keys for shader VolumetricFogInject.

Read the guide page for this →

Fields and properties (21)

  • public const string ShaderName

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

  • public static readonly PermutationKey<int> GridX

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

  • public static readonly PermutationKey<int> GridY

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

  • public static readonly PermutationKey<int> GridZ

    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 ParameterKey[] UsedPermutationKeys

    The permutation keys that actually change the generated code.

  • public static readonly ParameterKey<TextureViewHandle> Target

    set 2, binding 1.

  • public const int TargetSet

    Which descriptor set holds target.

  • public const uint TargetBinding

    Which binding within set 2 target occupies.

  • public static readonly ParameterKey<Matrix4x4> InverseView

    inverseView at byte 0.

  • public static readonly ParameterKey<Vector2> TanHalfFov

    tanHalfFov at byte 64, declared 1, 1.

  • public static readonly ParameterKey<float> FogNear

    fogNear at byte 72, declared 0.5.

  • public static readonly ParameterKey<float> FogFar

    fogFar at byte 76, declared 64.

  • public static readonly ParameterKey<float> Density

    density at byte 80, declared 0.02.

  • public static readonly ParameterKey<Vector3> ScatteringAlbedo

    scatteringAlbedo at byte 96, declared 0.9, 0.92, 0.95.

  • public static readonly ParameterKey<float> FogHeight

    fogHeight at byte 108, declared 0.

  • public static readonly ParameterKey<float> HeightFalloffRate

    heightFalloffRate at byte 112, declared 0.05.

  • public static readonly ParameterKey<Vector3> Jitter

    jitter at byte 128.

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

  • VolumetricFogIntegrationTestsVixen.Rendering.PostFx.Tests
  • VolumetricFogRendererVixen.Rendering.PostFx