Vixen
02b45cc4

DistanceFieldAoKeys

class
csharp
public static class DistanceFieldAoKeys

Typed 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 ShaderName

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

  • public static readonly PermutationKey<bool> SunShadow

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

    set 0, binding 1.

  • public const int GlobalDistanceFieldDistanceFieldLevelsSet

    Which descriptor set holds GlobalDistanceField.distanceFieldLevels.

  • public const uint GlobalDistanceFieldDistanceFieldLevelsBinding

    Which binding within set 0 GlobalDistanceField.distanceFieldLevels occupies.

  • public static readonly ParameterKey<SamplerHandle> GlobalDistanceFieldDistanceFieldSampler

    set 0, binding 2.

  • public const int GlobalDistanceFieldDistanceFieldSamplerSet

    Which descriptor set holds GlobalDistanceField.distanceFieldSampler.

  • public const uint GlobalDistanceFieldDistanceFieldSamplerBinding

    Which binding within set 0 GlobalDistanceField.distanceFieldSampler occupies.

  • public static readonly ParameterKey<TextureViewHandle> DepthBuffer

    set 2, binding 1.

  • public const int DepthBufferSet

    Which descriptor set holds depthBuffer.

  • public const uint DepthBufferBinding

    Which binding within set 2 depthBuffer occupies.

  • public static readonly ParameterKey<TextureViewHandle> NormalBuffer

    set 2, binding 2.

  • public const int NormalBufferSet

    Which descriptor set holds normalBuffer.

  • public const uint NormalBufferBinding

    Which binding within set 2 normalBuffer occupies.

  • public static readonly ParameterKey<SamplerHandle> PointSampler

    set 2, binding 3.

  • public const int PointSamplerSet

    Which descriptor set holds pointSampler.

  • public const uint PointSamplerBinding

    Which binding within set 2 pointSampler occupies.

  • public static readonly ParameterKey<Matrix4x4> InverseViewProjection

    inverseViewProjection at byte 0.

  • public static readonly ParameterKey<float> OcclusionRadius

    occlusionRadius at byte 64, declared 2.

  • public static readonly ParameterKey<int> OcclusionSamples

    occlusionSamples at byte 68, declared 5.

  • public static readonly ParameterKey<float> OcclusionStrength

    occlusionStrength at byte 72, declared 1.

  • public static readonly ParameterKey<Vector3> SunDirection

    sunDirection at byte 80, declared 0, 1, 0.

  • public static readonly ParameterKey<float> SunDistance

    sunDistance at byte 92, declared 200.

  • public static readonly ParameterKey<float> SunSoftness

    sunSoftness at byte 96, declared 8.

  • public static readonly ParameterKey<float> ShadowBias

    shadowBias at byte 100, declared 0.2.

  • public static readonly ParameterKey<int> ShadowSteps

    shadowSteps at byte 104, declared 64.

  • public static readonly ParameterKey<float> SurfaceThreshold

    surfaceThreshold at byte 108, declared 0.05.

  • public static readonly ParameterKey<float> StepScale

    stepScale at byte 112, declared 0.9.

  • 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 0 the uniform block occupies.

  • public const int PerFrameBlockSize

    Set 0's block size in bytes.

  • public const int PerFrameBlockSet

    Which descriptor set holds set 0's block.

  • public const uint PerFrameBlockBinding

    Which binding within set 0 set 0's block occupies.

  • public const int PerMaterialBlockSize

    Set 2's block size in bytes.

  • public const int PerMaterialBlockSet

    Which descriptor set holds set 2's block.

  • public const uint PerMaterialBlockBinding

    Which binding within set 2 set 2's block occupies.

Used by (2)

  • DistanceFieldAoRendererVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests