VolumetricFogKeys
public static class VolumetricFogKeysTyped keys for shader VolumetricFog.
Fields and properties (53)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<int> PassAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<int> GridXAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<int> GridYAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<int> GridZAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> ShadowedAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> UseClusteredLightsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> ReprojectAffects 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> ShadowMapset 2, binding 2.
public const int ShadowMapSetWhich descriptor set holds shadowMap.
public const uint ShadowMapBindingWhich binding within set 2 shadowMap occupies.
public static readonly ParameterKey<TextureViewHandle> Historyset 2, binding 3.
public const int HistorySetWhich descriptor set holds history.
public const uint HistoryBindingWhich binding within set 2 history occupies.
public static readonly ParameterKey<SamplerHandle> VolumeSamplerset 2, binding 4.
public const int VolumeSamplerSetWhich descriptor set holds volumeSampler.
public const uint VolumeSamplerBindingWhich binding within set 2 volumeSampler occupies.
public static readonly ParameterKey<SamplerHandle> ShadowSamplerset 2, binding 5.
public const int ShadowSamplerSetWhich descriptor set holds shadowSampler.
public const uint ShadowSamplerBindingWhich binding within set 2 shadowSampler occupies.
public static readonly ParameterKey<BufferHandle> LightBufferset 2, binding 6.
public const int LightBufferSetWhich descriptor set holds lightBuffer.
public const uint LightBufferBindingWhich binding within set 2 lightBuffer occupies.
public static readonly ParameterKey<BufferHandle> Clustersset 2, binding 7.
public const int ClustersSetWhich descriptor set holds clusters.
public const uint ClustersBindingWhich binding within set 2 clusters occupies.
public static readonly ParameterKey<TextureViewHandle> Targetset 2, binding 8.
public const int TargetSetWhich descriptor set holds target.
public const uint TargetBindingWhich binding within set 2 target occupies.
public static readonly ParameterKey<Vector2> TanHalfFovtanHalfFov at byte 0, declared 1, 1.
public static readonly ParameterKey<float> FogNearfogNear at byte 8, declared 0.5.
public static readonly ParameterKey<float> FogFarfogFar at byte 12, declared 64.
public static readonly ParameterKey<Vector3> SunDirectionsunDirection at byte 16, declared 0, -1, 0.
public static readonly ParameterKey<Vector3> SunColoursunColour at byte 32, declared 1, 0.9, 0.7.
public static readonly ParameterKey<float> PhaseGphaseG at byte 44, declared 0.7.
public static readonly ParameterKey<Vector3> AmbientColourambientColour at byte 48, declared 0.35, 0.42, 0.55.
public static readonly ParameterKey<Matrix4x4> InverseViewinverseView at byte 64.
public static readonly ParameterKey<Vector2> ShadowTexelSizeshadowTexelSize at byte 448, declared 1, 1.
public static readonly ParameterKey<float> ShadowConstantBiasshadowConstantBias at byte 456, declared 0.008.
public static readonly ParameterKey<float> ShadowSlopeBiasshadowSlopeBias at byte 460, declared 0.01.
public static readonly ParameterKey<float> ShadowFadeRangeshadowFadeRange at byte 464, declared 10.
public static readonly ParameterKey<float> ClusterNearclusterNear at byte 468, declared 0.1.
public static readonly ParameterKey<float> ClusterFarclusterFar at byte 472, declared 1000.
public static readonly ParameterKey<Matrix4x4> PreviousViewProjectionpreviousViewProjection at byte 480.
public static readonly ParameterKey<float> HistoryBlendhistoryBlend at byte 544, declared 0.
public static readonly ParameterKey<Vector3> Jitterjitter at byte 560.
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)
- VolumetricFogIntegrationTestsVixen.Rendering.PostFx.Tests
- VolumetricFogRendererVixen.Rendering.PostFx