Vixen
02b45cc4
csharp
public sealed class ScreenProbeFilterFill

Spreads each accumulated probe over its plane-sharing neighbours, on the device.

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

Remarks

The device half of Filter, checked against it — one invocation per probe over the history's front set, written into the mirror's separate filtered planes so the history stays raw and next frame blends against an unfiltered past. Runs after the accumulation's swap, which is what makes "the front set" this frame's answer.

Fields and properties (8)

  • public const string ShaderName

    The shader this dispatches.

  • public EffectSystem? Effects

    Where the variant is resolved from. Null dispatches nothing.

  • public ComputePipelineCache? Pipelines

    Where the compute pipeline comes from. Null dispatches nothing.

  • public DescriptorAllocator? Descriptors

    Where the descriptor sets come from. Null dispatches nothing.

  • public ParameterCollection Parameters

    The parameters the uniform block is filled from.

  • public float Strength

    A lattice neighbour's share relative to the probe's own, 0 to 1.

  • public float Tolerance

    How far off the probe's plane a neighbour may stand and still blend, in world units.

  • public string? Skipped

    Why the last call recorded nothing, or null when it recorded something.

Methods (3)

  • public ScreenProbeFilterFill(IGraphicsDevice device)

    Creates a filter on a device. Nothing is allocated until the first dispatch.

  • public int Record(ICommandList commands, ScreenProbeHistoryTexture history)

    Records one filter pass over the history's front set into the filtered planes.

  • public void Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Used by (6)

  • ArenaIlluminationThirdPersonShooter
  • CompositorBuilderVixen.Rendering
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • ScreenProbeAccumulateDeviceTestsVixen.Graphics.Golden.Tests
  • ScreenProbeGatherImageTestsVixen.Graphics.Golden.Tests
  • ScreenProbeGatherRendererVixen.Rendering.PostFx