Vixen
02b45cc4

SsaoKeys

class
csharp
public static class SsaoKeys

Typed keys for shader Ssao.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (24)

  • public const string ShaderName

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

  • public static readonly PermutationKey<int> Directions

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

  • public static readonly PermutationKey<int> Steps

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

  • public static readonly PermutationKey<bool> BentNormal

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

    inverseProjection at byte 0.

  • public static readonly ParameterKey<Matrix4x4> View

    view at byte 64.

  • public static readonly ParameterKey<Vector2> ProjectionScale

    projectionScale at byte 128, declared 1, 1.

  • public static readonly ParameterKey<Vector2> TexelSize

    texelSize at byte 136, declared 0.001, 0.001.

  • public static readonly ParameterKey<float> Radius

    radius at byte 144, declared 0.5.

  • public static readonly ParameterKey<float> Intensity

    intensity at byte 148, declared 1.

  • public static readonly ParameterKey<float> Falloff

    falloff at byte 152, declared 1.

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

  • AmbientOcclusionRendererVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests