SsaoKeys
public static class SsaoKeysTyped 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 ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<int> DirectionsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<int> StepsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> BentNormalAffects 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> 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> InverseProjectioninverseProjection at byte 0.
public static readonly ParameterKey<Matrix4x4> Viewview at byte 64.
public static readonly ParameterKey<Vector2> ProjectionScaleprojectionScale at byte 128, declared 1, 1.
public static readonly ParameterKey<Vector2> TexelSizetexelSize at byte 136, declared 0.001, 0.001.
public static readonly ParameterKey<float> Radiusradius at byte 144, declared 0.5.
public static readonly ParameterKey<float> Intensityintensity at byte 148, declared 1.
public static readonly ParameterKey<float> Fallofffalloff at byte 152, declared 1.
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)
- AmbientOcclusionRendererVixen.Rendering.PostFx
- PostEffectTestsVixen.Rendering.PostFx.Tests