DistanceFieldAoKeys
public static class DistanceFieldAoKeysTyped keys for shader DistanceFieldAo.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (38)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> SunShadowAffects 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> GlobalDistanceFieldDistanceFieldLevelsset 0, binding 1.
public const int GlobalDistanceFieldDistanceFieldLevelsSetWhich descriptor set holds GlobalDistanceField.distanceFieldLevels.
public const uint GlobalDistanceFieldDistanceFieldLevelsBindingWhich binding within set 0 GlobalDistanceField.distanceFieldLevels occupies.
public static readonly ParameterKey<SamplerHandle> GlobalDistanceFieldDistanceFieldSamplerset 0, binding 2.
public const int GlobalDistanceFieldDistanceFieldSamplerSetWhich descriptor set holds GlobalDistanceField.distanceFieldSampler.
public const uint GlobalDistanceFieldDistanceFieldSamplerBindingWhich binding within set 0 GlobalDistanceField.distanceFieldSampler occupies.
public static readonly ParameterKey<TextureViewHandle> DepthBufferset 2, binding 1.
public const int DepthBufferSetWhich descriptor set holds depthBuffer.
public const uint DepthBufferBindingWhich binding within set 2 depthBuffer occupies.
public static readonly ParameterKey<TextureViewHandle> NormalBufferset 2, binding 2.
public const int NormalBufferSetWhich descriptor set holds normalBuffer.
public const uint NormalBufferBindingWhich binding within set 2 normalBuffer occupies.
public static readonly ParameterKey<SamplerHandle> PointSamplerset 2, binding 3.
public const int PointSamplerSetWhich descriptor set holds pointSampler.
public const uint PointSamplerBindingWhich binding within set 2 pointSampler occupies.
public static readonly ParameterKey<Matrix4x4> InverseViewProjectioninverseViewProjection at byte 0.
public static readonly ParameterKey<float> OcclusionRadiusocclusionRadius at byte 64, declared 2.
public static readonly ParameterKey<int> OcclusionSamplesocclusionSamples at byte 68, declared 5.
public static readonly ParameterKey<float> OcclusionStrengthocclusionStrength at byte 72, declared 1.
public static readonly ParameterKey<Vector3> SunDirectionsunDirection at byte 80, declared 0, 1, 0.
public static readonly ParameterKey<float> SunDistancesunDistance at byte 92, declared 200.
public static readonly ParameterKey<float> SunSoftnesssunSoftness at byte 96, declared 8.
public static readonly ParameterKey<float> ShadowBiasshadowBias at byte 100, declared 0.2.
public static readonly ParameterKey<int> ShadowStepsshadowSteps at byte 104, declared 64.
public static readonly ParameterKey<float> SurfaceThresholdsurfaceThreshold at byte 108, declared 0.05.
public static readonly ParameterKey<float> StepScalestepScale at byte 112, declared 0.9.
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 0 the uniform block occupies.
public const int PerFrameBlockSizeSet 0's block size in bytes.
public const int PerFrameBlockSetWhich descriptor set holds set 0's block.
public const uint PerFrameBlockBindingWhich binding within set 0 set 0's block occupies.
public const int PerMaterialBlockSizeSet 2's block size in bytes.
public const int PerMaterialBlockSetWhich descriptor set holds set 2's block.
public const uint PerMaterialBlockBindingWhich binding within set 2 set 2's block occupies.
Used by (2)
- DistanceFieldAoRendererVixen.Rendering.PostFx
- PostEffectTestsVixen.Rendering.PostFx.Tests