Vixen
02b45cc4

OutlineKeys

class
csharp
public static class OutlineKeys

Typed keys for shader Outline.

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

Fields and properties (29)

  • public const string ShaderName

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

  • public static readonly PermutationKey<bool> UseNormals

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

  • public static readonly PermutationKey<bool> SelectionOnly

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

    set 2, binding 1.

  • public const int SourceSet

    Which descriptor set holds source.

  • public const uint SourceBinding

    Which binding within set 2 source occupies.

  • public static readonly ParameterKey<TextureViewHandle> DepthBuffer

    set 2, binding 2.

  • 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 3.

  • public const int NormalBufferSet

    Which descriptor set holds normalBuffer.

  • public const uint NormalBufferBinding

    Which binding within set 2 normalBuffer occupies.

  • public static readonly ParameterKey<TextureViewHandle> SelectionMask

    set 2, binding 4.

  • public const int SelectionMaskSet

    Which descriptor set holds selectionMask.

  • public const uint SelectionMaskBinding

    Which binding within set 2 selectionMask occupies.

  • public static readonly ParameterKey<SamplerHandle> PointSampler

    set 2, binding 5.

  • public const int PointSamplerSet

    Which descriptor set holds pointSampler.

  • public const uint PointSamplerBinding

    Which binding within set 2 pointSampler occupies.

  • public static readonly ParameterKey<Vector2> TexelSize

    texelSize at byte 0, declared 0.001, 0.001.

  • public static readonly ParameterKey<Vector4> OutlineColor

    outlineColor at byte 16, declared 1, 0.6, 0, 1.

  • public static readonly ParameterKey<float> Thickness

    thickness at byte 32, declared 1.5.

  • public static readonly ParameterKey<float> NearPlane

    nearPlane at byte 36, declared 0.1.

  • public static readonly ParameterKey<float> FarPlane

    farPlane at byte 40, declared 1000.

  • public static readonly ParameterKey<float> DepthThreshold

    depthThreshold at byte 44, declared 0.05.

  • public static readonly ParameterKey<float> NormalThreshold

    normalThreshold at byte 48, declared 0.3.

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

  • OutlineRendererVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests