OutlineKeys
public static class OutlineKeysTyped 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 ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> UseNormalsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> SelectionOnlyAffects 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> Sourceset 2, binding 1.
public const int SourceSetWhich descriptor set holds source.
public const uint SourceBindingWhich binding within set 2 source occupies.
public static readonly ParameterKey<TextureViewHandle> DepthBufferset 2, binding 2.
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 3.
public const int NormalBufferSetWhich descriptor set holds normalBuffer.
public const uint NormalBufferBindingWhich binding within set 2 normalBuffer occupies.
public static readonly ParameterKey<TextureViewHandle> SelectionMaskset 2, binding 4.
public const int SelectionMaskSetWhich descriptor set holds selectionMask.
public const uint SelectionMaskBindingWhich binding within set 2 selectionMask occupies.
public static readonly ParameterKey<SamplerHandle> PointSamplerset 2, binding 5.
public const int PointSamplerSetWhich descriptor set holds pointSampler.
public const uint PointSamplerBindingWhich binding within set 2 pointSampler occupies.
public static readonly ParameterKey<Vector2> TexelSizetexelSize at byte 0, declared 0.001, 0.001.
public static readonly ParameterKey<Vector4> OutlineColoroutlineColor at byte 16, declared 1, 0.6, 0, 1.
public static readonly ParameterKey<float> Thicknessthickness at byte 32, declared 1.5.
public static readonly ParameterKey<float> NearPlanenearPlane at byte 36, declared 0.1.
public static readonly ParameterKey<float> FarPlanefarPlane at byte 40, declared 1000.
public static readonly ParameterKey<float> DepthThresholddepthThreshold at byte 44, declared 0.05.
public static readonly ParameterKey<float> NormalThresholdnormalThreshold at byte 48, declared 0.3.
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)
- OutlineRendererVixen.Rendering.PostFx
- PostEffectTestsVixen.Rendering.PostFx.Tests