VolumetricFogInjectKeys
public static class VolumetricFogInjectKeysTyped keys for shader VolumetricFogInject.
Fields and properties (21)
public const string ShaderNameThe shader's name, as the effect system asks for it.
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> HeightFalloffAffects 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> Targetset 2, binding 1.
public const int TargetSetWhich descriptor set holds target.
public const uint TargetBindingWhich binding within set 2 target occupies.
public static readonly ParameterKey<Matrix4x4> InverseViewinverseView at byte 0.
public static readonly ParameterKey<Vector2> TanHalfFovtanHalfFov at byte 64, declared 1, 1.
public static readonly ParameterKey<float> FogNearfogNear at byte 72, declared 0.5.
public static readonly ParameterKey<float> FogFarfogFar at byte 76, declared 64.
public static readonly ParameterKey<float> Densitydensity at byte 80, declared 0.02.
public static readonly ParameterKey<Vector3> ScatteringAlbedoscatteringAlbedo at byte 96, declared 0.9, 0.92, 0.95.
public static readonly ParameterKey<float> FogHeightfogHeight at byte 108, declared 0.
public static readonly ParameterKey<float> HeightFalloffRateheightFalloffRate at byte 112, declared 0.05.
public static readonly ParameterKey<Vector3> Jitterjitter at byte 128.
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