Vixen
c7401864

VolumetricFogKeys

class
csharp
public static class VolumetricFogKeys

Typed keys for shader VolumetricFog.

Read the guide page for this →

Fields and properties (53)

  • public const string ShaderName

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

  • public static readonly PermutationKey<int> Pass

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

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

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

  • public static readonly PermutationKey<bool> UseClusteredLights

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

  • public static readonly PermutationKey<bool> Reproject

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

    set 2, binding 2.

  • public const int ShadowMapSet

    Which descriptor set holds shadowMap.

  • public const uint ShadowMapBinding

    Which binding within set 2 shadowMap occupies.

  • public static readonly ParameterKey<TextureViewHandle> History

    set 2, binding 3.

  • public const int HistorySet

    Which descriptor set holds history.

  • public const uint HistoryBinding

    Which binding within set 2 history occupies.

  • public static readonly ParameterKey<SamplerHandle> VolumeSampler

    set 2, binding 4.

  • public const int VolumeSamplerSet

    Which descriptor set holds volumeSampler.

  • public const uint VolumeSamplerBinding

    Which binding within set 2 volumeSampler occupies.

  • public static readonly ParameterKey<SamplerHandle> ShadowSampler

    set 2, binding 5.

  • public const int ShadowSamplerSet

    Which descriptor set holds shadowSampler.

  • public const uint ShadowSamplerBinding

    Which binding within set 2 shadowSampler occupies.

  • public static readonly ParameterKey<BufferHandle> LightBuffer

    set 2, binding 6.

  • public const int LightBufferSet

    Which descriptor set holds lightBuffer.

  • public const uint LightBufferBinding

    Which binding within set 2 lightBuffer occupies.

  • public static readonly ParameterKey<BufferHandle> Clusters

    set 2, binding 7.

  • public const int ClustersSet

    Which descriptor set holds clusters.

  • public const uint ClustersBinding

    Which binding within set 2 clusters occupies.

  • public static readonly ParameterKey<TextureViewHandle> Target

    set 2, binding 8.

  • public const int TargetSet

    Which descriptor set holds target.

  • public const uint TargetBinding

    Which binding within set 2 target occupies.

  • public static readonly ParameterKey<Vector2> TanHalfFov

    tanHalfFov at byte 0, declared 1, 1.

  • public static readonly ParameterKey<float> FogNear

    fogNear at byte 8, declared 0.5.

  • public static readonly ParameterKey<float> FogFar

    fogFar at byte 12, declared 64.

  • public static readonly ParameterKey<Vector3> SunDirection

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

  • public static readonly ParameterKey<Vector3> SunColour

    sunColour at byte 32, declared 1, 0.9, 0.7.

  • public static readonly ParameterKey<float> PhaseG

    phaseG at byte 44, declared 0.7.

  • public static readonly ParameterKey<Vector3> AmbientColour

    ambientColour at byte 48, declared 0.35, 0.42, 0.55.

  • public static readonly ParameterKey<Matrix4x4> InverseView

    inverseView at byte 64.

  • public static readonly ParameterKey<Vector2> ShadowTexelSize

    shadowTexelSize at byte 448, declared 1, 1.

  • public static readonly ParameterKey<float> ShadowConstantBias

    shadowConstantBias at byte 456, declared 0.008.

  • public static readonly ParameterKey<float> ShadowSlopeBias

    shadowSlopeBias at byte 460, declared 0.01.

  • public static readonly ParameterKey<float> ShadowFadeRange

    shadowFadeRange at byte 464, declared 10.

  • public static readonly ParameterKey<float> ClusterNear

    clusterNear at byte 468, declared 0.1.

  • public static readonly ParameterKey<float> ClusterFar

    clusterFar at byte 472, declared 1000.

  • public static readonly ParameterKey<Matrix4x4> PreviousViewProjection

    previousViewProjection at byte 480.

  • public static readonly ParameterKey<float> HistoryBlend

    historyBlend at byte 544, declared 0.

  • public static readonly ParameterKey<Vector3> Jitter

    jitter at byte 560.

  • 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