Vixen
02b45cc4
csharp
public interface IScreenSurface

What a probe's anchor pixel is looking at.

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

Remarks

In a frame this is the depth buffer and the G-buffer's normal, reconstructed the way IndirectDiffuse already reconstructs a pixel. The gather takes it as an interface for the reason every reference here does: the arithmetic under test has to run against a surface with a closed form, and a depth buffer is a picture of one rather than the thing itself.

Methods (1)

  • bool TrySurface(Int2 pixel, out Vector3 position, out Vector3 normal)

    The surface a pixel shows, if it shows one.

Used by (9)

  • FloorVixen.Rendering.ScreenProbes.Tests
  • FloorVixen.Graphics.Golden.Tests
  • FloorVixen.Graphics.Golden.Tests
  • FloorVixen.Rendering.ScreenProbes.Tests
  • FloorVixen.Graphics.Golden.Tests
  • LedgeVixen.Rendering.ScreenProbes.Tests
  • ReconstructedScreenSurfaceVixen.Rendering.ScreenProbes
  • SkyVixen.Rendering.ScreenProbes.Tests
  • TracedScreenProbeGatherVixen.Rendering.ScreenProbes